• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. M

    Apps How to get info from ListFragment item

    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 =...
  2. M

    Apps Can't display video in VideoView

    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...
  3. M

    Apps PNG file won't display in ImageView when src is set programatically

    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...
  4. M

    Apps android buttons in tabs disappear with api under 11

    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...
  5. M

    New to Android

    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!