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
-
0
votes0
answers220
viewsExtract JSON data on Android received by Datasnap
I have never worked with datasnap do not know how to extract! Someone can give me a help, I leave the code I have: DSRESTConnection conn = new DSRESTConnection(); conn.setHost("54.207.112.131");…
-
0
votes1
answer73
viewsError in android application when searching data in postgresql database via Webservices with Ksoap2
First I made a Webservice Using Axis 2, where it has the class connected with the database, and the class with ordering ADO with CRUD. Using the Soupui, I can carry out the method calls. So far so…
-
0
votes1
answer48
viewsSave content to your phone
I am making an application, where I have a list of questions, and if the user leaves the application or screen, I would like to save the questions he already answered, so when he goes back to that…
-
0
votes1
answer56
viewsUpdate apps by Android Studio
I made a app In Android Studio, I ended up publishing it on Google Play. now I wanted to know how can I update it? What are the necessary steps? Just change app in android studio and compile as…
-
0
votes1
answer252
viewsAdd Firebase to Android Project
I did everything you asked on the Firebase website, but when I click Sync on Gradle inside the project, before finishing it appears an ERROR, as you can see below; Please help me out!…
-
0
votes1
answer862
viewsHow to get HTML field value through webview using javascript?
Utilise WebView, open the site normally, but need that when accessing, it pass a value of a given field of the site to a TextView. It is possible to do this ? Follow the code below: public class…
androidasked 8 years, 11 months ago Diego Kappaun 524 -
0
votes1
answer36
viewsHow to upload BD backup to the server using Okhttp?
How to upload the . db file (Sqlite backup), from the android device to a server using the Okhttp, java and PHP library?
-
0
votes0
answers781
viewsRegistering photo on android without opening the camera
I’m developing an android app where I need every time a person logs in the app to register a photo and send it along with authentication. However I can not develop this without the camera phone is…
-
0
votes0
answers65
viewsSending android image to a js Node server
I’m developing a project and I need it to record a photo, and send it to a server that’s running Ode. In this same project is already running a data exchange through the socket.io and now I need to…
-
0
votes1
answer96
viewsWhere do I find logs like login and password stored in the xml that Sharedpreference does?
I wanted to find the file path because I want to confirm if my function encrypted this data.
-
0
votes2
answers993
viewsShow SQLITE data between dates - Android Studio (think be between)
Good, I want the user to choose the data to show between the dates he chooses. I’ve tried everything but still can’t. That is what I want to filter between dates, but the user has to choose them. I…
-
0
votes1
answer42
viewsQML elements on status bar
I’m having a problem when the device keyboard is shown. The elements are on top of the device’s status bar as in the images. I’ve tried using the Flickable type but does not work. Every time the…
-
0
votes0
answers93
viewsAndroid - How to send an Audio to an FTP server?
I’m creating a Mural where people can send text and audio messages to a php server, text messages and the wall work perfectly, but I have no idea how to store a recorded audio and send it right…
-
0
votes1
answer297
viewsToolbar toggle(burger) button does not work on Android Pre Lollipop
I created a NavigationDrawer same as the image It works perfectly on Android 5.0 or higher, equal to image. But when I run the application on Android less than 5.0, the button does not work and when…
-
0
votes0
answers381
viewsAdd or enable items in Pallet in Android Studio
Please know how to enable Person Name, Textview Large, Textview Medium, Textview Small on Android Studio Pallet? They don’t appear here. Grateful…
-
0
votes2
answers3867
viewsAdd Item to Spinner
I need to use Spinner in my app... I’m having trouble adding elements to the list. I found it very complicated. Link: https://www.mkyong.com/android/android-spinner-drop-down-list-example/ I’d have…
-
0
votes1
answer1289
viewsHow to take received data in JSON and store in a class
Good afternoon! I am having difficulty implementing code to rescue the data that is coming in JSON and store this data in a class. If anyone can help me, I’d appreciate it. My idea is to receive the…
-
0
votes1
answer104
viewsError in retrofit2 convert-gson:2.1.0
I’m having a very persistent error in Retrofit2 this with line error GsonConverterFactory.create() I’ve tried a lot of things and I can’t make it spin. Retrofit retrofit = new Retrofit.Builder()…
-
0
votes0
answers39
viewsProblem assigning an Arrayadapter inside an Onclick container
Method: spnCondPagamento.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { List listaCondPagamento = new ArrayList<>(); for (int i = 0; i <…
-
0
votes1
answer918
viewsImplement voice and video call communication on android?
I wanted to know what to start studying to implement features like video call and voice call on android. What libraries to study and stuff. Give me a north. :)
-
0
votes1
answer41
viewsHow to Save Data on Mobile
Hello I have an application that receives certain data from an api, what should be done for the data received by the api to be saved on mobile? because I want the app to work without internet
-
0
votes1
answer78
viewsCode does not read ELSE
Speak people, I’m a beginner in Android and I would like you to take me without a doubt. I am making an app for the user to complete all Edittext’s so that the program can perform the proper…
-
0
votes1
answer32
viewsStudy of "interaction simulation" on android
Hello I would like someone to provide me some material (can be in English Tb) for me to study on this subject that I do not know the correct definition. Ex: I want my APP to perform interaction that…
-
0
votes0
answers41
viewsActivity enters onPause only the first time it is called
I’ve got a Pedidocad Activity calling a Productocons, following code to open Productocons: Intent intent = new Intent(PedidoCadActivity.this, ProdutoConsActivity.class); intent.putExtra("activity",…
-
0
votes1
answer161
viewsHow to upload multiple files over your phone?
Guys I’m trying to upload an IMG to my application in php, on the pc I can select several files, but on the mobile I can only select one. * I use android
-
0
votes1
answer46
viewsActionbar dynamic text size
How do I place the text in the dynamically sized actionbar? I need to set in different text sizes and have to frame dynamically. public void setarTituloActionBar(String nome){ setTitle(nome); } The…
-
0
votes1
answer76
viewsHow do I format the actual values of my Android application?
I want editText values to appear in real.. how do I format within my current code conditions? import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface;…
-
0
votes1
answer289
viewsI want to use Cardview to make the screen more beautiful only cardView works similar to a listview?
And I want to take dynamic data to show on the screen. Dynamic data that will come from a webservice. So I need to use Recyclerview with Cardview Layout to make the data dynamic? How can I make my…
-
0
votes2
answers242
viewsFilter in Google Places API
I wonder if there is any way to filter the sites such as "gyms" using Google Places ? Because the idea is to take and use the data of these places.
-
0
votes1
answer50
viewsStackoverflowerror when using a method
Next, I’m in the development of an app. In it there are two calculation methods, where in the data entry the user chooses the method and inserts the data. One of these methods is working perfectly.…
-
0
votes1
answer576
viewsError: java.lang.Illegalargumentexception: column '_id' does not exist
Good people, I was developing an app in order to learn where the goal was to register users in an Activity and another to be able to view all registered users through a listview. It turns out that…
-
0
votes0
answers25
viewsDistance in maps greater than 50 Km and pins being marked to the limit of 20 on the map
Good night. The maps shows at most 20 pins marked around where I am. I’m making calls at Retrofit to get the location of these pins, because I’m bringing by type of property category. Have some way…
-
0
votes1
answer49
viewsMy application saves blank data, I would like validation to prevent saving empty fields
I would like my Edittext field validations to prevent saving null fields. I am beginner in the area and ask for everyone’s understanding. Thank you very much. import android.app.Activity; import…
-
0
votes1
answer186
viewsSave Usage Preferences - Android
I would like to know the best way to save the usage preferences of an application, such as a checkbox marked or the ordering of a listview. if you can pass some example code thank you.
-
0
votes1
answer571
viewsHow to know which Activity is open, running?
I have two activities, Activity1 and Activity2. I need to know if 2 is active or not in both activities. Example: if (activityrunning == activity2){ //do something }else{ //do something else } Thank…
-
0
votes1
answer102
viewsError calling data from a list to a registration screen
From now on I appreciate the understanding of all because I am not very experienced.I am with an error when loading the customer data from a list I want that, when clicking on add customer, I come…
-
0
votes1
answer89
viewsHow to activate saving battery?
How do I activate battery saving? I will develop an app that monitors the battery, and that, when it comes to a certain percentage of battery, battery saving is activated automatically.…
androidasked 7 years, 9 months ago Carlos Bridi 831 -
0
votes1
answer34
viewsError when trying to include a mapfragment in an Activity
I have an Activity that should go up with the map (Googlemaps). But when implementing some methods, so that I can for example click and add a marker, it breaks, with the following error: Attempt to…
-
0
votes2
answers455
viewsgetView() method is not called in the Array Adapter
I am developing an android app and I am facing the following problem, I created an Adapter to fill my Listview but fills only the header and not be entering the getView() method to fill the items in…
-
0
votes0
answers1389
viewsAndroid Httpurlconnection - ECONNRESET (Connection reset by peer)
Hello, I have a problem that many have had when developing code for internet connection on android: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer) The code I…
androidasked 8 years, 10 months ago Vaner Magalhaes 1 -
0
votes1
answer821
viewsWhen entering data into Edittext, do one Textview and one Edittext start moving?
At first everything is normal: Something really strange happens when I insert some content in Edittext: A Textview and an Edittext start to move to the right, as I insert characters, whatever they…
-
0
votes1
answer420
viewsRounding numbers on Android
I am wanting to format numbering to only two decimal places after the comma, I am using the following code line NumberFormat formato = new DecimalFormat("0.00"); But my application’s minimum API is…
-
0
votes1
answer267
viewsChat Layout -Flip the side of my message
So I’m starting now to do chat activity have no code yet, more thinking the process came to me a question... Practically the way I will do All messages sent will be on one side only, what I want is…
-
0
votes0
answers38
viewsLocation of the file where the data is saved in the Parse library
I’m doing maintenance on an android project that was developed using parse library to make the persistence layer. http://parseplatform.github.io/docs/android/guide/ I couldn’t find it in the API,…
-
0
votes1
answer44
viewsHow to do in Wizzardpager, build a Fragment according to user’s choice?
I’m using the Wizzardpager based on this here. But what I want is basically the user chooses the sex of the person, and passes to another screen of Wizzardpager where in this, will choose her…
-
0
votes1
answer256
viewsConnection android webservice
Hello, folks I am developing an app in the Android Studio IDE and am having problems connecting to my webservice. I am receiving error: D/Answer: {"Success":"false","message":"A Jsonobject text must…
-
0
votes1
answer41
viewsHow to pause a Notification progress?
There is a Progressbar in my notification that works like this: new Thread( new Runnable() { @Override public void run() { int incr; // Do the "lengthy" operation 20 times for (incr = 0; incr <=…
-
0
votes1
answer734
viewsNFC emulator for android
I own an android phone without NFC and need to program an application that manipulates this tool. Is there an emulator that simulates NFC on my phone so I can test my programs?
-
0
votes1
answer1743
viewsVoice recording with Mediarecorder Android Studio
I’m working on a project with voice recording, I’m halfway there, I’m already with the recorder working and saving the recording according to the code below, but I’m having some problems: 1º I can’t…
androidasked 7 years, 9 months ago user59669 -
0
votes1
answer105
viewsError when using activities in a child package
I have a problem in my Android project on Eclipse. After implementing the functionalities, I reached a total of 10 activities and 8 other classes. From there I realized the need to structure the…
android eclipse android-activity packagesasked 8 years, 10 months ago Gustavo Almeida Cavalcante 189