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
votes2
answers684
viewsHow to pass data from one fragment to another
Hello! I received the following exercise: • Fragment 1 must have two text boxes where the user can enter two numbers that will be added, and a button to trigger the addition • Fragment 2 must have a…
-
1
votes1
answer59
viewsHow to get an authenticated user to see another user’s posts tbm authenticated?
When I take the node reference in the database and use Child to return the current user data, it works cool, but I don’t know how to implement the data return(posts) of other authenticated users in…
-
1
votes1
answer716
viewsHow to change the background color of the app popup menu
I’d like to know how I change the background color of when I open the menu of an app I’m creating. Follows the style.xml <!-- Base application theme. --> <style name="AppTheme"…
-
1
votes1
answer83
viewsProblem sending notification with parameters
I’m having problems in an android app, when trying to send a notification everything happens 100% until you arrive at the opening of the notification Activity. This call Activity needs a "store"…
-
1
votes1
answer61
viewsEdittext with Mask
I needed a mask for a tractor horimetro with 5 fields a comma and a capo later. Example: "#####,#" I even found a cool Maskedit, follow the link: https://github.com/toshikurauchi/MaskedEditText The…
-
1
votes1
answer159
viewsFacebook SDK 4+ Logout Button. Error climbing Activity
When trying to implement the facebook logout, in another activity, other than the one who logs in, I see the following message: Error Mainactivity}: java.lang.Nullpointerexception: Attempt to invoke…
-
1
votes1
answer2684
viewsDecrease a Base64
How to decrease a size of a Base64 without decreasing the quality so much? I’m trying a problem in this code,because it’s too big and it’s not saving in the bank. How to decrease ? Bitmap thumbnail…
-
1
votes1
answer1088
viewsHow to use the textwatcher?
How to use the textwatcher to count how many characters you have in a textview ,and show in countdown , the same is done on facebook by limiting a post. Thank you in advance!
androidasked 7 years, 3 months ago Wallace Roberto 496 -
1
votes2
answers573
viewsHow to search a table by date and add values contained in it?
It’s the following guys, I’m having a lot of trouble creating a search by date in my android sqlite database. I wanted to search the tables by date, if possible, I wanted to make a condition that…
-
1
votes1
answer113
viewsHelp with Wifi Manager
I need to read a value of 2 edittext being SDDI and Password and connect this access point with this information example: @Override protected void onCreate(Bundle savedInstanceState) {…
-
1
votes1
answer150
viewsHow to add Actor on a Screen with Libgdx?
I’m not able to add actors (Actor) on a screen.I want to show an actor in the "Screenmenu" and nothing happens (the actor does not appear), follows me code: Mainclass.java. public class MainClass…
-
1
votes3
answers303
viewsWhen I roll my listview I miss checkboxes marked
This is a code from my Adapter, in it I have a textview and 4 chekboxes. The problem is that I believe I have to save the status of my checkboxes, not to lose the data from it, because when I roll…
-
1
votes0
answers229
viewsHide Toolbar with Coordinatorlayout + Tablayout + Viewpager
Good morning, I’m trying to implement the features of google Material Design and wanted to hide the Toolbar when I scroll in Viewpager (has a Recyclerview inside), however I’m not getting the…
-
1
votes1
answer64
viewsSwipe Refresh in api 15
I am making an application that uses Swipe refresh a lot, I would like to know how to implement Swipe refresh in Androids with api 15? If it is not possible how can I create the Swipe for android…
-
1
votes1
answer796
viewsURL is with Location how to open in Webview Android
People at the url link I put in the webview has implemented localization. As soon as the user opens the site by Chrome or any browser appears a dialog asking if it allows to use the location. But in…
-
1
votes1
answer138
viewsImage Upload Does Not Work
I’m using cordova in order to pass my application WEB for Android. In my application Web upload images using basic HTML tags <ipnut type='file' >. when I install the application on Android can…
-
1
votes0
answers33
viewsHow to fix the icon size of an Expandablelistview?
I’m using a Expandablelistview, where I have a content expansion icon, but every time I increase the height of the option, the image gets the same height, distorting the image. How do I fix the…
-
1
votes1
answer322
viewsMy layout has stopped working
I’m mounting a screen for an android application, I made the screen layout and was working, but after updating the android studio my layout no longer works. The code is this: <?xml version="1.0"…
-
1
votes1
answer115
viewsStore contact information on android Xamarin
void button_Click(object sender, EventArgs e) { //Create a new intent for choosing a contact var contactPickerIntent = new Intent(Intent.ActionPick,…
-
1
votes1
answer22
viewsAndroid: Have a job to check url
I need to have a job for an app of mine that runs every day to check if a URL is returning correct data. In case I don’t return it, I should get an e-mail. Does anyone have any idea how to do this?…
-
1
votes1
answer44
viewsAsynctask compare 2 jsons
I am trying to make my list view popular with a json, it check the information of another json and return me a link in which I will use to fill photos but everything goes right with you setar link…
-
1
votes1
answer720
viewsAdd days to a date in Edittext
I have a date in the dd-MM-yyyy format in an Edittext with Inputtype="date" called "start". I want to take this date, put your content in the Date variable called "inifer" and on this date add an…
androidasked 8 years, 6 months ago Daniel Tibúrcio 21 -
1
votes0
answers77
viewsAdjust text in recyclerview
Good night! I’m having trouble adjusting the text of a textview within a list, as the image shows, the end of the text is overwriting the button. How to fix? Picture how it’s getting. <?xml…
-
1
votes0
answers135
viewsUsing setContentView in static methods
I am creating an application using Bluetooth, where the method that receives the messages is static. Depending on the message the device receives, I’d like the app to do something other than simply…
-
1
votes2
answers159
viewsHow to pass the answer received by Volley to a Global variable?
Good afternoon, I was wondering how I could spend one JSONObject received in Volley for a global variable: public class ReceberObjeto { private JSONObject res; public ReceberObjeto(String URL,…
-
1
votes0
answers59
viewsError when choosing theme for form
I am making a form and when choosing the Dialog theme it informs that: Missing Styles. Is the correct Theme Chosen for this layout? as you can see below. If you cannot really use this theme, there…
-
1
votes1
answer193
viewsHow to leave my Activity in 2 plane by executing a function ?
My project is to put a Webview in Activity and when I quit the application, and it stay at 2° plan updating from time to time the Activity so that the site that is Webview also updates. someone help…
-
1
votes0
answers27
viewsDeploy per command line
We are creating automated application version generation and publishing routines using Gitflow and CI (Intel). Is there any way to deploy apk (it is already generated and signed - I just want to…
-
1
votes1
answer637
viewsGet response from a restful java web service on Android
I am developing an application for Android and would like to know how I do to receive a response from the server, the technology I am using on Android is retrofit 2. After sending a POST request,…
-
1
votes3
answers542
viewsWhat do you call that "view change" effect by sliding?
Several apps (Facebook, Twitter, Instagram) make use of a "touch enabled" effect where the user drags the entire screen and it changes the view. Do not confuse with the "slide" effect of the menu. I…
-
1
votes1
answer42
viewsHow do I know when the user touched outside of Edittext?
I need to identify when this happens. I have two Edittexts, when the user type the time and minute and tap another Edittext example name, I need to appear a warning if the time is incorrect. I have…
-
1
votes1
answer864
viewsHow do I call a progressBar inside the Dialog?
I wonder if there is any way to call a Progressbar inside a Alertdialog... If so, how do I?
-
1
votes1
answer169
viewsIs it possible to call/see the android app’s Cordova plugin from an external site that opens inside the app?
I have a simple app using Cordova, inside, I call an external web application developed in Angularjs. I intend to start monetization in the app, and for that I want to make sales through the Google…
-
1
votes0
answers329
viewsJAVA - Is there any way to send a print to Windows Spool?
I wonder if there is any way to send a print to Windows Spooler via java... I tried via Socket, Printwriter and everything, but I can’t send it to Spool, only directly to the printer!!!!
-
1
votes2
answers292
viewsTools for Prototype Mobile App
What do you use to prototype a mobile app before its development? Even paper, some tool to draw what would be the screens and your browsing, etc.
-
1
votes1
answer95
viewsHow to block my app if you don’t have internet
I’m creating an app that needs internet, If this person’s mobile phone is without internet the application would not start because it would only open if it was with internet. How does that help…
-
1
votes2
answers660
viewsCreate "forgot password" links on Android
Hello, does anyone know how to create a link button to reset password as the image below, and when clicked open another Activity?…
androidasked 7 years, 3 months ago Matheus Emanuel 33 -
1
votes0
answers615
viewsGet string from an Edittext
I’m a beginner in android and the max that I managed to do so far is to press the save button it prints in the log that I wrote, but I’m not able to store this in a variable. package…
androidasked 8 years, 6 months ago Igor Oliveira 1,110 -
1
votes1
answer163
viewsBackground image covering the navdrawer
I have an Activity with a navdrawer on it. And I’d like to put a background image on this Activity. But when I put the image, the Nav disappears, the image is over it. Nav does not lose function, if…
-
1
votes1
answer109
viewsInstrumental Tests Android Studio
When designing instrumental tests for my android app, I come across a problem and I don’t see why this should happen. Why Mainactivity is Not Recognized?…
-
1
votes0
answers721
viewsHow to add the values of an Edittext that is on a list via an Adapter?
I have an application with a dynamic size list, which works together with an Adapter that contains 3 Edittexts, in which I name valor1, value2 and ream respectively. The functionality is very simple…
-
1
votes0
answers223
viewsXamarin - Load Frame with Image inside a Contentview
I want to change this Sketch so I can draw in a photo. I lowered the github and I’m making the modifications. However, I am not able to load an image on the screen when setting the Image Source.…
-
1
votes1
answer88
viewsExtracting File with Progressdialog
Hello, I need to implement the `Progressdialog while the file is being extracted. My extraction code is following. Now just implement ProgressDialog, recalling that the downloaded code has already…
-
1
votes1
answer672
viewsInstall only the app without overwriting the sqlite database that is already being used
I am developing an application using Delphi Tokyo for Android. But by always compiling it takes the database from sqlite and about writing the that is already there full of data. As this app goes to…
-
1
votes3
answers1170
viewsExchange Fragments Android
Good people, I’m starting with Android Studio and I’m developing a small app and I made a menu, and I would like when I click on it, open another Fragment. I’ve tried several things already and…
-
1
votes1
answer78
viewsSet the initial time of a Chonometer with the text of a textView
Hello, I wonder if it is possible to define the initial value of a chonometer based on a textView. texView who would like to set the beginning of Chronometer in blue highlight. This textView…
-
1
votes2
answers194
viewsUnable to rename resource files (layout) (Android Studio 3.0 Beta 3 is installed)
Beta 3 does not allow renaming resource files such as layout files. It shows the rename dialog box, but when trying to apply changes, reads the following error message: Refactoring cannot be…
-
1
votes0
answers23
viewsI cannot use debug in a library
I need to debug a lib I just created, I’ve done these steps: *Here is what worked for me: (After having clicked debug at least Once before) Open the debug view in eclipse (use the menu at the top:…
-
1
votes1
answer350
viewsInvisible spinner in form
I’m developing a form where I added the spinner, the code went all right, I was able to add and get the selected item, the problem is in the visibility of the spinner. It only appears on the screen…
-
1
votes0
answers1597
viewsCannot attach due to e/s error via e-mail
I’m finishing developing a form in android studio, where the user send an image along with information via email. Already managed to do everything, the problem now is when I take the photo and I…
androidasked 8 years, 6 months ago Carlos Diego 683