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
votes0
answers58
viewsCreate user by Basic4android
How to create a Basic4android login screen to register users in a Mysql database? I looked for an explanation and found none, someone can help me?
androidasked 9 years, 1 month ago Henderson Matsuura Sanches 29 -
1
votes1
answer3482
viewsHow to place a frame or space between Edittext’s?
I have 3 EditText's in a layout that are distributed the weights between them, but when I go down with a color, the impression that it is only one, would have a better editing method or put a…
-
1
votes1
answer861
viewsHow to automatically fill an Edittext on android
I have an application that calculates the total value per product of the purchase (quantity x unit value of the product). Wanted the field to Edittext of total per product was filled in…
-
1
votes0
answers63
viewsListview, error while scrolling
I created a custom listview and added 20 items, when I open the emulator, I can only "scroll down" to item 15, from there, the emulator stops working. Any suggestions? E/Inputeventreceiver:…
-
1
votes2
answers243
viewsHow to cache a bitmap on android?
Hello, I’m making an application for my tcc, at the moment it is searching a list of images in the database and showing in a listview on android, but when I transition list, it does search again,…
androidasked 9 years, 7 months ago Bruno leonel nunes 39 -
1
votes1
answer228
viewsSugar ORM ANDROID
Good morning Is there any way to change tables and fields in the Sugar ORM database, so that when performing the app update, it does not lock? I have a register and I own the PRODUCTS table and it…
-
1
votes0
answers401
viewsSend msg by Whatsapp to directly by an application
It is possible to send a message via Whatsapp to a pre determined contact directly from my application. Without opening the application and having to select the contact and then send the message.…
-
1
votes1
answer387
viewsUpdate of Mainactivity items
I’m studying an app that has the same functionality as a contact book. The app is divided into two tabs, a tab to add the user and another tab to list the users that have been added. After adding a…
-
1
votes1
answer203
viewsHow to open a Dialog without darkening the Android background screen
I have an Activity, and in this one I call a Dialog, but when I open this 'popup' the background Activity screen that called it darkens, but I wish that didn’t happen. You can do it?
-
1
votes1
answer747
viewsAndroid studio create directories
How can I create a folder in android studio (to save images - my project will have many images and would like to split into folders or packages for better organization)? If I create in the directory…
androidasked 9 years ago Augusto Furlan 1,155 -
1
votes3
answers182
viewsHow to instantiate an Activity with Edittext fields without being automatically selected?
Developing an Android application, I came across a problem, I have an Activity where there are editing fields (Edittext) in xml, and when I instate it, the first Edittext field, is selected and the…
-
1
votes1
answer2389
viewsView PDF on android
I need to insert a pdf into my application; how could I do that ? Is there a pdf view? The pdf will be inside the application itself in the Assets folder. Thank you.
-
1
votes0
answers70
viewsCapture android power button event with locked screen
I need to capture the event of the power off button android, and make when it is pressed a certain amount of times, appear an activty above the screen to type password. Pressed 5x the power button…
-
1
votes1
answer216
viewsHelp to migrate from Actionbar.Tabs to Viewpager because of API 21
From what I understand, the hosting of tabs in actionbar has become obsolete in API 21. I still don’t understand why (if someone explains it better I appreciate it) but what I can do is adapt. I did…
-
1
votes1
answer143
viewsNo compatible features when posting to Google Play
I have a problem when it comes to publishing my App on google play. Do not appear compatible devices when sending the APK, and in development it worked normal on several mobile phones (Ex. Galaxy…
-
1
votes1
answer625
viewsLimit of Android Layout
Good morning, I made a Layout for my last project, and agr want to expand the fields, soq for this I want the layout not to end up in the corner of the screen, I want me to slide my finger and lower…
-
1
votes1
answer67
viewsDownload tagged <a> in webview
Hello! I have a webview working, I’m trying to create the following html tag: for(int i = 0; i < nm.size(); i++) { html.append("<a…
-
1
votes1
answer315
viewsClose Activity after result
I’m trying to implement a tutorial using Zxing to read Qrcode. In the tutorial who was accompanying him uses the Eclipse and places the libs of Zxing all importing "by hand". I am using Android…
-
1
votes1
answer414
viewsProblems when passing a data from an Edittext in a Fragment to a Textview in another Fragment
I have a Fragment containing a Edittext in which the user will enter his name. In another Fragment is the Textview that will receive the name typed in Fragment previous. Fragment Edit (where the…
-
1
votes2
answers724
viewsHow to change the color of a Listview item while it is being pressed?
By default, when you click on an item, it changes color at the time of the click, but I changed my listview and this click is not working. Does anyone know how to implement it if it is some ready…
-
1
votes1
answer75
viewsShow android layout for x seconds
Good, I intend to show a layout for 5 seconds. I’ve seen examples of how to do this as soon as the application opens, but what I want to do is show a layout for 5 seconds while running the…
-
1
votes1
answer185
viewsRecylerview Horizontal as Whatsapp
I would like the help of you how to make this layout of the "Media" part in a particular Whatsapp Contact. Would this be CardView whole called "Media". It would be almost exactly the same way, I…
-
1
votes1
answer98
viewsError: The method getFragmentManager() is Undefined for the type Activitieslistadapter
What do I call a Fragment from a Basedapter? I will call him at the click of the button, and I must also pass some information. I’m trying to call it that: Fragment fr = new Fragment();…
-
1
votes0
answers90
viewsClassnotfoundexception error in Recyclerview$Savedstate
When I go a while without touching the app and go back to it, it makes that mistake: E/Parcel: Class not found when unmarshalling: android.support.v7.widget.RecyclerView$SavedState, e:…
-
1
votes1
answer1944
viewsError 505 when installing Google Play App on Lollipop
I’m a developer and I’m having trouble installing an app in the Lollipop version. I did some research and I believe it’s a duplicity error Packages, ie have two Apps calling the same package (but…
-
1
votes1
answer53
viewsChange icon mylocation
I created an xml with an Imageview informing the image I want to put in place of the icon. I want to put this image in place of the blue ball of the image below. Is it possible to change the…
-
1
votes1
answer92
viewsperform 2 methods that require audio reception
I got a problem here. I have 2 methods, one of them shows the sound waves ie (you activate it and what you speak it interprets in lines), the other when it is activated it records what the person…
-
1
votes2
answers271
viewsLinear Clickable Layout
How do I make my layout clickable? For example, I divide the screen into 2 layouts, 1 green with 50% of the screen and the other red with the other 50%. How to make them clickable?
-
1
votes2
answers1344
viewsHow to set random images in Imagebutton
Guys, I’m trying to make every 0.5s a random image of the folder drawable be set in mine ImageButton but I’m having problems the way I did. I tried to do it this way: I put the following names in…
-
1
votes0
answers224
viewsMark text with Javascript
I would like to create a text tag on an HTML page made by Javascript. I made a method that I can get the initial and final points of a selection made by the user and save them on Android, but I have…
-
1
votes1
answer133
viewsToolbar Android
Guys, I wish I could take off the <- arrow back from the Toolbar. Could someone tell me?…
-
1
votes1
answer160
viewsHide keyboard when choosing text in Autocomplete
I’m using elements of the type Autocomplete in the project, so that when the user type part of the text they search, it presents the suggested options for the same. For this, I am using the…
-
1
votes1
answer185
viewsHow to leave a Dialog with rounded edges (edges) via code without using xml?
For layouts, Buttons and Edittexts I use the class ShapeDrawable more specifically the RoundRectShape and it works perfectly, but for Dialogs and Listviews it doesn’t work. Does anyone know what to…
androidasked 9 years ago daniel12345smith 2,120 -
1
votes1
answer141
viewsHow to get the url for this Json (java android)
{ "success":[ { "url":"http:\/\/stream.vagalume.fm\/stream" } ], "format":"mp3", "remaining":0 } how to get the url, format and remaining separately…
-
1
votes1
answer50
viewsRemove 'header' from Android Tabhost
Hi, guys. I’m developing an android app using Tabhost. The problem is that I didn’t want the top of the tab because it takes up so much space. I’ve searched a lot on the internet and I haven’t found…
-
1
votes2
answers125
viewsHow to receive two data in a listview but present only one and use the other in the click?
I have a listview where I list people’s names and when I click on a person I use the adapter.getitem(position) who takes the person’s name, however, I needed to get the person’s id and not the name.…
-
1
votes1
answer108
viewsHelp to Compare ID to String
Good people, I’m developing a simple application that when started is displaying random images and text on the screen just for learning and what I have so far is this: package br.com.appteste;…
-
1
votes1
answer140
viewsHow to use an array within getView on an Adapter?
Here’s my problem, I’m passing a sequence of arrays to an Adapter that should be placed inside a listview, among these I have a two-dimensional array called materials : public View…
-
1
votes1
answer301
viewsWhat to use to create web site and android app
I want to create a website to host manga or link the sleeves of Fansub. Let’s say a Manga Host and create an app on android to visualize the sleeves without having to enter the site. How can I do…
-
1
votes1
answer3710
viewsCenter background image
I am trying to put as background image an image that I want to be exactly centered vertically and horizontally (the image is a ball). So the goal is to stay horizontally match_parent and vertically…
-
1
votes2
answers143
viewsError placing image on Imagebutton
When there was only one drawable folder this error was not happening, only that the app was distorted in other resolutions, so I created the drawable folders with different resolutions(ldpi,…
-
1
votes1
answer228
viewsDoubt in Creating an app / Server / Notifications
I am with a project to develop an Android app, using Phonegap + jQueryMobile, I have already managed to create the interface, change screens and etc. Now comes the hard part for me: the Backend :( I…
-
1
votes1
answer135
viewsHow to pass data from an activity to a dialogFragment?
In my activity I have it: mBtnSignUp.Click += (object sender, EventArgs e) => { //Pull up dialog FragmentTransaction transaction = FragmentManager.BeginTransaction(); dialog_SignUp signUpDialog =…
-
1
votes2
answers2551
viewsAndroid - Cycle to check if a Checkbox is enabled or not
Within the event of a Button have a cycle while that is constantly checking the state of a CheckBox. The problem is that if the CheckBox is activated Activity freezes! Can someone help me in solving…
androidasked 9 years, 7 months ago Vitor Mendanha 595 -
1
votes1
answer912
viewsHow to rotate imageView 90º?
Hello, I’m making an Image editing app and I need to know how to rotate 90º of an imageView and replace the original with the image that has rotted I searched the sites and found this way to do, but…
-
1
votes0
answers685
viewsHow to get the full ZIP using Geocodelocation on Android?
I’m using the GPS to return the user’s address. Everything works very well, but the returned zip code is in the American standard, with 5 digits. Does anyone know any library or any way to get the…
-
1
votes2
answers971
viewsCall Gmail app from my app. And email from my app
I’ve researched both functions, but everything I find is very vague. I need to send an email from my app, directly to any email account (which is my user’s account). And my other problem is calling…
androidasked 8 years, 11 months ago Renatão Alves 53 -
1
votes0
answers30
viewsProblem getting ssid scan result
I’m doing applied for SSID scan, very simple. The program is running and is very simple, it has a button to scan, but when using this button, do not get any results. I’ll post the full code here for…
androidasked 9 years, 7 months ago Fernando Costanti 11 -
1
votes1
answer136
viewsConvert Java + Windowbuilder project to Android or Web
Good afternoon, Would it be possible to convert my Java + Windowbuilder project to Android devices or to the web? I saw that it is possible to convert Java to Maven plus another doubt is... What…
-
1
votes1
answer43
viewsStarting second activity with result on Android
I have two editText that I enter with an in and a calculate button. I would like to present the result in a second activity as soon as I press the calculate button. Could someone help me with this?…