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
answer528
viewsCannot add Extension with name 'googleServices', as there is an Extension already Registered with that name
Please, help me out. Problems to connect firebase with firebase wizard in android studio. I’m trying to connect firebase Analytics with Ionic, and for that I have to connect with firebase. I…
-
0
votes0
answers31
viewsSet image using Firebase database
I need the image that’s stored in the Storage Firebase appear in the listview customized. However, I cannot define the image in the format gs://<Seu banco><childs>. I’ve tried using the…
-
0
votes0
answers39
viewsAlertdialog for selecting Numbers
I’m trying to make a Alertdialog or something like that that solves my problem. The point is, I need something similar to the photo, where I can use the numeric value that is selected. Maybe I’m not…
-
0
votes0
answers38
viewsActivity class {} does not exist. Mulator
Good afternoon. I have been having this problem for 3 days. When I try to install the debugging in the emulator the following error occurs: error type 3 Error: Activity class…
-
0
votes0
answers190
viewsMinimum version of android studio installs but does not open
I have a project that compiles in the version compileSdkVersion 28, and put the minimum minSdkVersion 18, I use the mobile to test the app and works perfect mine is android 8.0 and I’m trying to…
-
0
votes1
answer68
viewsI created an application in android studio but when I install on the phone and game is slow
Good afternoon, I created a small application and went to the phone to try how well it ran on my phone I gave it to my friends to see if it worked on their phone. I ended up discovering that in some…
-
0
votes1
answer49
viewsProblem with APK
I’m having a problem with the APK file generated by android studio, when I install the app via AVD Manager the App works normally, but if I take the debug apk and install on the same device, when…
androidasked 5 years, 8 months ago Julio Gomes 3 -
0
votes1
answer64
viewsWhen to use Relative or Linear Layout?
I’m wondering when to wear it LayoutRelativo or Linear? What advantage to use in each case.
-
0
votes1
answer171
viewsAndroid Resource linking failed - while using the Stripe and play-services-Wallet library
I am integrating Android with Strepe and Google-pay. The problem is that there is a link failure with the xml layouts. The following figure shows the link failure. I’ve researched several similar…
-
0
votes1
answer126
viewsMake my website open in the app automatically when accessed by Browser
i have an Android app made in Android Studio, and a simple webview, what should I do in the app to recognize the site and open it in the app ?
-
0
votes1
answer94
viewsHow to Compile Android API 19 App?
I have an app here that’s a little old and I need to build it with API 19. But when I tried to climb Google Play, I was warned that my app should be at least API 26 (Android 8.0). But I need to…
-
0
votes0
answers35
viewsHow to open application options after download
I am developing an App using Webview, access an existing system made in PHP. It has links to download PDF files, I can make the downloads directing to a browser or in another encoding, I download…
-
0
votes1
answer677
viewsSend SMS using android
I have an app and I would like him to send a text to his own mobile but I’m not getting, not from the error just not send. SmsManager smsManager = SmsManager.getDefault();…
-
0
votes1
answer32
viewsAndroid Studio Startup Error
I’m learning how to develop mobile apps.I installed Android studio but when I create an Activity, in this case Basic Activity, the following boot error appears:…
-
0
votes1
answer148
viewsError starting the app
When I try to run an application by Android Studio in the Genymotion emulator an unexpected error occurs and the app does not open. And the log flap Logcat from Android Studio returns the following:…
-
0
votes1
answer28
viewsAndroid capture device rotation without rotating the application
I have an application with Android Webview, my Activity is configured to portrait: <activity android:name=".activity.MainActivity" android:screenOrientation="portrait"…
android android-layout android-activity rotation orientationasked 5 years, 8 months ago Leonardo Patricio 1,656 -
0
votes0
answers49
viewsAndroid - Firestore - Searchview
how can I perform a search with firestore? for example, if you type a city, list the data related to that city. Thanks
-
0
votes1
answer31
viewsPublish to playStore
Hello, I have an app in the published play store. It is possible to publish a version of this app with the same ID but with a different subscription key ?
-
0
votes1
answer47
viewsAndroid Studio does not run any project
This is the error that always appears. I can’t run either on emulators or on my device. I tried to uninstall and install again, I tried to take and put back all the SDK (without success, nor…
-
0
votes1
answer59
viewsAndroid Kotlin - App minimizes but maximizes the app starts again
Hello, I have an app that minimizes and maximizes restarts in Activity.MAIN, every time. I found this question but the answer does not solve the problem MAINTAIN ACTIVITY BY MINIMIZING because the…
-
0
votes0
answers204
viewsImageview turns white when loading Activity and black when receiving image from gallery
I am saving users with a default image at the time they register in the application and this image is a drawable that is saved as a String in the database: Method of the Controller class: public…
-
0
votes2
answers225
viewsPublish app in Xamarin for Android 5 on Google Play
Google Play is not allowing me to publish an application that runs on Android less than 8.0. I am using the following settings: Compile using Android version: 8.1 Minimum Android version: 5.0 Target…
-
0
votes0
answers37
viewsEdittext from Android is deprecated
What should I do if class EditText android’s deprecated? Have another command you can replace?
androidasked 5 years, 7 months ago romilson carvalho santana 1 -
0
votes1
answer42
viewsEdittext.Selectionchanged event on Android
I need this event you have in Windows Forms: private void richTextBox_SelectionChanged(object sender, EventArgs e) { } Only for Xamarin, on Android. Note that I’m not using cross-Platform app. I can…
-
0
votes1
answer141
viewsRegister button for the application
I’m developing an app and it has user registration and login, I’ve done a lot already, but every time I click the button to register user, the app to, could anyone help me? Follows the code. Class…
-
0
votes0
answers52
viewsRecyclerview does not expand
Hello, Here’s the thing, I’m using two Recyclerview in parallel: <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content"…
-
0
votes1
answer163
viewsSend object with android object list to SOAP web service in C#, using ksoap2
I send an object containing a list of objects, the web service recognizes the object but does not recognize the list. This is the source code: public RetornoDto GravarRecebimentoNf (NotaFiscal nf,…
-
0
votes1
answer449
viewsSet text of selected item in Spinner for an Edittext
First of all forgive the lack of knowledge and technical errors, I’m starting in the area. I need to send the information of a spinner to a database and the solution I proposed was to set the text…
-
0
votes1
answer51
viewsUncommon error progressbar
I’m not understanding the error, I want to do a simple thing with Progressbar but it does not give 'void android.widget.Progressbar.setVisibility(int)' on a null Object Reference. I know this error…
-
0
votes1
answer54
viewsNotification by the logged in user account
I would like to know how to send a notification to a logged in user in my app. For example, that you are logged in with the account: [email protected] I saw some examples like:…
-
0
votes0
answers317
viewsUpdate APP in Google Play Console
Good afternoon. I’m having a problem updating my already released app. I updated his grandle and now when I try to release a new update he presents the image below: I’ve checked the app key and it’s…
-
0
votes1
answer749
viewsFATAL EXCEPTION: main Process:-When I opened the application give ANDROID error
every time I try to open an error query, I’m using php along with java follows the error below: E/AndroidRuntime: FATAL EXCEPTION: main Process: br.com.alencardeveloper.escola.sisescolar, PID: 11602…
-
0
votes1
answer538
viewsShare webview url
I have a webview and a share button, I would like to know how to pass the web view url through the share? Below the code of my Mainactivity.java package radardf.radardf; import android.app.Activity;…
-
0
votes0
answers73
viewsUpdate fragment after clicking button
I have a Fragment called Fragmentopedidos with a button that adds a new item to a Recycleview, and this Recycleview is in a separate class: Adapterhistorico.java. Each item in this Recycleview has…
-
0
votes0
answers37
viewsMaximum app_name size to avoid ellipsis
What is the maximum size (max length) for the string app_name of the archive strings.xml of the project in Android to avoid this problem ? For example the name My Butterfly has length = 12 (counting…
-
0
votes0
answers122
viewsAndroid - Create a Socket in Singleton
Good night, I’m developing an android game where to play online have to connect to the server. At first I was trying to create sockets in an Activity where the game will occur, but the app was…
-
0
votes2
answers664
viewsDifficulty with Permission Location Android
I’m trying to get a project up and running open-source found on the internet but I’m having some problems trying to implement the permissions for Location now required by compileSdkVersion 23 and…
-
0
votes1
answer218
viewsWait with Alertdialog()
good! My problem is with the AlertDialog asynchronous of Xamarin.Android. I have a class with a method that assembles an alert with some fields... With the data of these fields, I assemble an object…
-
0
votes0
answers58
viewsERROR: Unable to open HAXM device: ERROR_FILE_NOT_FOUND
I’m trying to configure the environment to start programming using flutter, at the time of running Android Virtual Devices, it reports this error about HAXM, already tried uninstall and install…
-
0
votes0
answers35
viewsParse server query returning empty
I picked up a design from a Listrview’s website Android Hive On this site he makes a query on the parse server and returns the list. I did the same thing in mine but using my server parse. It does…
-
0
votes1
answer62
viewsMethod being called several times
I have a little problem. The method of adding Message is being called several times and keeps adding messages until the app is closed.I have no idea what’s causing this,! Fragment containing the…
-
0
votes1
answer107
viewsAdjust layout to different resolution types
I am creating my application and for testing I was using the virtual device Pixel XL that has the resolution 1440x2560, but today I went to test the application on another device (Nexus - 720X1280)…
androidasked 5 years, 6 months ago Joao Victor Menom 45 -
0
votes0
answers113
viewsCreate a "Submit" button after creating a "spinner" with email confirmation
I’m new to creating android apps and wanted your help Crier in the Navigation Drawer one Spinner with 2 text boxes, a drop down list and a button of Submit where this button will have to fetch the…
-
0
votes1
answer143
viewsFirebase stopped saving to Realtime-database
From yesterday to today, firebase stopped saving any kind of data in the database and I would like to know why. I just yesterday was testing my Whatsapp app clone naturally, but without changing…
-
0
votes2
answers667
viewsGo back to another Activity and pass parameters
I’m having a problem adding items to a ListView, have a activity main calling another to add the met package com.example.jonathan.agendaonline; import android.content.Intent; import…
-
0
votes1
answer43
viewsDeserialize string json in obejto on android
I would like to transform this string into an object, alias, put the data of the jsom string into an object. I’m not succeeding, I’ve already received the code 200 of success and I also see that I…
-
0
votes1
answer65
viewsUpdate location from time to time when an application is running in the background
I have an app that should save the user’s location every 1 minute. I created a service running in the background that does this. While the screen is on and the application is in the foreground, it…
-
0
votes0
answers39
viewsHow to generate Fragments automatically?
Hello, I am developing a project where the user will create questions in the backend, and I will have to receive them through an API, generating them one per screen on android. What I need to know…
-
0
votes1
answer63
viewsApp tablayout does not appear when operating on Mobile
I’m creating an app that has a Tablayout with three Tabs that should return specific fragments each. However, when I test the app on mobile none of the tabs are shown, which makes it impossible to…
-
0
votes0
answers142
viewsSQL server connection with android application
How to connect an android application to sql server database ?