[android-beginners] Re: Emulator
Hi guys --- to put closure to this thread as well - I compile the changes in the Resource perspective in Eclipse, and with the emulator open I re-launch the app either in debug or standard mode and watch it in DDMS. I can see the apk file being loaded in the emulator's file system (I can see the size and it is the new one for sure), however, the changes I made do not show up in the execution panel. Are there cases when I need to shutdown the emulator and restart it? Or would the relaunching of the app ALWAYS guarantees the changes will be executed? Just making sure. Thanks On Jul 14, 2:56 pm, kypriakos wrote: > Got it - thanks to both of you. > > On Jul 14, 2:09 pm, Mark Murphy wrote: > > > On Wed, Jul 14, 2010 at 2:07 PM, kypriakos wrote: > > > Super - but then if you are already running an app how do you stop it > > > to reload new > > > code? > > > The emulator handles that automatically. > > > > I noticed that if I move to the Menu the app is still running in > > > the background. > > > Is there a kill process equivalent in Android? > > > It is not needed in most cases. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > > Available! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator
Got it - thanks to both of you. On Jul 14, 2:09 pm, Mark Murphy wrote: > On Wed, Jul 14, 2010 at 2:07 PM, kypriakos wrote: > > Super - but then if you are already running an app how do you stop it > > to reload new > > code? > > The emulator handles that automatically. > > > I noticed that if I move to the Menu the app is still running in > > the background. > > Is there a kill process equivalent in Android? > > It is not needed in most cases. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator
On Wed, Jul 14, 2010 at 2:07 PM, kypriakos wrote: > Super - but then if you are already running an app how do you stop it > to reload new > code? The emulator handles that automatically. > I noticed that if I move to the Menu the app is still running in > the background. > Is there a kill process equivalent in Android? It is not needed in most cases. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator
just install the new apk and it will kill the running process. adb install -r /path/to/new.apk On Wed, Jul 14, 2010 at 11:07 AM, kypriakos wrote: > > Super - but then if you are already running an app how do you stop it > to reload new > code? I noticed that if I move to the Menu the app is still running in > the background. > Is there a kill process equivalent in Android? > > Thanks > > > On Jul 13, 1:56 pm, Mark Murphy wrote: >> On Tue, Jul 13, 2010 at 12:44 PM, kypriakos wrote: >> > You can?? That's super - where can I find documentation on that? Or is >> > it straight >> > forward? >> >> You just run the app. >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy >> >> Android 2.2 Programming Books:http://commonsware.com/books > > -- > 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 > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator
Super - but then if you are already running an app how do you stop it to reload new code? I noticed that if I move to the Menu the app is still running in the background. Is there a kill process equivalent in Android? Thanks On Jul 13, 1:56 pm, Mark Murphy wrote: > On Tue, Jul 13, 2010 at 12:44 PM, kypriakos wrote: > > You can?? That's super - where can I find documentation on that? Or is > > it straight > > forward? > > You just run the app. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android 2.2 Programming Books:http://commonsware.com/books -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator
On Tue, Jul 13, 2010 at 12:44 PM, kypriakos wrote: > You can?? That's super - where can I find documentation on that? Or is > it straight > forward? You just run the app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator
You can?? That's super - where can I find documentation on that? Or is it straight forward? On Jul 12, 3:03 pm, Mark Murphy wrote: > On Mon, Jul 12, 2010 at 2:59 PM, kypriakos wrote: > > I am assuming that you cannot perform software reloading on the > > emulator > > without restarting it (i.e. OSGi containers). > > AFAIK, Android does not support OSGi containers. > > You can reload software on the emulator without restarting it, though. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator Unable to Access Location
On Mon, Jun 21, 2010 at 9:49 AM, Jake Colman wrote: > Incidentally, I have the same issue whether I use a pure Ubuntu 10.04 > laptop or a Ubuntu 10.04 virtual box running under XP. Is it possible > its a Ubuntu 10.04 issue? I suppose I can create a Ubuntu 9.10 virtual > box and see what happens. Since the tests I ran were on Ubuntu 10.04, I doubt it is something specific to that version of the OS. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator Unable to Access Location
The browser works fine so networking does not seem to be the issue. My little GPS app correctly display lat/long as pushed from DDMS or telnet. But Maps and the Browser both say cannot access location. Terrific... :-( Incidentally, I have the same issue whether I use a pure Ubuntu 10.04 laptop or a Ubuntu 10.04 virtual box running under XP. Is it possible its a Ubuntu 10.04 issue? I suppose I can create a Ubuntu 9.10 virtual box and see what happens. > "d" == davemac writes: d> So your app is getting the lat/long from DDMS, but you're not d> seeing any maps displayed? Maps come from the Google API over the d> Internet. Is there a chance that you don't have networking d> available to your emulator? Other than location, does the browser d> function correctly? I'm also at a loss as to why you're not able d> to see your location. Good luck! d> - dave d> On Jun 18, 2:59 pm, Mark Murphy wrote: >> On Fri, Jun 18, 2010 at 8:42 AM, Jake Colman wrote: >> > This is really odd. I started from scratch using a "new" >> > computer (a Ubuntu virtualbox guest under WinXP). I downloaded >> > the SDK, created an AVD, started Maps and pushed a >> > location. Maps still says "temporarily unable to access >> > location" but my small app that display location changes >> > displays the new latitude and longitude. Any idea what I can be >> > doing wrong? >> >> Off the top of my head, I can't think of any particular problems. >> Nested emulation environments (qemu in Ubuntu in XP) is a little >> odd, but if you are getting the fix, I don't know why the Maps app >> would not. >> >> -- >> Mark Murphy >> CommonsWare >> mmur...@commonsware.comhttp://commonsware.com d> -- d> You received this message because you are subscribed to the Google d> Groups "Android Beginners" group. d> NEW! Try asking and tagging your question on Stack Overflow at d> http://stackoverflow.com/questions/tagged/android d> To unsubscribe from this group, send email to d> android-beginners+unsubscr...@googlegroups.com d> For more options, visit this group at d> http://groups.google.com/group/android-beginners?hl=en -- Jake Colman | Director, Software Development Principia Partners LLC 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770 t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929 e: col...@ppllc.com | w: www.principiapartners.com Credit technology innovation awards winner 2008 and 2009 -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator Unable to Access Location
So your app is getting the lat/long from DDMS, but you're not seeing any maps displayed? Maps come from the Google API over the Internet. Is there a chance that you don't have networking available to your emulator? Other than location, does the browser function correctly? I'm also at a loss as to why you're not able to see your location. Good luck! - dave On Jun 18, 2:59 pm, Mark Murphy wrote: > On Fri, Jun 18, 2010 at 8:42 AM, Jake Colman wrote: > > This is really odd. I started from scratch using a "new" computer (a > > Ubuntu virtualbox guest under WinXP). I downloaded the SDK, created an > > AVD, started Maps and pushed a location. Maps still says "temporarily > > unable to access location" but my small app that display location > > changes displays the new latitude and longitude. Any idea what I can be > > doing wrong? > > Off the top of my head, I can't think of any particular problems. > Nested emulation environments (qemu in Ubuntu in XP) is a little odd, > but if you are getting the fix, I don't know why the Maps app would > not. > > -- > Mark Murphy > CommonsWare > mmur...@commonsware.comhttp://commonsware.com -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator Unable to Access Location
On Fri, Jun 18, 2010 at 8:42 AM, Jake Colman wrote: > This is really odd. I started from scratch using a "new" computer (a > Ubuntu virtualbox guest under WinXP). I downloaded the SDK, created an > AVD, started Maps and pushed a location. Maps still says "temporarily > unable to access location" but my small app that display location > changes displays the new latitude and longitude. Any idea what I can be > doing wrong? Off the top of my head, I can't think of any particular problems. Nested emulation environments (qemu in Ubuntu in XP) is a little odd, but if you are getting the fix, I don't know why the Maps app would not. -- Mark Murphy CommonsWare mmur...@commonsware.com http://commonsware.com -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator Unable to Access Location
> "MM" == Mark Murphy writes: MM> Jake Colman wrote: >> My emulator is running Android 1.6. And the Maps appplication is >> ignoring the fix. :-( MM> FWIW, my 1.6 emulator works just fine with Maps. As before: start MM> Maps, push a location from the emulator, and it shows My MM> Location. This is really odd. I started from scratch using a "new" computer (a Ubuntu virtualbox guest under WinXP). I downloaded the SDK, created an AVD, started Maps and pushed a location. Maps still says "temporarily unable to access location" but my small app that display location changes displays the new latitude and longitude. Any idea what I can be doing wrong? -- Jake Colman | Director, Software Development Principia Partners LLC 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770 t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929 e: col...@ppllc.com | w: www.principiapartners.com Credit technology innovation awards winner 2008 and 2009 -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator Unable to Access Location
Jake Colman wrote: > My emulator is running Android 1.6. And the Maps appplication is > ignoring the fix. :-( FWIW, my 1.6 emulator works just fine with Maps. As before: start Maps, push a location from the emulator, and it shows My Location. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator Unable to Access Location
> "MM" == Mark Murphy writes: MM> Jake Colman wrote: >> I started my application running in the emulator, went back to >> Home, and started the Browser. The Browser displayed "Location >> unavailable". I entered coordinates into DDMS, pressed 'send', >> and tried to update location. I still get "Location unavailable". MM> My guess is that is a limitation in the Browser app on the MM> emulator, at least on Android 2.2. The Maps application works as MM> I would expect -- open the application, get a map of the world, MM> push a fix from DDMS, and "My Location" pops up. My emulator is running Android 1.6. And the Maps appplication is ignoring the fix. :-( Any suggestions of how I go about fixing this? -- Jake Colman | Director, Software Development Principia Partners LLC 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770 t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929 e: col...@ppllc.com | w: www.principiapartners.com Credit technology innovation awards winner 2008 and 2009 -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator Unable to Access Location
Jake Colman wrote: > I started my application running in the emulator, went back to Home, and > started the Browser. The Browser displayed "Location unavailable". I > entered coordinates into DDMS, pressed 'send', and tried to update > location. I still get "Location unavailable". My guess is that is a limitation in the Browser app on the emulator, at least on Android 2.2. The Maps application works as I would expect -- open the application, get a map of the world, push a fix from DDMS, and "My Location" pops up. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6 Available! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator Unable to Access Location
> "MM" == Mark Murphy writes: MM> Jake Colman wrote: >> I'm sure that I'm doing something obviously wrong but I cannot >> figure it out. >> >> I am using a Android 1.6 emulator with the Google API. No matter >> what I try the emulator cannot determine its location. Both the >> browser and the Maps application both say that the location is >> unavailable. >> >> The emulator is configured with GPS. I used DDMS to send GPS >> coordinates. I wrote a small GPS application that displays the >> current location whenever the location changes. The application >> confirms for me that when I send new coordinates via DDMS that the >> emulator sees the change. So why can't the browser or Maps figure >> out where I am? MM> You did not indicate the order in which you tried things. You MM> need to open "the browser or Maps", then send the fix, not the MM> other way around. Mark, I started my application running in the emulator, went back to Home, and started the Browser. The Browser displayed "Location unavailable". I entered coordinates into DDMS, pressed 'send', and tried to update location. I still get "Location unavailable". ...Jake -- Jake Colman | Director, Software Development Principia Partners LLC 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770 t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929 e: col...@ppllc.com | w: www.principiapartners.com Credit technology innovation awards winner 2008 and 2009 -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator: Internet access via Proxy
it was a bug in 2.0/2.1 - check this http://code.google.com/p/android/issues/detail?id=5508&can=1&q=emulator%20http-proxy&colspec=ID%20Type%20Status%20Owner%20Summary%20Starsout. should be fixed in 2.2 2010/6/3 jonz > Logs: > > proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): > ' > ' > http_service_connect: trying to connect to 74.125.71.106:80 > http_service_connect: using HTTP rewriter > tcp:74.125.71.106:80(1268): cannot connect to proxy: > http_service_connect: trying to connect to 74.125.71.105:80 > http_service_connect: using HTTP rewriter > tcp:74.125.71.105:80(1268): cannot connect to proxy: > > > On Jun 3, 11:20 am, jonz wrote: > > Hi Folks, > > > > I am trying to connect to internet using Proxy settings.. > > command used "emulator -avd SD1 -http-proxy : -debug- > > proxy" > > > > But still not able to connect. Please suggest some solutions.. > > > > Thanks, > > Jonz > > -- > 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 > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator: Internet access via Proxy
Logs: proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): ' ' http_service_connect: trying to connect to 74.125.71.106:80 http_service_connect: using HTTP rewriter tcp:74.125.71.106:80(1268): cannot connect to proxy: http_service_connect: trying to connect to 74.125.71.105:80 http_service_connect: using HTTP rewriter tcp:74.125.71.105:80(1268): cannot connect to proxy: On Jun 3, 11:20 am, jonz wrote: > Hi Folks, > > I am trying to connect to internet using Proxy settings.. > command used "emulator -avd SD1 -http-proxy : -debug- > proxy" > > But still not able to connect. Please suggest some solutions.. > > Thanks, > Jonz -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator disconnected
Open up your DDM perspective or LogCat view to see the log cat file error. -Kitzy On Apr 16, 10:40 am, Miguel Guirao wrote: > Hi Androids, > > I'm brand new into mobile application development and into android. I have > been following the examples on the Android web site to get my Hello World > app done, bun when I run the app on Eclipse Galileo, it compiles with out > errors, opens the emulator, but few seconds later I got the leyend "Emulator > disconnected" on Eclipse. I'm using the latest versions of the Android SDK > and the ADT pluging for Eclipse. > > Any ideas? > > Miguel Guirao A > > -- > 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 > athttp://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-beginners?hl=en -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator error cause?
I have seen the message "Terminate it in an unusual way" several times now, all from different circumstances. So I would not assume that it was because the swap file can't grow -- there could be other causes. But your swap file should not be so constrained if you are running no other large apps, and have just rebooted the system. So you might try that and see if that makes it go away. On Feb 11, 8:22 am, BobG wrote: > Hello Android experts. Trying to run a HelloWorld app in an AVD for > 2.1 and WVGA854 and right when the emulator pops up, it disappears and > this comes up in the comsole. I 'think' it means 'you idiot... youre > disk is almost full and the swap file cant grow, so were going to kill > you'. Did I guess right? Anyone else seen this? > > [2010-02-11 11:18:16 - Emulator] > [2010-02-11 11:18:16 - Emulator]This application has requested the > Runtime to terminate it in an unusual way. > [2010-02-11 11:18:16 - Emulator]Please contact the application's > support team for more information. > [2010-02-11 11:18:16 - HelloAndroid]emulator-5554 disconnected! > Cancelling 'com.example.helloandroid.helloandroid activity launch'! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator error cause?
Good idea... here's what the emulator gave me from the cmd window C:\Android\android-sdk-windows\tools>emulator -avd wvga854 qemu: fatal: exponent 255 too big R00=0002 R01=e118 R02=fe005000 R03=2209 R04=c595afa0 R05=c5863e94 R06=c5863e5c R07=c5863e5c R08=c5863e94 R09= R10= R11=c5863e0c R12=0009 R13=c5863df8 R14=c018e924 R15=c018e6cc PSR=6013 -ZC- A svc32 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator error cause?
One way to test your theory is to start your emulator from eclipse, without running your program. I haven't seen that problem before, however, I have seen the emulator not come up after running multiple programs on it, and have to start it with the box checked "wipe user data". Happy Coding -Kitzy On Feb 11, 9:22 am, BobG wrote: > Hello Android experts. Trying to run a HelloWorld app in an AVD for > 2.1 and WVGA854 and right when the emulator pops up, it disappears and > this comes up in the comsole. I 'think' it means 'you idiot... youre > disk is almost full and the swap file cant grow, so were going to kill > you'. Did I guess right? Anyone else seen this? > > [2010-02-11 11:18:16 - Emulator] > [2010-02-11 11:18:16 - Emulator]This application has requested the > Runtime to terminate it in an unusual way. > [2010-02-11 11:18:16 - Emulator]Please contact the application's > support team for more information. > [2010-02-11 11:18:16 - HelloAndroid]emulator-5554 disconnected! > Cancelling 'com.example.helloandroid.helloandroid activity launch'! -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator takes too much time to show up - any solution?
Unfortunately, such a small setting for SD card size is not always an option. It has already been pointed out by others in this forum, for example, that to get the Google Maps examples (from the tutorial etc) to run, you need an SD card greater than 8M. I use 10M for each AVD intended for use with Google Maps. And I know it has been said often enough already, but I will say it again, because it is such an important point: because the emulator is so slow to load, it really is a good idea to load it once and keep it running for as long as you can, quitting and reloading only as a last resort. Unless, of course, it really is true that your system gets slower and slower the longer you do this. But that is unusual. If that is really what is happening, then yes, you need to check your system settings to make sure enough real, physical memory is allocated to the emulator. And be moderate with SD card size. 10M should do fine, smaller if Google Maps not needed. On Feb 8, 5:20 pm, BobG wrote: > Check the pagefile size in task manager. Once it starts getting bigger > than the ram size everything slows way down. Try making the sd file in > the AVDs a lot smaller. Like a couple meg instead of a gig. -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator takes too much time to show up - any solution?
2 seconds is not worth the extra effort. On Feb 8, 2:46 pm, Greg Donald wrote: > On Mon, Feb 8, 2010 at 4:25 PM, Peace_in_mind wrote: > > I'm using Eclipse (with android plugin, dalvik) to try out few android > > app development. But every time I try to run anything using emulator, > > it takes a lot of time and slows down productivity. Is there any > > easier way to use the emulator? > > I find starting the emulator from inside Eclipse takes over two > minutes (on an i7 cpu, 12GBs of ram). I find starting it from the > command line takes about 2 seconds less so that's what I do. Yup.. > pretty sad, I know. > > Good luck. > > -- > Greg Donald > destiney.com | gregdonald.com -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator takes too much time to show up - any solution?
Kitzy's suggestion works for me too. However, I was looking for any doc where I could find out how to change the SD setting for AVD. There is not much info. Can someone please provide any pointer? I can try to do that using command prompt or Eclipse. I believe changing the SD card setting is another option to force the emulator take less time to load. On Feb 9, 8:06 am, Ed Holley <8792...@gmail.com> wrote: > Do you or anyone else have any optimization tips for the emulator? I am > going to try everything u have suggested so far. > > sent on location from my Motorola Droid > > On Feb 9, 2010 11:03 AM, "Kitzy" wrote: > > Once I have the emulator running, I leave it running. All new tests on > the emulator start within seconds after it is already running. I do > start it from inside Eclipse. > > -Kitzy > > On Feb 9, 7:35 am, Ed Holley <8792...@gmail.com> wrote: > > > Thanks much for this suggestion I have a ... > > On Feb 8, 2010 8:20 PM, "BobG" wrote: > > > Check the pagefile size in task man... > > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > ht... -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator takes too much time to show up - any solution?
Do you or anyone else have any optimization tips for the emulator? I am going to try everything u have suggested so far. sent on location from my Motorola Droid On Feb 9, 2010 11:03 AM, "Kitzy" wrote: Once I have the emulator running, I leave it running. All new tests on the emulator start within seconds after it is already running. I do start it from inside Eclipse. -Kitzy On Feb 9, 7:35 am, Ed Holley <8792...@gmail.com> wrote: > Thanks much for this suggestion I have a ... > On Feb 8, 2010 8:20 PM, "BobG" wrote: > > Check the pagefile size in task man... Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at ht... -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator takes too much time to show up - any solution?
Once I have the emulator running, I leave it running. All new tests on the emulator start within seconds after it is already running. I do start it from inside Eclipse. -Kitzy On Feb 9, 7:35 am, Ed Holley <8792...@gmail.com> wrote: > Thanks much for this suggestion I have a 16gb setting that may be a solution > to some of my emulation problems. > > sent on location from my Motorola Droid > > On Feb 8, 2010 8:20 PM, "BobG" wrote: > > Check the pagefile size in task manager. Once it starts getting bigger > than the ram size everything slows way down. Try making the sd file in > the AVDs a lot smaller. Like a couple meg instead of a gig. > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" g... -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Emulator takes too much time to show up - any solution?
Thanks much for this suggestion I have a 16gb setting that may be a solution to some of my emulation problems. sent on location from my Motorola Droid On Feb 8, 2010 8:20 PM, "BobG" wrote: Check the pagefile size in task manager. Once it starts getting bigger than the ram size everything slows way down. Try making the sd file in the AVDs a lot smaller. Like a couple meg instead of a gig. -- You received this message because you are subscribed to the Google Groups "Android Beginners" g... -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator takes too much time to show up - any solution?
Check the pagefile size in task manager. Once it starts getting bigger than the ram size everything slows way down. Try making the sd file in the AVDs a lot smaller. Like a couple meg instead of a gig. -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator display proportion
What does your /res/layout/main.xml file look like? (Or just the elements with their android:layout... attributes if you don't want to display all attributes) -Kitzy On Feb 4, 9:32 am, jverner wrote: > A developer has built an Android app for me. When I view it on the > emulator, the display does not fill the available screen. Think of a > box within a box, the outer box being the screen and the inner box > being the app. > > The developer states that when he runs the emulator on his computer, > the display is accurate; the error must be in the settings for Android > on my computer. However, I have done nothing but follow the online > steps to install Android, and I am having the same result on my Mac > (OS X 10.6) and on my Windows (OS XP Pro) machines. > > The developer also says the app is correctly sized on his Nexus One > and has sent me screen shots to demonstrate. But I am reluctant to try > to change this app (which I intend to do, for other devices) unless > the emulator is displaying accurately. > > I used default settings on the AVD except that the developer told me > to use resolution 480 x 800 because the app is for use on the Nexus > One. We are using Android 2.1 for the app. > > Any thoughts, suggestions, etc. would be much appreciated. > > TIA > > JV -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: emulator: ERROR note
Thanks ;-) On 1 янв, 04:58, powersil wrote: > OK. found the problem: > * Open the Android SDK and AVD Manager (in eclipse) > * Create a new AVD > * At the Hardware section ADD a NEW property named - > "disk.systemPartition.size" > * change the size as needed - my error showed 74>72 so i put 80 there. > > it worked. > > have a nice day , > powers. > > On Dec 30 2009, 10:41 am, powersil wrote: > > > > > Hello! > > im runninf the Notepad tutorial. > > at first, it ran OK . but now it suddenly started to say (when im > > starting to run it) this message: > > > emulator:ERROR:systemimagefiletoolargefordevice'shardwareconfiguration(74 > > MB > 72 MB). > > > i'm running it on Eclipse , ADT emulator. on Vista Home. > > > any idea's? > > > tankx > > > Powers -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: emulator: ERROR note
OK. found the problem: * Open the Android SDK and AVD Manager (in eclipse) * Create a new AVD * At the Hardware section ADD a NEW property named - "disk.systemPartition.size" * change the size as needed - my error showed 74>72 so i put 80 there. it worked. have a nice day , powers. On Dec 30 2009, 10:41 am, powersil wrote: > Hello! > im runninf the Notepad tutorial. > at first, it ran OK . but now it suddenly started to say (when im > starting to run it) this message: > > emulator:ERROR:systemimagefiletoolargefordevice'shardwareconfiguration(74 MB > > 72 MB). > > i'm running it on Eclipse , ADT emulator. on Vista Home. > > any idea's? > > tankx > > Powers -- 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator not working properly
I have the same problem. The hello, android application doesn't work and no one seems to be able to help. On Nov 13, 12:23 pm, Gabi wrote: > I followed the simple "hello android" tutorila, but when I run all I > get is an emulator blinking "android...". whats up? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator not working properly
I have run into a similar problem. I tried the basic operation from the command line to eliminate eclipse having anything to do with the problem. I create a AVD, and then run the emulator @avdname. I get the blinking "android", and then a few minutes later the fancy shiny Android logo, and that is it. It can sit for hours but never progresses. This is on an older Dell laptop running Ubuntu 9.04. After getting nowhere I tried the emulator on a different computer also running Ubuntu 9.04, however it is a desktop The emulator fired up, a couple of minutes went by and I got the flashing shiny logo, and then the Android home page showed up. I verified that I am running the same jdk on both machines. I'm beginning to think that it is a video card issue. On Nov 13, 12:23 pm, Gabi wrote: > I followed the simple "hello android" tutorila, but when I run all I > get is an emulator blinking "android...". whats up? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator not working properly
Hi, It takes a while for the emulator to start up. Until it does, that is the screen you will see. Make sure you have a fast enough machine. You really need Core2Duo type speed to run the emulator (and enough RAM). Once open, you can leave the emulator open, and eclipse will always push the latest changes to your program to it automatically. -niko On Nov 13, 11:23 am, Gabi wrote: > I followed the simple "hello android" tutorila, but when I run all I > get is an emulator blinking "android...". whats up? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator in Eclipse IDE
I have this problem too. How can I create AVD in other folder in Android? Please Gab On szept. 26, 15:10, Markus wrote: > I also had problems with Swedish characters in my Docs and Settings > username path. Put the AVD somewhere else. > > /Markus > > On 20 Sep, 08:20, Roman wrote: > > > There are also problems with name of the path. Don't use cyrillic > > symbols or complicated name, specify path in command line: > > > android create avd -n my_avd -t 1 -p f:\avd > > > On Sep 17, 8:43 pm, ichpa wrote: > > > > Hi, > > > > I have the same error. I tried to run emulator with Eclipse and > > > Command Line without success. > > > > Unfortunately, the solutions above do not work. > > > > Any others ideas ? > > > > On 17 sep, 07:33, Raphael wrote: > > > > > Seems like it. > > > > Please try one of the following: > > > > > - run the "android" tool UI, select your AVD and select the "repair" > > > > button if enabled. > > > > > or on the command line > > > > > $ android update avd --name your_avd_name > > > > > R/ > > > > > On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > > > > > It seems like your AVD's config.ini file is missing the image.sysdir.* > > > > > entries. Have you tried to create another AVD file and launch the > > > > > emulator with that? > > > > > > -- > > > > > Jack Ha > > > > > Open Source Development Center > > > > > ・T・ ・ ・Mobile・ stick together > > > > > The coverage you need at the price you want > > > > > > The views, opinions and statements in this email are those of > > > > > the author solely in their individual capacity, and do not > > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > > > > > wrote: > > > > >> Hi, > > > > >> I have a problem when I try to launch an AVD in Eclipse. > > > > >> It never starts and I obtain this error message : > > > > > >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths > > > > >> found > > > > >> in this AVD's configuration. > > > > >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > > > > >> malformed. Try re-creating it. > > > > > >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > > > > >> Thank you for your help. > > > > >> Michaël -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: emulator gets lost from Eclipse
now sometimes I can't even start the emulator 2009-11-13 20:21:05 - test2]-- [2009-11-13 20:21:05 - test2]Android Launch! [2009-11-13 20:21:05 - test2]adb is running normally. [2009-11-13 20:21:05 - test2]Performing com.test2.Connection activity launch [2009-11-13 20:21:05 - test2]Automatic Target Mode: launching new emulator with compatible AVD 'my_avd' [2009-11-13 20:21:05 - test2]Launching a new emulator with Virtual Device 'my_avd' [2009-11-13 20:21:06 - test2]New emulator found: emulator-5554 [2009-11-13 20:21:06 - test2]Waiting for HOME ('android.process.acore') to be launched... [2009-11-13 20:21:39 - test2]emulator-5554 disconnected! Cancelling 'com.test2.Connection activity launch'! On Nov 13, 8:15 pm, Marton Kodok wrote: > Hello, > > After a while the emulator gets lost from the Eclipse Devices space. > What might be wrong? (on win7) > -- > Márton -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator crashed on X86_64 Gentoo (SDK 1.6)
On Oct 18, 7:24 am, erisa wrote: > On Oct 16, 7:57 pm, Brian Hsu wrote: > > > I'm really excited about the Android 1.6 release and its new feature. > > > I installed android-sdk-1.6 on my Gentoo box using the following > > command. > > > # emerge android-sdk > > > It successfully installed and I could create an AVD named TestAVD > > using the "android" command. > > > But when I tried to run emulator with TestAVD, I got a Segmentation > > fault message and the emulator crashed. > > > Does anyone run android 1.6 emulator successfully on 64bit Linux ? > > It is running just fine on my Gentoo 64-bit set-up, but I did not use > emerge to install the sdk. > I simply downloaded it and unpacked it. Same with eclipse 3.5. Both > work fine. I assume you have checked that the java sdk is functional. And what? Brian Hsu, the problem is that Android SDK is 32bit (it is weird, that google have not provided 64 bit version). The proposed solution is to copy batch of 32bit libs to your system, but I htink, it breaks all rules - you will get amount of "forgotten" stuff in your system. Other solutions is to setup dev env on virtual 32bit machine, but it is making simple thing complex. The correct way is to get SDK source and rebuild it for 64bit system. But here seems other problem - some build tools as laso only 32bit. I hope, someone have found graceful solution for this odd problem. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Emulator just dies
Checking the log might really help u in this case! There are two ways to check the logs.. 1. If u have invoked the emulator from command line, go to the tools directory in your SDK folder @ the command prompt and do adb logcat > log.txt This log file will contain all the details right from the start up of the emulator. 2. Similarly, if u have used eclipse, go to the DDMS perspective [ Top right corner]...it will have a LogCat tab which will again give a very comprehensive report of what all has happened since the emulators' startup. Cheers! On Oct 28, 3:56 am, Eno wrote: > Can anyone recommend a good method to troubleshoot this? > > When I startup the emulator, the Android boot screen appears for a few > seconds, then the cursor stops flashing, the emulator crashes and the > windows disappears. Is there a log file or debug mode so I can see > what's going on? > > Ive already gone through several clean reinstalls just in case I > missed something but I get the same results. > Im on Mac (10.4.11). > > -- --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator permission problem
Thats it. Thank you. On 27 Oct, 10:51, RichardC wrote: > If you are developing for 1.6 you will need the WRITE_EXTERNAL_STORAGE > permission in your manifest. > > -- > RichardC > > On Oct 27, 10:24 am, Tom wrote: > > > Anyone have any ideas? > > > On 26 Oct, 13:09, Chaiyasit T wrote: > > > > your problem would ge about internet access permission, could you post the > > > error code you see in my > > > websitehttp://www.codemobiles.com/forum/viewforum.php?f=16Iwilltry to > > > help you. > > > > regards > > > > On Mon, Oct 26, 2009 at 8:01 PM, Tom wrote: > > > > > Im am trying to download a file via HTTP and save it to phone/SD card. > > > > But i keep getting the flowing error. > > > > > Parent directory of file is not writable: /sdcard/txt.txt > > > > > I have also tryed downloading straight to the phone but i keep getting > > > > the same error. Is it possible to change the permssions on the > > > > emulated phone/SD card? If so how do you do that? --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator permission problem
If you are developing for 1.6 you will need the WRITE_EXTERNAL_STORAGE permission in your manifest. -- RichardC On Oct 27, 10:24 am, Tom wrote: > Anyone have any ideas? > > On 26 Oct, 13:09, Chaiyasit T wrote: > > > your problem would ge about internet access permission, could you post the > > error code you see in my > > websitehttp://www.codemobiles.com/forum/viewforum.php?f=16Iwill try to help > > you. > > > regards > > > On Mon, Oct 26, 2009 at 8:01 PM, Tom wrote: > > > > Im am trying to download a file via HTTP and save it to phone/SD card. > > > But i keep getting the flowing error. > > > > Parent directory of file is not writable: /sdcard/txt.txt > > > > I have also tryed downloading straight to the phone but i keep getting > > > the same error. Is it possible to change the permssions on the > > > emulated phone/SD card? If so how do you do that? > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator permission problem
Anyone have any ideas? On 26 Oct, 13:09, Chaiyasit T wrote: > your problem would ge about internet access permission, could you post the > error code you see in my > websitehttp://www.codemobiles.com/forum/viewforum.php?f=16I will try to help > you. > > regards > > On Mon, Oct 26, 2009 at 8:01 PM, Tom wrote: > > > Im am trying to download a file via HTTP and save it to phone/SD card. > > But i keep getting the flowing error. > > > Parent directory of file is not writable: /sdcard/txt.txt > > > I have also tryed downloading straight to the phone but i keep getting > > the same error. Is it possible to change the permssions on the > > emulated phone/SD card? If so how do you do that? --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator permission problem
your problem would ge about internet access permission, could you post the error code you see in my website http://www.codemobiles.com/forum/viewforum.php?f=16 I will try to help you. regards On Mon, Oct 26, 2009 at 8:01 PM, Tom wrote: > > Im am trying to download a file via HTTP and save it to phone/SD card. > But i keep getting the flowing error. > > Parent directory of file is not writable: /sdcard/txt.txt > > I have also tryed downloading straight to the phone but i keep getting > the same error. Is it possible to change the permssions on the > emulated phone/SD card? If so how do you do that? > > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator on Windows7 can't connect to internet
It doesn't affect everyone. There seem to be a number of factors that lead to the symptoms. e.g. number of network adapters, number of configured DNS entries, DHCP, etc.. On Sat, Oct 24, 2009 at 1:36 PM, ade wrote: > i just tested my app yesterday on android emulator from within eclipse (on > windows 7) and it connected to the net just fine > > Sean Hodges wrote: > > Similar issues are occasionally reported in Ubuntu and Vista. You > might try running the emulator with a manually set DNS server: > > emulator -dns-server 111.222.333.444 > > > > On Sat, Oct 24, 2009 at 12:27 PM, Jeroen Beckers > wrote: > > > Hi, > > I recently updated to Windows 7 and I'm not able to connect to the internet > from within the browser on android. Is this a known issue? Has anyone > managed to get it working on windows 7? If so, what else could the problem > be? I'm not using a firewall. > > Greets, > Dauntless > > > > > > -- > ade > ... > www.ibizaA-Z.com > www.iphoneibiza.com > www.podcast-ibiza.com > www.ishopibiza.com > www.ibiza-blog.com > www.ibizawinter.com > www.ibizaa-z.com/webcam > http://twitter.com/blogibiza > Ibiza NOW - The Islands Magazine > > > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator on Windows7 can't connect to internet
i just tested my app yesterday on android emulator from within eclipse (on windows 7) and it connected to the net just fine Sean Hodges wrote: > Similar issues are occasionally reported in Ubuntu and Vista. You > might try running the emulator with a manually set DNS server: > > emulator -dns-server 111.222.333.444 > > > > On Sat, Oct 24, 2009 at 12:27 PM, Jeroen Beckers > wrote: > >> Hi, >> >> I recently updated to Windows 7 and I'm not able to connect to the internet >> from within the browser on android. Is this a known issue? Has anyone >> managed to get it working on windows 7? If so, what else could the problem >> be? I'm not using a firewall. >> >> Greets, >> Dauntless >> >> > > > > -- ade ... www.ibizaA-Z.com www.iphoneibiza.com www.podcast-ibiza.com www.ishopibiza.com www.ibiza-blog.com www.ibizawinter.com www.ibizaa-z.com/webcam http://twitter.com/blogibiza Ibiza NOW - The Islands Magazine --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator on Windows7 can't connect to internet
Similar issues are occasionally reported in Ubuntu and Vista. You might try running the emulator with a manually set DNS server: emulator -dns-server 111.222.333.444 On Sat, Oct 24, 2009 at 12:27 PM, Jeroen Beckers wrote: > Hi, > > I recently updated to Windows 7 and I'm not able to connect to the internet > from within the browser on android. Is this a known issue? Has anyone > managed to get it working on windows 7? If so, what else could the problem > be? I'm not using a firewall. > > Greets, > Dauntless > > > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator crashed on X86_64 Gentoo (SDK 1.6)
On Oct 16, 7:57 pm, Brian Hsu wrote: > I'm really excited about the Android 1.6 release and its new feature. > > I installed android-sdk-1.6 on my Gentoo box using the following > command. > > # emerge android-sdk > > It successfully installed and I could create an AVD named TestAVD > using the "android" command. > > But when I tried to run emulator with TestAVD, I got a Segmentation > fault message and the emulator crashed. > > Does anyone run android 1.6 emulator successfully on 64bit Linux ? It is running just fine on my Gentoo 64-bit set-up, but I did not use emerge to install the sdk. I simply downloaded it and unpacked it. Same with eclipse 3.5. Both work fine. I assume you have checked that the java sdk is functional. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator file transfer
http://developer.android.com/guide/developing/tools/emulator.html#copying Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 6, 10:25 am, abhi wrote: > Hi, > > Is there a way to transfer files to the Android emulator? I am > creating a media player and I'd like to transfer some files to the > emulator file system so that my media player can play it. I am using > eclipse with the Android SDK for development. > > Thanks, --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator + 1.6, cannot set location
never mind. geo fix ... was working, but i had "use network" enabled on the emulator. if this is the case, it returns the network provider, which does not give a location (returns null from getLastKnown...). On Sun, Oct 4, 2009 at 7:00 AM, Jeffrey Blattman wrote: > in 1.5, i could set a location into the emulator by telnet'ing to the > emulator's port, and doing "geo fix ". since moving to 1.6 (and > i'm on a new OS if that matters which i assume it doesn't), the telnet and > command work fine but it doesn't appear that the emulator picks it up. when > i do "my location" on google maps, it eventually comes back and says "your > location is temporaily unavailable". > > did i forget something? > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
I also had problems with Swedish characters in my Docs and Settings username path. Put the AVD somewhere else. /Markus On 20 Sep, 08:20, Roman wrote: > There are also problems with name of the path. Don't use cyrillic > symbols or complicated name, specify path in command line: > > android create avd -n my_avd -t 1 -p f:\avd > > On Sep 17, 8:43 pm, ichpa wrote: > > > > > Hi, > > > I have the same error. I tried to run emulator with Eclipse and > > Command Line without success. > > > Unfortunately, the solutions above do not work. > > > Any others ideas ? > > > On 17 sep, 07:33, Raphael wrote: > > > > Seems like it. > > > Please try one of the following: > > > > - run the "android" tool UI, select your AVD and select the "repair" > > > button if enabled. > > > > or on the command line > > > > $ android update avd --name your_avd_name > > > > R/ > > > > On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > > > > It seems like your AVD's config.ini file is missing the image.sysdir.* > > > > entries. Have you tried to create another AVD file and launch the > > > > emulator with that? > > > > > -- > > > > Jack Ha > > > > Open Source Development Center > > > > ・T・ ・ ・Mobile・ stick together > > > > The coverage you need at the price you want > > > > > The views, opinions and statements in this email are those of > > > > the author solely in their individual capacity, and do not > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > > > > wrote: > > > >> Hi, > > > >> I have a problem when I try to launch an AVD in Eclipse. > > > >> It never starts and I obtain this error message : > > > > >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found > > > >> in this AVD's configuration. > > > >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > > > >> malformed. Try re-creating it. > > > > >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > > > >> Thank you for your help. > > > >> Michaël --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator view in Eclipse
I ran into this... Don't remember where, but there is some parameter for configuring the emulator...and if it is visible by defaultFor some reason it is not set to visible. Can anybody else add? Look through emulator configurations. -Mike On Tue, Sep 22, 2009 at 2:57 PM, stanlick wrote: > > I configured a new machine today running Galileo and the Android ADT > plug-in. When I run a new project as Android Application everything > seems to work fine, except I never see the emulator! I see its PID > but nothing visual. I can kill the PID and start the emulator from > the command prompt. Any idea what is going on in Eclipse? Also, > should there be an emulator view under Window -> Show View? There is > none. > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator view in Eclipse
Press F11 key when you are in eclipse. It *should* start the emulator. - Moazzam http://moazzam-khan.com On Sep 22, 3:57 pm, stanlick wrote: > I configured a new machine today running Galileo and the Android ADT > plug-in. When I run a new project as Android Application everything > seems to work fine, except I never see the emulator! I see its PID > but nothing visual. I can kill the PID and start the emulator from > the command prompt. Any idea what is going on inEclipse? Also, > should there be an emulator view under Window -> Show View? There is > none. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
It's work. Thank you. On 20 sep, 02:20, Roman wrote: > There are also problems with name of the path. Don't use cyrillic > symbols or complicated name, specify path in command line: > > android create avd -n my_avd -t 1 -p f:\avd > > On Sep 17, 8:43 pm, ichpa wrote: > > > Hi, > > > I have the same error. I tried to run emulator with Eclipse and > > Command Line without success. > > > Unfortunately, the solutions above do not work. > > > Any others ideas ? > > > On 17 sep, 07:33, Raphael wrote: > > > > Seems like it. > > > Please try one of the following: > > > > - run the "android" tool UI, select your AVD and select the "repair" > > > button if enabled. > > > > or on the command line > > > > $ android update avd --name your_avd_name > > > > R/ > > > > On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > > > > It seems like your AVD's config.ini file is missing the image.sysdir.* > > > > entries. Have you tried to create another AVD file and launch the > > > > emulator with that? > > > > > -- > > > > Jack Ha > > > > Open Source Development Center > > > > ・T・ ・ ・Mobile・ stick together > > > > The coverage you need at the price you want > > > > > The views, opinions and statements in this email are those of > > > > the author solely in their individual capacity, and do not > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > > > > wrote: > > > >> Hi, > > > >> I have a problem when I try to launch an AVD in Eclipse. > > > >> It never starts and I obtain this error message : > > > > >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found > > > >> in this AVD's configuration. > > > >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > > > >> malformed. Try re-creating it. > > > > >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > > > >> Thank you for your help. > > > >> Michaël --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
There are also problems with name of the path. Don't use cyrillic symbols or complicated name, specify path in command line: android create avd -n my_avd -t 1 -p f:\avd On Sep 17, 8:43 pm, ichpa wrote: > Hi, > > I have the same error. I tried to run emulator with Eclipse and > Command Line without success. > > Unfortunately, the solutions above do not work. > > Any others ideas ? > > On 17 sep, 07:33, Raphael wrote: > > > > > Seems like it. > > Please try one of the following: > > > - run the "android" tool UI, select your AVD and select the "repair" > > button if enabled. > > > or on the command line > > > $ android update avd --name your_avd_name > > > R/ > > > On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > > > It seems like your AVD's config.ini file is missing the image.sysdir.* > > > entries. Have you tried to create another AVD file and launch the > > > emulator with that? > > > > -- > > > Jack Ha > > > Open Source Development Center > > > ・T・ ・ ・Mobile・ stick together > > > The coverage you need at the price you want > > > > The views, opinions and statements in this email are those of > > > the author solely in their individual capacity, and do not > > > necessarily represent those of T-Mobile USA, Inc. > > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > > > wrote: > > >> Hi, > > >> I have a problem when I try to launch an AVD in Eclipse. > > >> It never starts and I obtain this error message : > > > >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found > > >> in this AVD's configuration. > > >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > > >> malformed. Try re-creating it. > > > >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > > >> Thank you for your help. > > >> Michaël --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
I'm too. After update Eclipse plugin from 0.9.1 to 0.9.3 version, emulator didn't work. After 2 hours instal/re-intall etc., has been found solution. It's problem in no-latin user folder name (In my case - Cyrilic). Rename your user-folder or create avd in other folder. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
Hi, I have the same error. I tried to run emulator with Eclipse and Command Line without success. Unfortunately, the solutions above do not work. Any others ideas ? On 17 sep, 07:33, Raphael wrote: > Seems like it. > Please try one of the following: > > - run the "android" tool UI, select your AVD and select the "repair" > button if enabled. > > or on the command line > > $ android update avd --name your_avd_name > > R/ > > On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > > It seems like your AVD's config.ini file is missing the image.sysdir.* > > entries. Have you tried to create another AVD file and launch the > > emulator with that? > > > -- > > Jack Ha > > Open Source Development Center > > ・T・ ・ ・Mobile・ stick together > > The coverage you need at the price you want > > > The views, opinions and statements in this email are those of > > the author solely in their individual capacity, and do not > > necessarily represent those of T-Mobile USA, Inc. > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > > wrote: > >> Hi, > >> I have a problem when I try to launch an AVD in Eclipse. > >> It never starts and I obtain this error message : > > >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found > >> in this AVD's configuration. > >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > >> malformed. Try re-creating it. > > >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > >> Thank you for your help. > >> Michaël --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
Seems like it. Please try one of the following: - run the "android" tool UI, select your AVD and select the "repair" button if enabled. or on the command line $ android update avd --name your_avd_name R/ On Wed, Sep 16, 2009 at 8:14 AM, Jack Ha wrote: > > It seems like your AVD's config.ini file is missing the image.sysdir.* > entries. Have you tried to create another AVD file and launch the > emulator with that? > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > The coverage you need at the price you want > > The views, opinions and statements in this email are those of > the author solely in their individual capacity, and do not > necessarily represent those of T-Mobile USA, Inc. > > > > On Sep 16, 7:38 am, "mic.ger...@gmail.com" > wrote: >> Hi, >> I have a problem when I try to launch an AVD in Eclipse. >> It never starts and I obtain this error message : >> >> [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found >> in this AVD's configuration. >> [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is >> malformed. Try re-creating it. >> >> I obtain the same error with the 1.5r3 and 1.6r1 SDK. >> >> Thank you for your help. >> Michaël > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator in Eclipse IDE
It seems like your AVD's config.ini file is missing the image.sysdir.* entries. Have you tried to create another AVD file and launch the emulator with that? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 16, 7:38 am, "mic.ger...@gmail.com" wrote: > Hi, > I have a problem when I try to launch an AVD in Eclipse. > It never starts and I obtain this error message : > > [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found > in this AVD's configuration. > [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is > malformed. Try re-creating it. > > I obtain the same error with the 1.5r3 and 1.6r1 SDK. > > Thank you for your help. > Michaël --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator resolution
the emulator can run at a variety of resolutions. i think the default is 320x480 which is the same as the G1. i also believe that's the smallest resolution available on any planned or actual android phone. emulator -skinx On 8/28/09 3:26 PM, Steeler wrote: I assume the emulator has the same aspect ratio and number of pixels as the G1? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~--- --
[android-beginners] Re: Emulator Proxy
Hi, I don't exactly know why such things happen but you can try with different Primary Key valeues such as (101,111). In my case same thing was problem but once I change this the things are working pretty fine. Have a go & check if you also get same things or not. Aslo while setting proxy use the ip address rather that name. Regards, Swapnil Dalal. On Aug 19, 6:20 am, chengks99 wrote: > I encounter some problem when starting emulator using -http-proxy > > C:\android-sdk-windows-1.5_r2\tools>emulator -avd android1 -http-proxy > proxy.##.##.com:8080 -debug-proxy > proxy_http_setup: creating http proxy service connecting to: > proxy.##.##.com:8080 > server name 'proxy.##.##.com' resolved to XX.XX.X.X:8080 > proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): > ' > ' > > however, I still cant use internet connection via emulator's browser. > I also tried command below: > > ./adb shell sqlite3 /data/data/com.google.android.providers.settings/ > databases/settings.db “\”INSERT INTO system VALUES(99,’http_proxy’,’ > proxy.##.##.com:8080’);\”" > > but seems had no effect at all, the problem remain. Can anyone help me > on this issues? Thank you... --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Proxy
There are some proxy-related fixes in Android SDK 1.5_r3, can you test with this and report if yourproblem still persists? If it does, can you start with the -debug-proxy option and show the output here? On Tue, Aug 18, 2009 at 6:20 PM, chengks99 wrote: > > I encounter some problem when starting emulator using -http-proxy > > C:\android-sdk-windows-1.5_r2\tools>emulator -avd android1 -http-proxy > proxy.##.##.com:8080 -debug-proxy > proxy_http_setup: creating http proxy service connecting to: > proxy.##.##.com:8080 > server name 'proxy.##.##.com' resolved to XX.XX.X.X:8080 > proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): > ' > ' > > however, I still cant use internet connection via emulator's browser. > I also tried command below: > > ./adb shell sqlite3 /data/data/com.google.android.providers.settings/ > databases/settings.db “\”INSERT INTO system VALUES(99,’http_proxy’,’ > proxy.##.##.com:8080’);\”" > > but seems had no effect at all, the problem remain. Can anyone help me > on this issues? Thank you... > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator memory
no :-) though by default, you get about 96 MB of emulated RAM, which should correspond to the Dream hardware. As for speed, the emulator's speed totally depends on your host machine's own CPU power, cache size and system bus speed, at the very least, all of these which are possibly unrelated to a real device's speed. On Thu, Aug 6, 2009 at 3:37 PM, Steeler wrote: > > Does the emulator accurately mimic the speed and memory of the average > Android phone? > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator doesn't shows up
This area was a bit tricky in the past but emulator should be started correctly now. http://kenai.com/jira/browse/NBANDROID-38 - fixed is last available NBAndroid version. If it doesn't work for you look at http://kenai.com/projects/nbandroid or file a bug there. -Radim On Wed, Jul 15, 2009 at 4:36 AM, ddaarkk wrote: > > Hi, > > > I'm a beginner for android apps development.I use netbeans to develop > java apps so decided to integrat android with it. > I downloaded the nbdroid plugin and apache ant .I installed apache > ant successfully, installed the plugin, gave the path of the SDK to > netbeans.But after creating hello world application the emulator > doesn't shows up and the following message shows up > > init: > deps-jar: > Compiling 1 source file to C:\Documents and Settings\Deepak Kumar > Shukla\My Documents\NetBeansProjects\AndroidApplication4\build\classes > compile: > Updating zip: C:\Documents and Settings\Deepak Kumar Shukla\My > Documents\NetBeansProjects\AndroidApplication4\dist > \AndroidApplication4.apk_ > Using keystore: C:\Documents and Settings\Deepak Kumar Shukla\.android > \debug.keystore > Deleting: C:\Documents and Settings\Deepak Kumar Shukla\My Documents > \NetBeansProjects\AndroidApplication4\dist\AndroidApplication4.apk_ > jar: > Result: -1 > C:\Documents and Settings\Deepak Kumar Shukla\My Documents > \NetBeansProjects\AndroidApplication4\nbproject\build-impl.xml:544: > Device's package manager not ready to install new packages > BUILD FAILED (total time: 50 seconds) > > > Be ensured about the installation of apache ant as I am able to run > commands like "ant -h" from the command prompt. > Also, I am able to create new avds for any platform (android 1.1 , > 1.5;Google APIs). > > Message displayed on building the solution for the application is as > follows: > > init: > deps-clean: > Deleting directory C:\Documents and Settings\Deepak Kumar Shukla\My > Documents\NetBeansProjects\AndroidApplication4\build > Deleting directory C:\Documents and Settings\Deepak Kumar Shukla\My > Documents\NetBeansProjects\AndroidApplication4\dist > clean: > init: > deps-jar: > Created dir: C:\Documents and Settings\Deepak Kumar Shukla\My Documents > \NetBeansProjects\AndroidApplication4\build\classes > Compiling 2 source files to C:\Documents and Settings\Deepak Kumar > Shukla\My Documents\NetBeansProjects\AndroidApplication4\build\classes > compile: > Created dir: C:\Documents and Settings\Deepak Kumar Shukla\My Documents > \NetBeansProjects\AndroidApplication4\dist > Updating zip: C:\Documents and Settings\Deepak Kumar Shukla\My > Documents\NetBeansProjects\AndroidApplication4\dist > \AndroidApplication4.apk_ > Using keystore: C:\Documents and Settings\Deepak Kumar Shukla\.android > \debug.keystore > Deleting: C:\Documents and Settings\Deepak Kumar Shukla\My Documents > \NetBeansProjects\AndroidApplication4\dist\AndroidApplication4.apk_ > jar: > BUILD SUCCESSFUL (total time: 0 seconds) > > > > I'm not able to make out how to solve this problem. > Please help me out. > > Thanks. > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator not showing on screen from cmd.
On Sat, Jun 6, 2009 at 3:01 PM, timberwo7ves wrote: > > Using the "emulator -avd testavd" command, where 'testavd' is the name > of my AVD, a list of the syntax for using the emulator came up in the > cmd window, an instance of the JavaFX SDK 1.1 Device Manager started > up, but the actual emulator window did not appear, though the tutorial > says that a window should pop up. > I'm pretty sure that JavaFX SDK has nothing to do with Android :-) Maybe you have a JavaFX "emulator" program in your path, and that this is what is being called? > > ideas appreciated :) > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator not showing on screen from cmd.
would you provide the errors thrown on the screen? error statement is expected before the list of syntax is shown... On Jun 6, 6:01 pm, timberwo7ves wrote: > I tried the Eclipse plugin, got annoyed with how it wouldn't push the > new versions of the app onto the emulator with each build, so wanted > to try developing with notepad++ and cmd prompt. > > I've made an AVD, and used ant to do...something (I did this all a few > weeks back), and the next step was to run the emulator. > > Using the "emulator -avd testavd" command, where 'testavd' is the name > of my AVD, a list of the syntax for using the emulator came up in the > cmd window, an instance of the JavaFX SDK 1.1 Device Manager started > up, but the actual emulator window did not appear, though the tutorial > says that a window should pop up. > > ideas appreciated :) --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
Hi. I also got same problem to launch Android emulator with these two error messages. [2009-05-29 13:15:31 - Emulator] emulator: ERROR: unknown virtual device name: 'AVD01' [2009-05-29 13:15:31 - Emulator] emulator: could not find virtual device named 'AVD01' Even though I create AVD, but ADT seems not to recognize created AVD named 'AVD01'. Finally I got to know there is some kind of bug to ADT about ".android" folder. Created location and referenced location of ".andriod" seems to be different. For example, I'm using "D:\Documents" folder for default document folder. (OS is Windows Vista) When I installed ADT, ADT created ".android" folder on "D:\.andriod". (Actually I'm not sure why ".andriod" is created on "D:\") After I copy "D:\.andriod" folder to "C:\User\USERNAME\.android", emulator works well. Please check your location of ".andriod" folder. I hope this article is helpful to you. Thanks. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
I am also having trouble starting AVD. Im just starting to develop for android and trying to run through the hello world example. Yes I've installed Java on my machine and followed all the other steps in the setup tutorial provided in the SDK, including changing my environment path. I still get this when I try to type "android create avd -t 2 -n my_avd" in my console from the tools directory of the SDK: 'java' is not recognized as an internal or external command, operable program or batch file Anyone have any ideas? Thanks! =) - treebolt On May 7, 4:58 pm, "Jack Ha (T-Mobile USA)" wrote: > Have you installed JDK on your machine? If not, you can download it > from here: > >http://java.sun.com/javase/downloads/index.jsp > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On May 7, 6:07 am, Dennis Christy wrote: > > > When I type the following into the cmd prompt: > > c:\...android-sdk-windows-1.5_r1\tools>android > > It gives me the following message: > > 'java' is not recognizedas an internal or external command, operable > > program or batch file > > > On Thu, May 7, 2009 at 5:49 AM, Sean Hodges > > wrote: > > > > You may need to set your JAVA_HOME environment variable. > > > > What is the exact error you're getting? > > > > On Thu, May 7, 2009 at 1:40 PM, Dennis Christy > > > wrote: > > > > I'm sorry, I did not explain my problem completely. I just want to > > > > create > > > > the AVD so I can run the tutorial. Opening the terminal window in Vista > > > does > > > > not allow me to type in the create avd command, even though I have > > > changed > > > > the directory to the tools directory in the sdk. It tells me it cannot > > > run a > > > > Java app. > > > > I just want to create the AVD in whatever way I can. How do I do it? > > > > > On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo wrote: > > > > >> Hi, > > > > >> To open a terminal in Windows Vista: > > > > >> Click on "Start button" and type on the text area next command: cmd > > > > >> The "cmd" open the terminal > > > > >> Cheers. > > > > >> 2009/5/7 Dennis Christy > > > > >>> I get the following error in attempting to run the HelloAndroid > > > tutorial: > > > >>> "Failed to find an AVD compatible with target 'Android 1.5', Launch > > > >>> aborted" > > > > >>> I have read the documention and the emails in re this problem, and I > > > see > > > >>> the fix is to create an AVD by opening a terminal window and typing > > > >>> "android create avd --target 1--name myavd" > > > >>> however I cannot figure out how to open a terminal window in Windows > > > >>> Vista > > > > >>> -- > > > >>> Dennis Christy > > > > >> -- > > > >> Un saludo. > > > > >> -- > > > >> Dennis Christy > > > -- > > Dennis Christy --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator invalid command-line parameter: HVGA
Check in your Run/Debug Launch Config in the Emulator tab if you have any extra options for the emulator. If you do, clear them. That can happen when you upgrade from SDK 1.1 Also check Window > Prefs > Android > Launch > extra emulator options. R/ On Thu, May 14, 2009 at 9:52 PM, yaocl wrote: > > When I use Eclipse ADT to run a HelloWorld sample, i got the error > output: > > [2009-05-15 12:44:26 - HelloWorld] -- > [2009-05-15 12:44:26 - HelloWorld] Android Launch! > [2009-05-15 12:44:26 - HelloWorld] adb is running normally. > [2009-05-15 12:44:26 - HelloWorld] Performing helloworld.HelloWorld > activity launch > [2009-05-15 12:44:26 - HelloWorld] Automatic Target Mode: launching > new emulator with compatible AVD 'avd2' > [2009-05-15 12:44:26 - HelloWorld] Launching a new emulator with > Virtual Device 'avd2' > [2009-05-15 12:44:26 - Emulator] invalid command-line parameter: HVGA. > [2009-05-15 12:44:26 - Emulator] Hint: use '@foo' to launch a virtual > device named 'foo'. > [2009-05-15 12:44:26 - Emulator] please use -help for more information > > How to resolve this problem? > > Eclipse Platform Version: 3.4.2 Build id: M20090211-1700 > ADT version 0.9.1.v200905011822-1621 > And I had created an avd with the command line in the following: >>android create avd -t 2 -n avd2 > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
Have you installed JDK on your machine? If not, you can download it from here: http://java.sun.com/javase/downloads/index.jsp -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 7, 6:07 am, Dennis Christy wrote: > When I type the following into the cmd prompt: > c:\...android-sdk-windows-1.5_r1\tools>android > It gives me the following message: > 'java' is not recognized as an internal or external command, operable > program or batch file > > On Thu, May 7, 2009 at 5:49 AM, Sean Hodges > wrote: > > > > > > > You may need to set your JAVA_HOME environment variable. > > > What is the exact error you're getting? > > > On Thu, May 7, 2009 at 1:40 PM, Dennis Christy > > wrote: > > > I'm sorry, I did not explain my problem completely. I just want to create > > > the AVD so I can run the tutorial. Opening the terminal window in Vista > > does > > > not allow me to type in the create avd command, even though I have > > changed > > > the directory to the tools directory in the sdk. It tells me it cannot > > run a > > > Java app. > > > I just want to create the AVD in whatever way I can. How do I do it? > > > > On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo wrote: > > > >> Hi, > > > >> To open a terminal in Windows Vista: > > > >> Click on "Start button" and type on the text area next command: cmd > > > >> The "cmd" open the terminal > > > >> Cheers. > > > >> 2009/5/7 Dennis Christy > > > >>> I get the following error in attempting to run the HelloAndroid > > tutorial: > > >>> "Failed to find an AVD compatible with target 'Android 1.5', Launch > > >>> aborted" > > > >>> I have read the documention and the emails in re this problem, and I > > see > > >>> the fix is to create an AVD by opening a terminal window and typing > > >>> "android create avd --target 1--name myavd" > > >>> however I cannot figure out how to open a terminal window in Windows > > >>> Vista > > > >>> -- > > >>> Dennis Christy > > > >> -- > > >> Un saludo. > > > >> -- > > >> Dennis Christy > > -- > Dennis Christy --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
When I type the following into the cmd prompt: c:\...android-sdk-windows-1.5_r1\tools>android It gives me the following message: 'java' is not recognized as an internal or external command, operable program or batch file On Thu, May 7, 2009 at 5:49 AM, Sean Hodges wrote: > > You may need to set your JAVA_HOME environment variable. > > What is the exact error you're getting? > > > > On Thu, May 7, 2009 at 1:40 PM, Dennis Christy > wrote: > > I'm sorry, I did not explain my problem completely. I just want to create > > the AVD so I can run the tutorial. Opening the terminal window in Vista > does > > not allow me to type in the create avd command, even though I have > changed > > the directory to the tools directory in the sdk. It tells me it cannot > run a > > Java app. > > I just want to create the AVD in whatever way I can. How do I do it? > > > > On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo wrote: > >> > >> Hi, > >> > >> To open a terminal in Windows Vista: > >> > >> Click on "Start button" and type on the text area next command: cmd > >> > >> The "cmd" open the terminal > >> > >> Cheers. > >> > >> 2009/5/7 Dennis Christy > >>> > >>> I get the following error in attempting to run the HelloAndroid > tutorial: > >>> "Failed to find an AVD compatible with target 'Android 1.5', Launch > >>> aborted" > >>> > >>> I have read the documention and the emails in re this problem, and I > see > >>> the fix is to create an AVD by opening a terminal window and typing > >>> "android create avd --target 1--name myavd" > >>> however I cannot figure out how to open a terminal window in Windows > >>> Vista > >>> > >>> > >>> > >>> > >>> -- > >>> Dennis Christy > >>> > >>> > >> > >> > >> > >> -- > >> Un saludo. > >> > >> > >> > >> > >> -- > >> Dennis Christy > >> > >> >> > > > > > > -- Dennis Christy --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
You may need to set your JAVA_HOME environment variable. What is the exact error you're getting? On Thu, May 7, 2009 at 1:40 PM, Dennis Christy wrote: > I'm sorry, I did not explain my problem completely. I just want to create > the AVD so I can run the tutorial. Opening the terminal window in Vista does > not allow me to type in the create avd command, even though I have changed > the directory to the tools directory in the sdk. It tells me it cannot run a > Java app. > I just want to create the AVD in whatever way I can. How do I do it? > > On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo wrote: >> >> Hi, >> >> To open a terminal in Windows Vista: >> >> Click on "Start button" and type on the text area next command: cmd >> >> The "cmd" open the terminal >> >> Cheers. >> >> 2009/5/7 Dennis Christy >>> >>> I get the following error in attempting to run the HelloAndroid tutorial: >>> "Failed to find an AVD compatible with target 'Android 1.5', Launch >>> aborted" >>> >>> I have read the documention and the emails in re this problem, and I see >>> the fix is to create an AVD by opening a terminal window and typing >>> "android create avd --target 1--name myavd" >>> however I cannot figure out how to open a terminal window in Windows >>> Vista >>> >>> >>> >>> >>> -- >>> Dennis Christy >>> >>> >> >> >> >> -- >> Un saludo. >> >> >> >> >> -- >> Dennis Christy >> >> >> > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
I'm sorry, I did not explain my problem completely. I just want to create the AVD so I can run the tutorial. Opening the terminal window in Vista does not allow me to type in the create avd command, even though I have changed the directory to the tools directory in the sdk. It tells me it cannot run a Java app. I just want to create the AVD in whatever way I can. How do I do it? On Thu, May 7, 2009 at 5:20 AM, Marcos Lobo wrote: > Hi, > > To open a terminal in Windows Vista: > > Click on "Start button" and type on the text area next command: cmd > > The "cmd" open the terminal > > Cheers. > > 2009/5/7 Dennis Christy > > I get the following error in attempting to run the HelloAndroid tutorial: >> "Failed to find an AVD compatible with target 'Android 1.5', Launch >> aborted" >> >> I have read the documention and the emails in re this problem, and I see >> the fix is to create an AVD by opening a terminal window and typing >> "android create avd --target 1--name myavd" >> however I cannot figure out how to open a terminal window in Windows Vista >> >> >> >> >> -- >> Dennis Christy >> >> >> > > > -- > Un saludo. > > > > > -- Dennis Christy --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
Hi, To open a terminal in Windows Vista: Click on "Start button" and type on the text area next command: cmd The "cmd" open the terminal Cheers. 2009/5/7 Dennis Christy > I get the following error in attempting to run the HelloAndroid tutorial: > "Failed to find an AVD compatible with target 'Android 1.5', Launch > aborted" > > I have read the documention and the emails in re this problem, and I see > the fix is to create an AVD by opening a terminal window and typing > "android create avd --target 1--name myavd" > however I cannot figure out how to open a terminal window in Windows Vista > > > > > -- > Dennis Christy > > > > -- Un saludo. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator launch error in HelloAndroid tutorial
You want the "command prompt" in Windows. Try typing "cmd" into the launch box in the start menu. On Thu, May 7, 2009 at 1:12 PM, Dennis Christy wrote: > I get the following error in attempting to run the HelloAndroid tutorial: > "Failed to find an AVD compatible with target 'Android 1.5', Launch aborted" > > I have read the documention and the emails in re this problem, and I see the > fix is to create an AVD by opening a terminal window and typing > "android create avd --target 1--name myavd" > however I cannot figure out how to open a terminal window in Windows Vista > > > > > -- > Dennis Christy > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator not finding java/javascript html program
Did you request the INTERNET permission in your manifest? http://developer.android.com/reference/android/Manifest.permission.html#INTERNET R/ On Sun, Apr 12, 2009 at 6:30 PM, Thomas wrote: > > Hi Guys: > I've written a small javascript - html program > http://gpsmancer/android/amdroidgpstest.html to test linking to an > android platform. With this I've written as small program that uses a > java wv.loadUrl( "http://gpsmancer.com/android/androidgpstest.html";) > in a android java program. The idea is to provide GPS latitude and > longitude to an html form program. When I run the app using the > emulator I get "Web page not available". If I go to the android > emulator web browser it finds the url without difficulty. It has not > trouble finding other URLs as well. My question: do I need to set > some sort of emulator setting or permission or does the emulator not > work with java/javascript/html? For those that care about geocaching, > the game can be seen at http://gmpmancer.com . There are several > variations and I am attempting to extend the game to android. I have > a netbook version working on my ASUS netbook running winXP but the > android platform seems to be a logical extension. Some of the > versions work on IPhone, and various cellphones but in a crippled > sense. > Regards, Tom Birchmire > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator can not be powered on
SIR: I built it on linux indeed. Following question that I do not understand: or do u can give me a detail website to explain them ? 1. what`s mean of "lunch" after all? Is it used to set build enviroment, such as set TARGET_SIMULATOR=FALSE/TRUE 2. I used "make sdk", the sdk folder is generated in out/host/linux-x86/sdk/... 3. do not understand : "cd out/host/linux-x86/bin/sdk/android-sdk_eng.digit_linux-x86/tools ANDROID_PRODUCT_OUT= emulator -system ../platforms/android-1.5/images -data data.img " THX 2009/3/2 David Turner > Ahh, this is a bit complex to explain, let's cut the details here: > >- "make sdk" will not do what you think. Building the SDK should be >done on Linux or Darwin with something like "make PRODUCT-sdk-sdk". > > >- "emulator" will not do what you think either. Because you called >"lunch", the emulator will think by default that you want to run a system >image, not a sdk one. > >- By the way, building the SDK is only directly supported on Linux and >Darwin. For Windows, we have to generate a Linux installation tree, then >copy Windows-specific binaries into it for a few select tools. Don't try >this at home, seriously... > > On Linux, here's how I rebuild and immediately test the SDK: > > . build/envsetup.sh > make PRODUCT-sdk-sdk > cd out/host/linux-x86/bin/sdk/android-sdk_eng.digit_linux-x86/tools > ANDROID_PRODUCT_OUT= emulator -system ../platforms/android-1.5/images -data > data.img > > Note that my username (digit) is part of the generated sdk directory, so > YMMV. > > Hope this helps > > > On Fri, Feb 27, 2009 at 10:36 AM, beginner wrote: > >> >> Hi: >>I do as following: >> >. /build/envsetup.sh >> >lunch 1 >> >make sdk >> >emulator -datadir imagedir >> >> the emulator can be started, but it can not be powered on. Can u help >> me to resolve it? THX >> >> >> > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator can not be powered on
Ahh, this is a bit complex to explain, let's cut the details here: - "make sdk" will not do what you think. Building the SDK should be done on Linux or Darwin with something like "make PRODUCT-sdk-sdk". - "emulator" will not do what you think either. Because you called "lunch", the emulator will think by default that you want to run a system image, not a sdk one. - By the way, building the SDK is only directly supported on Linux and Darwin. For Windows, we have to generate a Linux installation tree, then copy Windows-specific binaries into it for a few select tools. Don't try this at home, seriously... On Linux, here's how I rebuild and immediately test the SDK: . build/envsetup.sh make PRODUCT-sdk-sdk cd out/host/linux-x86/bin/sdk/android-sdk_eng.digit_linux-x86/tools ANDROID_PRODUCT_OUT= emulator -system ../platforms/android-1.5/images -data data.img Note that my username (digit) is part of the generated sdk directory, so YMMV. Hope this helps On Fri, Feb 27, 2009 at 10:36 AM, beginner wrote: > > Hi: >I do as following: > >. /build/envsetup.sh > >lunch 1 > >make sdk > >emulator -datadir imagedir > > the emulator can be started, but it can not be powered on. Can u help > me to resolve it? THX > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Segmentation fault on startup if you have USB Headset Plugged in
Yes, it's a known issue on OS X and I've been unable to reproduce it with various USB headsets and OS X versions. If this happens to you, can I ask you to perform some little debugging to help understand the problem better ? If so, could you just report if using the following options makes the emulator launch appropriately: emulator -no-audio (it should work) emulator -audio-in none emulator -audio-out none thanks in advance On Thu, Feb 19, 2009 at 9:35 PM, Justin Grammens wrote: > > If you are on a Mac OSX and are getting a segmentation fault when > starting the emulator, look to see if your headset is plugged in. I > have a KOSS headset and when launching the emulator it would crash > almost immediately. > > I then tried running: > ./emulator -wipe-data > > and got this. > 2009-02-19 14:25:19.222 emulator[1670:10b] Warning once: This > application, or a library it uses, is using NSQuickDrawView, which has > been deprecated. Apps should cease use of QuickDraw and move to > Quartz. > Segmentation fault > > I then unplugged my USB headset and everything worked fine. Just want > to save people the agony of wondering what is going on. > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator suddenly won't load android.
Thanks for the suggestions. I re-installed the android SDK and it still didn't work. So I used brute force approach and used the Time Machine (I work on Mac) to rollback Eclipse and the android sdk to sometime in late Jan. It worked and I have running emulator again. But, there is still some sort of a problem, sometimes it does exactly what I reported on the original post. In fact only about 1 in 3 emulators boots correctly. I have absolutely no explanation for any of this. My work-around is to keep opening emulators until I find one that boots, then close the others. Totally Weird! On Feb 16, 9:46 pm, David Turner wrote: > This is suspicious, it seems one of your disk images has been corrupted for > some reason. > > Can you try -wipe-data to see if this resets your system to a workable state > ? > If not, it looks like your system image was corrupted. Try re-downloading > the SDK and overwrite the content of tools/lib/images > > This is very strange because the file system.img is never modified by the > emulator (it is copied into a temporary file which is then used as your / > partition when running the emulator). > > Hope this helps > > On Tue, Feb 17, 2009 at 7:14 AM, Vternal Android wrote: > > > > > For absolutely no reason I can think of (i.e. I haven't done anything > > beyond email, browsing & eclipse), the emulator stopped working. > > > Now, whenever I try and start an emulator it stops on the first no > > graphic 'android' screen and give the following message over and over > > > E/JNIHelp ( 117): Native registration unable to find class 'android/ > > debug/JNITest' > > E/AndroidRuntime( 117): Unable to register all android natives > > D/AndroidRuntime( 119): > > D/AndroidRuntime( 119): >> AndroidRuntime START > > << > > D/AndroidRuntime( 119): CheckJNI is ON > > D/AndroidRuntime( 119): --- registering native functions --- > > W/dalvikvm( 119): Unable to resolve superclass of Landroid/debug/ > > JNITest; (2740) > > W/dalvikvm( 119): Link of class 'Landroid/debug/JNITest;' failed > > > Has anyone seen this, or have a solution. > > > I am on iMac running OSX 10.5.6 and Eclipse-SDK 3.4.1 > > > Any help would be much appreciated. > > > m. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator suddenly won't load android.
This is suspicious, it seems one of your disk images has been corrupted for some reason. Can you try -wipe-data to see if this resets your system to a workable state ? If not, it looks like your system image was corrupted. Try re-downloading the SDK and overwrite the content of tools/lib/images This is very strange because the file system.img is never modified by the emulator (it is copied into a temporary file which is then used as your / partition when running the emulator). Hope this helps On Tue, Feb 17, 2009 at 7:14 AM, Vternal Android wrote: > > For absolutely no reason I can think of (i.e. I haven't done anything > beyond email, browsing & eclipse), the emulator stopped working. > > Now, whenever I try and start an emulator it stops on the first no > graphic 'android' screen and give the following message over and over > > E/JNIHelp ( 117): Native registration unable to find class 'android/ > debug/JNITest' > E/AndroidRuntime( 117): Unable to register all android natives > D/AndroidRuntime( 119): > D/AndroidRuntime( 119): >> AndroidRuntime START > << > D/AndroidRuntime( 119): CheckJNI is ON > D/AndroidRuntime( 119): --- registering native functions --- > W/dalvikvm( 119): Unable to resolve superclass of Landroid/debug/ > JNITest; (2740) > W/dalvikvm( 119): Link of class 'Landroid/debug/JNITest;' failed > > Has anyone seen this, or have a solution. > > I am on iMac running OSX 10.5.6 and Eclipse-SDK 3.4.1 > > Any help would be much appreciated. > > m. > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
I was experiencing this error on Ubuntu 8.10. If I restarted my machine, I could run the emulator once without this message and the sound would work fine. However, if I shut the emulator down and restarted it, more often than not, this warning would come up and no sound would play. I could start the emulator with the -audio oss option, and that did resolve the issue, but I was wondering what was causing it to fail on the second (or later) attempt to start the emulator. What I discovered on my machine was that the pulseaudio daemon was getting shutdown with the emulator being closed. Since that is the default sound device on my system, the emulator couldn't open it to play any sound. If I run this command from a terminal, I am able to restart the emulator without the -audio oss option and no warning. /usr/bin/pulseaudio -D --log-target=syslog (Run ps aux | grep pulseaudio after you reboot your box to see if it is running.) Eric On Jan 14, 7:44 pm, "dhuri natarajan" wrote: > Hi David Turner, > > It was useful for me. > > Thanks, > > Dhuri Nata*rajan* > > On Wed, Jan 14, 2009 at 11:00 PM, David Turner wrote: > > if you're on Linux, you should try an alternate audio backend > > use the following options to do so: > > > -audio none -> no audio > > -audio oss -> use Open Sound System (if it works, no other apps will be > > able to generate audio) > > -audio alsa -> use the Alsa Sound System > > -audio esd -> use the EsounD daemon > > -audio sdl -> use the SDL audio backend (no audio input available > > then) > > > hope this helps > > > On Wed, Jan 14, 2009 at 5:03 PM, Madhuri wrote: > > >> Hi All, > >> Whenever my emulator is launching,i am getting the warning > >> message as > > >> "emulator: warning: opening audio output failed". > > >> I tried from this site: > > >> "http://code.google.com/android/reference/emulator.html";. > > >> I am not able to rectify the error.What can i do make my audio files > >> to be enabled?. > > >> Thanks, > > >> Dhuri Natarajan. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator
Hi, Are you using eclipse? If your using eclipse3.3 or eclipse 3.4, when you run the android program, emulator will launch. But it take time to launch.(Nearly 10 mins or sometime even more) Thanks & Regards, Niran On Thu, Jan 15, 2009 at 11:20 PM, Kusuma Pabba wrote: > > Diemison Carlos wrote: > > Hello everybody, > > I am a brazilian student of Computer Engineering and > > I am learning about Android. > > > > Now I need a emulator for to text my programs, > > but I don't know where i can find. > > > > Can you help me? > > > > > > -- > > Carlos Mello > > > > > > emulator is present in android sdk >download that and you can use it for testing > >Thanks & Regards > kusuma.p > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator
Diemison Carlos wrote: > Hello everybody, > I am a brazilian student of Computer Engineering and > I am learning about Android. > > Now I need a emulator for to text my programs, > but I don't know where i can find. > > Can you help me? > > > -- > Carlos Mello > > > emulator is present in android sdk download that and you can use it for testing Thanks & Regards kusuma.p --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
sorry i forgot to mentionimg is the name of the adcard u've creatednot the folder in toolsthe path which i've specified is in my system...it may be different in urs.find the path of sdcard n specify it with -sdcard option. On 1/15/09, dhuri natarajan wrote: > > Hi Pratap, > >I am doing it in ubuntu(Linux). In my > android-sdk-linux_x86-1.0_r2/tools/. I don't see img folder in my sdk. > Instead of img folder what should, i give?. > > > Thanks, > > Dhuri Natarajan. > > On Thu, Jan 15, 2009 at 6:08 PM, PRATAP SOLAPUR > wrote: > >> Start the emulator with -sdcard Option...in eclipse u can >> configure it >> Window>preferences>Android>Launch>Default emulator options...here u need >> to specify -sdcard command n path of the sdcard...like >> >> -sdcard C:\android-sdk-windows-1.0_r2\android-sdk-windows-1.0_r2\tools\img >> and then restart n try it... >> >> >> On 1/15/09, dhuri natarajan wrote: >>> >>> Hi Pratap, >>> >>> Yes. Ofcourse, i dont have permission to read and write. But, how >>> can, i make this read and write permissions. >>> >>> Thanks, >>> >>> Dhuri Natarajan. >>> >>> On Thu, Jan 15, 2009 at 5:33 PM, PRATAP SOLAPUR < >>> pratap.sola...@gmail.com> wrote: >>> See the permissions column in the SD card in ddmsu should have read n write permissions to push n pull files. On 1/15/09, dhuri natarajan wrote: > > Hi Pratap, > > I created SDcard when i loaded emulator itself by giving the > command ./mksdcard sdcard1.iso. > > I have an SDCard in my DDMS. Where else i need to create an SDCard?. > > Thanks, > > Dhuri Natarajan. > > On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR < > pratap.sola...@gmail.com> wrote: > >> U need to create an sd card then push >> >> On 1/15/09, dhuri natarajan wrote: >> >>> Hi , >>> >>> I am not able to push any file by using DDMS. It shows the error >>> as: >>> >>> "Failed to push test_cbr.mp3 on emulator-5554: Read-only file >>> system". >>> >>> What i should do so that i can push the file into emulator into >>> sdcard. >>> >>> >>> Thanks, >>> >>> Dhuri Natarajan. >>> >>> >>> >> > > > >>> >>> >>> > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Hi Pratap, I am doing it in ubuntu(Linux). In my android-sdk-linux_x86-1.0_r2/tools/. I don't see img folder in my sdk. Instead of img folder what should, i give?. Thanks, Dhuri Natarajan. On Thu, Jan 15, 2009 at 6:08 PM, PRATAP SOLAPUR wrote: > Start the emulator with -sdcard Option...in eclipse u can > configure it > Window>preferences>Android>Launch>Default emulator options...here u need > to specify -sdcard command n path of the sdcard...like > > -sdcard C:\android-sdk-windows-1.0_r2\android-sdk-windows-1.0_r2\tools\img > and then restart n try it... > > > On 1/15/09, dhuri natarajan wrote: >> >> Hi Pratap, >> >> Yes. Ofcourse, i dont have permission to read and write. But, how >> can, i make this read and write permissions. >> >> Thanks, >> >> Dhuri Natarajan. >> >> On Thu, Jan 15, 2009 at 5:33 PM, PRATAP SOLAPUR > > wrote: >> >>> See the permissions column in the SD card in ddmsu should >>> have read n write permissions to push n pull files. >>> >>> >>> On 1/15/09, dhuri natarajan wrote: Hi Pratap, I created SDcard when i loaded emulator itself by giving the command ./mksdcard sdcard1.iso. I have an SDCard in my DDMS. Where else i need to create an SDCard?. Thanks, Dhuri Natarajan. On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR < pratap.sola...@gmail.com> wrote: > U need to create an sd card then push > > On 1/15/09, dhuri natarajan wrote: > >> Hi , >> >> I am not able to push any file by using DDMS. It shows the error >> as: >> >> "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". >> >> What i should do so that i can push the file into emulator into >> sdcard. >> >> >> Thanks, >> >> Dhuri Natarajan. >> >> >> > >>> >>> >>> >>> >> >> >> >> --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Start the emulator with -sdcard Option...in eclipse u can configure it Window>preferences>Android>Launch>Default emulator options...here u need to specify -sdcard command n path of the sdcard...like -sdcard C:\android-sdk-windows-1.0_r2\android-sdk-windows-1.0_r2\tools\img and then restart n try it... On 1/15/09, dhuri natarajan wrote: > > Hi Pratap, > > Yes. Ofcourse, i dont have permission to read and write. But, how can, > i make this read and write permissions. > > Thanks, > > Dhuri Natarajan. > > On Thu, Jan 15, 2009 at 5:33 PM, PRATAP SOLAPUR > wrote: > >> See the permissions column in the SD card in ddmsu should have >> read n write permissions to push n pull files. >> >> >> On 1/15/09, dhuri natarajan wrote: >>> >>> Hi Pratap, >>> >>> I created SDcard when i loaded emulator itself by giving the >>> command ./mksdcard sdcard1.iso. >>> >>> I have an SDCard in my DDMS. Where else i need to create an SDCard?. >>> >>> Thanks, >>> >>> Dhuri Natarajan. >>> >>> On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR < >>> pratap.sola...@gmail.com> wrote: >>> U need to create an sd card then push On 1/15/09, dhuri natarajan wrote: > Hi , > > I am not able to push any file by using DDMS. It shows the error > as: > > "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". > > What i should do so that i can push the file into emulator into sdcard. > > > > Thanks, > > Dhuri Natarajan. > > > >>> >>> >>> >> >> >> >> > > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Hi Pratap, Yes. Ofcourse, i dont have permission to read and write. But, how can, i make this read and write permissions. Thanks, Dhuri Natarajan. On Thu, Jan 15, 2009 at 5:33 PM, PRATAP SOLAPUR wrote: > See the permissions column in the SD card in ddmsu should have > read n write permissions to push n pull files. > > > On 1/15/09, dhuri natarajan wrote: >> >> Hi Pratap, >> >> I created SDcard when i loaded emulator itself by giving the command >> ./mksdcard sdcard1.iso. >> >> I have an SDCard in my DDMS. Where else i need to create an SDCard?. >> >> Thanks, >> >> Dhuri Natarajan. >> >> On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR > > wrote: >> >>> U need to create an sd card then push >>> >>> On 1/15/09, dhuri natarajan wrote: >>> Hi , I am not able to push any file by using DDMS. It shows the error as: "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". What i should do so that i can push the file into emulator into sdcard. Thanks, Dhuri Natarajan. >>> >> >> >> > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
See the permissions column in the SD card in ddmsu should have read n write permissions to push n pull files. On 1/15/09, dhuri natarajan wrote: > > Hi Pratap, > > I created SDcard when i loaded emulator itself by giving the command > ./mksdcard sdcard1.iso. > > I have an SDCard in my DDMS. Where else i need to create an SDCard?. > > Thanks, > > Dhuri Natarajan. > > On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR > wrote: > >> U need to create an sd card then push >> >> On 1/15/09, dhuri natarajan wrote: >> >>> Hi , >>> >>> I am not able to push any file by using DDMS. It shows the error as: >>> >>> "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". >>> >>> What i should do so that i can push the file into emulator into sdcard. >>> >>> >>> Thanks, >>> >>> Dhuri Natarajan. >>> >>> >>> >> > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Hi Pratap, I created SDcard when i loaded emulator itself by giving the command ./mksdcard sdcard1.iso. I have an SDCard in my DDMS. Where else i need to create an SDCard?. Thanks, Dhuri Natarajan. On Thu, Jan 15, 2009 at 4:43 PM, PRATAP SOLAPUR wrote: > U need to create an sd card then push > > On 1/15/09, dhuri natarajan wrote: > >> Hi , >> >> I am not able to push any file by using DDMS. It shows the error as: >> >> "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". >> >> What i should do so that i can push the file into emulator into sdcard. >> >> >> Thanks, >> >> Dhuri Natarajan. >> >> >> --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
U need to create an sd card then push On 1/15/09, dhuri natarajan wrote: > > Hi , > > I am not able to push any file by using DDMS. It shows the error as: > > "Failed to push test_cbr.mp3 on emulator-5554: Read-only file system". > > What i should do so that i can push the file into emulator into sdcard. > > Thanks, > > Dhuri Natarajan. > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Hi David Turner, It was useful for me. Thanks, Dhuri Nata*rajan* On Wed, Jan 14, 2009 at 11:00 PM, David Turner wrote: > if you're on Linux, you should try an alternate audio backend > use the following options to do so: > > -audio none -> no audio > -audio oss -> use Open Sound System (if it works, no other apps will be > able to generate audio) > -audio alsa-> use the Alsa Sound System > -audio esd -> use the EsounD daemon > -audio sdl -> use the SDL audio backend (no audio input available > then) > > hope this helps > > > On Wed, Jan 14, 2009 at 5:03 PM, Madhuri wrote: > >> >> Hi All, >> Whenever my emulator is launching,i am getting the warning >> message as >> >> "emulator: warning: opening audio output failed". >> >> I tried from this site: >> >> "http://code.google.com/android/reference/emulator.html";. >> >> I am not able to rectify the error.What can i do make my audio files >> to be enabled?. >> >> Thanks, >> >> Dhuri Natarajan. >> >> > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
if you're on Linux, you should try an alternate audio backend use the following options to do so: -audio none -> no audio -audio oss -> use Open Sound System (if it works, no other apps will be able to generate audio) -audio alsa-> use the Alsa Sound System -audio esd -> use the EsounD daemon -audio sdl -> use the SDL audio backend (no audio input available then) hope this helps On Wed, Jan 14, 2009 at 5:03 PM, Madhuri wrote: > > Hi All, > Whenever my emulator is launching,i am getting the warning > message as > > "emulator: warning: opening audio output failed". > > I tried from this site: > > "http://code.google.com/android/reference/emulator.html";. > > I am not able to rectify the error.What can i do make my audio files > to be enabled?. > > Thanks, > > Dhuri Natarajan. > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
choosecombo is a bash function defined inside build/envsetup.sh, so you need to run envsetup.sh first. Try this: $ cd # notice the space after the dot $ . build/envsetup.sh # choosecombo should now be defined $ choosecombo On Jan 9, 9:19 am, "plisske...@gmail.com" wrote: > Thank you. Can you please tell me where can I find the 'choosecombo' > script? > I did get the whole android source, i can't find the choosecombo > script. > > Thanks, > > On Dec 23 2008, 7:56 am, moontain wrote: > > > Thanks David for the detailed informations, they are very useful. > > > I tried following steps and the issue disappears. > > > $ . ./build/envsetup.sh > > $ choosecombo > > ./out/host/darwin-x86/bin/emulator -system ./out/target/product/generic > > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > ./development/emulator/skins -skin HVGA > > > Regards, > > Moontain > > > 2008/12/23 David Turner > > > > this is part of current changes to the SDK and the way multiple > > > configurations are going to be supported concurrently in the near future. > > > > if ANDROID_PRODUCT_OUT is defined in your environment, it should pick > > > built > > > system images automatically for you (you need to build these before > > > launching the emulator though). Simply invoking a command like > > > "choosecombo" > > > should be enough to set ANDROID_PRODUCT_OUT > > > > if ANDROID_PRODUCT_OUT is not defined, then the emulator assumes you are > > > using the SDK only (outside of the Android source tree) and expect to be > > > given the name of a "virtual machine". > > > > An Android Virtual Machine is a recently introduced concept, it > > > corresponds > > > to a directory containing persistent images for the /data partition, the > > > /cache partition, option mutable and persistent system.img etc... > > > > You can create/list/delete virtual machines on your host through the new > > > "android" program. > > > > Alternatively, if you don't have a virtual machine created, and > > > ANDROID_PRODUCT_OUT is not defined, you can get by by specifying on the > > > command-line all disk images to use with -image, -kernel, -ramdisk, -data, > > > etc... > > > > On Sun, Dec 21, 2008 at 1:50 PM, moontain wrote: > > > >> Hi, > > > >> I downloaded the platform source code and completed a build. > > >> When I trying to run the emulator with following command,error occurs. > > >> $ ./out/host/darwin-x86/bin/emulator -system > > >> ./out/target/product/generic -kernel > > >> ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > >> ./development/emulator/skins > > > >> Below is the error message. > > > >> emulator: ERROR: you must provide the name of a virtual machine to start > > >> the emulator. > > >> please see -help-vm for details. > > > >> what's wrong with the command? what's the name of the virtual machine in > > >> the case? > > > >> I'm using Mac OS X v 10.4.11, XCode v2.5 > > > >> Regards, > > >> Moontain --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
Thank you. Can you please tell me where can I find the 'choosecombo' script? I did get the whole android source, i can't find the choosecombo script. Thanks, On Dec 23 2008, 7:56 am, moontain wrote: > Thanks David for the detailed informations, they are very useful. > > I tried following steps and the issue disappears. > > $ . ./build/envsetup.sh > $ choosecombo > ./out/host/darwin-x86/bin/emulator -system ./out/target/product/generic > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > ./development/emulator/skins -skin HVGA > > Regards, > Moontain > > 2008/12/23 David Turner > > > this is part of current changes to the SDK and the way multiple > > configurations are going to be supported concurrently in the near future. > > > if ANDROID_PRODUCT_OUT is defined in your environment, it should pick built > > system images automatically for you (you need to build these before > > launching the emulator though). Simply invoking a command like "choosecombo" > > should be enough to set ANDROID_PRODUCT_OUT > > > if ANDROID_PRODUCT_OUT is not defined, then the emulator assumes you are > > using the SDK only (outside of the Android source tree) and expect to be > > given the name of a "virtual machine". > > > An Android Virtual Machine is a recently introduced concept, it corresponds > > to a directory containing persistent images for the /data partition, the > > /cache partition, option mutable and persistent system.img etc... > > > You can create/list/delete virtual machines on your host through the new > > "android" program. > > > Alternatively, if you don't have a virtual machine created, and > > ANDROID_PRODUCT_OUT is not defined, you can get by by specifying on the > > command-line all disk images to use with -image, -kernel, -ramdisk, -data, > > etc... > > > On Sun, Dec 21, 2008 at 1:50 PM, moontain wrote: > > >> Hi, > > >> I downloaded the platform source code and completed a build. > >> When I trying to run the emulator with following command,error occurs. > >> $ ./out/host/darwin-x86/bin/emulator -system > >> ./out/target/product/generic -kernel > >> ./prebuilt/android-arm/kernel/kernel-qemu -skindir > >> ./development/emulator/skins > > >> Below is the error message. > > >> emulator: ERROR: you must provide the name of a virtual machine to start > >> the emulator. > >> please see -help-vm for details. > > >> what's wrong with the command? what's the name of the virtual machine in > >> the case? > > >> I'm using Mac OS X v 10.4.11, XCode v2.5 > > >> Regards, > >> Moontain --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
I get the same thing, but I didn't know it was an error. I just click the menu button on the emulator phone, then I run my application by clicking the icon. -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Madhuri Sent: Tuesday, January 06, 2009 10:12 AM To: Android Beginners Subject: [android-beginners] Emulator Problems Hi, Whenever,i am launching my Emulator from Eclipse, i get Some Error as, "The Menu is Locked.Please press menu to release the Lock". Can any one help me out?. Thanks, Dhuri Natarajan. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator Problems
Its not an errror.its like the mobile keypad lock..to unlock press menu. On 1/6/09, Madhuri wrote: > > > Hi, > >Whenever,i am launching my Emulator from Eclipse, i get Some Error > as, > > > "The Menu is Locked.Please press menu to release the Lock". > > Can any one help me out?. > > Thanks, > > Dhuri Natarajan. > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
Hi, I tried these steps, the emulator crashes with "qemu: fatal: Bad mode 0" Any idea? Thanks Siva On Dec 23 2008, 11:38 am, Brian 1143 wrote: > I have it work like this (withbuildingSDK): > > $ [Path toAndroid]/out/host/linux-x86/bin/emulator -system [Path > toAndroid]/out/target/product/generic -kernel [Path > toAndroid]/prebuilt/android-arm/kernel/kernel-qemu -data [Path > toAndroid]/out/target/ > product/generic/userdata-qemu.img > > You should make a copy of the original userdata.img to userdata- > qemu.img pointed by the -data argument. > > On 12月23日, 上午11時39分, malmeida wrote: > > > I 'solved' the problem with the following: > > > 1. cd ; make sdk > > If you get an error about javadoc versions, have a look at the > > following thread: > >http://groups.google.com/group/android-framework/browse_thread/thread... > > > 2. unzip the sdk zip > > > 3. cd ; ./android--list target > > This will list the available 'targets'. There seems to be a single > > 'target', which has id 1. > > > 4. ./android--create --target 1 --name myconfig > > This will create a vm named 'myconfig' that corresponds to target > > 1. This vm name can be used to start the emulator: > > > 5. ./emulator -vm myconfig > > > Does anyone know if this will be the only possible way to run the > > emulator from now on? Will we ever be able to run the emulator > > straight from the output of make without having to generate the full > > sdk? > > > Marcelo > > > On Dec 22, 8:09 pm, malmeida wrote: > > > > I tried that and the problem remains. > > > > On Dec 22, 4:06 pm, Disconnect wrote: > > > > > Run: > > > > . ./build/envsetup.sh > > > > emulator > > > > > On Sun, Dec 21, 2008 at 7:50 AM, moontain > > > > wrote: > > > > > Hi, > > > > > > I downloaded the platform source code and completed a build. > > > > > When I trying to run the emulator with following command,error occurs. > > > > > $ ./out/host/darwin-x86/bin/emulator -system > > > > > ./out/target/product/generic > > > > > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > > > > ./development/emulator/skins > > > > > > Below is the error message. > > > > > > emulator: ERROR: you must provide the name of a virtual machine to > > > > > start > > > > > the emulator. > > > > > please see -help-vm for details. > > > > > > what's wrong with the command? what's the name of the virtual machine > > > > > in > > > > > the case? > > > > > > I'm usingMacOS X v 10.4.11, XCode v2.5 > > > > > > Regards, > > > > > Moontain --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
Thanks folks. I was going crazy yesterday trying to figure out if I had done something wrong. I appreciate the detailed info from you all. Ken On Dec 23, 8:56 am, moontain wrote: > Thanks David for the detailed informations, they are very useful. > > I tried following steps and the issue disappears. > > $ . ./build/envsetup.sh > $ choosecombo > ./out/host/darwin-x86/bin/emulator -system ./out/target/product/generic > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > ./development/emulator/skins -skin HVGA > > Regards, > Moontain > > 2008/12/23 David Turner > > > this is part of current changes to the SDK and the way multiple > > configurations are going to be supported concurrently in the near future. > > > if ANDROID_PRODUCT_OUT is defined in your environment, it should pick built > > system images automatically for you (you need to build these before > > launching the emulator though). Simply invoking a command like "choosecombo" > > should be enough to set ANDROID_PRODUCT_OUT > > > if ANDROID_PRODUCT_OUT is not defined, then the emulator assumes you are > > using the SDK only (outside of the Android source tree) and expect to be > > given the name of a "virtual machine". > > > An Android Virtual Machine is a recently introduced concept, it corresponds > > to a directory containing persistent images for the /data partition, the > > /cache partition, option mutable and persistent system.img etc... > > > You can create/list/delete virtual machines on your host through the new > > "android" program. > > > Alternatively, if you don't have a virtual machine created, and > > ANDROID_PRODUCT_OUT is not defined, you can get by by specifying on the > > command-line all disk images to use with -image, -kernel, -ramdisk, -data, > > etc... > > > On Sun, Dec 21, 2008 at 1:50 PM, moontain wrote: > > >> Hi, > > >> I downloaded the platform source code and completed a build. > >> When I trying to run the emulator with following command,error occurs. > >> $ ./out/host/darwin-x86/bin/emulator -system > >> ./out/target/product/generic -kernel > >> ./prebuilt/android-arm/kernel/kernel-qemu -skindir > >> ./development/emulator/skins > > >> Below is the error message. > > >> emulator: ERROR: you must provide the name of a virtual machine to start > >> the emulator. > >> please see -help-vm for details. > > >> what's wrong with the command? what's the name of the virtual machine in > >> the case? > > >> I'm using Mac OS X v 10.4.11, XCode v2.5 > > >> Regards, > >> Moontain > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
I have it work like this (with building SDK): $ [Path to Android]/out/host/linux-x86/bin/emulator -system [Path to Android]/out/target/product/generic -kernel [Path to Android]/prebuilt/ android-arm/kernel/kernel-qemu -data [Path to Android]/out/target/ product/generic/userdata-qemu.img You should make a copy of the original userdata.img to userdata- qemu.img pointed by the -data argument. On 12月23日, 上午11時39分, malmeida wrote: > I 'solved' the problem with the following: > > 1. cd ; make sdk > If you get an error about javadoc versions, have a look at the > following thread: >http://groups.google.com/group/android-framework/browse_thread/thread... > > 2. unzip the sdk zip > > 3. cd ; ./android --list target > This will list the available 'targets'. There seems to be a single > 'target', which has id 1. > > 4. ./android --create --target 1 --name myconfig > This will create a vm named 'myconfig' that corresponds to target > 1. This vm name can be used to start the emulator: > > 5. ./emulator -vm myconfig > > Does anyone know if this will be the only possible way to run the > emulator from now on? Will we ever be able to run the emulator > straight from the output of make without having to generate the full > sdk? > > Marcelo > > On Dec 22, 8:09 pm, malmeida wrote: > > > I tried that and the problem remains. > > > On Dec 22, 4:06 pm, Disconnect wrote: > > > > Run: > > > . ./build/envsetup.sh > > > emulator > > > > On Sun, Dec 21, 2008 at 7:50 AM, moontain > > > wrote: > > > > Hi, > > > > > I downloaded the platform source code and completed a build. > > > > When I trying to run the emulator with following command,error occurs. > > > > $ ./out/host/darwin-x86/bin/emulator -system > > > > ./out/target/product/generic > > > > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > > > ./development/emulator/skins > > > > > Below is the error message. > > > > > emulator: ERROR: you must provide the name of a virtual machine to start > > > > the emulator. > > > > please see -help-vm for details. > > > > > what's wrong with the command? what's the name of the virtual machine in > > > > the case? > > > > > I'm using Mac OS X v 10.4.11, XCode v2.5 > > > > > Regards, > > > > Moontain --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.
I am getting this exact same error with cupcake. I ran make and make sdk. I tried the envsetup trick (which I never had to do before - but it didn;t help). When I build the SDK I get a few warnings: TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID= Package SDK: out/host/linux-x86/sdk/android-sdk_eng.kenjkelly_linux- x86.zip SDK: warning: including GNU target out/target/product/generic/system/ bin/dbus-daemon SDK: warning: including GNU target out/target/product/generic/system/ bin/iptables SDK: warning: including GNU target out/target/product/generic/system/ lib/libdbus.so SDK: warning: including GNU target out/target/product/generic/system/ xbin/dbus-monitor SDK: warning: including GNU target out/target/product/generic/system/ xbin/dbus-send SDK: warning: including GNU target out/target/product/generic/system/ xbin/opcontrol SDK: warning: including GNU target out/target/product/generic/system/ xbin/oprofiled Any other ideas? Right now I'm programatically dead in the water. Ken Kelly On Dec 22, 7:04 pm, moontain wrote: > Thanks for the reply. > > I sourced the script, but same error occurs with emulator. > > I tried same command(./out/host/linux-x86/emulator ...) on ubuntu v8.10 and > it works fine. > > Regards > > 2008/12/23 Disconnect > > > Run: > > . ./build/envsetup.sh > > emulator > > > On Sun, Dec 21, 2008 at 7:50 AM, moontain wrote: > > >> Hi, > > >> I downloaded the platform source code and completed a build. > >> When I trying to run the emulator with following command,error occurs. > >> $ ./out/host/darwin-x86/bin/emulator -system > >> ./out/target/product/generic -kernel > >> ./prebuilt/android-arm/kernel/kernel-qemu -skindir > >> ./development/emulator/skins > > >> Below is the error message. > > >> emulator: ERROR: you must provide the name of a virtual machine to start > >> the emulator. > >> please see -help-vm for details. > > >> what's wrong with the command? what's the name of the virtual machine in > >> the case? > > >> I'm using Mac OS X v 10.4.11, XCode v2.5 > > >> Regards, > >> Moontain > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---