[android-beginners] Setting up an Android development environment on a Mac

2009-09-17 Thread oregonduckman
I am running OSX 10.5.8 and am new to Android/Eclipse/Java and need help choosing the correct versions of Android/Eclipse SDK/IDE/Java SDK to install. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Which version of Android?

2009-09-17 Thread oregonduckman
The 1.5 installation notes refer to Eclipse 3.3 (Europa) or Eclipse 3.4 (Ganymede). When I looked on Eclipse website I could not find a reference to either version, can someone point me to the correct version of Eclipse that will work with the 1.5 SDK? Thanks

[android-beginners] r cannot be resolved and other Eclipse/Android oddities

2009-12-28 Thread oregonduckman
I frequently receive the error r cannot be resolved when adding functionality to an application and I have no idea why this happens. The change can be as simple as adding an ArrayList when the error appears in Eclipse. I have also seen the same kind of thing with the error message The project

[android-beginners] Looking for some reading on the Android Framework

2010-01-06 Thread oregonduckman
I have gone through several tutorials on Android programming and find myself needing a better understanding of the Android Framework. Does anyone know of an article or book that gives a good explanation of the Android Framework and how to best make use of it? Is there a document that also covers

[android-beginners] Edit Source Lookup Path... during debugging???

2010-01-08 Thread oregonduckman
I am developing on a Mac with Eclipse and have the skeleton for an app that implements the standard framework callbacks (onCreate, onDestroy, onPause, etc..). When I set breakpoints in the callbacks the debugger stops and displays a tab that says ActivityThread.performLaunchActivity(ActivityThread

[android-beginners] resolving equivalent intent filters

2010-01-12 Thread oregonduckman
If n activities have equivalent intent filters how does Android pick the one to send an intent to? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] Re: resolving equivalent intent filters

2010-01-12 Thread oregonduckman
If what you say is true how is the one choses to handle the intent? On Jan 12, 2:21 pm, ryan alford ryanalford...@gmail.com wrote: If I am not mistaken, it sends it to all activities in no particular order. Ryan Sent from my DROID On Jan 12, 2010 5:17 PM, oregonduckman oregonduck

[android-beginners] Re: resolving equivalent intent filters

2010-01-12 Thread oregonduckman
there is a method that you can call to stop the OS from broadcasting the intent after you have handled it, but I forgot what it was. Ryaqn Sent from my DROID On Jan 12, 2010 5:36 PM, oregonduckman oregonduck...@gmail.com wrote: If what you say is true how is the one choses to handle the intent

[android-beginners] moving Views and View.getWidth(), getHeight(), etc..

2010-01-13 Thread oregonduckman
I am working on an app that requires widgets to be repositioned at runtime. The docs say getWidth() should return the width of View at runtime but the only value getWidth() returns is 0. Can someone point me in the right direction on how to get the dimensions of a view at runtime? -- You

[android-beginners] Re: moving Views and View.getWidth(), getHeight(), etc..

2010-01-13 Thread oregonduckman
doesn't get calculated until it is displayed On Jan 13, 2010 6:48 PM, oregonduckman oregonduck...@gmail.com wrote: I am working on an app that requires widgets to be repositioned at runtime. The docs say getWidth() should return the width of View at runtime but the only value  getWidth() returns

[android-beginners] setContentView fails when creating a new activity

2010-01-18 Thread oregonduckman
My code is calling setContentView(R.layout.someLayoutID); from an activities' onCreate method. The activity is launched with the following: Intent myIntent = new Intent(this, myClass.class); try {

[android-beginners] Re: setContentView fails when creating a new activity

2010-01-19 Thread oregonduckman
/error?  If you resume the run (perhaps more than once) the complete stack with error will eventually get dumped to the log.  You can then view it in the logcat window (a tab in the right pane of the debug perspective). On Mon, Jan 18, 2010 at 20:05, oregonduckman oregonduck...@gmail.comwrote

[android-beginners] Windows or Mac as an Android development platform?

2010-01-19 Thread oregonduckman
Would be interested in people's opinion on which platform provides a better host environment for Android development. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] passing arbitrary data types to a sub activity

2010-01-21 Thread oregonduckman
Looking for a way to pass an arbitrary data type to a sub-activity. Seems like Intents are missing something like intent.putExtra(String name, Object object) or bundle.putObject(String name,Object object) where object can be any type (such as ListMyClass). L I looked at all the type that can be

[android-beginners] Re: passing arbitrary data types to a sub activity

2010-01-21 Thread oregonduckman
waltarm...@gmail.com wrote: Look at Intent.putExtra(String, Parcelable).  You will need to make your object implement Parcelable. On Thu, Jan 21, 2010 at 12:45, oregonduckman oregonduck...@gmail.comwrote: Looking for a way to pass an arbitrary data type to a sub-activity. Seems like Intents

[android-beginners] getIntExtra only returns default value

2010-01-25 Thread oregonduckman
I am trying to pass an integer between activities using an intent. The source activity makes the calls info.id is the selected item from a ListView. Intent intent = new Intent(myActivity.this, newClass.class);

[android-beginners] android source integrated into Eclipse

2010-01-26 Thread oregonduckman
I am interested in installing the Android source so that when I am debugging my app I can step into an Android SDK call, is this possible and if so are there directions somewhere on how to do this? -- You received this message because you are subscribed to the Google Groups Android Beginners