[android-beginners] Understanding onCreate() and orientation change

2008-12-18 Thread Shahed Moolji
Hi, When a config change occurs like keyboard being pulled out / screen orientation changes, the app is restarted and the onCreate() method is called. [ Assuming that you dont specify that you will handle these events in onConfigChanged() ] However, what I fail to understand is, if I have a

[android-beginners] Re: Understanding onCreate() and orientation change

2008-12-18 Thread Shahed Moolji
Ok, so after some on device debugging, I see that the Bundle has a lot of stuff embedded in it, part of which is a TextView.SavedState() object which contains the text that I had input () So I guess the super class reads the bundle and restores the UI state... Also guess that this will only

[android-beginners] Android run on eclipse issue

2008-12-18 Thread Bernie
Hi all, I use eclipse to develop the android application. I follow the docs step by step to set up my enviroment and everythin looks fine. but when I run it first time it will show error at console window as below. emulator-5554 disconnected! Cancelling 'com.android.bernie.ImBernie' launch! The

[android-beginners] Does the dev phone come pre-loaded with an OS image?

2008-12-18 Thread sherifffruitfly
Hi all, Not too clear about this aspect of the dev phone. Does the it come already flashed with an OS image? Does it come with one on disc? Do I have to download it? I'm on windows, so something simpler than installing linux just to build one from source would be a boon. Thanks for any info,

[android-beginners] Mobile Developers Research Project asking for Android's opinion, by Carnegie mellon University

2008-12-18 Thread alberto
Hi guys, we're doing a research project on the mobile ecosystem in the Mobility Research Center at Carnegie Mellon Silicon Valley. Our main goal in our current study is to understand the decision- making process followed by mobile applications developers/start-ups. We are particularly interested

[android-beginners] Is it necessary to rebuild android platform

2008-12-18 Thread Steve Logue
I've setup my development enviroment on Windows with Eclipse and the ADT plugin and and build and run the Lunar Lander sample. I'd like to be able to build the Android Mail application but it's using a newer version of the framework (for example, it's trying to import #) One solution is

[android-beginners] Android Dev Phone 1

2008-12-18 Thread srobin
Hello, I am a professional software engineer and have limited phone dev experience, I did some J2ME in college. I wanted the G1 but T-Mobile doesn't have 3G network in Santa Barbara, now I'm hoping Dev Phone 1 is my saving grace. I'm wondering, what comes pre-loaded on this phone(Dev 1)? Does

[android-beginners] Re: How to I get video to play from storage?

2008-12-18 Thread Dave Sparks
It seems like you're trying to play the file from your workstation. I assume you are testing in the emulator. If so, you need to be aware that the emulator has its own file system and it cannot directly access your workstation files. Instead, it mounts a file that contains an image of a FAT file

[android-beginners] Re: I want to take a look at source of Dialer, Contacts, etc

2008-12-18 Thread Dave Sparks
You'll find the source here: http://android.git.kernel.org/ For example, here's a pointer to the source tree for Contacts: http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=summary On Dec 16, 8:48 pm, Shawn_Chiu qiuping...@gmail.com wrote: Hi, all I want to take a look

[android-beginners] Re: Android Dev Phone 1

2008-12-18 Thread szeldon
As Google says: http://code.google.com/android/dev-devices.html The device ships with a system image that is fully compatible with Android 1.0, so you can rely on it when developing your applications. This is installed and fully-operational out of the box. There is a set of applications that

[android-beginners] Re: Android Dev Phone 1

2008-12-18 Thread sherifffruitfly
Thanks - I missed that bit somehow - phew! Was worried I was gonna hafto go thru the hassle of setting up a linux distro. On Dec 18, 1:02 pm, szeldon szeldon@gmail.com wrote: As Google says: http://code.google.com/android/dev-devices.html The device ships with a system image that is

[android-beginners] Emulator start, but application doesn't

2008-12-18 Thread Enginerd
I'm very new to Android, working on the Hello Activity. I've seen this issue before on this forum but I've never seen a good answer. What happens when I start an activity is the emulator loads, but the application being run does not (in this case Hello). I've tried this with a few of the other

[android-beginners] Re: Android run on eclipse issue

2008-12-18 Thread Ralf
Look at the logcat output (windows perspectives ddms) to see if you see any error when your application runs. R/ On Thu, Dec 18, 2008 at 4:06 AM, Bernie garden...@gmail.com wrote: Hi all, I use eclipse to develop the android application. I follow the docs step by step to set up my

[android-beginners] Show outlines of all stars in ratingBarStyleIndicator?

2008-12-18 Thread Tom
I'd like to have all the stars displayed with outlines for the rating bar. Currently only the stars that are filled or partially filled show their black outlines. (eg. If the numStars is 5 and rating is 2.5, the first three stars would have their outlines shown but the last two would just be

[android-beginners] how do I close a dialog box?

2008-12-18 Thread Josh
I have the following code that works fine to display a dialog box using an xml layout file. code dialog = new Dialog(this); dialog.setContentView(R.layout.settings); dialog.show(); /code How do i add event listeners to the button widgets that i placed in the xml layout? Is there a default

[android-beginners] applications on emulator

2008-12-18 Thread Kusuma Pabba
Hello all, i have downloaded android sdk, then j2me midp runner, i was able to run my midlet on midp runner. the application is running, my application is epihany-midlet.jar( which contains few forms ). now my doubt is how should i fill those forms using emulator . i am not able

[android-beginners] Re: Android Dev Phone 1

2008-12-18 Thread Martin Moerman
It comes with a working OS and apps, but you need a sim with dataplan to get it working, or check the UK website to register without sim card, it is sim unlocked. /Martin The Netherlands On Wed, Dec 17, 2008 at 8:56 PM, srobin srobi...@gmail.com wrote: Hello, I am a professional software