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

Search results

  1. J

    Apps Multiple of the same view

    Lets say that I had a textview and a spinner in one view and I had to inflate that view twice. How would I get distinguish one spinner from the other because they would both have the same ids?
  2. J

    Apps Simple Thread Question

    Why is it that this does not work? It will stop as soon as it gets to "myProgress.setVisibility(8);". If I add a handler.post() it will work, but I just do not understand why it will not work by itself. Any help would be greatly appreciated. (BTW myProgress is just a progress bar and is...
  3. J

    Apps Beginner List Help

    This code is directly from the Beginning Android 2 book and I cannot seem to get it to work. I do not know if it is outdated or not but I would really like to know why it does not work. The purpose is to have a list of views, each with an image and some text. public class DynamicDemo...
  4. J

    Apps SharedPreferences help

    I am trying to make a simple use of SharedPreferences but I cannot seem to get this to work. It all works fine until the last statement. It is probably a simple error, but if anyone could help it would be great. public class FiguringPrefsActivity extends Activity { LinearLayout...
  5. J

    Apps findViewById vs. Inflate?

    What is the difference between getting, for example, a button, for use in code using findViewById or Inflate
  6. J

    Apps What does inflate do?

    I am obviously new to android programming and I am understanding everything rather well, except inflating views and layouts. What is the purpose of this? If someone could clarify it would be a HUGE help to me.