How to configue a static IP address, netmask, gateway programmatically on Android 3.x or 4.x

Android
I have checked in Stack Overflow question API for configuring static IP addresses in an Android application. It works until Android 2.3. However, the...
3 years ago

How to convert Android.Resource.Color to Android.Graphics.Color

Android
I have a value of Android.Resource.Color like Android.Resource.Color.HoloOrangeDark. I want to covert it to a Android.Graphics.Color. How can I do tha...
3 years ago

Run espresso test multiple times

Android
Sometimes I faced with rare bug in my application. But I can't reproduce it as it's very rare. So, I decided to write simple espresso test: @RunWith(...
3 years ago

New MessagingStyle on API < 24

Android
I just stumbled upon the new MessagingStyle described here: https://developer.android.com/guide/topics/ui/notifiers/notifications.html (last paragraph...
3 years ago

App crashes on API level below 21 caused by Fancy Buttons

Android
I am testing my app on a bunch of different API levels just to double check that it worked as I intended but at any level less then 21 it crashes and ...
3 years ago

Retrofit calls are adding up

Android
I have a button in my application for logging out the user's session , when it is clicked retrofit sends a basic POST request to the localhost and tec...
3 years ago

Android ksoap2 library throwing NoClassDefFoundError exception on SoapObject

Android
There are number of SO question on this crash/bug, but all of them are either related to eclipse or not working for me. I have a project with followin...
2 years ago

Android: How to find which platform version an APK targets?

Android
Given an APK, is it possible to determine which version of Android platform it targets?
2 years ago

debugging app when launched by intent filter

Android
I normally debug my apps by pressing the little "bug" icon in Eclipse. But now I have inserted an intent filter like this in my manifest: &lt;actio...
2 years ago

Android - App initialization slowed down after upgrading to FCM

Android
I have recently upgraded my android app to FCM. Since then, the app initialization has slowed down. Its taking around 10-15 secs to show the splashscr...
2 years ago

How can I show a custom "webpage not available" page in Android WebView?

Android
I'm out to do something when no connection is available page/alert in WebView (e.g. load a local html page or alert). I've to play with Prevent WebVie...
2 years ago

Android Songs lyrics app with XML db

Android
Let me first describe my intention. I have a XML DB with some folklore songs and lyrics. For my family and friends I want to develop an android app th...
2 years ago

TextView disappearing after updating using setText()

Android
I have 3 classes: main, Sublist and editcrap. For now i have 2 textviews separated by a Button in the Sublist xml file; and an EditText and a Button ...
2 years ago

No application can perform this action, when send email

Android
Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, text.getText()); sendIntent.setType...
2 years ago

What happens to 'Similar apps' section if I change the category on Play store?

Android
I have published an app on Play Store. Its been there for around 2 years. I recently changed the category of the app. Within 3 hours, the category was...
2 years ago

Which view should be used for new Material Design Bottom Navigation?

Android
I am sure that y'all have heard about the addition of bottom navigation to the material design guidelines. I am planning on adding it to my app. Howev...
2 years ago

How to prevent dialog to open twice

Android
I had button in my app, on doubleClick of my button i open a dialog.Sometimes what happen when i doubleClick the button in a fast way then the dialog ...
2 years ago

How to install Ionic framework on Ubuntu?

Android
I am using Ubuntu 14.04 version. I would like to use Ionic to build app for Android. I couldn't find exact solution to install Ionic.
2 years ago

How to show only message from log (hide time ,pid etc.) in Android Studio

Android
I haven't use Android Studio (IntelliJ IDEA) before the logcat that show in Android Studio also show time and pid etc. on the left side of logcat. I w...
2 years ago

MediaPlayer is stopping the sound when activity goes to background

Android
[EDITED] My app is basically a listview that each row (position) play a sound that is playing in loop until the same position is pressed again. I cr...
3 years ago