Hi - I have a ListFragment that is populated using a CursorLoader. Once the ListFragment is populated, I have an OnItemClickListener method in which I want to identify which item from the List Fragment the user chose. How do I do this? I've tried:
String item =...
I'm trying to play a video in a VideoView and I'm failing miserably. I'm working in an Eclipse emulator and am half expecting it not to work there, but when I install my app on my Android phone (version 2.2.1) it also fails. The error message I get is "Cannot play video. Sorry, this video cannot...
I have a png file in my res/drawable-ldpi folder. I'm working in Eclipse with the emulator, but I've tried this on my 2.2.1 Android phone and I get the same behavior. I have an ImageView and I want to set the src programatically, based on a database call. If I just put...
I'm an Android noob and I'm writing an application that has 3 tabs with buttons added to the tabs dynamically in code. This works fine with API 11 or up, but not with any lower API. I don't get an error message with a lower API, the buttons just don't display. However, I can click/touch just...
Hi - I'm an experienced VB and C# .Net developer, but new to Java for Android. I'm loving it though and hope to be doing complex stuff very, very soon!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.