Most voted "android" questions
Android is an operating system for mobile devices developed by Google and the Open Handset Alliance. Use this tag to reference questions related to programming for Android and be relevant only to this operating system. Use the [android-subject] tag instead of [subject] alone.
Learn more…8,935 questions
Sort by count of
-
1
votes0
answers83
viewsApp with video calls
I’m developing an app that in theory should enable users to call video feature, as it has on skype. I came across some questions.. What would it take to put such a service in an Android app? It…
-
1
votes1
answer231
viewsStart Fragment class of another Fragment class
I have a class GuiaDaCidade. public class GuiaDaCidade extends Fragment { View rootView; @Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle…
-
1
votes1
answer669
viewsHow many apps you can have on Google Play
If possible, does anyone know how many apps you can have in the same Google Play account ?
-
1
votes1
answer1242
viewsHow to leave the first character uppercase on the keyboard?
How to start keyboard with uppercase letter for the user to start writing without having to tap the arrow to make the letter uppercase? I used android:inputType="textCapCharacters" but it didn’t…
-
1
votes1
answer1022
viewsIs it mandatory to publish the app in an official store to use Admob?
I’m finishing an app that features banners coming from Admob. It wasn’t clear (to me) if the app has to be distributed in an official store (Google Play or Apple App Store), or if I can distribute…
-
1
votes1
answer267
viewsError sending Arraylist via POST in Retrofit 2: java.lang.Illegalstateexception: Expected BEGIN_ARRAY but was STRING
When I try to send an Arraylist via @POST to be saved to my webserver with Retrofit2, Arraylist is saved, but I am getting the following error: java.lang.Illegalstateexception: Expected BEGIN_ARRAY…
-
1
votes3
answers4806
viewsSplit the database to multiple clients or create one for each?
I am developing an app for business management. It will consume data from a Mysql database through a Web Server. My question is: What strategy to follow to store each customer’s data? Save all data…
-
1
votes0
answers66
viewsUse Service to continue player operation when class changes
I want to use for when to change Fragment continue running the audio and when to class the ! isPlaying keep popping up the requested pause. How to do this with Service? import android.app.Fragment;…
-
1
votes1
answer97
viewsError while listing Sqlite data
I am making a listing of the information contained in my Sqlite database However, sometimes or other, I get the following error: java.lang.Arrayindexoutofboundsexception: length=13; index=1401 The…
-
1
votes1
answer123
viewsIf and Else problem when validating Edittext fields in the android app
I’m a little confused to do a field validation here on my People Register. The following error appears: Else without if on line 84. I don’t have much experience and I appreciate the understanding of…
-
1
votes0
answers91
viewsHow to avoid the standard mobile device browser
I am developing a portal Captive for Wifi networks, where the client connects and is automatically redirected to the web portal. I wonder if it is possible to include a redirect on the page, so that…
-
1
votes1
answer711
viewsUpdate in Sqlite Table via Imagebuttom Android Studio
I have a project that I am developing in Android Studio where I use a Custom Adapter, an Employee and a Databasehelper. What happens, I use a database already populated that is in the Assets folder,…
-
1
votes0
answers60
viewsGoogle Maps Indoor
I’m creating an android application, and I’m making use of the Google Maps api, on the google maps website, have the option of indoor maps, and I’m trying to use them in my application, however when…
-
1
votes1
answer199
viewsHow do I get the listview style effect?
I have a layout and in it I want to display the data in this ListView but I need it to have a white background with no stripes and no click enabled when it’s touched. I can do it this way??…
-
1
votes0
answers121
viewsHow to make an Activity invisible using android code?
Example: I want to start an Activity at the end of the android boot, but I don’t want it to be shown at this time (it’s a service). However, when clicking on the app icon, it should be displayed…
androidasked 8 years, 11 months ago Valdomiro Silva 11 -
1
votes1
answer145
viewsImages in different types of screen
Right now I have these layout s to support the different screen sizes When I test the app on 4-inch or 4.5-inch devices, both will use the layout activity_main.xml which corresponds to normal size…
-
1
votes1
answer138
viewsRegressive Clock
I’m developing a game. Usually in games there is a small clock that counts a few seconds backwards, kind of 10 to 0, and I would like to put one in my game. How can I do that ? PS: I’m using Android…
-
1
votes1
answer2611
viewsHow to create app for android with Html5
I want to start an app with Html5 that looks like a blog where you can publish tutorials on your own but in the app how you could do it in Html5. The example below of how the app would be. Each…
-
1
votes2
answers556
viewsPersistence and reading of Firebase data
would like to have a data structure in the Firebase database Realtime similar to this: { "codigo": "01", "Data": "1234567890", "usuario": "{codigo : 01, nome : Rafael}" } have the class: class…
-
1
votes1
answer85
viewsAndroid : I would like to call a facebook profile image for the app user profile
I’m having doubts about what code to use to call this image from the face profile, to my user profile, can anyone help me with that?
-
1
votes1
answer149
viewsCustomizing themes for Android API 9 and 10
I have an App that runs from API 9 to Android 23, however the text colors are different from the set colors, the correct would be Blue Toolbar with white text. The problem only occurs in API 9 and…
-
1
votes0
answers27
viewsAndroid GPS_PROVIDER/api substitute?
I recently started a personal project using android, which uses the GPS_PROVIDER to know the closest possible location. My question is this: Is there any other api that I can use to replace this…
androidasked 7 years, 9 months ago Renan Lima 11 -
1
votes1
answer2809
viewsHow do I alphabetize my list?
I have a ListView and I’d like to alphabetize the names of the clients. I urge you to be as specific as possible because I don’t have much experience. import static android.R.id.list; import…
-
1
votes0
answers75
viewsError: Could not find class 'com.google.android.chimera.Activity' ... Did not call through to super.onResume()
I’m trying to integrate a scanner into my app and, at first, I did identical to what’s on github: https://github.com/KingsMentor/MobileVisionBarcodeScanner However, when I call Activityscanner the…
-
1
votes0
answers458
viewsWeb service Rest + Mysql + Android
First hello to everyone, is the following for my work of the course we developed a web application of a real estate with PHP but the second part of this work is to develop an android application in…
-
1
votes1
answer124
viewsAutomatic zoom on marker
I use this code to retrieve Lat and lang from a user in firebase, My doubt is how to give an automatic (animated) zoom in the marker... mDatabase.child(mPost_key).addValueEventListener(new…
android google-maps google-maps-android-api-2 google-location-apiasked 7 years, 9 months ago Wallace Roberto 496 -
1
votes1
answer160
viewsSlow Motion in Transition from Android Pager View
I’m developing an application Android, one of the functionalities requires having a Viewpager images, these images will be transitioning from one to the other automatically in a time interval I set.…
-
1
votes2
answers748
viewsWhen I create two tables in Android Sqlite, only one works
I’m trying to develop a test app that requires two tables (aluno and disciplina) in class DataHelper. I create two tables, but when testing, only the table Aluno works. In summary: the application…
-
1
votes1
answer54
viewsError when trying to set custom Actionbar: java.lang.Nullpointerexception
I’m trying to customize my Actionbar but whenever I try to emulate the application it closes and returns me the following error in Logcat: 01-07 16:21:57.092 1388-1388/br.com.jeiferson.agenda…
-
1
votes0
answers182
viewsProblems to compile in Android Studio
I created my first Project in Android Studio defining as Minimums SKD the API 23 Android 6.0 (Marshmallow). Then I created a virtual device in AVD Manager with the following settings: Nexus 5 API 24…
-
1
votes1
answer218
viewsSqlite data not available in Recyclerview
I’m trying to list data in a Recyclerview, but in the 3 lines nothing appears and I don’t know what’s wrong, take a look at the image below: Adapter client.java import…
-
1
votes2
answers1965
viewsEncrypt passwords as securely as possible
I wonder how to encrypt passwords on Android and what are the best practices. I am using Eclipse, Sqlite database to store the password locally and Mysql with PHP to store on the server via…
-
1
votes0
answers543
viewsListing BD data using SELECT and ORDER BY
Doubt There is a screen with an Edittext and a Button. When entering any information in Edittext and selecting the Button the system should redirect the information from Edittext to an Activity and…
-
1
votes0
answers1865
viewsHow does the Locker or similar GPS app work?
I’m developing an Android app, which monitors the path traveled by a machine in the field, so I need the GPS points to be fixed and more accurate, something that only GPS Locker can do, but I would…
-
1
votes1
answer1105
viewsFind the app by searching the play store
I first published a Google Play Store app, more for testing anyway, the google that goes directly to the app page. The link works, but I wanted to find it by searching and I can’t. Can anyone tell…
-
1
votes1
answer83
viewsHow to know when a retrofit call is completed in order to start an Activity?
I have two calls (Call) from Retrofit 2, one that downloads a Config object, and one that downloads a list of Entries. I need to know when those two calls are finished, so I can call a new one…
-
1
votes1
answer651
viewsHow to offer free and paid Android app on Google Play?
It’s my first app and I couldn’t find the answer anywhere. The app is ready for distribution on Google Play. It has two versions: free (with ads) and paid (no ads). I created the app in the…
-
1
votes2
answers661
viewsDatabase - Sqlite
I am developing an application that needs a database, I chose Sqlite. As I am new and have no experience in Sqlite I have come to ask you: How can I create a database with Sqlite and React Native?…
-
1
votes1
answer70
viewsHow do I know if the device is Smathphone or Tablet and/or is able to send SMS?
I developed an application that is able to send an SMS with some information just at the touch of a button, but one question that worries me is the devices that do not have the ability to send SMS,…
-
1
votes1
answer1279
viewsVarious data on an Arrayadapter
To make a list with a dice with Arrayadapter I do so: ArrayList<String> palavras = new ArrayList<>(); int a = 0; for(int i = 0;i<50;i++) { a++; palavras.add(Integer.toString(a)); }…
-
1
votes1
answer248
viewsUpdate a textview for a few seconds
I wanted to implement a transition between two Activitys, where the user, via a Progress Bar (I already implemented) and a textview where every 2 seconds, a new phrase appears to me, for example:…
-
1
votes1
answer188
viewsIncompatibility of type blob and byte sqlite
I’m making an application to save the image in sqlite. But you are acknowledging the following error in my dao class: incompatible types byte cannnot be converted to byte. My Classes: import…
-
1
votes1
answer732
viewsPositivebutton and other alertDialog buttons on android are disabled, how to solve?
I have in my small project a alertDialog, that is called to give some options to the user. Everything was working, until suddenly the buttons (positiveButton, negativeButton and neutralButton)…
-
1
votes1
answer790
viewsuse the Appodeal mediator
How do I use the Appodeal mediator? I’m new at this, trying to monetize an app. Can someone describe my steps? How much do they pay for each video that is shown? (A media at least)…
-
1
votes1
answer518
viewsCordova, how to change the color of the control bar: back, home and windows
I do not know the name of the component but the image below clarifies what I need, I apologize... I need to change the color of this component in Cordova…
-
1
votes1
answer93
viewsError summing Edit Text fields using Onfocuschangelistener
I’m trying to get my application to calculate the fields EditText cost price plus profit percentage and when clicking on the sales price field the result already appears, but instead of appearing…
-
1
votes1
answer137
viewsHow do I apply monetary mask to my listview?
I would like to know how to implement my monetary mask on ListView products. I ask you to be the most specific and detailed as I do not have much experience. Thank you. public class ProdutoAdapter…
-
1
votes3
answers1282
viewsTake screen size in xml
I would like Layout to have the size of the screen horizontal. But when the screen turned, it would still be the same size. I’ve made a little sketch of how I intend it to look: The current xml is…
androidasked 8 years, 10 months ago Rodrigo Santiago 1,822 -
1
votes1
answer2173
viewsHow to list files from an android firemonkey folder?
I have to create a way for the user to search for a backup generated by my system between the folders of the device, so I thought of loading the folders in a listview as it is clicked would enter…
-
1
votes1
answer176
viewsWhy does Retrofit make an exception when the status code is 204?
After a consultation GET only to check if a content exists on the server, the return is 200 (exists) or 204 (there is no). Why does Retrofit trigger the exception below when the server returns the…