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
votes1
answer117
viewsFacebook authentication in an app using Azure
Good afternoon, I’m new here and I’m on a project for the creation of a hybrid application (Android and IOS), we are at the beginning and do not understand Android programming - let’s learn while we…
-
1
votes0
answers89
viewsCordova Camera Plugin does not trigger the return of success or failure
I’m trying to use the latest version (2.2.0) of the Cordova Camera Plugin in an app I’m developing on Intel XDK. My javascript and HTML are: <script type="text/javascript" charset="utf-8">…
-
1
votes0
answers40
viewsPopular Calendarview with Firebase data via a Datasnapchot
Hello, I’m having difficulty in popular a Calendarview with a Firebase data... is as follows: I have a "Cadastroactivity" where I register events in Firebase with specific days, but now I would like…
-
1
votes1
answer71
viewsError trying to save result to database
I would like to record the contact name and contact number in the bank. So I can use it in other activities. But, when returning, from the contact screen to the Activity in question, an error…
-
1
votes1
answer27
viewsHow to get the Appwidget id when clicking it?
I need the ID of an Appwidget in specific to do certain action, example: widget 1- sair widget 2- entrar widget 3- nao faz nada Suppose the login was selected I will use the WIDGET LOGIN ID to do…
-
1
votes1
answer207
viewsProblems with android alarm
The idea is to send a notification to the user every 24 hours. User has a list and when click will add an alarm. If the current time is longer than the time of the alarm we will add 24 hours for it…
androidasked 8 years, 5 months ago Tiago Coelho 739 -
1
votes1
answer673
viewsCreate popup with Rg.Plugins.Popup
Does anyone know any tutorial for creating popup on Xamarin.Forms using this plugin, Rg.Plugins.Popup? I need to create a popup and inside it a textbox or textarea with two buttons (Ok and Cancel).…
-
1
votes1
answer287
viewsHow to give a list of images the behavior of a Radiogroup?
I have 2 image vectors, one for the normal image and another for when it is selected. When selecting an image on ListView I need the others not to be selected. I’ve tried many ways and this was my…
-
1
votes1
answer986
viewsHow to change Activity within a Button Ragment?
I have a simple App, has two areas, one with the Fragment and another with a Button Group (Imagebuttons) How to do so that by clicking the buttons I can change which Activity will be loaded in…
-
1
votes0
answers33
viewsHow to detect slow internet?
Is there any minimally reliable way to detect that the user is on a slow connection? Basically, in my application, I would like to detect such a condition and omit to upload some complementary…
-
1
votes1
answer32
viewsProblem with sqlite and boot receiver
I have an application where the goal is to put the name of a stop and after the reboot to android device receive the name of that stop in reboot receiver My boot receiver is working because I have…
-
1
votes0
answers138
viewsItext with Firebase on Android
Hello, everybody, all right? I have a question here that I would like you to help Sandra. You can generate a PDF report with itext that contains Firebase data. Type, register several clients during…
-
1
votes1
answer68
viewsError trying to insert information into mysql database
I have the following tables Produto { idproduto nome preco } Promocao { descricao datainicio datatermino id_produto_fk } When trying to insert a new promotion returns me the following error:…
-
1
votes1
answer610
viewsInterfaces can be instantiated?
Hello. I know interfaces can’t be instantiated, but I came across a code that doesn’t make much sense to me. EditText nameField = (EditText) findViewById(R.id.name_field); String name =…
-
1
votes0
answers205
viewsLabel on a button
How to add a label to a button, as in the image? By clicking this button, this label Just to let you know there’s something new on the menu. how to do something similar?…
-
1
votes1
answer3678
viewsHow to send data from an Activity to a Fragment?
As you can see in the code below I can send data from one Fragment to the other and tbm from one Fragment to Activity but I’ve tried everything to send from Activity to Fragment but I’m not getting…
-
1
votes1
answer74
viewsImage framing
I’m trying to put a 704x480 image in an Imageview, but it’s floating with spaces above and below. Ex.: <?xml version="1.0" encoding="utf-8"?> <LinearLayout…
-
1
votes1
answer321
viewsAndroid app => Unfortunately name_project has stopped
I’m a beginner on Android and I’ve read some similar questions but I couldn’t solve my problem. While running my app gives error: Unfortunately project name has stopped. Mainactivity.java package…
-
1
votes0
answers75
viewsHow do I get the data from the person who just logged in to my system?
the previous question I wanted to know the validation and I already realized it , now I want to know how I took the data of the person who logged in and play to another screen and separate each data…
-
1
votes1
answer112
viewsHow to save a private key locally in security?
I am developing an application for Android/iOS mobile devices, in this application the communication with the server is done in encrypted form. The user application, when first started, generates a…
-
1
votes1
answer83
viewsStrange Error On Android
Good was with a project practically finished in Android with the client testing and already giving OK to just change some images and text of the program nothing more, then I went to get these days…
androidasked 7 years ago Ederson Coelho 143 -
1
votes1
answer427
viewsProblems making call using Retrofit on Android
I’m a student and I’m having a hard time understanding where I’m going wrong in a job that the teacher went through. Briefly describing, the teacher provided an API on Github, which after the…
-
1
votes0
answers130
viewsError android studio "Onfragmentinteractionlistener"
I’m trying to use a Fragment in Navigation Drawer, but is giving error "The application stopped working" menu: package portal_aluno.com.portal; import android.os.Bundle; import…
-
1
votes1
answer176
viewsTimertask Error: Looper.prepare() not called
I got this mistake. Can’t create Handler Inside thread that has not called Looper.prepare() The goal is to repeat the function that receives the map every 1000 thousandths of a second. Timer t = new…
-
1
votes1
answer1381
viewsError while trying to generate a signed APK
Error while trying to generate a signed APK. I have already managed the Keystore, passwords, alias, etc. Error:(32) Error: The element must be a direct Child of the root element…
-
1
votes1
answer63
viewsProblem with Fragment
I created a Fragment and I’m trying to call it when I click on a button, but it gives an error and it appears in the console com.ample.Gustavo.easypasse.Reloade@30d409a0 must implement…
-
1
votes1
answer128
viewsString Conversion to Double returning null
I have an android application that I need to capture the entries and store in my Order object, but I need to convert the entries(Strings) into Double numbers, but from the following error:…
-
1
votes0
answers293
viewsAttempt to invoke virtual method 'java.lang.String java.lang.String.toString()' on a null Object Reference
I am developing an application that aims to consult prices and deadlines of orders consuming the Post Office service. However, I’m having trouble implementing the service in the application.When I…
-
1
votes1
answer136
viewsIs it possible to convert an Arraylist<Double> to Arraylist<Integer>?
So, guys, I’d like to know if there is and how to make the conversion of a ArrayList<Double> in a ArrayList<Integer>?
-
1
votes0
answers216
viewsHow to add a Expandablelistview in Android’s Navigation Drawer menu
I created this Navigation Drawer that already comes in Android Studio itself: However, I wanted to know how I can transform this list of it expandable. I want to put sub-items for each item in the…
-
1
votes1
answer49
viewsException in eclipse Android - java.lang.Stringindexoutofboundsexception
I wanted to integrate my Android project with my Web Project in Jsp.. When I try to download data from Web to android from this error: Fatal Exception: main…
-
1
votes0
answers18
viewsConnect android app with messenger
Good evening, everyone, I am developing an application with educational character, in this application I develop desire to create a button that opens the messenger for the user to send a question to…
androidasked 7 years ago Everton Bitencourt 31 -
1
votes1
answer101
viewsIcon gets small in notification
I have a simple notification, but the icon does not fill the whole part. I generated it through Android Asset and put each resolution in its respective folder in mipmap. Notification Android 4.1…
-
1
votes0
answers28
viewsConstruction of a string in real time
In the construction of an app I was suggested not to incorporate the public key to any code as a literal string. Although it is not secret, it may be replaced by another in a possible fraud attempt.…
-
1
votes0
answers129
viewsHow to solve the "app has stopped"?
Here’s the thing, I’m setting up an app for my TCC and suddenly there’s another problem, I made a login screen, a registration screen, another to recover the password and finally one that the user…
-
1
votes1
answer89
viewsListview error with Arrayadapter and Custom View
I’m looking to make a product listing, where each line contains more than one information per line. The problem is that the app throws exception (I believe) and closes when I click the button that…
-
1
votes2
answers24
viewsError returning vector in a method
I can not return the predictions vector, Android Studio is not accepting. (incompatible Types) public double MediaMovelSimples(double[] valores) { int i; int j; double[] previsoes = new…
-
1
votes2
answers416
viewsAlertdialog button to confirm ERROR
My friends have a problem, I tried to understand how Alertdialog works, where the focus was to create two buttons to confirm the dialogue. The code I’m using is this: import android.content.Context;…
-
1
votes1
answer1774
viewsRemove components at runtime in Delphi with Android
When creating a Tbutton dynamically at runtime within a Tvertscrollbox. When I need to delete this button it does not disappear from the screen. This problem only occurs by running the application…
-
1
votes0
answers49
viewsHow to control the amount of Toasts that are displayed without them forming a display queue?
I’m developing an Android app that’s basically a game. In the main Activity there is a start button and other buttons that are also part of the game, but if the user presses any other button than…
androidasked 7 years ago Pablo Henrique 43 -
1
votes1
answer82
viewsLayout is not adapting (XML)
Hello I’m having difficulty in a layout I’m doing in Android Studio, on my phone it is perfect, but when I pass it to my friend with a phone with much lower resolution, Edittext Message just…
-
1
votes1
answer374
viewsHow to make this Floatingactionbutton?
Hello, in my project I would like to be able to make a Floatingactionbutton that by clicking on it it deletes the background screen and displays above 3 more Floatingactionbutton with its respective…
-
1
votes1
answer213
viewsMy app that has Listview with Arrayadapter is closing when creating the list
I’m looking to make a product listing, where each line contains more than one information per line. The problem is that the app throws exception (I believe) and closes when I click the button that…
-
1
votes0
answers94
viewsDynamically editing a variable on android
Hello, I have an Activity that has some Textview fields and right below I am putting some Edittext so that I want to change these fields I insert the data and click on the button and it…
-
1
votes0
answers37
viewsReuse the Navigation Drawer in other Activities
I created an Activity Navigation Drawer, configured the menus, customized it for my application. Now what? How do I create new activitys by reusing Navigation Drawer creating for the first?
-
1
votes0
answers30
viewsHow do I use the WP-API to play a video from a post?
I wanted to know how to get the video of a wordpress post and play it in the app. I am using the REST Wordpress API. Also, if the videos are in a format other than mp4, or 3gp, will I have any…
-
1
votes1
answer117
viewsDrawerlayout - control visibility
When the app runs the first Drawer displayed is correct; it only comes with a visible option item. This option when selected activates an Activity that is running normally but at the end of its…
-
1
votes1
answer154
viewsNotifications in Android app
I am developing an application and would like to know how I do to generate notifications when there is a new record in the database, I am receiving the data via JSON. I was watching Firebase, but I…
-
1
votes0
answers35
viewsDownload audio with Unity on android
I’m trying to download an audio, in the editor the download works, but after installed apk on mobile phone, it downloads the file, soque not complete, it saves a 40b file, while the file saved in…
-
1
votes0
answers29
viewsProject migration done in Eclipse to Android Studio - FATAL EXCEPTION
I made the import and I had no mistake, more when I try to compile the project I have this problem: 07-13 15:29:13.786 1380-1380/br.com.sistemaguardiao E/AndroidRuntime: FATAL EXCEPTION: main…