[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] brand new to Android

2010-06-16 Thread Jason
Just brand new to android, have strong knowledge of Java,XML,MySQL. Where do I need to start from, any books or materials to read first? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack

[android-beginners] Re: How to cleanly finish an activity? (activity timeouts prevent restarting an app)

2010-05-27 Thread Jason Tomlinson
You may be interested in reading a recent blog post by a Googler title When to Include an Exit Button in Android Apps (Hint: Never), http://blog.radioactiveyak.com/2010/05/when-to-include-exit-button-in-android.html On May 26, 8:00 am, bb13 steveves...@comcast.net wrote: My app (as currently

[android-beginners] Re: Keys don't work with SurfaceView

2010-01-21 Thread Jason Arora
In addition to setFocusable, try calling setFocusableInTouchMode (true). Your onKey should look more like this: @Override public boolean onKeyDown(int keyCode, KeyEvent event) {...} @Override public boolean onKeyUp(int keyCode, KeyEvent event) {...} On Jan 15, 10:21 am, guich

[android-beginners] Re: Keys don't work with SurfaceView

2010-01-21 Thread Jason Arora
That's strange, I posted a reply but my message did not appear. Sorry if I end up double-posting. Try adding setFocusableInTouchMode(true) in addition to setFocusable (true). Also, your onKey callback looks incomplete, it should look more like this: @Override public boolean onKeyDown(int

[android-beginners] Re: My app is missing in HTC tattoo market

2010-01-21 Thread Jason Arora
Couple of things you can try: turn Copy-Protection OFF remove the requires camera permission in the Manifest (if possible) Those two conditions have been known to cause problems. Try searching the Android groups for more information. On Jan 18, 3:58 am, andersg anders.gjett...@gmail.com wrote:

Re: [android-beginners] New Year Wishes to the Android team/community.

2010-01-03 Thread Jason Chirakan
Happy New Year Android! *from MyTouch device* On Dec 31, 2009 7:28 AM, Android Development indodr...@gmail.com wrote: Hello community, Wishing you a very prosperous new year 2010 ahead. May this new year bring with itself health and happiness for you and your family. Also looking forward to

[android-beginners] Re: any good tutorial for database stuff

2009-12-10 Thread Jason Hoekstra
I'm also interested in best way to do a global static db class, but here is a tutorial to help answer some of those questions: http://developer.android.com/guide/tutorials/notepad/index.html On Nov 30, 1:12 pm, Marton Kodok pentiu...@gmail.com wrote: I am wondering if there is out there any

[android-beginners] Data layer best practice?

2009-12-10 Thread Jason Hoekstra
class. (Could be wrong, just haven't found good examples of in books or web sites.) Perhaps designing data access within content providers is the answer and best practice? Any thoughts, article references, etc are greatly appreciated. Jason -- You received this message because you are subscribed

[android-beginners] HelloViews Tutorials , etc.

2009-11-29 Thread Jason
tutorials, and they don't work? Please Help! Thanks, Jason -- 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 this group, send email to android-beginners

[android-beginners] Unable to resolve superclass of Lcom/gizmo/tracker/XTrackerMap

2009-11-24 Thread jason
I have a XTrackerMap class that extends com.google.android.maps.MapActivity. The application runs fine on the HTC Hero device when connected via USB and uploaded via eclipse. If I restart the phone and start the same application from the list of apps on the phone, I get the following error; and

[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
in Fancy Lists section of the Busy Coders Guide ( http://commonsware.com/Android/index.html) and Romain Guy's YouTube presentation here (http://www.youtube.com/watch?v=UApv-ZMJ51g). Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed

[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] hi

2009-10-16 Thread Jason Mallet-Prevost
ive tried to post a couple times now to this group and i havent seen my posts show up. Im guessing the moderators havent approved me yet? I just joined yesterday. How long will it normally take? --~--~-~--~~~---~--~~ You received this message because you are

[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

[android-beginners] Re: preventing Activity from destroying

2009-09-11 Thread Jason
, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 10, 10:15 pm, Jason shivi...@gmail.com wrote: John Yes, you are right. Pressing Home does call just onStop; while pressing Back calls onDestroy. Btw, how do you ensure that the service keeps running and doing its

[android-beginners] onSaveInstanceState question

2009-09-11 Thread jason
When is onSaveInstanceState called and how can I use the save variables in the bundle? In my experiment, this is what I observed: When the application is running is foreground, pressing the Home key resulted in: onSaveInstanceState onPause onStop Clicking the application icon again (i.e. bring

[android-beginners] Re: onSaveInstanceState question

2009-09-11 Thread jason
Thanks, Mark. Hmm, pressing the Back key so easily kills the activity. Is there a way to trap Back key within an application and prevent/control this behavior? For sub-activity screens, does the Back key have the same behavior (killing the app/activity) or does it go back to the parent activity

[android-beginners] Re: onSaveInstanceState question

2009-09-11 Thread jason
. Is there a way for an (sub-)activity to pass values to the previous activity on the stack (when Back key is pressed) without resorting to persistence storage or static varables in the app? On Sep 11, 5:20 pm, Mark Murphy mmur...@commonsware.com wrote: jason wrote: Is there a way to trap Back key

[android-beginners] Re: preventing Activity from destroying

2009-09-10 Thread Jason
, Jason shivi...@gmail.com wrote: How do I achieve the effect of 'minimizing' a UI activity? I have a UI activity that gets destroyed each time I click the Home, phone etc. keys on the phone. I would like the UI activity to be sent to the background; since it is bound to a service

[android-beginners] extracting service values from activity?

2009-09-09 Thread jason
I have an activity class that has started a service (within same application). How do I extract the values set in the service class? Here is the code snippet: class MyActivity extends Activity { private Intent svcIntent; public void onCreate(Bundle savedInstanceState) {

[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] preventing Activity from destroying

2009-09-09 Thread Jason
How do I achieve the effect of 'minimizing' a UI activity? I have a UI activity that gets destroyed each time I click the Home, phone etc. keys on the phone. I would like the UI activity to be sent to the background; since it is bound to a service and processing the data returned by the service

[android-beginners] Re: [android-beginners]

2009-08-31 Thread Jason Chirakan
Do you mean an application like brightkite? On Aug 30, 2009 6:50 PM, saurabh sinha saurso...@gmail.com wrote: hello everyone I am android beginner looking for social networking app using location in android can u send me application --~--~-~--~~~---~--~~ You

[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 group

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

2009-08-28 Thread Jason Van Anden
and Browser ... is there a way imply a preference (like, just YouTube?). Thanks! Jason On Fri, Aug 28, 2009 at 1:41 PM, Jason Van Andenjason.van.an...@gmail.com wrote: 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

[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] Re: what is Intent.getExtras in sms application and send a example

2009-07-24 Thread Jason Vinson
Per the tutorials on the site, getExtras is a way to pass a Bundle with an Intent. Think of it as passing extra properties along with the signal (the Intent) that can be used by the receiver. Jason On Jul 23, 4:14 pm, saurabh sinha saurso...@gmail.com wrote

[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
the activity receive the intent and do something specific based upon it. I would appreciate it if someone can point me in the right direction ... an example would be incredibly helpful. Thank You, Jason --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: ADT download links all dead

2009-04-20 Thread jason
been trying for a couple days now. Please advise. Thanks, Jason. On Mar 20, 7:40 pm, Xavier Ducrohet x...@android.com wrote: The first 2 links are not dead, it's just that there is not default index.html Tryhttps://dl-ssl.google.com/android/eclipse/site.xml As for the last link

[android-beginners] ADT 0.8, eclipse 3.4

2009-04-20 Thread jason
I have been using eclipse for years. I have searched the forums and tried many suggestions. I am using OSX and Windows XP. I tried Safari, Firefox, and IE. The update site still fails, and eclipse does not recover/finish. The file download for manual install fails to complete download (and is

[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

[android-beginners] weird socket error

2008-10-03 Thread Jason Proctor
under some circumstances i'm getting the following log entry in ddms -- SOCKETLOG add_recv_stats 0 -- which appears in red, indicating an error. and when that appears, that's it for that connection, it seems. i've googled for this and a few people have seen it, but nobody has an explanation

[android-beginners] Re: Most basic UI crash

2008-04-06 Thread Jason Tai
Aha! It works! Thanks a lot. Jason Tai On Apr 7, 2:49 am, Dan U. [EMAIL PROTECTED] wrote: Your layout file is in m3 format.http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html On Apr 6, 6:05 am, Jason Tai [EMAIL PROTECTED] wrote: Hi, Keep getting    Unable