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
-
3
votes1
answer1000
viewsHow do I connect to a specific Wi-Fi network from my app?
Guys, I’m following the tutorial below to list the Wi-Fi networks available in my Android app. http://www.tutorialspoint.com/android/android_wi_fi.htm I wonder if it is possible that my application…
androidasked 9 years, 7 months ago Allef Pablo Araujo 33 -
3
votes1
answer56
viewsHow to support foreign languages in android apps?
How to internationalize a TextView on Android, someone could give me an example. <TextView android:id="@+id/textView4" android:layout_width="0dp" android:layout_height="wrap_content"…
-
3
votes1
answer618
viewsAccess Dropbox folder on Android
Is there any way to access the Dropbox folder? I have the following problem, I am developing a webapp that will work local in tablets of an event, so for this I am using the Androphp app and I would…
-
3
votes1
answer6178
viewsHow to configure the back button action on android?
How to perform certain activities in the app when the back button is heard?
-
3
votes2
answers1863
viewsAndroid - How to export the database in a csv file?
I have an application that collects and stores information in a database, and the user can query this data within the application itself. However, I would like to insert a button to export the…
-
3
votes2
answers2124
viewsHow to save an Sqlite database table to a text file on Android?
I have an application that saves data from a form in an Sqlite database table. Until now, just consult this data within the application, no problems. Example: My form saves information such as name…
-
3
votes1
answer216
viewsHow to compare Drawables?
Guys, here’s the thing... I wonder how I see if the file that this set in the Imagebutton is equal to such drawable. To make it easier I’d like to do something like this: final ImageButton imgBt =…
-
3
votes1
answer3160
viewsDrawable folders for different dpi do not appear in Android Studio
I can’t find the drawable folders with the proper resolutions in Android Studio. It only has a drawable call, where I should place the images with different resolutions?…
-
3
votes1
answer1085
viewsHow to put items from a Listview into strings.xml
I have a custom listview, with images and text: private void createListView() { //Criamos nossa lista que preenchera o ListView itens = new ArrayList<ItemListView>(); ItemListView item1 = new…
-
3
votes2
answers188
viewsHow can I have a Radio Group with 10 radio Buttons divided into 2 columns and 5 rows?
How is it possible to do this? I tried with table row, but that takes away the properties of the radio group. I wanted it to stay that way:…
-
3
votes1
answer256
viewsToolbar with separator at the bottom
I’m using the Toolbar, but wanted the bottom of it to have a line of another color that delimited it, as shown in the image, To achieve this effect the only thing I remember is using a ImageView. Is…
-
3
votes2
answers1073
viewsHow to do zip validation for Android
I would like to know how I validate a cep typed by the user in an Edittext on Android. Do I need a specific API? I want to validate if the zip code is existing and return to the screen if it is not.…
-
3
votes1
answer308
viewsLicense of the Phonegap
Hello, I’m trying to embark on the world of cross-platform applications, and after some time of research I did some tests and read about it, I got to two platforms: Intel XDK and Phonegap (Intel’s…
-
3
votes1
answer662
viewsChange application title in Xamarin Android
I can’t get this off string $projectname$ of my title in an application on Xamarin Android. I already tried to edit the AndroidManifest.xml and AssemblyInfo.cs and nothing. I looked for this string…
-
3
votes1
answer1941
viewsWhat is the setProperty method of the System class for on Android?
In my case I used so: System.setProperty("file.encoding", "UTF-8"); It would be the identification of the language used?
-
3
votes1
answer1430
viewsChange developer name in different apps
I have a developer account at Googleplay. In all apps appears the same developer name, I would like for each one to appear a different developer name.
-
3
votes2
answers189
viewsDoes anyone have any information about Google no longer making ADT available for download? Have they fixed Android Studio as a tool?
In case the question already exists I apologize, but I made an app and published these days. I went to create a new project, another idea, and the eclipse did not create Activity or the layout, I…
-
3
votes1
answer63
viewsDifferentiate View accessed by a reused Contextmenu in multiple Views
I’m developing an application for Android in which I have two images on a screen, client and its vehicle. I want to show a menu by clicking a long click on both images and so far so good, by…
-
3
votes2
answers4054
viewsError message (Error:Execution failed for task ':app:processDebugManifest')
When I try to emulate the application I’m developing the following error appears. Error:Execution failed for task ':app:processDebugManifest'. Manifest Merger failed : uses-sdk:minSdkVersion 3…
-
3
votes3
answers3750
viewsconsuming JSON
I’m having trouble getting a file from the internet by JSON. I have some data on this link http://www.sinestandar.com.br/maker/categorias.txt and I want to take to use in my application, the link…
-
3
votes1
answer690
viewsHow to add reticence if content leaks from Android layout?
How to add ellipsis if content leaks from Android layout? For example: I have a very large text in my Actionbar, and instead of having to decrease it in size, I want it to add reticence in case…
-
3
votes2
answers181
viewsHow to copy a Sqlitestudio database to the eclipse?
I have a table created by Sqlitestudio that when copied to the folder assets in an app Eclipse doesn’t work. In case my database class will only have a list( method which is what I need) because the…
-
3
votes1
answer1558
viewsHow do I update the content of my app created on intel xdk after it’s already in stores?
I am creating a news app on intel xdk, and would like to know after publishing it in the store how do I update the content, because this update will have to be daily.
-
3
votes2
answers154
viewsAndroid studio has ndk support?
I will start development geared towards digital tv, and will be 50% ndk. Android studio meets well? or better eclipse?
-
3
votes2
answers805
viewsAsynctask task only runs once, then does not arrive at theInBackground
I am facing a strange problem in my application, since in I am testing in 4 different devices but only two of them have the expected behavior. Scenario / Devices: Nexus 4 / Android 5.0 - OK Galaxy…
-
3
votes2
answers993
viewsWhat alternative website to Admob for the Android app?
Good search alternative site Admob to place advertising in apps Android, I’d like you to nominate the best.
-
3
votes1
answer735
viewsJson org.json.Jsonexception error: Unterminated Object at Character
I’m not finding the error at the time I catch this json http://www.sinestandar.com.br/maker/sugeridos.txt look what’s coming out in the log 12-19 13:39:53.589 9554-9564/json.exemplo.com.cortecabelo…
-
3
votes1
answer1258
viewsFrameworks for testing Android applications
There is no doubt that one of the main phases of the software development process is the testing phase. Aiming for this, being beginner in the testing area, even more for Android applications, I…
-
3
votes3
answers1571
viewsTextview is getting behind other objects
In my application, I have a textview that is getting behind the other objects on the screen, I wanted it to end where Imageview starts on the screen. This layout is used and filled in an Adapter for…
-
3
votes1
answer753
viewsSpinner to select Color
Good night, I am developing a Personal Finance APP and in my Category registration it will need to select a color, and I would like to do the same as the image. Someone knows how I can do or how to…
-
3
votes1
answer51
viewsClick off the actions of a Notification
I wonder if there is any way inside an Ongoing Notification so that when clicking off the buttons but still in the notification it performs a predetermined action?
-
3
votes2
answers1077
viewsScript to open facebook messenger app chat
I’m creating a app, and wanted to insert a button to open a conversation from a particular page of facebook, but by the messenger application and not by the browser, someone knows if you have how…
-
3
votes1
answer337
viewsSet date inside an Arraylist using Cursor
In a App finance the cursor has no type of getData or getCalendar. What to wear instead? public List<Despesa> getLista() { Cursor c = getWritableDatabase().query(TABELA, COLUNAS, null, null,…
-
3
votes1
answer184
viewsAsynctask Android
I have a "Runnable" method that executes in a new Thread a certain method to update my list. Every time I call this "Runnable", I’m creating a new Thread, which for me is not very positive... How…
-
3
votes1
answer102
viewsI need to know how I use a . text as a database; I just need it to show the data contained in it
My application is a manual that when the user clicks on the item in the listview appears the descriptions contained in each item, along with a photo. Another thing like putting . text data in a…
-
3
votes1
answer576
viewsBrowse between screens
I’m developing a project on Android Studio, using drawer navigation. And in one of Fragments I need you to have a navigation of 2 screens. How do I navigate between two screens, ie when sliding on a…
-
3
votes1
answer585
viewsAndroid Xzing library (read barcode) with Fragment
My application worked perfectly with Zxing, after implementing Fragment, the barcode reading stopped working. I tried to configure the return in Fragment, in Activity... but I was unsuccessful.…
-
3
votes2
answers78
viewsEclipse Future for Android Development
What are the impacts of Google no longer supporting Eclipse? I can still use the tool to create Android apps?
-
3
votes1
answer956
viewsHow to run my project Phonegap Cordova on a mobile with Android 2.3.6?
Hello I am developing a game with Html5 and javascript as tcc. I’m using Cordova to generate versions for different platforms, I have several Androids to test the project, but I can only do it with…
-
3
votes1
answer120
viewsHow do you put Admob ads on Genexus?
I’m trying to put ads on my app made and Genexus using Admob, followed the tutorial, but ads do not appear in the app. Someone has already done this?…
-
3
votes1
answer428
viewsToast is not being shown
I tried to search several sources, but I still don’t understand why Toast class DrawView is not displayed when I click on the screen. Any idea? public class MyActivity extends Activity{ public…
-
3
votes2
answers83
viewsWhy every time I turn my Android phone vertical it runs again?
When I’m making an app I usually put some print messages to know what’s going on, but I realized that when I’m running the app and it shifts from vertical to landscape print everything back on…
androidasked 9 years, 4 months ago daniel12345smith 2,120 -
3
votes1
answer726
viewsHow to click on a Listview item and open an Activity reference to the item I clicked on?
I have a listview that has as content a list with country names recorded in the bank (Sqlite). I needed to click for example on Item Brazil, and open another Listview with the states of Brazil, I’ve…
-
3
votes2
answers2833
viewsEnabling Internet Connection in an Android App
I would like to know a way to identify if the android phone is connected to independent internet if it is mobile network of the mobile operator or wifi, and if not connected, I activate all…
-
3
votes1
answer97
viewsHow to display in Listview a single query data that returns two data?
I have a query that returns a person’s name and surname. With the result of this query, I enter the information within a ListView and displays the name and surname. How do I display only the name?…
-
3
votes1
answer120
viewsMultiple Imageview within Framelayout, an error occurs
Well the problem is I’ve got a few ImageView which are called buttons, run cool, but when setting 4 images it still goes well, add one more ImageViewwith another picture there the error program, in…
-
3
votes1
answer63
viewsDistance image from text on Button
I have this Buttoncom an image and text xml <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/notificacao"…
androidasked 9 years, 3 months ago Ilgner de Oliveira 1,098 -
3
votes1
answer189
viewsDoubt of beginner javax.imageio library
I’m trying to make this import in java studio import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.stream.ImageInputStream; but I’m coming up with this mistake:…
-
3
votes1
answer711
viewsRun a full screen Html5 video
I’m using this solution to load an html that has a js that loads a url from an encrypted video. Everything goes very well however, I need that when giving the first play in the video (click on the…
-
3
votes1
answer67
viewsWhat codes to use to zoom in on the camera?
My group is making an app with camera. Only we don’t know what code to use to add zoom into the camera. Does anyone know how to do?