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
votes1
answer318
viewsRecycleview item returning the same data for all items when clicked
I have a list of addresses in Recycleview and each address has its latitude and longitude coordinates retrieved from the bank. But when I click on the list item to start a route from the coordinates…
-
0
votes1
answer198
viewsRecycler view com async task
I have the class of my Activity public class Convenio_Conselho_Listar_TL extends AppCompatActivity { public List<Convenio_Conselho_Grid_BD> oConvenios; RecyclerView mRecyclerView; private…
-
0
votes1
answer69
viewsI don’t know how to get latitude and longitude using Googleapiclient
I’m developing an android app using Kotlin, I followed a tutorial of a topic from here, but it caught the last location that was saved, not latitude and longitude, which is what I need. Follows the…
-
0
votes1
answer187
viewsConvert Gson to List<Object>
I’m starting to learn how to use the Gson library in my code and need to create a list of objects from a Json file. Json:…
-
0
votes0
answers42
viewsPass gridView values to edit Activity
Please, whoever can help me I’m very grateful I’m having trouble passing the value of radioGroupOps for editing screen. // Abre a tela de cadastro/edição com os registros para edição.…
-
0
votes0
answers28
viewsI am trying to update a database field, by Adapter. How do I do?
... public void concluirAtividade(Atividade atividade){ ContentValues contentValues = new ContentValues(); contentValues.put("SITUACAO", atividade.situacao); String[] parametros = new String[1];…
-
0
votes0
answers28
viewsRelate facebook to an existing application
Good morning, I own an android app and recently decided to start your marketing campaign. But one of the first steps is relating my facebook account to the app and I’m having problems with it.…
-
0
votes2
answers305
viewsSave data to an Activity when changing Activity
The program is a counter, by clicking the button + it adds +1 to the variable counts1...cont2..., I want when I click on the report and I return to this page, the data I added the variable to be…
-
0
votes2
answers720
viewsHow to pass image from one Imageview to an Imageview from another Activity?
I made an app that takes the image from the gallery and puts it in a Imageview, So far so good. Now I’d like to take this image that’s on Imageview and move on to a Imageview other’s Activity. I…
androidasked 6 years, 6 months ago Thed Santana 53 -
0
votes0
answers35
viewsHelp with Spinner - Android Studio
Hello, I need to do a function that changes the image of an Imageview, according to what you have selected in a spinner and with input data "height" and "area". I’m doing it this way and it’s…
-
0
votes0
answers101
viewsSave data when changing Fragment
I want to save the values that are on the counter for when I change from Fragment and go back to that, the values that I counted are there. I tried to use Savedinstance so that it did not work,not…
-
0
votes1
answer67
viewsReceive Radiobutton value in Recyclerview
good night. I would like your help in a problem that I’m having, I’m developing an app for a college job, in case I’m going to have an Activity that will have a kind of research, or quiz, as you…
-
0
votes2
answers1029
viewsHow to delete directory from internal storage on Android?
I have two functions to save files in the internal memory of my application, one for data in Json and the other for Images. With each new app update, I will need to remove these directories so that…
-
0
votes0
answers100
viewsHow to generate random Firebase items inside a Firebaserecycleradapter - Android Studio
I’m having trouble generating random items received by Firebase, I read the documentation but I was confused. I want you to replace the items inside the FirebaseRecyclerAdapter according to the…
-
0
votes0
answers55
viewsAlertdialog with Listview in Firebase
Hi, I’m new to Android Programming. I’m trying to put a custom Alertdialog in an Activity in this Alertdialog I want to put a listview that calls items present in my Firebase database. But when I…
-
0
votes0
answers633
viewsUpdate data in a Textview automatically in Android Studio
I’m building a project where I need my app (made in android studio) to pull data from a local server and update automatically without needing a "refresh" button or a "Swipe to refresh". At the…
-
0
votes1
answer87
viewsHow to capture the click on a sub-item of an Expandable List View
So personally, I’m completing my t.i. course at Nai and I’m developing a TCC for the course. My TCC consists of an app of schedules of the bus lines of my city. For this I decided to create an…
-
0
votes1
answer132
viewsAfter recovering the objects with Valueeventlistener the List does not retain the data
I’m doing an Activity, which searches in Firebase the User objects, traversing a Hashmap with Valueeventlistener to display the result inside a Recyclerview. The first Log returns the Arraylist…
-
0
votes1
answer179
viewsAccess list from inside a Viewholder in Kotlin
I need to access a list that is in the Adapter, however, I need to access being in a Viewholder, I know that with Java it would be enough to reference the list, however, in Kotlin the list is not…
-
0
votes1
answer625
viewsHow to change from second to third screen?
A little while ago I started to develop a small application that is totally based on changing screens from buttons. There are still many details to be solved, but what worries me now is how to make…
-
0
votes1
answer4988
viewsPick up element in Arraylist
I’m having a problem that line: lista p = lista.get(i); does not want to take the element. Look at the method below: private void verPessoas() { ArrayList<RespostasAguaCasa> lista = new…
-
0
votes0
answers54
viewsHow could I make this Javascript get inside the web view?
I’m making a web view of a site in Android studio, and this site has a button that makes the registration where I programmed the system on the site but it does not work in webview. How could I make…
-
0
votes0
answers22
viewsAndroid - How to notify updates in the UI from a Cursorloader without Contentprovider?
How to notify updates in the UI using a Loader without ContentProvider? I’m wearing a CursorAdapter custom to show a list using RecyclerView through a Loader (Storing data in pure Sqlite, other than…
-
0
votes1
answer23
viewsHow to make the menuItem (Radiobutton) be selected according to the type of map?
I have a Fragment that misses every time I start it. It generates the following error: java.lang.NullPointerException: Attempt to invoke virtual method 'int…
-
0
votes1
answer311
viewsAttempt to invoke virtual method
Good morning, I was doing a generic class to use Alertdialog, but I came across the following problem: 05-28 10:11:16.323 19359-19359/com.example.vitordalmolin.abllock E/AndroidRuntime: FATAL…
-
0
votes1
answer88
viewsError in database cannot save data in table
to make a video lesson to save data in the database, I’ve done 3 different tutorials always error, follows down the Logcat in info. 05-29 14:02:57.894 22842-22842/com.roma0x.mycash E/Sqlitelog: (1)…
androidasked 6 years, 5 months ago Romão Gomes 143 -
0
votes1
answer84
viewsopen links mo webview without having http://or https://
I’m creating a browser for android, but I’m having trouble running the url without the need for the protocol on the link like opening www.google.com and the app automatically put http:// to stay…
-
0
votes0
answers47
viewsFileupload file format saved in sql server database 2008 with Image type
I have a problem finding the right encoding for a file that is saved in the database through Asp.net Fileupload in sql server 2008 database with Image type. I need to migrate from a web system to an…
-
0
votes1
answer126
viewsSend photo and recover link to download
I need to find out where is the error in my code below where the ideía is if I select a photo, I send this photo to the Storage of Firebase and then I have to recover the link to download the photo…
-
0
votes1
answer224
views -
0
votes1
answer675
viewsHelp Android Database Locked (code 5)
I’m with an error Android Database Locked (code 5). I’ve tried all possible solutions found on Google and nothing solved. I have a Databasehelper class that has control of the bank’s connection and…
-
0
votes0
answers47
viewsProblem calling method on Androidstudio
I want to call a method in Android Studio, after the user selects an option. However, I have tried in various ways through getItemId(), but I call the method and nothing occurs. Is it a problem in…
-
0
votes1
answer63
viewsSendmail Java - Android Studio
Good morning, I’m developing an application, where I have the following doubts. I intend to email a form using Intent’s. The Code is apparently all OK, but when you click on the button "Send" the…
-
0
votes0
answers192
viewsQuestions about Picker in Xamarin.Forms
I am creating a mobile application where the user can register x ingredients and later can register products choosing which of the registered ingredients such product uses. In this perspective:…
-
0
votes1
answer66
viewsListview in the Asynctask
My code does not load the data to list view when ta inside the AsyncTask, but if it is placed in the onCreateView works perfectly. public class Tab_os_Fechadas extends Fragment { private String url…
-
0
votes1
answer277
viewsShow Progressibar when logging into Firebase
When logging in, I want a load bar to appear while the login is being done. How do I get the process (time, size...) of Firebase to increment in the progress bar? Follow the login code: private void…
-
0
votes1
answer203
viewsAndroid Bullet style menu in Recyclerview item
First of all I already have an intermediate knowledge about android and I already have some apps in google play. Recently I’ve been updating the layout of my app, I have a video gallery in my app…
-
0
votes1
answer58
viewsHow to use Select
I was able to save information in my Sqlite bank, only I can’t call them. I’m trying to use the following method: private void verPessoas() { ArrayList<RespostasAguaCasa> pessoas = new…
-
0
votes0
answers189
viewsWhy does the Google Maps API work in the APK release, but it doesn’t show the map in the APK loaded in the Beta open testing store?
In APK release key goes. In store APK does not show the map. Follow the manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="br.com.blablabla.blablabla.android"…
-
0
votes1
answer327
viewsUsing Select android studio
I was able to save information in my Sqlite bank, only I can’t call them. I’m trying to use the following method: private void verPessoas() { ArrayList<RespostasAguaCasa> pessoas = new…
-
0
votes2
answers124
viewsTablayout under the actionbar
I’ll use a tablouyt but it sits under the action bar, how to solve this? Xml of the screen <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.TabLayout…
androidasked 6 years, 5 months ago Marceloawq 971 -
0
votes1
answer214
viewsBroadcast Receiver with Firebase
I’m in need and I’ve searched a lot, but not yet figure out how to do, I have a base in google’s firebase-database that is updated every 10 minutes, when a new information arrives in firebase the…
-
0
votes1
answer188
viewsNotice Push on Android with Onesignal - Action in the background
I have in my android application the service Onesignal working properly, so far so good. I want to make some modifications to my Sharepreference (database) each time I receive a message. I managed…
-
0
votes0
answers40
viewsProblems in getting IMEI and Operator Name
i am developing an app and needed to handle the Telephonymanager, however, every time I use it gives some problem. For example: E/Mplugin: Unsupported class:…
-
0
votes0
answers294
viewsApp does not appear in the list of app you can share content with
Well I have an app that serves to download and watch videos online, one thing I’ve been trying to do for some time is make my app appear in the list when sharing a link or an html page. Here is my…
-
0
votes1
answer88
viewsSend a message by Onesignal from Android
The code below serves to send a push message via Onesignal, when running in Netbeans everything works perfectly but when trying to run on android did not succeed. I’d like you to help me, so follow…
-
0
votes1
answer46
viewsError in select search
I can’t return the value inside my Arry always returns 0 Read public class Read { public ArrayList<RespostasAguaCasa> getLista() { SQLiteDatabase db =…
-
0
votes1
answer695
viewsAndroid: How to create an external Sqlite database dynamically?
I have researched this thoroughly and all the examples I have found and tested have not worked. To make the code more organized I would like to do this using the Openhelper class but I have already…
-
0
votes0
answers61
viewsBroadcastreceiver is not working
My Broadcastreceiver isn’t working, I don’t know what’s wrong, in my Manifest there’s this <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission…
-
0
votes1
answer39
viewsTransform a string array (which are links) into a Windows image on android with json
I have a json on a server with image links and need to convert to imagemView, I could only open on the android screen as string showing the image link. my json my code that receives json…