[android-beginners] Cannot get Level-List Drawable to work in ListAdapter

2010-07-23 Thread Jason Van Anden
I am attempting to use a level-list. When run, my listview is showing either nothing or the zero drawable. I must be doing something wrong - a second set of eyes and a different brain appreciated. Here are the particulars ... level list stored as an star_levels.xml in drawable folder: ?xml

[android-beginners] Re: Cannot get Level-List Drawable to work in ListAdapter

2010-07-23 Thread Jason Van Anden
Hmm... figured it out right after hitting send. Removed super.setViewImage(v, value); j On Fri, Jul 23, 2010 at 6:46 PM, Jason Van Anden jason.van.an...@gmail.comwrote: I am attempting to use a level-list. When run, my listview is showing either nothing or the zero drawable. I must

[android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Jason Van Anden
Hi All, Can someone tell me if its possible to add a header layout over tabs in 1.5? If so, how? When I attempt to nest a TabHost within another layout - things go terribly wrong. Thanks, i++ -- You received this message because you are subscribed to the Google Groups Android Beginners

Re: [android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Jason Van Anden
I was trying to do. j On Sat, Jun 19, 2010 at 10:35 AM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Jun 19, 2010 at 10:25 AM, Jason Van Anden robotiss...@gmail.com wrote: Can someone tell me if its possible to add a header layout over tabs in 1.5? If so, how? Put the TabHost

[android-beginners] Re: Unable to check correct row when using CheckedTextView

2009-10-25 Thread Jason Van Anden
Does anyone know if this thread ended well? I attempting to create a fancy list with a multiple selection (in 1.6). The following code give seemingly random results using a SimpleCursorAdapter ... @Override protected void onListItemClick(ListView l, View v, int position, long id) {

[android-beginners] Re: Unable to check correct row when using CheckedTextView

2009-10-25 Thread Jason Van Anden
OK. I am an idiot. This was not working for me because I had left-over code in onCreate from something else I tried: //listView.setItemsCanFocus(false); //listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); In the process I learned an awful lot from Mark Murphy's examples in

[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jason Van Anden
Clearly the solution to this is an Android Market Market. ;) Jason Van Anden http://www.BubbleBeats.com On Tue, Oct 20, 2009 at 11:29 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: some comments on the appslib market, 1. no way to unpublish an app? 2. no way to unpublish an app

[android-beginners] Re: How to access the files on SD card through emulator?

2009-10-08 Thread Jason Van Anden
Instructions here: http://developer.android.com/guide/developing/tools/emulator.html#diskimages j On Thu, Oct 8, 2009 at 8:46 AM, Abhi hk.abhij...@gmail.com wrote: Hi,      I need to search for certain type of files (like .mp3) and populate the list of files present in that particular

[android-beginners] How do you get the dimensions of a Dialog?

2009-10-05 Thread Jason Van Anden
I need to get the height and width of a dialog from inside a dialog class. Clearly confused. Help appreciated. Thank You, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] HowTo Link to Market App via URL?

2009-09-09 Thread Jason Van Anden
If I wanted to give users a link to my app in an email - is there a way? Thank You, Jason Van Anden --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners] Load a YouTube video via intent - how?

2009-08-28 Thread Jason Van Anden
I would like to load a video via an intent using the YouTube player. Can someone point me in the direction to find an example? Thank You, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Load a YouTube video via intent - how?

2009-08-28 Thread Jason Van Anden
More specifically ... I know that this is the way to broadcast: Uri uri=Uri.parse(http://www.youtube.com/watch?v=Enu-BbWCtT4;); startActivity(new Intent(Intent.ACTION_VIEW, uri)); Thing is, this gives me a choice between YouTube

[android-beginners] Re: Why XML to define layouts and components?

2009-08-06 Thread Jason Van Anden
up a little quicker (at least in terms of Layouts) ... http://www.droiddraw.org Good Luck! Jason Van Anden http://www.smileproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] Re: A complete newbie

2009-08-05 Thread Jason Van Anden
If you have never programmed, you may want to start by learning the basics with Python. It is probably the best language to learn with and it has many things in common with Java. There is a ton of stuff online to get you started. It is not the best language for user interface. Good thing that

[android-beginners] Unicode character symbols as resource elements

2009-07-26 Thread Jason Van Anden
the answer - pls correct! Thank You, Jason Van Anden --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from

[android-beginners] AlertDialog text input problem

2009-07-24 Thread Jason Van Anden
I am having a problem using AlertDialog for input text. Code follows ... everything appears on screen as it should until I click OK - then I get a force close. I get a null error on line where Editable e = et.getText();. Second set of eyes and a sturdy brain appreciated... private void

[android-beginners] Re: AlertDialog text input problem

2009-07-24 Thread Jason Van Anden
That was it. Hopefully this post will help others. I could not find a good example of using AlertDialog for text input. The API Demos example does not show how to return the text! Thanks again Mark! Jason Van Anden On Fri, Jul 24, 2009 at 4:55 PM, Mark Murphy mmur...@commonsware.comwrote

[android-beginners] How do you determine screen orientation at startup?

2009-06-28 Thread Jason Van Anden
I would like to know what the screen orientation is when my app starts. Can someone please point me in the right direction? Thank You, j --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-26 Thread Jason Van Anden
Just a shout out ... still no luck. Still frustrated. I have a hunch as to what is happening - but its seems a little nutty. My hunch is that when FLAG_ACTIVITY_NEW_TASK gets raised, my PendingIntent gets replaced by the standard MAIN/LAUNCHER intent, which is used to activate the application.

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-25 Thread Jason Van Anden
Thanks again Mark. Great suggestions. I guess I thought (or was hoping) I was going down the wrong path. I will give some of these a try and get back. re: Hijack the thread!?! ... Its reassuring to find out others are perplexed by this. I posted this question a few days ago, albeit a little

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-25 Thread Jason Van Anden
yup ... that's where I posted! (actually posted under beginners first, then developers, then here again). j On Thu, Jun 25, 2009 at 10:10 AM, Mark Murphymmur...@commonsware.com wrote: re: Hijack the thread!?! ... Its reassuring to find out others are perplexed by this.  I posted this

[android-beginners] Re: Low performance using SurfaceView, touchMode and OptionMenu

2009-06-24 Thread Jason Van Anden
I highly recommend that you watch this: http://www.youtube.com/watch?v=U4Bk5rmIpic Jason Van Anden http://www.smileproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] startActivity called from non-Activity context - help

2009-06-24 Thread Jason Van Anden
This message appeared in logcat when selecting a notification ... startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { comp={com.blah.blahs/com.blah.blahs.Blahs} (has extras) } It brings the Activity into focus which is half the battle ... thing is,

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-24 Thread Jason Van Anden
} } By the time onResume is called, the intent has changed - so there are no more extras. This is where either I am totally confused or my paradigm needs some major shifting. I really appreciate the help. j On Wed, Jun 24, 2009 at 8:57 PM, Mark Murphymmur...@commonsware.com wrote: Jason Van Anden wrote

[android-beginners] Seeking good example ... Notification/PendingIntent

2009-06-16 Thread Jason Van Anden
Hi All, I am having trouble tracking down a good example of a Notification that will cause a specific activity to occur when triggered. I am creating the notification from a service which triggers the running Activity when selected. This happen - no sweat. What I would like to do, is have the

[android-beginners] Re: Multiple Instances of App Running When Home + Restart

2009-04-05 Thread Jason Van Anden
via app icon) its bundle is null (even though save the state). Perhaps this is a clue. Thanks, Jason Van Anden www.smileproject.com On Sun, Apr 5, 2009 at 10:57 AM, Mark Murphy mmur...@commonsware.comwrote: robotissues wrote: I am perplexed. I created an app using LunarLander example

[android-beginners] Re: Opening pdf and office file

2009-03-12 Thread Jason Van Anden
I still have not come across a descent pdf reader for Android. I would like to find one so I can read Mark's books on the subway (actually). If anyone has a good recommendation ... last I checked the ones in the market are not ready for prime time. i++ On Thu, Mar 12, 2009 at 8:00 AM, Mark

[android-beginners] Re: Name that service ...

2009-01-26 Thread Jason Van Anden
I think I figured it out ... vibrate. I thought that the vibration that occurs when you click on a home icon had a different feel than the standard issue vibrate ... but I guess its just the quickness of the pulse. Hope this helps someone else. i++ On Sun, Jan 25, 2009 at 5:07 PM, robotissues

[android-beginners] Re: Help with path syntax for reading file off SD card

2009-01-23 Thread Jason Van Anden
Thanks for the suggestions. It is working. i++ On Tue, Jan 20, 2009 at 10:18 PM, Dave Sparks davidspa...@android.comwrote: If you have UMS enabled, you won't be able to play the file. The G1 O/ S cannot access the SD card at the same time as the host system. Disconnect the cable, or don't