launch application from browser url scheme

Android
Thanks to many good posts, I have bee trying to launch my Android app from a browser link using the following code. Please help me adjust the manifest...
3 years ago

How to pass three string from for loop

Android
I have made an program to get 'item','qty','rate' now i have them all three in an string array but i need them to upload it in MYSQL but the values ar...
3 years ago

Not able to sort my custom Adapter : Android

Android
I have a activity in which i have setAdapter to a gridview . Data are getting loaded perfectly fine . I have a menu which have two options 1. Sort by ...
3 years ago

How do I set a placeholder on Edittext in Android and use it if no input has been typed by user?

Android
I would like to have an EditText in android where I have a placeholder, which will be used AS my input if the user types nothing. The edit text is use...
3 years ago

How do you test an Android application across multiple Activities?

Android
We are building a complex Android application consisting of many screens and workflows spread across many Activities. Our workflows are similar to wha...
3 years ago

Android support library increases APK size a lot

Android
I'm using AppCompat support library in my Android project. AppCompat has plenty of drawables and resources which I don't use in my app. That unnecessa...
3 years ago

StrictModeDiskReadViolation when

Android
Im new to Android dev, and I am trying to use SharedPreferences to store some user settings for my app. I have this code in my Activity.onCreate metho...
3 years ago

Why is creating then separately returning `int[] arrayName = {};` redundant? (Java)

Android
I'm getting a Local variable 'answerArray' is redundant warning on the following code: int[] answerArray = {answer, fakeFirstAnswer, fakeSecondAnswer...
3 years ago

Android - back from Contacts intent without selecting one

Android
In my android application I have a list of people (name and telephone number) and I let the user add a person to the app's database by importing one f...
3 years ago

When opening app while keeping device in landscape mode then, on Portrait activity dialog is showing landscape orientation

Android
As per product requirement I have to keep the orientation of app to portrait for mobile and landscape for tablet. Used following code to set orientati...
3 years ago

How to set the Default Value of a ListPreference

Android
i need to set the defult value for a ListPreference when the Activity starts. I've tried with ListPreference.setDefaultvalue("value"); but it makes th...
3 years ago

Android Dictionary app

Android
I am going to create an android dictionary application which goal is to translate my mother language (Zazaki) to Turkish. I have 2 documents which hav...
3 years ago

DatabaseReference and FirebaseDatabase - cannot resolve symbol

Android
I'm currently working on an institute level chat messaging application on Android. I'm using Firebase as my Cloud Server. Currently, I'm facing a Cann...
3 years ago

OkHttpClient throws exception after upgrading to OkHttp3

Android
I'm using following lines of code to add a default header to all of my requests sent using Retrofit2: private static OkHttpClient defaultHttpClient =...
3 years ago

SQLite get second to last element

Android
I have to get two last elements from table (or just id). My element's id is increased but not increment (next value is always larger but it is possibl...
3 years ago

not working notificactioncompat with firebase

Android
I don't know but my notification not show.. only see message with Log Consola Android Studio u.u public class MyFcmListenerService extends com.google...
3 years ago

New activity not opening through ListView Adapter

Android
I want to open new Activity when an item is clicked on listview. But the app crashes when item is clicked. This line gives error context.startActivity...
3 years ago

Phonegap Android Application not adjusting pan on keyboardshow

Android
I'm developing a phonegap application with version 2.9.0; The layout was fully tested in desktop browser using RWD Bookmarklet(http://responsive.vict...
3 years ago

my receive SMS application show a URL as a text message

Android
i am developing a receive SMS application i am able to receive the SMS but my app shows URL as a text message so i can't click on it so i need it to ...
3 years ago

Mobile Vision API - concatenate new detector object to continue frame processing

Android
I want to use the new face detection feature that the vision API provides along with additional frame processing in an application. For this, I need t...
3 years ago