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
answers273
viewsHow to send saved data from an Android form to email?
Instead of saving in the sqlite, would like to send p/ my email. Someone knows how to do?
androidasked 9 years, 5 months ago daniel12345smith 2,120 -
0
votes1
answer108
viewsProblem Adding Image Inside a Thread
I have this following call class inside the main is working perfectly only problem is for me to set the image I received in msg from the following error E/Androidruntime FATAL EXCEPTION: Thread-201…
-
0
votes1
answer135
viewsRecovers image saved in internal memory
I’m saving my image in internal memory using this code public String baixarImagem(String urlC, String nomeImagem) throws MalformedURLException { URL url = new URL(urlC); InputStream input = null;…
-
0
votes1
answer217
viewsHow to return a "OUT" parameter in Genexus Ev3 U1 Smartdevices?
Develop with Genexus Smart Devices Ev3 U1 for Android. I intend to develop a screen Father that by clicking a button opens the screen Son, where the user selects an item in a grid and returns to the…
-
0
votes1
answer484
viewsDoubt with Notification and Alarmmanager
What I need is a hint, help to know how to implement an Alarmmanager that whenever a notification appears something like this In the Home screen of the phone and is making a sound every 5s for the…
-
0
votes1
answer115
viewsAndroid studio problem with Libs
I added a lib generated from a project of mine to get the classes and not have conflict that pack only that is giving me the following error Error:Execution failed for task ':app:preDexDebug'. >…
-
0
votes1
answer51
viewsDelphi xe5 + Android exception Rsconnectionclosedgracefully, for nothing
I’ve already checked several bugs on XE5 + Android, but this one is taking me down. The system spontaneously generates the exception RSConnectionClosedGracefully, for nothing. The same code runs…
-
0
votes1
answer1570
viewsHow to assign click effects to an Imagebutton?
For example, I added to my xml layout an Imagebutton, put an image and left with transparent background, for having done that it lost the characteristics of a button, how do I add click effect?…
-
0
votes1
answer117
viewsNull pointer launch
Is I am using a code in my application that was working normally, but suddenly when I went to test with the emulator gets launched null pointer error on line 32, and also the method definirVolume()…
-
0
votes0
answers870
viewsError with android.support.v7.app. How to resolve?
I’ve searched the entire forum and found nothing to solve my problem. Whenever I create a new project by Eclipse, it accuses an error in the android.support.v7.app.Actionbaractivity library, within…
-
0
votes2
answers1089
viewsIs there an online server where I can send a form made in Android with Json to test?
Just to test if my application is working. Something very simple even if you receive my form in Json format.
-
0
votes1
answer88
viewsHow to implement this class in a Textview , so that it works correctly?
I found this code for "self-sealing" on the link https://stackoverflow.com/questions/5033012/auto-scale-textview-text-to-fit-within-bounds and would like to know how to implement in a TextView. ** *…
-
0
votes1
answer847
viewsChange Dialog title background color
I have the following dialog box: The green part was mounted with a LinearLayout, but the attribute android:background="#77FF77" did not change the titlebar color. Java da Dialog: public void…
-
0
votes0
answers300
viewsHow to return data with JSON?
I have the following code: wd.setUrl("http://www.cordeiroit.com.br/SOUPROGRESSO/Ctrl/ServerUsuario.php"); wd.setMethod("new-usuario"); wd.setName(campoNome.getText().toString());…
-
0
votes0
answers311
viewsHow to bring data from a JSON webservice on Android
I wanted someone to explain me how to do this.. I have the following code in PHP and wanted to bring to Android, returning the name of the person. It could be in an Array... The problem is that I…
-
0
votes0
answers44
viewsProblem in a "self shrinking" class
I asked a question of how to implement this class "self-sealing" but I have this problem when it will start to decrease the text , it is as it truncated the text, then you will be typing it will…
-
0
votes1
answer87
viewsHow to popular a Jsonobject in hand?
I’m trying but not sure, I wanted to put it in the hand created, as if I had already received my JSON file. I tried to put the JSON structure inside Jsonobject but it didn’t work.
-
0
votes1
answer634
viewsCan you read a json and get all the strings without knowing what’s inside?
I’m making a dynamic form where I get one Json and create a dynamic form, everything is automated, except the part I have to extract each string of JSon and put inside a array.…
-
0
votes1
answer92
viewsHow to catch the Json string without knowing what’s in it?
I use jo.getString("name") to get the value of a Json file, it’s like I get this name without having to put the "name" inside getString?
-
0
votes2
answers564
viewsListview too slow to load XML
It’s taking too long to load a few items, it takes several seconds, and to load a lot of items, it never loads. I used the same XML reading algorithm, with a simple list and loaded very fast, but in…
-
0
votes0
answers57
viewsChanging the background of android via java
I have an app in mind, but I don’t know how to do its main function. Need to change the background of the home Android system (not the application) through the application. Ex the user clicks on a…
-
0
votes1
answer99
viewsRead inputstream created on another Active
I’m new to programming. I saved an array of strings through FileOutputStream.write() in my MainActivity. I can read the array perfectly through the FileInputStream in Activity itself. To read this…
-
0
votes0
answers475
viewsSave spinner state
I would like to know how to, after selecting an option of the spinner, save it at the time of the form for change, example: I choose option 2, when it is time to change the form, the selected option…
-
0
votes2
answers82
viewsError minSdkVersion 1 cannot be smaller than version 4
I’m studying a script and at the time of building the project it accuses version problem, but only I’m having this problem in my class. <uses-sdk android:minSdkVersion="1"…
-
0
votes2
answers1571
viewsHow to use Android Scrollview via Java code?
In xml it’s easy to use, but I’m making a dynamic form and it’s not working. I’m doing something like this: ScrollView scroll = new ScrollView(this); From there inside the onCreate() I use it:…
-
0
votes1
answer173
viewsUniversal Image Loader error loading image
I want to upload images from the URL with the universal image: java.lang.Noclassdeffounderror: com.nostra13.universalimageloader.core.Imageloaderconfiguration$Builder I already downloaded the lib,…
-
0
votes1
answer864
viewsUpload remote images with Base64 or URL?
What’s the best way to upload remote images to Android? How these great apps optimize these images? In a country where mobile Internet is one of the worst in the world, there is a need not to leave…
-
0
votes4
answers374
viewsIs it recommended to use more than one Activity in an Android project?
I always use several (in large project with web service and everything), the ideal is to use only one or no problems use several?
-
0
votes0
answers30
viewsHow to pass values from one Activity to another
I came here to know how I do to pass data from one Activity to another, I’ve tried this: Intent i = new Intent(this, other.class) i.putExtra("NAME", name); But when I try to take the other Acticity…
-
0
votes0
answers127
viewsTimeout Android Genexus
Good afternoon, I would like to know how to validate the session in SD, IE, Timeout Genexus Android? At the end of the time, validate and return to login, something like this? Thank you.…
-
0
votes1
answer189
viewsUpload image from a url to an Infowindowadapter
I am trying to show an image from a URL on an "Infowindowadapter", but it is never shown. I’m using the Volley library to upload images. Someone has an idea how to solve this problem? //no fragment…
-
0
votes1
answer514
viewsMy apk Signed does not run on my mobile
I finished a small application that saves notes and I’m trying to generate Signed apk, but it doesn’t work on my phone. I have tested generating a Signed apk from a new project with only a Blank…
-
0
votes0
answers193
viewsHow to transform a piece of text into an image
I have 1 string in java that is receiving 1 json array , which has several images together with the link of the respective ones, I have another string that has text and within that text there is X…
-
0
votes0
answers32
viewsHow to put an image in a string
I wonder if it would be possible to load an image inside a string in android through an image url? .
-
0
votes0
answers67
viewsHow to prevent Jsonarray from organizing alphabetically?
I am taking the data of a Jsonarray and passing to another String, however in this process my data are getting in alphabetical order, and I would like it to be in the order of reading the Json file.…
-
0
votes2
answers135
viewsOutofmemoryerror error while downloading object list
I am with this error when downloading an object from the webservice that has images that are converted to Base64. The point is that if this object is already saved in the local database of android…
-
0
votes1
answer78
viewsDoubt about how to turn a gridView object into non-clickable
Hello, I have a gridView I built with an Adapter I inherited from Basedapter. I want my Activity, when you click on an item (I have 16 in total in mine), to make other items clickable and vice…
-
0
votes1
answer4002
viewsTextview allowing only numbers
I want my TextView only accepted as input numbers, but the line android:numeric="decimal" does not effect, it still allows me to type letters.
-
0
votes1
answer51
viewsReplace a text with an image
I wonder if it would be possible to give replace of a piece of text by an image that is made through URL? I want to replace image 1, image 2 and image 3 with images that are in a JSON array , what…
-
0
votes3
answers273
viewsDelphi Xe5 + Android: error installing APP on Sony Xperia E1
The application runs well on Samsung and LG, but the Xperia E1 does not show the icon or open the database (warns that the Interbase is not installed). What might be missing? What’s left to do?…
-
0
votes1
answer154
viewsFilter json city returned from google Places
I need an example to understand how I can navigate a jsonArray. This is the example I’m using…
-
0
votes1
answer6798
viewsView database in Sqlite
Is there any way I can view the Sqlite Database without having to write the command in the application? I would like to see the records inserted in a table, but I do not know if on Android only…
-
0
votes1
answer2295
viewsProgram android notification
My app shows notification when it opens, but I didn’t want it to show the notification every time I opened the app, I wanted to show it once a day or even several times, with specific times. I’ll…
-
0
votes1
answer1247
viewsdrawRect Android Canvas
I can’t understand how the canvas.drawRect on android. canvas.drawRect(left, top, right, bottom, Paint) I "come" from the HTML5 canvas that would be. (context). fillRect(placeX, placeY, width,…
androidasked 9 years, 5 months ago Weslei Ramos 153 -
0
votes2
answers80
viewsgoogle android map in my app
I’m starting now to create my first app on android ever created apps for other platforms, so wanted to know how I put google map or Bing in my app.
androidasked 9 years, 5 months ago Asafe Gois 7 -
0
votes1
answer58
viewsIterate a String array within an object
I built the following object: public class TableHelper { private String TABLE; private String[] COLUMNS; public TableHelper (String name, String[] columns){ this.TABLE = name; this.COLUMNS =…
-
0
votes1
answer66
viewsAccess Virtual Machine file by Sqlite Browser
My file . db is in the emulator SDCARD, but how do I open with Sqlite Browser that file inside ? Or take that file that is in the SDCARD folder and put in my Desktop ? Exemplifying: My file is saved…
-
0
votes1
answer433
viewsHow do I update my Android JSON Parsing using Volley
I’m having a problem, I’m new in development for android, I’m having a question. My app is searching for a file. json on my computer, only when I change a word and open my emulator with the app it…
-
0
votes1
answer1086
viewsAndroid - Return method using thread
Hello guys I am developing an android application that uses the library Volley (google) to perform my requests http. I have a method that returns a Boolean and depends on the return of the request,…
-
0
votes1
answer41
viewsGoogle maps v2 is returning "INVALID_REQUEST"
I’m trying to use the Google Places API, and I’m getting INVALID_REQUEST when trying to access it. This is the url I’m using:…