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
votes1
answer1558
viewsAccess playlist music Android
I’m developing an APP for Android, that I need to access the playlist of songs, in case it would be as follows would load a home screen with the playlists it has and a category with all songs, and…
androidasked 10 years, 5 months ago Leonardo Patricio 1,656 -
0
votes1
answer179
viewsSending of Android SMS
I’m developing an android app for sending automatic Smss. When I send many Smss around 200 at the same time the phone turns off and presents the following error in the log: display Event receiver…
-
0
votes1
answer64
viewsHow do I withdraw a notification!
I’m wearing a alarmeManager to generate a notification, and when I click on it it opens a activity! But if you open the app without clicking on the notification I need that notification removed!…
-
0
votes1
answer175
viewsListactivity does not work Android
I have an Activity with a button calling a List Activity. This Listactivity quickly creates a string list, I just want to show this list on the screen and display the selected item in a Toast. But…
-
0
votes1
answer98
viewsHelp with app and update
I want to create a app to display videos with download option, sorted by categories, but wanted to know how to add new videos without having to update the .apk, only update the download links and…
-
0
votes2
answers691
viewsReading properties file
How do I read data from a file properties on Android? Follows my code from onCreate: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
0
votes1
answer172
viewsSimplecursoradapter java display images
How do I display the images in the layout with Simplecursoradapter? My code . java: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
0
votes0
answers369
viewsUse of various good quality images on sqlite
I need to address a question of how to best use recording several images of good resolution in the database. Better definition would be to perform any and all operation of the sqlite on several…
-
0
votes1
answer749
viewsRetouch the App screen - Android Cordova
I’m developing an app for Android using Cordova, on my login screen, I send the data to a file in my domain, it makes the request takes the data, now, how to go back to the app screen to confirm the…
-
0
votes1
answer838
viewsSend request for pairing
I am developing an android app for bluetooth connection, currently my application is listing the paired devices and search new devices. I need at this point an example code that picks up the address…
androidasked 10 years, 6 months ago Desenvolvedor 185 -
0
votes2
answers160
viewsNullpointerexception when creating a View on Android
I’m creating a Activity on Android, whose code is here, and I’m getting a NullPointerException near the line final TextView txtResult = new TextView(this); I got the following dump from the stack:…
-
0
votes1
answer464
viewsAndroid Gridview
People who really need your help. I have the following situation a gridview that contains 3 columns and n rows in each cell of this grid display three information all three being a simple…
-
0
votes1
answer201
views -
0
votes1
answer823
viewsHow to create tabs in an android app ?
<TableRow> <TextView android:text="Tipo:"/> <RadioGroup android:id="@+id/tipos"> <RadioButton android:id="@+id/rodizio" android:text="Rodízio"/> …
-
0
votes1
answer212
viewsAdded components in Xamarin Studio 4.x/5.x and Android Designer
When using the Xamarin Studio 4.x/5.x Designer Interface tool on the Windows 8/8.1 platform I cannot add components on the screen, when trying to drag and drop a component from the toolbar to the…
-
0
votes2
answers125
viewsERROR IN THE INBACKGROUND
This function gives me the following error : @Override protected Boolean doInBackground(Void... args0) { updateJSONdata(); return null; }…
-
0
votes1
answer66
viewsAndroid with Swipe on a Gridview
Good morning to everyone I need help to make a gridview accept the onFling event (sliding horizontally left right) without using a pageView or be it done as a "button" because I saw that the event…
-
0
votes2
answers1994
viewsHow to decode a JSON array [{},{}] on my android
How I turn this string in an array on my Android so I can manipulate it? [{"id":"1","login":"Admin","senha":"Admin","nome":"Admin","msg":"Eba","logado":"0"},…
-
0
votes1
answer447
viewsAction Bar with fixed tabs menu
I have a question about creating a fixed navigation menu like this How to get Pagertabstrip fixed as image? The code I have for use is this <RelativeLayout…
-
0
votes1
answer945
viewsAndroid Gridview Layout
How to place lines between cells in a gridview. So that it doesn’t look like the items are floating. Example as columns and rows of an excel and if it is possible to change the color of some cell in…
-
0
votes2
answers797
viewsRecover Data from a List View
I have a Listvew, and in this, I have two buttons (delete and cancel) my list consists of the following items: ID(Textview), First Name(Textview), Last Name(Textview), and the buttons cited above.…
-
0
votes2
answers239
viewsTwo Android Progressdialog one after the other
How do I display two Preview Dialog, when one is finished, open the other? In my case the user clicks a button, then several files of a folder are moved and renamed to another folder, it first sends…
-
0
votes0
answers149
viewsError while trying to trigger Facebook Share on android SDK
I’m developing an android app where the person can login through Facebook. I am trying to develop the option "share" so that an application message can be posted on the user’s timeline, but I am…
-
0
votes1
answer1254
viewsUpdate one (Textview) through another function
I’m trying to update the text of a Textview through a function, but I’m getting an error right after the line Log. i("UPDATE","-1-"); (line 12) The code should work perfectly when I call the…
-
0
votes1
answer333
viewsSeekbar behaving unexpectedly when switching from one tab to another
I have an app with ViewPager and three tabs (tabs), each displaying one Fragment that I seek to preserve in memory so that new ones are not instantiated Fragments every change of tab/screen. public…
-
0
votes1
answer435
viewsAlarmmanager - Time-specific notification
I’m trying to trigger a message on the screen through the AlamManager and BroadCastReceiver. The specific time is being picked up by a TimePicker exactly as you should. But the notification ends up…
-
0
votes1
answer965
viewsAdmob - Problems with Ads in APP
I did everything as ADMOB site tutorial says, I put the layout in XML, imported the path from Google Play Sevices and added the tutorial code lines, my application compiles, but no longer opens on…
-
0
votes1
answer1916
viewsAndroid: How to update Actionbar and Drawerlayout title and items at runtime?
I need to update the Actionbar title and each of the Drawer menu items with the runtime language change. I use the following code to change the language of my application but I cannot change the…
-
0
votes1
answer328
viewsTake Latitude and Longitude from an address
Until last week this code that I had made was going well, until today I went to test again and I see this: 05-28 08:22:12.851: E/AndroidRuntime(19605): FATAL EXCEPTION: main 05-28 08:22:12.851:…
androidasked 10 years, 6 months ago Enzo Tiezzi 1,194 -
0
votes2
answers44
viewsPlanning to update Android messages
My question is this:. I’m making an android app and will implement the interface now. The app works with an online parse where you take the data. ( I think of implementing as a service updating a…
androidasked 10 years, 4 months ago Bruno Novais 1 -
0
votes1
answer87
viewsCheck if Sim Card is installed
Hello, I wonder if it is possible to check if the sim card on the device is installed on Android.
androidasked 10 years, 4 months ago Douglas Mesquita 809 -
0
votes1
answer1057
viewsProblem updating Listactivity using a custom adapter
I’m working on an app where I populate a ListActivity using data from a SQLite created by the program itself. When adding items in the database, the list is automatically updated, but when removing,…
-
0
votes1
answer332
viewsGood Practice Fragment and Service
So personal the question is the following.. I have an Activity connected to a service. I want to start a fragment and that fragment will perform functions within the service. What would be the best…
-
0
votes1
answer111
viewsNotification with gray background?
The notifications that Gero appear with gray background which makes it difficult to read the news: NotificationCompat.Builder builder = new NotificationCompat.Builder(this);…
-
0
votes1
answer88
viewsEdittext Setposition at the end
I am trying to get when I click my Edit the cursor position go to the end of the text, my code is as follows: Script public class DetalhesCompraActivity extends Activity { EditText tb_acrescimo;…
-
0
votes2
answers608
viewsGoogle Maps Android API v2 - Debug key API is not working
I’m trying to use the Google Maps Android API v2 on my Android app. It was running on another developer’s micro, with the debug.keystore but with my debug.keystore (located in C:\Users\Meu…
-
0
votes1
answer532
viewsProblems with Adapter in Fragment
I’m having trouble with Adapter in Fragment. Meu Fragment: public class HomeActivity extends Fragment { private final DataBaseHandler db = new DataBaseHandler(getActivity()); public View…
-
0
votes1
answer1232
viewsADB does not recognize Android 4.2.2 in Ubuntu
I’m working on Ubuntu 13.04, and I just got a tablet with Android 4.2.2 directly from a manufacturer and I’m not getting ADB to recognize the tablet, and consequently I can’t do debug. I’ve tried…
-
0
votes1
answer1545
viewsWhen I start my android project in eclipse the solution comes with errors
When I start a project in the eclipse my solution already comes with errors. How do I fix this? Is there any way I can fix this once and for all? Edit: Error code: Description Resource Path Location…
-
0
votes0
answers25
viewsHow to create an Activity for a single?
How do I rescue the sqlite data and send it to the xml single? My Sqliteopenhelper: // Getting single Contact getSingle(int id) { SQLiteDatabase db = this.getReadableDatabase(); Cursor cursor =…
-
0
votes2
answers94
viewsGCM interacting with google maps
Guys I have a function that server to update my map in the application, ie change the position icons and such, however I would like to do the following: When I received a message from my GCM, for…
-
0
votes1
answer421
viewsERROR findViewById Listview Fragment
Hello, I have a problem that I can not solve, I created a list view but when "calling" in Java (has an arrow below) results in error when testing the application, this is the error: 08-04…
-
0
votes1
answer679
viewsImporting content from a div of a website into my application
Well I want to take the content of a "div" of a site to display it in my application, I’ve seen something about Webview, but I have no idea how to do...
-
0
votes1
answer170
viewsShow View as slide
Hi, I would like to know how to make a View appear as slide on an android layout changing the size of your siblings, for example the information of a point in the Google Maps app that appears and…
-
0
votes1
answer767
viewsGrab image from gallery and save to a certain folder
How do I take an image from the gallery (using Imageview) and save it in a folder I created in me Sdcard?
-
0
votes1
answer55
viewsTabhost does not call the onTabChanged() method
Because when you start Tab, you don’t call the method onTabChanged(). public class MainActivity extends TabActivity { private TabHost mTabHost; @Override protected void onCreate(Bundle…
-
0
votes2
answers256
viewsIs there any risk when disconnecting the android device during debugging?
I don’t know why but I was a little afraid to think that since my ADT is in constant contact with my Device (Nexus 5) when disconnecting during an information exchange there may be damage. Could it…
androidasked 10 years, 3 months ago paccamicio 163 -
0
votes1
answer34
viewsALIGN_BOTTOM in relation to the Parent class
I need the menu to stay ALIGN_BOTTOM compared to my Appbar, but the code below does not work. public class AppBar extends RelativeLayout { public AppBar(Context context) { RelativeLayout menu = new…
-
0
votes1
answer76
viewsImplementing Audiotrack Class in Static mode
I’m trying to do in app very simple so I learn to implement the Audiotrack class (android.media.AudioTrack). The app is just a screen with a button, which when pressed should play a file . wav of…
androidasked 10 years, 5 months ago AndreCSimoes 93 -
0
votes1
answer106
viewsCancelling an Alarmmanager/Broadcast
Next, I don’t know which one to cancel to not be executed, but I think it’s the AlarmManager! I have a class that registers a AlarmManager with Intent("BROADCAST") to run at a specific time, when…