Viewport meta tag not working across platforms

Im having non-stop issues with this problem. 1) If I zoom-in on a touch screen device then relaod the page it does not restore its original proportions. Ive found a way to resolve that issue on Android devices, with some degree of success, as describ...
more »

2017-03-18 23:03 (0) Answers

Android Listview search Json

I have a problem. I want to search my listview with SearchView or EditText and filter my Items if someone type some Text. But i don´t find the correct answere here because my json file comes from a php / mysql database. Can Someone help me ? Here i...
more »

2017-03-18 20:03 (1) Answers

how to make this Staggered GridView?

Hi i was trying to make something like this through xml code in android studio but can't figure out how although i partially reached there but feels i am not using correct approach can someone please tell me how exactly i can make this layout through...
more »

2017-03-18 16:03 (1) Answers

data binding - safeUnbox warning

after i upgrade AS gradle version to 2.3.0, data binding encounter a warning : Warning:selectMap[index] is a boxed field but needs to be un-boxed to execute selectMap[index] ? @android:color/white : @android:color/transparent. This may cause NPE...
more »

2017-03-18 09:03 (0) Answers

How to make Model progress loader of facebook

I am working on facebook login, Everthing working fine except when facebook app is not installed in device and facebook login action open with progressdialog at that time if user press back to cancel dialog,facebook login interrupt. What i want to ac...
more »

2017-03-18 06:03 (0) Answers

Displaying toast before app closes in java

I have created a simple dice game in Android. When the user hits an "end game" button, I want to display a toast that says "thanks for playing" and then close the application. Currently, this is what I am doing (note that I have a global timer declar...
more »

2017-03-18 02:03 (2) Answers

How to test Retrofit2 + RxJava2 api call?

I am wondering how to test Retrofit2 call via rxjava2. My retrofit api interface looks like: public interface LoginApiMapping { @POST("v1/secm/oam/oauth2/token") Observable<Response<RestResponseHolder<LoginResponseModel>>> l...
more »

2017-03-17 14:03 (2) Answers

Android localized JSON files

I have two JSON files (both named countries): one in english inside the raw folder, and one in french inside the raw-fr folder. But no matter what language I select on the device, the app always loads the file under raw. I'm loading the JSON file as ...
more »

2017-03-17 13:03 (1) Answers

Can i change android app Certificate on play store

I have Uploaded around ten application on play store from same account. because of lack of knowledge that time i have created separate certificate of all application but now i just want to make it single certificate and assign different alias to al...
more »

2017-03-17 12:03 (1) Answers

Play Audio by Decoding Base64

My database has a lot of short audio that formatted base64. I want to play audio when the button is on clicking. Basically, I wrote this code but it doesn't work. (If it possible, The file had better doesn't writing to storage because this process ha...
more »

2017-03-17 10:03 (2) Answers

Exception out of memory from Android

I have a problem with restoring Images from the database to the android using a type byte [] and we pass ArrayList images to our adapter in which we use Glide, but I can recover more than 20 images of the database using service web PHP , applicatio...
more »

2017-03-17 10:03 (1) Answers

Open my app from URL scheme in Android

I know there are several questions on SO about this, but none of them are helping to resolve my issue. I want to be able to click a link from an email/text/browser and open my app. I have the AndroidManifest.xml code: <!-- Splash Activity ...
more »

2017-03-16 18:03 (2) Answers

how to remove double Tool/Actionbar?

i don´t know why this second Toolbar appears... I have attached my xml files for the Activit "ListActivity". After deleting one line in the XML the doublebar were gone in the Deign Preview in Android Studio, but when i run the App the second bar ...
more »

2017-03-16 15:03 (2) Answers

Android Strings with apostrophe

How to add apostrophe in Android String Resource File? Hi!, I'm trying to add apostrophe (') in android strings <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Stack's Answers</string> </res...
more »

2017-03-16 14:03 (3) Answers

Is there a way to reuse a Job instance?

I'm exploring the use of co-routines in the context of Android UI thread. I implemented contextJob as described in the Coroutines Guide UI. Background work is stared from GUI and I want to re-start it on every click (stop the currently running one an...
more »

2017-03-16 10:03 (1) Answers

Button showing when adding new fragment

I am adding a fragment on top of another (Fragment A -> Fragment B), yet when I do, the button from the first fragment is showing through. I don't get why adding a fragment on top of another is showing content from the first. Here is the first Acti...
more »

2017-03-16 07:03 (1) Answers

Is gradlew mandatory for travis CI to work?

I'm trying to setup CI for a project that I'm working on, and I'm wondering if we really need to commit the gradlew and/or the gradle.bat files to make it work. Is there a workaround for this, or committing those files is the only way? ...
more »

2017-03-15 19:03 (0) Answers

Waiting for Target Device to Come Online

I recently updated to Android Studio 2.3, and now when I try to run the application, the emulator does not come online. It times out after 300 seconds. Additionally, The app has been experiencing a FATAL EXCEPTION ERROR (OOM), and I am not sure how ...
more »

2017-03-15 17:03 (5) Answers