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
answers198
viewsFirebase - Filterable - Search View
I’m developing an app, I use Firebase as a database to store registered customers. So I have a Listview that shows these clients, shows their name and number. What I need to do is a search, put the…
-
0
votes0
answers298
viewsUpload firebase information to Recyclerview - Android Studio
My app stores customer information in Firebase and downloads it to a Listview, but I need to do a search with the information in Listview. I was told that the best way to do it is to use a…
-
0
votes1
answer1166
viewsexample of how to popular a spinner with firebase data
I’m having trouble popular a spinner with firebase data... is as follows: I have an "Activity room" with registered rooms and listed in a listview, saved in firebase... I created a new "Activity…
-
0
votes0
answers43
views -
0
votes0
answers69
viewsChat Android Socket x Firebase
I have a question about creating a chat simple(never implemented a ), I have been researching and saw the implementation of Firebase, it provides me a whole structure for creation, I am in doubt…
-
0
votes2
answers57
viewsActivity giving crash
When I start Activity "Data" the screen turns white the program gives a crash, but if I comment all the programming of the same the program does not crash, but the screen is blank and what is in the…
-
0
votes1
answer80
viewsProblem adding spinner to my form
I am developing a form where I want to add the spinner, but when I add it in the xml file, nothing appears on the screen, only the box marked as you can see below: I already added my spinner options…
-
0
votes1
answer119
viewsSome kind of alert with Firebase
I developed an application where users access and can save some things (name, address etc). These settings are available for an administrator user to view and modify if applicable. I am using…
-
0
votes0
answers31
viewsJava virtual machine error in Xamarin project
I have an Android project that runs normally. However I created a Cross Platform and is giving this error: Error Could not create the Java Virtual Machine. Authorizer.Android C: Mobile Authorizer…
-
0
votes1
answer521
viewsCreate buttons in a grid layout
I would like to know how it is possible to make a Activity as a grid menu... Which type of layout is most advisable? A relative, linear, grid or table? Example of what I need: No need for banners,…
-
0
votes1
answer157
viewsHow to identify that the application has stopped working?
I need to save some data every time the application closes, I did this by overriding the onStop, onDestroy, onPause and works, under normal conditions, more when the crash, he does not perform any…
androidasked 7 years, 2 months ago Igor Oliveira 1,110 -
0
votes1
answer132
viewsRN Navigation - Draw Navigator
My app will feature various types of navigation on different screens. I started using index with stacknavigator and a second page trying to configure Drawnavigator and I’m not getting. I saw in an…
-
0
votes1
answer313
viewsEdittext with same size Android
I’d like to leave my components <EditText/> the same size but I’m not getting it. <?xml version="1.0" encoding="utf-8"?> <ScrollView…
android android-studio android-layout android-fragment android-activityasked 7 years, 2 months ago User1999 864 -
0
votes1
answer173
viewsPopular Listview with Firebase Data
I’m trying to input my Firebase database into a ListView, but to no avail. The database contains a "main node", called "occurrences" and inside I have some information, which I wanted to make…
-
0
votes0
answers65
viewsError Android Studio
After installing android studio, I can open a new project, but is giving these errors and can not do anything. Someone could help me?…
-
0
votes0
answers411
viewsAndroid Studio does not create new project
My android studio whenever I create a project, it gives this error: Error:Execution failed for task ':app:processDebugAndroidTestResources'. com.android.ide.common.process.Processexception:…
-
0
votes1
answer97
viewsToolbar together with Tabhost
Hello. I have created two tabs in my application. Open Request and Closed Orders. But in this Activity Toolbar does not take. Code: public class PedidoActivity extends Activity { /** Called when the…
androidasked 8 years, 5 months ago Artur Mafezzoli Júnior 441 -
0
votes1
answer487
viewsAndroid - Asynctask and Progressdialog
Hey there, guys. I’m just starting in the Mobile area and I’m having some problems with the issue of user experience in my App. In my App, it obtains a JSON from the server through a AsyncTask.…
-
0
votes1
answer41
viewsSaving data when selecting option
I have an Activity that has a list. In this list, the fields are almost all RadioButton. Currently, when the user saves the selected data in this list, a reading of all the RadioButton to know which…
-
0
votes1
answer109
viewsHow to put two Recyclerview’s inside an Activity?
I would like to know how to use 2 RecyclerView's within a single Activity, so that one is next to the other and I can carry data between them?
-
0
votes3
answers129
viewsHow to make lists and cards equal to Trello
I need to make those lists with equal cards and used by Trello, with scrolling to the sides. What is used to do that?
android android-fragment android-recyclerview trelloasked 7 years, 2 months ago Lucas Brugnera Martinelli 11 -
0
votes0
answers77
viewsIs it possible to make javascript wait for a given async of android?
Imagine this scenario: I have an application developed in Angularjs that runs in some environments like proprietary hardware and computers. We are currently adding our software to the android…
-
0
votes1
answer188
viewsReturning the firebase Father node
Hello guys I’m having a doubt on how to catch the parent node that would be in the case of the image o -Kt... I made some codes but not right. protected void onCreate(Bundle savedInstanceState) {…
-
0
votes0
answers37
viewsMusic player showing strange flaws. Am I making a mistake?
I’ve been creating a music player for a while, but I’m receiving abnormal behavior only when I test on a real device. I never had any kind of problem in the emulator. The problem usually happens in…
-
0
votes1
answer103
viewsAndroid Start My App Only
I don’t know if this would be a programming problem, I think so... I’m with a project that the app I’m developing will be installed on X-branded devices, this app MUST be the only usable app, IE,…
androidasked 7 years, 2 months ago felipe.rce 1,969 -
0
votes0
answers13
viewsDoubt on how to handle the Button event
Hello! I am new in programming and Android and I came across a question. What I see in most tutorials is like this. A button is created. Declares this button as class attribute. Retrieves his…
-
0
votes3
answers679
viewsHow to validate a spinner?
Good afternoon. I’m making an Android application that has a form, and in this form there are spinners and response text fields. Someone can help me as I check if the spinner was selected?…
androidasked 7 years, 2 months ago Oberdan Debona Altoé 33 -
0
votes1
answer121
viewsList does not load database data with Xamarin.Forms and c#
I created a list by code and I can’t load the data. I made this list by xaml and also not and I have another that works(xaml) and tried to do the same and nothing. When I go up the list appears:…
-
0
votes2
answers92
viewsIn firebase, how do you read the value of the users' "Created in" metadata?
I intend to get the date of creation of the user registration in the application, to compute a trial period. I thought about creating a Function cloud to feed a variable with this value, which would…
-
0
votes2
answers771
viewsSecurityexception android
When I run in Android Studio the code below: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
0
votes2
answers122
viewsWhen adding Listview Selector Imagebutton to Work
The list view is a list of items available to the user to select, and when the user clicks on a Listview item this item changes color and is added in an arraylist (this is the function of clicking…
-
0
votes0
answers28
viewsAndroid - Fragment Opens before data is ready
I have a problem with a list of objects that comes in a JSON, I can get the data, it comes, they should be presented in a Fragment that has a Recyclerview, the app opens and shows nothing. When…
-
0
votes0
answers119
viewsError in http Connection org.json.Jsonexception: End of input at Character 0 of
When I try to catch one JSONArray of the internet, it presents an error. Error Error in http connection org.json.JSONException: End of input at character 0 of This error happens when it will try to…
-
0
votes0
answers41
viewsHow do I get the switch back to the "fake" state?
I created a switch that turns bluetooth on and off. However, when connecting, it asks the user if he really wants to activate bluetooth. If the user clicks no, the switch remains active and the app…
-
0
votes0
answers80
viewsCreate an Android app using C or C++ only
It is possible to create an application for Android using only C or C++ unused Java? If yes where can I start and what name of the program I can use?
androidasked 7 years, 2 months ago Rebeca Aguirrer 177 -
0
votes1
answer2312
viewsjava.lang.Illegalstateexception: You need to use a Theme.Appcompat Theme (or Descendant) with this Activity
I’m trying to make a alertdialog but it’s giving error: 06-08 13:04:38.318 22518-22518/realsysten.com.br.sigarestaurante E/AndroidRuntime: FATAL EXCEPTION: main Process:…
-
0
votes0
answers148
viewsHow to use Constraintlayout in Xamarin
Hello, I would like to know how to use Constraintlayout in Xamarin for Android, use Visual Studio Community 2017. I’ve installed the Nuget packages, I’ve updated my Android SDK, I’ve set the minimum…
-
0
votes3
answers2658
viewsKnowing that a button has been clicked
I would like to know that a certain Button has been clicked, so that it does not pass the null validation. Follows code: //OnClick da tela de registro btnRegistrar =…
-
0
votes1
answer148
viewsUsing Progressbar
I would like to know how to create a progressBar where, when clicking a button to open another screen, the progressBar was showing, and when opening the other screen, the progressBar exit the…
-
0
votes1
answer160
viewsHow to embed a custom map in Android?
I have a custom map made on Google maps and want to incorporate it in an Android app. I want you to load the custom map as soon as you enter the app.
-
0
votes1
answer91
viewsHow to open an Activity from a calculation?
I am very lay in android studio and I need to do a program on an IMC calculation. The idea is simple, in the first Activity he asks for his weight and his height, after that he must do the imc (imc…
-
0
votes1
answer532
viewsListview does not appear
After hours of code analysis I still can’t find the error simply does not appear my list with the schedules that are received by json ! I took code that I didn’t find necessary for error. The code…
androidasked 8 years, 5 months ago Tiago Coelho 739 -
0
votes2
answers601
viewsFirebase - Child inside another Child
I wonder how I can put a Child inside another Child in the firebase, for example, create a Child that calls "Company" and inside that Child put other Childs with each headquarters inside, I do not…
-
0
votes3
answers1806
viewsIonic Android Build Problem "Failed to find 'ANDROID_HOME' Environment variable"
I tried several answers to the below error found right here in the OS but none solved the problem. Running the command sudo ionic build android is returned the following message Error: Failed to…
-
0
votes1
answer140
viewsError generating APK - app:transformClassesWithDexForDebug
I am trying to turn my application into APK, for TCC delivery and am having the following error: Error:Execution failed for task ':app:transformClassesWithDexForDebug'.…
-
0
votes1
answer651
viewsSet cursor focus position in Edittext
Is there any way when I call the virtual keyboard (SoftKeyboard) set the cursor position? I have a EditText which is already filled in by default the number 10, when the keyboard starts I want the…
-
0
votes1
answer188
viewsConnect android app to a software installed on the pc to transfer file
I will start developing a software in Lazarus and an application for android. I wonder if there is any library or any reference to make communication via usb between the software and the…
-
0
votes1
answer502
viewsHow to save form in android studio and send to firebase
I have a simple form, with name, surname and age. I want to send the data entered in editText of this form to firebase. The solutions found on the web smp refer to login forms which leaves the code…
-
0
votes1
answer115
viewsDoes not install Xamarin.googleplayservices.base
Even praying, we are able to install the plugin via Nuget: Xamarin.googleplayservices.base The message is: Unable to install 'Xamarin.GooglePlayServices.Base package 42.1021.1'. You are trying to…
-
0
votes1
answer55
viewsCan the user change colors of the already compiled application?
I’m thinking about creating an app where the user can change their Layout colors as they wish with predefined colors, but I can’t think of a way to do that, if that’s possible. Someone has something…