Blog
RulTech > Blogs

Blogs

Strict Mode on Android 2.2

Set the Android Manifest to something like this. <uses-sdkandroid:minSdkVersion=”8″ android:targetSdkVersion=”16″ android:maxSdkVersion=”16″/> Use the Code below in onCreate Method as shown @Override protected void onCreate() { int SDK_INT = android.os.Build.VERSION.SDK_INT; if (SDK_INT>8) { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); } super.onCreate(); } Note: Disable the warning as you are already checking [...]

Read More

Keyboard on iOS

The keyboard is present in nearly every application out there. Using the keyboard is the easiest way to provide users with a way to input alphanumeric data into applications. Trivial as it might look like in the beginning, a correct implementation of keyboard behavior can be a costly endeavor. Multiple [...]

Read More

Useful Plugins for Xcode

What’s this all about? This is just a short collection of some useful Xcode 4/5 plugins I use. Most of us Cocoa developers, I guess, are looking about for making our development environment a more friendly and “warm” place with features enriching the development experience. This list is far off [...]

Read More

Android swipe gesture implementation

When developing an Android app, you can use the intuitive Gesture Detector class horizontally, vertically, and diagonally to translate subtle motions into distinct events. One of the coolest things about the modern smartphone is the wide array of input and sensory devices available. In the past, we’ve covered Android’s internal [...]

Read More

Testing on Android

    Unit Tests JUnit Tests There’s no reason you can’t use normal JUnit 4 testing for Android applications… as long as you stay away from anything Android. Normally you compile against the SDK’s android.jar, which contains nothing but stubbed methods that throw exceptions when run. When you actually upload [...]

Read More

Load custom marker on GoogleMap V2

To load custom icon as marker of GoogleMap V2, save the icon in drawable folder. Load it using the code protected void addCustomMarker() { BitmapDescriptor bitmapDescriptor = BitmapDescriptorFactory.fromResource(R.drawable.ic_launcher); myMap.addMarker(new MarkerOptions() .position(point) .icon(bitmapDescriptor) .title(point.toString())); } [...]

Read More

Common Bugs When Testing iOS Apps

The bugs we’ve encountered ranged from app specific usability issues to general issues common amongst many apps. Today, we want to highlight 5 issues that we’ve encountered repeatedly, using some of the most popular apps as examples. The list below is presented in no particular order. Handling Bad Network Connections [...]

Read More

Android: Fragments within Fragments

I was building out the settings stuff first (the app needs credentials to work so I kinda had to start there), which was relatively easy. I wanted to create a setup flow, whereby when you start the app it checks if you have credentials that are valid and if not [...]

Read More