Re: [android-beginners] Android Emulator Internet Setting

2010-05-21 Thread David Turner
The -http-proxy option was fixed in the emulator binary that comes with SDK
2.2 (it was only broken on Windows, for the record).

On Thu, May 20, 2010 at 8:52 AM, Ali Murtaza mralimurt...@gmail.com wrote:

 The system is using proxy to connect the internet. I have tried to set the
 proxy by running query

 android-sdk-windows/tools adb.exe shell sqlite3
 /data/data/com.google.android.providers/setting/databases/setting.db INSERT
 INTO System values(111, 'http_proxy','ipaddress:portno');
 then press enter
 no msg display

 and after this i got still no connection

 please help me further


 On Thu, May 20, 2010 at 7:02 PM, Kaustubh Padegaonkar 
 thetuxra...@gmail.com wrote:

 You really dont need to do anything. The emulator should pick up your
 internat connection automatically. although you might wanna load up the
 emulator *after* you connect to the internet.

 Kaustubh Padegaonkar,
 thetuxra...@gmail.com


 On Tue, May 18, 2010 at 3:00 PM, Ali Murtaza mralimurt...@gmail.comwrote:

 I am using android 2.0 and in this i am unable to connect the internet,
 the main confusion is that the 3G sign can be see on the status bar.
 Please help me I am really unable to set it, define me all steps.

 In attach picture, it is screen shot of my emulator when i am run google
 simple browser on it.
 please help me


 --
 Ali Murtaza

 BCSF06M021
 Research Assistant
 Data Virtulization Ware House
 PUCIT, Lahore, Pakistan
 ali.murt...@pucit.edu.pk

 --
 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.comandroid-beginners%2bunsubscr...@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.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




 --
 Ali Murtaza

 BCSF06M021
 Research Assistant
 Data Virtulization Ware House
 PUCIT, Lahore, Pakistan
 ali.murt...@pucit.edu.pk

 --
 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.comandroid-beginners%2bunsubscr...@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


Re: [android-beginners] ubuntu 10.04 emulator not launching

2010-05-05 Thread David Turner
can you start the emulator from the command line properly (e.g. :
$ANDROID_SDK_ROOT/tools/emulator -avd name)

Can you try with the -verbose option to see if it dumps useful information,
there is also -debug-all which is going to dump a *lot* of stuff.

It looks like the emulator has problems connecting to your X server. How is
your DISPLAY environment variable defined ?

On Mon, May 3, 2010 at 12:30 AM, riazrahaman rahaman.r...@gmail.com wrote:

 Hi,

 Was not able to launch the emulator on Ubuntu 10.04. Getting the below
 error in eclipse. Is there a work around or a fix for this?

 [2010-05-02 23:35:34 - HelloWorld] Automatic Target Mode: Unable to detect
 device compatibility. Please select a target device.
 [2010-05-02 23:35:39 - HelloWorld] Launching a new emulator with Virtual
 Device 'android15'
 [2010-05-02 23:35:42 - HelloWorld] New emulator found: emulator-5554
 [2010-05-02 23:35:42 - HelloWorld] Waiting for HOME
 ('android.process.acore') to be launched...
 [2010-05-02 23:35:43 - Emulator] XIO:  fatal IO error 11 (Resource
 temporarily unavailable) on X server :0.0
 [2010-05-02 23:35:43 - Emulator]   after 7 requests (6 known processed)
 with 0 events remaining.
 [2010-05-02 23:35:43 - HelloWorld] emulator-5554 disconnected! Cancelling
 'com.paad.chapter2.HelloWorld activity launch'!

 Is this a known issue with the 10.04 Lucid lynx ubuntu?


 Regards,
 Riaz Ur Rahaman

 --
 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.comandroid-beginners%2bunsubscr...@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


Re: [android-beginners] can't compile opencore

2010-02-26 Thread David Turner
please do not cross post.

you should try the android-porting forum instead.

On Fri, Feb 26, 2010 at 8:13 AM, zeeshan genx...@gmail.com wrote:

 Hi Dear,
 i am trying to compile opencore module separatley at cygwin.

 downloaded the source code
 followed steps in startup file
 ---
  cd opencore/build_config/opencore_dynamic
source setup.sh opencore
make -j
 --

 error:
 /cygdrive/c/opencore/extern_tools_v2/bin/linux/make: /cygdrive/c/
 opencore/extern
 _tools_v2/bin/linux/make: cannot execute binary file


 can anybody help how can i compile opencore?

 --
 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.comandroid-beginners%2bunsubscr...@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


Re: [android-beginners] Unable to configure emulator network

2010-01-27 Thread David Turner
can you send me the output of emulator -proxy yourproxy -debug-proxy -avd
youravd so I can look at it ?

On Tue, Jan 26, 2010 at 2:28 AM, Pebble malonsolo...@gmail.com wrote:

 Hi all!

 I'm using the Android SDK r3 under Windows to develop my application.
 The problem is that I'm not able to connect to the internet through
 the emulator. As I access the internet through a proxy server, I use
 the -http-proxy option when I launch the emulator.

 Any ideas? Perhaps, the emulator doesn't support my proxy server.

 Thanks in advance

 --
 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.comandroid-beginners%2bunsubscr...@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 Proxy

2009-08-19 Thread David Turner
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 chengk...@gmail.com wrote:


 I encounter some problem when starting emulator using -http-proxy

 C:\android-sdk-windows-1.5_r2\toolsemulator -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: Android SDK 2.0?

2009-08-19 Thread David Turner
Actually, Andy Rubin has now officially declared that:
the Donut branch will be used for Android 1.6 releases
the Eclair branch will be used for Android 2.0 releases

http://www.reuters.com/article/internetNews/idUSTRE56U5XU20090801

http://www.reuters.com/article/internetNews/idUSTRE56U5XU20090801hope that
helps

On Wed, Aug 19, 2009 at 1:36 PM, Mark Murphy mmur...@commonsware.comwrote:


 Andrés G. Aragoneses wrote:
  Is Flash a proprietary component as well or is the plugin also included
  in Android?

 Flash is rather proprietary. It is not in the Android open source project.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 _Beginning Android_ from Apress Now Available!

 


--~--~-~--~~~---~--~~
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: Why so slow

2009-07-22 Thread David Turner
And what does your application exactly?

On Tue, Jul 21, 2009 at 7:15 PM, yves yves5...@googlemail.com wrote:


 Hi,

 Iam developing on Eclipse and I already set the Emulator Parameter to
 EDGE-Speed.

 The Problem is, the application runs fast on my Emulator but very slow
 on my device.

 Thanks
 Yves
 


--~--~-~--~~~---~--~~
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: Is it permitted to run GPLv2 programs on Android?

2009-07-14 Thread David Turner
The problem related to what kind of distribution you envision for your
program?.

If it's a program distributed separately from the Android system image (e.g.
through Market, or your own website), then you can do whatever you want
as long as you make the sources available under the GPL too.

If you want the program to be part of the Android system image, chances that
it will be accepted by the Android team as part of the standard platform are
extremely small (MIT / BSD / Apache licenses are strongly preferred).

On Tue, Jul 14, 2009 at 10:49 AM, Numaguchi Daisuke
d.numagu...@gmail.comwrote:


 Hello.

 I have a GPLv2 package which was originaly designed for PC and servers
 (and written by me). I want to make that package available on Android.
 Programs in that package are executed from /system/bin/sh or /init.rc
 and do not share memory with other applications.
 Information is passed via command line arguments and stdio.

 I can release that package for Android as GPLv2 if it is permitted to
 run GPLv2 programs on Android.
 Is it permitted to run GPLv2 programs on Android?

 (In other words, do I have to rewrite the package from the scratch in
 order to make the package not restricted by GPL?)

 Regards.

 


--~--~-~--~~~---~--~~
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: fastboot on emulator

2009-07-10 Thread David Turner
no fastboot doesn't work with the emulator at all.

(fastboot is talking to the hardware bootloader that simply doesn't exist on
the emulator.
Instead, the emulator directly loads a Linux kernel image and starts it
directly...)

On Thu, Jul 9, 2009 at 3:48 PM, pan.gaoy...@gmail.com pan.gaoy...@gmail.com
 wrote:


 Hi,

 The adb devices can detect the emulator but fastboot devices can
 not, does the fastboot work on emulator? if yes, how to enter into
 fastboot mode?

 


--~--~-~--~~~---~--~~
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: problem starting emulator from command line

2009-07-06 Thread David Turner
that's pretty weird. Can you tell us what is the output of emulator -avd
my_avd -debug-all before the crash?

On Mon, Jul 6, 2009 at 5:18 PM, greg sep...@eduneer.com wrote:


 Although I can reliably start the android emulator from within Eclipse
 (version 3.4.2), I would like to use some emulator options (e.g., -
 scale) that don't appear to be available from within Eclipse.  However
 I get a Microsoft Windows error dialog displaying emulator.exe has
 stopped working whenever I try to start the emulator using the
 command line emulator -avd my_avd

 If I disconnect the network, in addition to the emulator.exe has
 stopped working dialog, the command line response is Warning: No DNS
 servers found.  Note that the android emulator starts avd my_avd
 reliably from within Eclipse with or without a network connection.

 This problem is occurring on the android 1.5 platform running on 64-
 bit Vista.

 There was a reference to a seemingly similar problem at

 http://groups.google.com/group/android-developers/browse_thread/thread/dcbe8e8fb305982c/b29565044e5abb51?show_docid=b29565044e5abb51
 ,
 but I didn't see any resolution to it.

 By the way, I think the android development environment and
 documentation is very impressive, especially considering how new it
 is.  I did happen to notice a couple typos in the SDK's emulator
 documentation at
 http://developer.android.com/guide/developing/tools/emulator.html:

 -- files tht you want
 -- control the its behaviors

 Best regards,
 Greg
 


--~--~-~--~~~---~--~~
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: Is the emulator good enough for production?

2009-07-02 Thread David Turner
You should definitely try to test on a real device before that.

The emulator will never give you more than an approximate experience with
regards to physical user experience (e.g. touch screen, track ball,
keyboard,
etc...)

On Thu, Jul 2, 2009 at 6:41 AM, ayush ayushv2...@gmail.com wrote:


 a few more thoughts in favour of actual on-device testing rather than
 just emulators:

 1) what happens to ur game when it is interrupted by an incoming
 call / SMS?
 2) the touch events in the emulator are triggered by mouse-clicks.
 however on the device the user will use his fingers ... finger touches
 have far lower precision than mouse-clicks
 3) the performance of ur code could be much slower on the device than
 on the emulator. u'll need to optimize accordingly


Absolutely !


 4) the emulator has a (physical dimensions) larger screen. this does
 not give u a true picture of what the graphics appear on a real
 device. i'd say this is very important especially for a game


Again, that is true. Note however that there is a simple way to rescale the
emulator's window to fit the physical dimensions of a real device. Use the
following:

   emulator -scale 110dpi

If your physical monitor's real resolution is 110dpi (adjust accordingly).
This will resize the window so that the size of the emulated framebuffer
matches the physical size of a real device, which will give you a good idea
of how large/small your buttons and views will appear to a normal user.

You can also do that dynamically through the console with the window scale
command  (see help window scale for details).

Hope this helps






 On Jul 1, 5:51 pm, Carl carl...@gmail.com wrote:
  I have written a game for Android and have tested it on the emulator -
  everything seems to be perfect.
  It is a simple game with few graphics and a few touch-based commands.
 
  I'd like to release it on the market (paid). I have not yet tested it
  on any devices though, as I am waiting for the HTC Hero to be released
  so I can buy a device.
 
  Should I wait for the release or is the emulator reliable enough?
 


--~--~-~--~~~---~--~~
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: creating an avd

2009-07-02 Thread David Turner
The command tries to create the file C:\Documents and
Settings\Sam\.android\avd\helloIan.ini
which contains the AVD's configuration. The error reported is a bit strange
but could be implied
by the fact that the directory .android or .android\avd could not be created
in your HOME directory
(which should be C:\Documents and Settings\Sam).

Try defining ANDROID_SDK_HOME in your environment to point to a different
location, i.e.
one that doesn't contain any spaces in it. This will instruct the SDK tools
to use a different home
directory to store the AVDs and other config information.

Let us know if this works.

On Tue, Jun 30, 2009 at 7:05 AM, ain kodeni...@gmail.com wrote:


 Ihave looked around on the internet for a solution to this. I have
 tried creating and avd but this does not seem to work. I have been
 looking around online for 4 hours and all the solutions out there I
 have tried and non seems to be working.

 when I try to create and avd using the following command

 C:\Documents and Settings\Sam\Desktop\dotEXE\android-sdk-
 windows-1.5_r2\toolsandroid create avd -n hellosam -t 1

 I get the following error: Error: C:\Documents and Settings\Sam
 \.android\avd\helloIan.ini (The system cannot find the path specified)

 This is what am using.
 I am using the latest SDk in windows and Ihave the Eclipese Galileo.
 This is on windows XP. I am really stumped. I have restarted my pc but
 nothing is working.

 I have pulled out my hair enough.I am my wits end. I try to avoid
 posting because I usually find my answer by looking through the forums
 but so far nothing is working.

 


--~--~-~--~~~---~--~~
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: How to install and run applications from within another application?

2009-07-02 Thread David Turner
On Wed, Jul 1, 2009 at 6:22 PM, calleandersson
calleanders...@hotmail.comwrote:


 Is there somehow possible to simulate that an application has system
 rights in the Emulator?


No, and very intentionally.





--~--~-~--~~~---~--~~
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: G1 vs Emulator

2009-06-24 Thread David Turner
adb -e    to talk to the emulator (only works if there is a single
emulator instance running)
adb -d ...to talk to a real device (only works if there is a single
physical device connected)
adb -s serial ...  to talk to a specific device  (where serial is either
emulator-5554 or HT850GZ54711)

On Wed, Jun 24, 2009 at 7:01 PM, Neil Hendrick mojote...@gmail.com wrote:

 Droids,

 I have managed to set up my G1 so that it is recognized by the system when
 it is connected:

 mojote...@kobo:~$ adb devices
 List of devices attached
 HT850GZ54711 device
 emulator-5554 device

 but when I try to run my application, I do not get the option to run on the
 device. There is no device chooser, it goes straight to the emulator. Any
 thoughts?


 --
 ~Neil

 Neil Hendrick
 Bill Cosby http://www.brainyquote.com/quotes/authors/b/bill_cosby.html - A 
 word to the wise ain't necessary - it's the stupid ones that need the
 advice.
 


--~--~-~--~~~---~--~~
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.

2009-06-09 Thread David Turner
On Sat, Jun 6, 2009 at 3:01 PM, timberwo7ves timberwo7...@gmail.com 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: android' is not recognized as an internal or external command,

2009-06-09 Thread David Turner
The android tool was added in SDK 1.5, so it's not part of previous
releases

On Tue, Jun 9, 2009 at 3:25 PM, Yogeshbansal canceryogi1...@gmail.comwrote:


 Hi Team,

 I am a newbie to this forum. I am trying to run my first android
 program. I have set everything as pe the instruction. when I tried to
 create AVD for command prompt i got the below error.

 D:\Project_Work\android-sdk-windows-1.1_r1\android-sdk-
 windows-1.1_r1\toolsand
 oid
 'android' is not recognized as an internal or external command,
 operable program or batch file.

 Please guide me on this

 thanks
 yogesh

 


--~--~-~--~~~---~--~~
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: Bug in Emulator Data and Time settings?

2009-06-03 Thread David Turner
that's really weird; I'm still interested to know in which timezone you are
when the problem appears, and what -debug-timezone outputs though.
On Wed, Jun 3, 2009 at 4:29 PM, Lewis Z. lzh...@gmail.com wrote:


 I don't know why the Automatic Mode gives me complete wrong time. So I
 chose to use manual mode. The Select Time Zone window shows all GMT
 values off by one, as shown here,

 [img]http://www.pbase.com/3stones/image/113326113.jpg[/img]

 It's not big deal for me, just very annoying.


 On Jun 2, 5:53 pm, David Turner di...@android.com wrote:
  Can you tell us in which exact time zone you're located, and which
 platform
  you're running on?
 
  You can try using -debug-timezone to see what it auto-detected by the
  emulator.
  You can also try the -timezone option to correct it (see -help-timezone)
 
  Hope this helps
 
  On Tue, Jun 2, 2009 at 6:36 PM, Lewis Z. lzh...@gmail.com wrote:
 
   It seems to me that the time zone settings are messed up. For example,
   Central Time Zone is GMT-5:00? It should be GMT-6:00.
 


--~--~-~--~~~---~--~~
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: Bug in Emulator Data and Time settings?

2009-06-02 Thread David Turner
Can you tell us in which exact time zone you're located, and which platform
you're running on?

You can try using -debug-timezone to see what it auto-detected by the
emulator.
You can also try the -timezone option to correct it (see -help-timezone)

Hope this helps

On Tue, Jun 2, 2009 at 6:36 PM, Lewis Z. lzh...@gmail.com wrote:


 It seems to me that the time zone settings are messed up. For example,
 Central Time Zone is GMT-5:00? It should be GMT-6:00.
 


--~--~-~--~~~---~--~~
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: Android emulator starts with a dialog promoting what is the HOME

2009-05-28 Thread David Turner
emulator @avdname -wipe-data is your friend :-) no need to reinstall

On Thu, May 28, 2009 at 10:37 AM, Sean Hodges
seanhodge...@googlemail.comwrote:


 It sounds like you installed an app on the emulator that declares
 itself as a home app to Android.

 Usually you have a checkbox at the bottom of the dialog that allows
 you to tell it not to ask again. Worst case scenario; just ditch the
 whole emulator and re-install it.

 I'm not sure on how you reset it (maybe a factory reset in the
 Settings like the phone?), but assuming you've kept everything backed
 up, it might be easier just to start with a fresh emulator instance.



 On Wed, May 27, 2009 at 10:31 PM, Meryl Silverburgh
 silverburgh.me...@gmail.com wrote:
 
  Hi,
 
  Why sometimes when I start Android emulator starts with a dialog
  promoting what is the HOME?
  How can I make that dialog goes away? And how can I reset the android
  emulator so that the dialog appears again?
  I have tried starting the emulator with '-wipe-data', that does not
  prompt me back that dialog?
 
  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: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
then it means the emulator could not find your X11 library (libX11.so.6)
through dlopen().
this is really weird, what kind of setup are you using ?

On Wed, May 27, 2009 at 7:43 AM, arunjith g arunj...@gmail.com wrote:

 hi
  I have no enviornment variable as SDL_VIDEODRIVER. Im running the emulator
 in a ubuntu machine (32 bit) . I have installed my sdl libraries properly.
 please suggest me how to proceed


 On Wed, May 27, 2009 at 2:25 AM, David Turner di...@android.com wrote:

 Try unsetting SDL_VIDEODRIVER in your environment before launching the
 emulator.
 That should generally fix the issue. If not, please tell me more about
 your system.


 On Tue, May 26, 2009 at 7:09 AM, arunjith arunj...@gmail.com wrote:


 Hi

  When im trying to  run the emulator i have this following error
 comes
  SDL init failure, reason is: No available video device. I have
 updated and installed all the necessary packages . i tried using both
 java5 and java6 . Can any one guide me , how to solve this 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: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
One possibility is that the emulator is a 32-bit program that expects to use
the 32-bit libX11 shared library. You might want to install this if you run
on a 64-bit system.

On Wed, May 27, 2009 at 11:52 PM, David Turner di...@android.com wrote:

 then it means the emulator could not find your X11 library (libX11.so.6)
 through dlopen().
 this is really weird, what kind of setup are you using ?


 On Wed, May 27, 2009 at 7:43 AM, arunjith g arunj...@gmail.com wrote:

 hi
  I have no enviornment variable as SDL_VIDEODRIVER. Im running the
 emulator in a ubuntu machine (32 bit) . I have installed my sdl libraries
 properly. please suggest me how to proceed


 On Wed, May 27, 2009 at 2:25 AM, David Turner di...@android.com wrote:

 Try unsetting SDL_VIDEODRIVER in your environment before launching the
 emulator.
 That should generally fix the issue. If not, please tell me more about
 your system.


 On Tue, May 26, 2009 at 7:09 AM, arunjith arunj...@gmail.com wrote:


 Hi

  When im trying to  run the emulator i have this following error
 comes
  SDL init failure, reason is: No available video device. I have
 updated and installed all the necessary packages . i tried using both
 java5 and java6 . Can any one guide me , how to solve this 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: SDL init failure, reason is: No available video device

2009-05-26 Thread David Turner
Try unsetting SDL_VIDEODRIVER in your environment before launching the
emulator.
That should generally fix the issue. If not, please tell me more about your
system.

On Tue, May 26, 2009 at 7:09 AM, arunjith arunj...@gmail.com wrote:


 Hi

  When im trying to  run the emulator i have this following error
 comes
  SDL init failure, reason is: No available video device. I have
 updated and installed all the necessary packages . i tried using both
 java5 and java6 . Can any one guide me , how to solve this 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: Porting Qt applications on Android

2009-05-18 Thread David Turner
no

On Mon, May 18, 2009 at 11:05 AM, Vaidya vaidya...@gmail.com wrote:

 Hi,
 Is it possible to port an application (C/C++ platform) developed using Qt
 on Android?
 Can the C shared libraries (.so files) be loaded in Android?

 Regards,
 Vaidya

 


--~--~-~--~~~---~--~~
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: android emulator window hangs when closing window

2009-05-15 Thread David Turner
this is probably to audio. Can you tell me if starting the emulator with
emulator -audio none does solve the issue.
If is does, can you try the following values instead of none:  alsa,
oss, sdl and esd and let me know which work, and which do not.

Note: in certain cases, the EsounD daemon (or equivalent) will go into a
weird infinite loop and freeze the desktop when
quitting the emulator. This generally happens on Ubuntu 6.04, which is
pretty old now.

On Thu, May 14, 2009 at 3:49 PM, jimbo jim.basila...@gmail.com wrote:


 Hi,

 After installing android SDK 1.5 r1 and the ADT plugin for Eclipse
 Ganymede 3.4.2 on Ubuntu 32 bit 9.04 (Jaunty), I find that after
 running any android application (with no problems), that I am unable
 to terminate the emulator instance by closing the window. It just
 hangs and I have to call kill -9 to terminate the process. This
 happens irrespective of whatever AVD target I choose (1.1 or 1.5).

 The same happens even if I run the emulator from a terminal (by
 passing eclipse altogether) by calling 'emulator -avd myavd -netspeed
 full -netdelay none' . Adding the -verbose and -logcat and -show-
 kernel flags does not help resolve the issue.

 I have looked widely for a solution on the Web but this problem does
 not appear much.

 Any ideas on how to resolve this or is there another way to terminate
 the emulator instance?

 Thanks,
 Jim

 


--~--~-~--~~~---~--~~
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: -http-proxy can't work in emulator with 1.5 sdk

2009-05-07 Thread David Turner
2009/5/7 a druid klausf...@gmail.com


 I think the emulator should be fixed, especially as the doc
 suggests using -htt-proxy.


Absolutely, and I'm working on it, I was just clarifying that the incorrect
TCP checksums cannot be caused by the emulator.



 Additionally the dog suggests to use the switch -verbose-proxy , which
 doesn't work.


it's -debug-proxy



 On May 6, 1:36 pm, Fabien Marchewka fura...@gmail.com wrote:
  solution here :
 http://groups.google.com/group/android-developers/browse_thread/threa...
  work for me.
  But it will be fine to correct the error with -http-proxy
 
  On 5 mai, 18:23, David Turner di...@android.com wrote:
 
   2009/5/5 stevensli stevens...@gmail.com
 
The version of Windows I am running is XP SP3, 32bit.  Can this
problem be solved by adjusting the configuation of the emulator?
Thanks!
 
   I'm just speculating at the moment, but I doubt it's related to the
   emulator's configuration.
 
   Essentially, the emulator doesn't deal very well with certain
 networking
   setups at the moment
   due to changes in its socket code that happened between 1.1 and 1.5. I
   suspect some interaction
   with the IPv6 localhost and a few other things.
 
   I could be wrong though, but I'll investigate.
 
On May 5, 11:50 pm, David Turner di...@android.com wrote:
 thanks for posting the details, they are helpful. Which exact
 version of
 Windows are you running ? XP or Vista, 32 or 64 bit ?
 
 thanks in advance
 
 On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com
 wrote:
 
  The -http-proxy works fine for emulator with 1.1r1 sdk, but not
 work
  for emulator with 1.5r1 sdk. I use those emulator on the same
  development computer. The following is debug info:
 
  D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso
 -http-proxy
  127.0.0.1:58
  65 -debug-proxy
  proxy_http_setup: creating http proxy service connecting to:
  127.0.0.1:5865
  server name '127.0.0.1' resolved to 127.0.0.1:5865
  proxy_http_setup: creating HTTP Proxy Service Footer is (len=2):
  '
  '
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
  http_service_connect: trying to connect to 64.233.189.104:80
  http_service_connect: using HTTP rewriter
  tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown
 error
 
 
 


--~--~-~--~~~---~--~~
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: Android 1.5 SDK now available

2009-05-06 Thread David Turner
From the error:

org.eclipse.swt.SWTError: Not implemented [multiple displays]

It looks like you have multiple displays and that the SWT implementation on
your platform doesn't support them yet. Huhu :-(

On Tue, May 5, 2009 at 10:23 PM, icedfusion icedfus...@googlemail.comwrote:


 I am also having the same problem - wish i hadn't updated now.. I
 even reinstalled it all to make sure I hadn't done anything wrong and
 I get the error.

 From my .log:

 !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-05-05 21:18:04.826
 !MESSAGE The

 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector'
 extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the
 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension
 point will be ignored because it contains invalid attributes.

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.970
 !MESSAGE pingUsageServer failed
 !STACK 0
 org.eclipse.swt.SWTError: Not implemented [multiple displays]
at org.eclipse.swt.SWT.error(SWT.java:3803)
at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712)
at org.eclipse.swt.widgets.Display.create(Display.java:842)
at org.eclipse.swt.graphics.Device.init(Device.java:154)
at org.eclipse.swt.widgets.Display.init(Display.java:471)
at org.eclipse.swt.widgets.Display.init(Display.java:462)
at com.android.sdkstats.SdkStatsService.getUserPermission
 (SdkStatsService.java:278)
at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:
 126)
at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer
 (Unknown Source)
at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-05 21:18:08.990
 !MESSAGE pingUsageServer failed
 !STACK 0
 org.eclipse.swt.SWTError: Not implemented [multiple displays]
at org.eclipse.swt.SWT.error(SWT.java:3803)
at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712)
at org.eclipse.swt.widgets.Display.create(Display.java:842)
at org.eclipse.swt.graphics.Device.init(Device.java:154)
at org.eclipse.swt.widgets.Display.init(Display.java:471)
at org.eclipse.swt.widgets.Display.init(Display.java:462)
at com.android.sdkstats.SdkStatsService.getUserPermission
 (SdkStatsService.java:278)
at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:
 126)
at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer
 (Unknown Source)
at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



 On May 4, 8:27 pm, gritty k...@uoregon.edu wrote:
  I am also having this problem and I don't have a clue what to do about
  it.
 
  On May 2, 4:27 pm, david.lygagnon david.lygag...@gmail.com wrote:
 
   Hi,
 
   I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64
   and eclipse version: 3.4.2.
 
   On launching eclipse after installing the Android plugin, I get the
   following error:
 
   Multiple problems have occured:
   pingUsageServer failed
   Android sdk ping
 
   Does anyone have a solution to this problem?
 
   David
 
   On Apr 27, 12:41 pm, Javi javierjc1...@gmail.com wrote:
 
I have problems with the new sdk (1.5),
 
A dialog show with a error a and suggest me to exit the workbench.
Other dialog appear with a pingUsageServer failed:
Android SDK Ping
pingUsageServer failed
 
The .log file says:
 
!SESSION 2009-04-27 21:31:38.570
 ---
eclipse.buildId=M20090211-1700
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES
Command-line arguments:  -os linux -ws gtk -arch x86_64
 
!ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358
!MESSAGE Failed to load properties file for project 'WifiScan'
 
!ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330
!MESSAGE pingUsageServer failed
!STACK 0
org.eclipse.swt.SWTError: Not implemented [multiple displays]
at org.eclipse.swt.SWT.error(SWT.java:3803)
at
 org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712)
at org.eclipse.swt.widgets.Display.create(Display.java:842)
at org.eclipse.swt.graphics.Device.init(Device.java:154)
at org.eclipse.swt.widgets.Display.init(Display.java:471)
at org.eclipse.swt.widgets.Display.init(Display.java:462)
at
 com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278)
at
 com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126)
at
 com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown
Source)
at 

[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk

2009-05-06 Thread David Turner
the emulator is just a normal program that uses the standard Winsock
interface to access the network. If you have TCP checksum errors on a real
network, this can only come from buggy network drivers, I'm afraid, since
there is no way the emulator itself is generating these.
That's really weird...

2009/5/6 Fabien Marchewka fura...@gmail.com


 Same problem on windows XP 32 bits SP3. No firewall and no antivirus,
 antispam ...
 I have trace but it seems to be not supported by traceview.
 I have packets with incorrect tcp checksum from my host to proxy host.
 host ip : 172.16.124.133
 proxy ip : 172.18.251.23
 log with wireshark :
 No. TimeSourceDestination
 Protocol Info
  1 0.00172.16.124.133172.18.251.23
 TCP  isg-uda-server  http-alt [ACK] Seq=1 Ack=1 Win=65535 [TCP
 CHECKSUM INCORRECT] Len=0

 Frame 1 (54 bytes on wire, 54 bytes captured)
Arrival Time: May  6, 2009 10:24:25.741972000
[Time delta from previous captured frame: 0.0 seconds]
[Time delta from previous displayed frame: 0.0 seconds]
[Time since reference or first frame: 0.0 seconds]
Frame Number: 1
Frame Length: 54 bytes
Capture Length: 54 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:tcp]
[Coloring Rule Name: Checksum Errors]
[Coloring Rule String: cdp.checksum_bad==1 || edp.checksum_bad==1
 || ip.checksum_bad==1 || tcp.checksum_bad==1 || udp.checksum_bad==1]
 Ethernet II, Src: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6), Dst:
 Oneacces_44:73:f5 (00:12:ef:44:73:f5)
Destination: Oneacces_44:73:f5 (00:12:ef:44:73:f5)
Address: Oneacces_44:73:f5 (00:12:ef:44:73:f5)
 ...0     = IG bit: Individual address
 (unicast)
 ..0.     = LG bit: Globally unique
 address (factory default)
Source: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6)
Address: HewlettP_1d:a7:b6 (00:14:38:1d:a7:b6)
 ...0     = IG bit: Individual address
 (unicast)
 ..0.     = LG bit: Globally unique
 address (factory default)
Type: IP (0x0800)
 Internet Protocol, Src: 172.16.124.133 (172.16.124.133), Dst:
 172.18.251.23 (172.18.251.23)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN:
 0x00)
 00.. = Differentiated Services Codepoint: Default (0x00)
 ..0. = ECN-Capable Transport (ECT): 0
 ...0 = ECN-CE: 0
Total Length: 40
Identification: 0xb8a8 (47272)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 128
Protocol: TCP (0x06)
Header checksum: 0x7267 [correct]
[Good: True]
[Bad : False]
Source: 172.16.124.133 (172.16.124.133)
Destination: 172.18.251.23 (172.18.251.23)
 Transmission Control Protocol, Src Port: isg-uda-server (2551), Dst
 Port: http-alt (8080), Seq: 1, Ack: 1, Len: 0
Source port: isg-uda-server (2551)
Destination port: http-alt (8080)
Sequence number: 1(relative sequence number)
Acknowledgement number: 1(relative ack number)
Header length: 20 bytes
Flags: 0x10 (ACK)
0...  = Congestion Window Reduced (CWR): Not set
.0..  = ECN-Echo: Not set
..0.  = Urgent: Not set
...1  = Acknowledgment: Set
 0... = Push: Not set
 .0.. = Reset: Not set
 ..0. = Syn: Not set
 ...0 = Fin: Not set
Window size: 65535
Checksum: 0xcfda [incorrect, should be 0x3e77 (maybe caused by
 TCP checksum offload?)]
[Good Checksum: False]
[Bad Checksum: True]

   00 12 ef 44 73 f5 00 14 38 1d a7 b6 08 00 45 00   ...Ds...
 8.E.
 0010  00 28 b8 a8 40 00 80 06 72 67 ac 10 7c 85 ac 12   .
 (@...rg..|...
 0020  fb 17 09 f7 1f 90 54 49 5a 77 87 19 42 3c 50
 10   ..TIZw..BP.
 0030  ff ff cf da 00 00 ..



 On 5 mai, 18:23, David Turner di...@android.com wrote:
  2009/5/5 stevensli stevens...@gmail.com
 
 
 
   The version of Windows I am running is XP SP3, 32bit.  Can this
   problem be solved by adjusting the configuation of the emulator?
   Thanks!
 
  I'm just speculating at the moment, but I doubt it's related to the
  emulator's configuration.
 
  Essentially, the emulator doesn't deal very well with certain networking
  setups at the moment
  due to changes in its socket code that happened between 1.1 and 1.5. I
  suspect some interaction
  with the IPv6 localhost and a few other things.
 
  I could be wrong though, but I'll investigate.
 
 
 
   On May 5, 11:50 pm, David Turner di...@android.com wrote:
thanks for posting the details, they are helpful. Which exact version
 of
Windows are you running ? XP or Vista, 32 or 64 bit ?
 
thanks in advance
 
On Mon, May 4, 2009

[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk

2009-05-05 Thread David Turner
thanks for posting the details, they are helpful. Which exact version of
Windows are you running ? XP or Vista, 32 or 64 bit ?

thanks in advance

On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote:


 The -http-proxy works fine for emulator with 1.1r1 sdk, but not work
 for emulator with 1.5r1 sdk. I use those emulator on the same
 development computer. The following is debug info:



 D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy
 127.0.0.1:58
 65 -debug-proxy
 proxy_http_setup: creating http proxy service connecting to:
 127.0.0.1:5865
 server name '127.0.0.1' resolved to 127.0.0.1:5865
 proxy_http_setup: creating HTTP Proxy Service Footer is (len=2):
 '
 '
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 http_service_connect: trying to connect to 64.233.189.104:80
 http_service_connect: using HTTP rewriter
 tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error

 


--~--~-~--~~~---~--~~
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: -http-proxy can't work in emulator with 1.5 sdk

2009-05-05 Thread David Turner
2009/5/5 stevensli stevens...@gmail.com


 The version of Windows I am running is XP SP3, 32bit.  Can this
 problem be solved by adjusting the configuation of the emulator?
 Thanks!


I'm just speculating at the moment, but I doubt it's related to the
emulator's configuration.

Essentially, the emulator doesn't deal very well with certain networking
setups at the moment
due to changes in its socket code that happened between 1.1 and 1.5. I
suspect some interaction
with the IPv6 localhost and a few other things.

I could be wrong though, but I'll investigate.



 On May 5, 11:50 pm, David Turner di...@android.com wrote:
  thanks for posting the details, they are helpful. Which exact version of
  Windows are you running ? XP or Vista, 32 or 64 bit ?
 
  thanks in advance
 
  On Mon, May 4, 2009 at 12:05 PM, stevensli stevens...@gmail.com wrote:
 
   The -http-proxy works fine for emulator with 1.1r1 sdk, but not work
   for emulator with 1.5r1 sdk. I use those emulator on the same
   development computer. The following is debug info:
 
   D:\Downloadsemulator -avd avd15addon -sdcard d:\sd.iso -http-proxy
   127.0.0.1:58
   65 -debug-proxy
   proxy_http_setup: creating http proxy service connecting to:
   127.0.0.1:5865
   server name '127.0.0.1' resolved to 127.0.0.1:5865
   proxy_http_setup: creating HTTP Proxy Service Footer is (len=2):
   '
   '
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
   http_service_connect: trying to connect to 64.233.189.104:80
   http_service_connect: using HTTP rewriter
   tcp:64.233.189.104:80(1480): cannot connect to proxy: unknown error
 


--~--~-~--~~~---~--~~
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: Fetching using http_proxy : 1.5_pre

2009-05-02 Thread David Turner
Mmm, can't reproduce this. Again, can someone post the content of
-debug-proxy when trying to connect to their proxy with -http-proxy,
this will help me understand the problem.

Thanks in advance

On Thu, Apr 30, 2009 at 5:12 PM, Ed Burnette ed.burne...@gmail.com wrote:


 I can verify that using the -http-proxy option alone is not enough
 anymore with 1.5_r1. Setting the proxy address and port number as
 described by mspanduranga works for me. Actually you don't need the IP
 address: a regular domain name works too.

 I think this might be a bug in the emulator.


 On Apr 28, 2:14 am, mspanduranga mspandura...@gmail.com wrote:
  Hi David,
 
  Thanks for your response !!
 
  It works for me now !!
 
  Theproxyset up works if we set theproxyin Home- Application menu -
 settings - Wireless Controls  - Mobile Networks - Access Point
 
  Names.
 
  Select any existing access point name and set the ip of yourproxyand
  port number.
 
  (For eg. if theproxyis abc.def.com:1080 ,  set its IP address of
  abc.def.com and port as 1080  in Access point name )
 
  After that it works fine.
 
  ( I am even able to save an additional home profile in 1.5
 (withoutproxy/port info)so when at home, I just use the home profile
 and
  I can browse onAndroid)
 
  Thanks
  mspanduranga
 
  On Apr 23, 8:42 pm, David Turner di...@android.com wrote:
 
   Hello,
 
   can you run 'emulator-debug-proxy-http-proxyyourproxy' and send the
   output here?
   this will print the messages exchanged between the emulated system and
 your
  proxyand
   might help debug the issue.
 
   On Mon, Apr 20, 2009 at 9:47 PM, mspanduranga mspandura...@gmail.com
 wrote:
 
Hi All,
 
I am trying to connect to the internet ( I am behind a http_proxy )
using 1.5_pre SDK...but is not working for me..
 
I already tried the two suggestions given in
 
   
 http://developer.android.com/guide/developing/tools/emulator.html#proxy
 
but it does not seem to working.
 
In the earlier SDK version (r10)...giving [host_name]:[port_no] used
to work
 
Please helpwhat else do I need to do ?
 
thank you
mspanduranga
 


--~--~-~--~~~---~--~~
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: Fetching using http_proxy : 1.5_pre

2009-04-23 Thread David Turner
Hello,

can you run 'emulator -debug-proxy -http-proxy yourproxy' and send the
output here?
this will print the messages exchanged between the emulated system and your
proxy and
might help debug the issue.

On Mon, Apr 20, 2009 at 9:47 PM, mspanduranga mspandura...@gmail.comwrote:


 Hi All,

 I am trying to connect to the internet ( I am behind a http_proxy )
 using 1.5_pre SDK...but is not working for me..

 I already tried the two suggestions given in

http://developer.android.com/guide/developing/tools/emulator.html#proxy

 but it does not seem to working.

 In the earlier SDK version (r10)...giving [host_name]:[port_no] used
 to work

 Please helpwhat else do I need to do ?

 thank you
 mspanduranga

 


--~--~-~--~~~---~--~~
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: Multicast problem

2009-04-10 Thread David Turner
Sorry, but the emulator currently doesn't support multicast :-(

On Wed, Apr 8, 2009 at 1:57 AM, Thiago B. tvbo...@gmail.com wrote:


 Hi, I'm trying to develop an application that need to send UDP
 Multicast packets to the local network.
 There is a few equipments that respond to this packets and send back
 some informations.
 I'm not worried with the server right now, because there is a server
 on the same network that collect all this multicast data.
 I just want to make my mobile able to send the request message to
 start the process.

 My client class is called MCastClient, see below:
 import java.net.DatagramPacket;
 import java.net.InetAddress;
 import java.net.MulticastSocket;

 public class MCastClient {
private int port = 5;
private String addr = 239.192.1.100;
private MulticastSocket sock = null;

public void sendData(String data) {
try {
InetAddress group = InetAddress.getByName(addr);

sock = new MulticastSocket(port);

sock.joinGroup(group);

DatagramPacket dataPckt = new
 DatagramPacket(data.getBytes(),
data.length(), group, port);

sock.send(dataPckt);
sock.leaveGroup(group);
sock.close();
} catch (Exception e) {}
}
 }

 It runs perfectly on my computer as a Java Application.

 On the Android Emulator i create a simple application with a button
 and add a OnClickListener.

 public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

final MCastClient mcClient = new MCastClient();
Button btn = (Button)findViewById(R.id.btn_send);

btn.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mcClient.sendData(001RequestData);
}
});

 I believe that my packet is not arriving on the local network.
 I already did some test with the command redir add udp:5:5
 on telnet port of the emulator, that i got from

 http://developer.android.com/guide/developing/tools/emulator.html#connecting
 .

 There is any other command that can forward ports to the emulator?
 I'm almost putting a port sniffer on my machine just to check what is
 happening.

 Thanks for the help, it will be very appreciated.
 Thiago B.


 


--~--~-~--~~~---~--~~
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: Problem with Emulator

2009-03-30 Thread David Turner
it looks like there is something fishy in your system image. Try starting
with emulator -wipe-data once to see if this solves the issue.
If it doesn't, try re-downloading the SDK.

If that doesn't solve the issue, let us know by giving us as much detail as
possible as to what you do to build/install/start your
application.

On Mon, Mar 30, 2009 at 6:03 AM, gganesh ganesh@gmail.com wrote:


 hi ,
 I could launch any application on emulator has it shows error like


  ERROR/mountd(19): could not read initial mass storage state
  ERROR/flash_image(28): can't find recovery partition
 DEBUG/AndroidRuntime(23):  AndroidRuntime START
 
 DEBUG/AndroidRuntime(23): CheckJNI is ON
 ERROR/dalvikvm(23): Unable to find run() in java.lang.Thread
 DEBUG/dalvikvm(23): VM cleaning up
 DEBUG/dalvikvm(23): LinearAlloc 0x0 used 15972 of 4194304 (0%)
 WARN/dalvikvm(23): JNI_CreateJavaVM failed
 ERROR/AndroidRuntime(23): JNI_CreateJavaVM failed
 INFO/(24): ServiceManager: 0xaab8
 INFO/AudioFlinger(24): AudioFlinger's main thread ready to run.
 INFO/CameraService(24): CameraService started: pid=24
 DEBUG/RILD(22): overriding with -s /dev/socket/qemud_gsm
 DEBUG/AndroidRuntime(48):  AndroidRuntime START
 


 I could not figure out what went wrong
 I'm using Ubuntu 8.4
 Eclipse 3.4
 java 1.6

 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: Reconnect adb while emulator is running

2009-03-25 Thread David Turner
Strange, which build are you using exactly ?
For the record, adb won't be able to connect to the emulator if the emulated
ethernet interface is down.

On Tue, Mar 24, 2009 at 8:59 PM, frank frank.yens...@gmail.com wrote:


 Is there a way to reconnect the adb after an emulator has started.  I
 am currently receiving the following error which kills adb:

 NetworkStateTracker(   49): initial network configuration
 NetworkStateTracker(   49): config changed:: before:interface eth0
 state: link up
 NetworkStateTracker(   49): ipaddr 0.0.0.0 gateway 0.0.0.0 netmask
 0.0.0.0 dns1 0.0.0.0 dns2 0.0.0.0 DHCP server 0.0.0.0 lease 0 seconds
 NetworkStateTracker(   49): haveIpAddress=false,
 obtainingIpAddress=false, explicitlyDisabled=false
 NetworkStateTracker(   49): reset Interface
 NetworkStateTracker(   49): a broadcasting ethernet change action:
 state:DISCONNECTING



 no devices are detected after this however my emulator is still
 running on port 5554.  Please let me know if there is a way to
 reconnect adb to this emulator.

 Thanks,
 Frank

 


--~--~-~--~~~---~--~~
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: adb and ddms can't connect to emulator after installing Windows XP driver for G1

2009-03-24 Thread David Turner
that's very strange. To help debug this issue, can you do the following?:

1/ kill any existing adb server (i.e. either do adb kill-server or kill in
the task manager's process list any program named 'adb.exe')
2/ restart the server with the following in a command-line window:

set ADB_TRACE=all
adb server

this restarts the server which will log many traces to %TEMP%\adb.log

3/ start the emulator, then do adb devices
4/ if the emulator is not listed, zip the adb.log and send it to me
directly.

Thanks in advance

On Wed, Mar 18, 2009 at 8:48 PM, Jade j...@edufone.com wrote:


 After installing the Windows XP driver for G1 from the android android-
 sdk-windows-1.1_r1 sdk, I'm able to run ddms and adb with the G1
 phone. The problem is that even when the phone is unplugged, adb can't
 find the emulator anymore.

 I've unplugged the phone and USB cable from my computer. I start the
 emulator and then I issue this command: adb devices and adb doesn't
 see the emulator. If I try to run ddms, it also can't find the
 emulator.

 I've also tried issuing: adb kill-server and then restarting the
 emulator and adb logcat but all I get is the waiting for device
 error.

 Any suggestions would be greatly appreciated!

 Jade
 


--~--~-~--~~~---~--~~
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: Removal / Recovery from Android Emulator on OS X

2009-03-24 Thread David Turner
Hmm. Are you sure this is only caused by the emulator ?
If you use -noaudio, the emulator shouldn't even try to generate or record
audio.

It definitely sounds like flaky hardware.

On Tue, Mar 24, 2009 at 8:15 AM, shmeed duncan.osb...@gmail.com wrote:


 I recently began using the Android SDK on a Macbook Pro. Today as I
 was coding, I was listening to music through an external DAC connected
 to the USB output of the laptop. I noticed a lot of interference in
 the audio, so I switched USB ports and the problem was solved.
 However, I then restarted the Android emulator and the interference
 immediately began on the second USB port. Now both of my USB ports
 produce audibly distorted audio even when the emulator is not running.
 I have tried emulator -wipe-data and emulator -noaudio to no avail.
 How can I undo whatever the emulator did to my USB audio output?

 Thanks in advance.

 


--~--~-~--~~~---~--~~
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: using an API not in the SDK

2009-03-20 Thread David Turner
There is no procedure; whatever means you find to achieve this would break
when the system is updated over the air with changes that modify/remove the
non-public API
(and believe me, internal changes between releases are *very* numerous).
Then your users will start to hate you and give you 1-star ratings, etc...

On Thu, Mar 19, 2009 at 12:08 AM, AndRaj rajendran.b...@gmail.com wrote:


 Hi All,

 If I want to use non-SDK API. what I wann to do. Is there any
 procedure to do that...

 On Feb 23, 2:28 am, Romain Guy romain...@google.com wrote:
  Don't usenon-SDKAPIs.
 
 
 
  On Sat, Feb 21, 2009 at 8:12 PM, surferdude datruesur...@gmail.com
 wrote:
 
   Hello,
 
   I'm trying to write my first android application which executes
   commands I feed to it on the comandline. I looked through the public
   git repository and found android.os.exec which should meet my needs
   fine, however I noticed that it isn't part of the SDK. When I try to
   add the class to my project and call it via createsubprocess(), it
   compiles fine but i get a force close as soon as it tries to run on
   the emulator or my device. According to the ddms logs, its getting
   stuck at an unsatisfied link error. Below are the three files in my
   project... if anyone could help me out, it would be much appreciated
 
   ---
 
   testapp.java:
 
   ---
 
   package com.android.testapp;
 
   import android.app.Activity;
   import android.os.Bundle;
   import com.android.testapp.exec;
 
   public class testapp extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
 
  exec.createSubprocess(ls,null,null);
  }
 
   }
 
   ---
 
   exec.java
   ---
   package com.android.testapp;
 
   import java.io.FileDescriptor;
 
   /**
* @hide
* Tools for executing commands.  Not for public consumption.
*/
 
   public class exec
   {
  /**
   * @param cmd The command to execute
   * @param arg0 The first argument to the command, may be null
   * @param arg1 the second argument to the command, may be null
   * @return the file descriptor of the started process.
   *
   */
  public static FileDescriptor createSubprocess(
  String cmd, String arg0, String arg1) {
  return createSubprocess(cmd, arg0, arg1, null);
  }
 
  /**
   * @param cmd The command to execute
   * @param arg0 The first argument to the command, may be null
   * @param arg1 the second argument to the command, may be null
   * @param processId A one-element array to which the process ID of
   the
   * started process will be written.
   * @return the file descriptor of the started process.
   *
   */
   public static native FileDescriptor createSubprocess(
  String cmd, String arg0, String arg1, int[] processId);
 
   public static native void setPtyWindowSize(FileDescriptor fd,
 int row, int col, int xpixel, int ypixel);
  /**
   * Causes the calling thread to wait for the process associated
   with the
   * receiver to finish executing.
   *
   * @return The exit value of the Process being waited on
   *
   */
  public static native int waitFor(int processId);
   }
 
   ---
 
   androidmanifest.xml
   ---
 
   ?xml version=1.0 encoding=utf-8?
   manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.android.testapp
android:versionCode=1
android:versionName=1.0.0
  application android:icon=@drawable/icon android:label=@string/
   app_name
  activity android:name=testapp
android:label=@string/app_name
  intent-filter
  action android:name=android.intent.action.MAIN /
  category
   android:name=android.intent.category.LAUNCHER /
  /intent-filter
  /activity
  /application
   /manifest
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them

 


--~--~-~--~~~---~--~~
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: How does emulator manage to install all the applications?

2009-03-10 Thread David Turner
On Tue, Mar 10, 2009 at 4:48 AM, ramakrishna
mramakrishnapra...@gmail.comwrote:

 Hii David,

 Its nice to meet u...Can you please mail me the google maps apk file if u
 have it?


I will not do that. If you want the .apk, you should download the SDK and
abide to its end-user license, which as far as I know
forbids reverse engineering and redistributions of certain proprietary
binaries (which the Google Maps application is probably
part of). The SDK will allow you to develop applications that use the Google
Maps API, some people also use it to run the
application on real hardware too.

If you're interested in distributing the application in one of your
products, you should contact someone else at Google,
since I can't help you and this is a forum for people developing Android
applications.


 It will be of great help for me if anyone can share me the .apk file of
 google maps application.




 Thanks,
 Ramakrishna.

 On Tue, Mar 10, 2009 at 1:01 AM, David Turner di...@android.com wrote:

 the applications are pre-installed in the read-only /system partition.the
 Google Maps source code is not available. the corresponding .apk should be
 somewhere under / though.


 On Mon, Mar 9, 2009 at 6:35 PM, Ramakrishna mramakrishnapra...@gmail.com
  wrote:


 Hi everybody,

 I just wanna know how Android emulator manages to install
 all the applications by default when it is started. And moreover i was
 searching for Google maps source code or atleast the .apk file for
 that application in the emulator.  Any kind of help will be of great
 help to me.

 Thanks,
 Ramakrishna.







 --
 Best Regards,
 M.Rama Krishna Prasad,
 ST Microelectronics,Bangalore
 Ph No:09008718152


 


--~--~-~--~~~---~--~~
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: How does emulator manage to install all the applications?

2009-03-09 Thread David Turner
the applications are pre-installed in the read-only /system partition.the
Google Maps source code is not available. the corresponding .apk should be
somewhere under / though.

On Mon, Mar 9, 2009 at 6:35 PM, Ramakrishna mramakrishnapra...@gmail.comwrote:


 Hi everybody,

 I just wanna know how Android emulator manages to install
 all the applications by default when it is started. And moreover i was
 searching for Google maps source code or atleast the .apk file for
 that application in the emulator.  Any kind of help will be of great
 help to me.

 Thanks,
 Ramakrishna.
 


--~--~-~--~~~---~--~~
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

2009-03-02 Thread 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 royzha...@gmail.com 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: How to access Linux using Android SDK?

2009-02-24 Thread David Turner
adb shell perharps? If not, would you care to be more specific?

On Tue, Feb 24, 2009 at 5:40 AM, steve68 my6...@gmail.com wrote:


 Is it a way to access Linux shell command from with the Android SDK? I
 would like to do it as a root user

 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: Features supported by Android OS

2009-02-17 Thread David Turner
You should definitely try using a search engine, I just made a request and
it came up with the following page:
http://developer.android.com/guide/appendix/media-formats.html

As to what radio feature means, I don't know; that term is too vague, but
I encourage you to, hum, search the forums ?

On Tue, Feb 17, 2009 at 1:43 AM, mozaal moz...@gmail.com wrote:

 Hello Every one,

 I am new to this group and I was interested in exploring the list of
 features supported by Android OS.

 For example:

- Multimedia support: List of format supported example, aac+, amr,
.3gp, .mp4 etc )
- Radio feature ( if any )

 I got a list on following link but it seems is not enough for me ;)
 http://source.android.com/release-features

 If some one can provide me with the link where I can find the specs/
 features in detail or can help me thru with my question.

 Thanks

 mozaal



  android-beginners@googlegroups.com

 


--~--~-~--~~~---~--~~
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.

2009-02-16 Thread David Turner
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 mdunsm...@gmail.comwrote:


 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: SDL init failure, reason is: No available video device

2009-01-14 Thread David Turner
You don't need to have SDL_VIDEODRIVER defined in your environment, the
emulator will by default try to find the X11 libraries on your system and
use them (then an error means that the libraries are not properly installed
or reachable by the application. this may be possible to installation
oddities on mixed 32/64 bit systems).

A good way to check this is to use strace emulator to see which
files/libraries the program is trying to open (it uses dlopen/dlsym to do
that)

A long time ago, someone reported a similar issue. the problem came from the
fact that they had SDL_VIDEODRIVER=directfb in their environment. This
variable is normally used to direct the SDL library to use a specific video
driver. But the one that comes with the Android emulator (statically linked
to it for ease of deployment) only supports X11.

hope this clarifies :-)

On Wed, Jan 14, 2009 at 10:46 AM, Anri Lau anri...@gmail.com wrote:

 All,

 Thank you Dave. I guess I did not set SDL_VIDEODRIVER. Could you show me
 where I can found the instruction to set the building environment?

 I have no any idea of how to start.


 2009/1/14 David Turner di...@android.com

 hmmm. do you have SDL_VIDEODRIVER defined in your environment ?

 On Tue, Jan 13, 2009 at 1:18 PM, superspider anri...@gmail.com wrote:


 When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
 it happened.









 --
 Best regards to you and your family


 


--~--~-~--~~~---~--~~
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: SDL init failure, reason is: No available video device

2009-01-13 Thread David Turner
hmmm. do you have SDL_VIDEODRIVER defined in your environment ?

On Tue, Jan 13, 2009 at 1:18 PM, superspider anri...@gmail.com wrote:


 When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
 it happened.


 


--~--~-~--~~~---~--~~
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: Google phone dev 1 keyboard issues

2009-01-09 Thread David Turner
if you're really only touching one of the keys, it definitely sounds like a
bad hardware issue
since this isn't expected to happen at all.

On Thu, Jan 8, 2009 at 8:21 PM, kmatzen kmat...@gmail.com wrote:


 I have a quick question regarding the functionality of the keyboard on
 the unlocked developer version of the phone.  When we try to register
 it with a google account during activation, the top two rows of keys
 seem to get typed at the same time.  For example, pressing 'e' makes
 '3e' appear and pressing '3' also makes '3e' appear.  Other examples
 include: '56', 'i0', 'r4'.

 Is this a hardware issue?  We are unfamiliar with the interface so we
 do not know if this is expected behavior.

 


--~--~-~--~~~---~--~~
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: Removing installed application in Emulator

2009-01-07 Thread David Turner
if you mean the applications that are already part of the system image (i.e.
available after a -wipe-data),
then you can't uninstall them since the partition is read-only.

On Wed, Jan 7, 2009 at 12:10 PM, Apparao Mulpuri
apparao.for...@gmail.comwrote:


 How can we remove the already installed apps from the Emulator?

 Thanks,
 Apparao Mulpuri.

 


--~--~-~--~~~---~--~~
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.

2008-12-23 Thread 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 chen.worksp...@gmail.com 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: dev phone 1 adb error: device not found

2008-12-23 Thread David Turner
you probably miss installing the USB driver :-)

On Sun, Dec 21, 2008 at 11:15 PM, dfabulich d...@fabulich.com wrote:


 When I plug my Android Dev Phone 1 into my Windows machine and try to
 run adb, it refuses to detect my device.  I made sure USB
 debugging is enabled in the Application Settings on the phone.  What
 am I missing here?

 C:\devtools\android-sdk-windows-1.0_r2\tools adb devices
 * daemon not running. starting it now *
 * daemon started successfully *
 List of devices attached


 C:\devtools\android-sdk-windows-1.0_r2\tools adb shell
 error: device not found

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: RES: [android-beginners] Activating dev phone with ATT sim card?

2008-12-23 Thread David Turner
the information that has been given to you looks like to be for WAP only.

normally, once you enter the correct APN values, you shouldn't need to do
anything more, because the system will detect which network operators are in
range and match your SIM card and use just that.

I don't know the values for your operator though; hope someone else will
have them

On Wed, Dec 24, 2008 at 3:22 AM, sherifffruitfly
sherifffruit...@gmail.comwrote:


 Ok - ATT gave me this info:


 https://www.wireless.att.com/support/setDevice.do?dest=tutorialsuniverse=attmake=Motorolamodel=RAZR+V3x=22y=12

 (Relevant stuff copied below)

 I'm having 2 problems now:

 1) I'm not certain how to map the ATT info to what the Dev Phone
 fields are.

 2) I've *created* a new APN on the dev phone, but I'm not sure how to
 *select* it, or make it active, or whatever. Everytime I click/tap my
 new APN, it just goes back into the settings screen.

 Sorry for being such a noob, but a little more help would be
 appreciated, if anyone has a few more details.

 TIA,
 -sff


 Copied info from ATT:

 NOTE: Entering text on the Motorola RAZR V3.

* Name: MEdia Net
* Homepage: http://device.home
* Service Type 1: WAP
* Gateway IP: 66.209.11.61
* Port 1: 9201
* Domain 1: Blank
* Service Type 2: WAP
* Gateway IP 2: 000.000.000.000
* Port 2: 9201
* Domain 2: blank
* DNS 1: 000.000.000.000
* DNS 2: 000.000.000.000
* Timeout: 15 minutes.
* CSD No 1: 14152441012 or 18472549271
* Username: w...@cingular.com (required for CSD use only)
* Password CINGULAR1 (required for CSD use only)
* Speed (Bps) 1: 9600
* Linetype 1: ISDN
* CSD 2: Blank
* Username 2: Blank
* Password 2: Blank
* Speed (Bps): 9600
* Line Type 2: ISDN
* GPRS APN: wap.cingular
* Username: leave blank
* Password: leave blank

 On Dec 23, 4:31 pm, George Lanes georgela...@gmail.com wrote:
  Hi,
 
  First you Will need to set the APN. Check this parameter (3G connection
  like) with ATT.
  After this, try to connect to Google.
 
  Regards,
 
  George
 
  -Mensagem original-
  De: android-beginners@googlegroups.com
  [mailto:android-beginn...@googlegroups.com] Em nome de sherifffruitfly
  Enviada em: terça-feira, 23 de dezembro de 2008 21:47
  Para: Android Beginners
  Assunto: [android-beginners] Activating dev phone with ATT sim card?
 
  Hi all,
 
  I can't seem to get the phone to talk to the google servers - error
  when it attempts to login: There is a problem communicating with the
  google servers.
 
  I have a web + text plan on the simcard, so I didn't think there would
  be an issue.
 
  Any suggestions?
 
  Thanks,
 
  -sff
 


--~--~-~--~~~---~--~~
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 trace wanted

2008-12-19 Thread David Turner
hmmm, try to invoke it with: emulator -show-kernel -logcat '*:v'

for the record, the emulator is a fork of QEMU 0.8.2 and, as such, can only
be compiled into a correct binary with specific versions of gcc (see the
README.ANDROID for details in the sources), and only 32-bit builds are
supported. This issue will be fixed in a later release, though I can't
specify which.


On Sat, Dec 20, 2008 at 12:24 AM, niklas
niklas+goo...@appli.seniklas%2bgoo...@appli.se
 wrote:


 I have just finished the first port of the android dev system to
 OpenBSD/amd64, surely to still contain quite a few bugs, but it has
 gone through the compilation phase ok.

 When I start the emulator, I have just guessed at appropriate
 arguments, it fires up the gui, and it looks nice, but then it sits
 with ANDROID in the window, just highlighting gui elements as the
 mouse passes over them, and having the cursor blink for about ten
 seconds, then it stops.  I have waited quite a while for a potential
 initialization of the disk images, but nothing seems to happen,
 although CPU is chewing.  If someone could send me a trace with -debug
 all, it could help me find out where it ends working...

 or any hints on what part I may have problem would be appriciated of
 course.  I supect a 64bit issue, saw quite a few warnings during the
 builds with pointers casted to longs.. felt really nineties actually.
 Well, it's fun to do porting work like this...

 


--~--~-~--~~~---~--~~
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 path?

2008-12-11 Thread David Turner
everything that is written to /data on the emulated device is stored on your
host machine
in a file named userdata-qemu.img, which is a disk image containing all of
/data.
It is located in a platform-specific directory.

it's normally in $HOME/.android/, and in the local application directory
on Windows,
which differ between XP and Vista. You can know which file exactly when you
use
the -verbose option when starting the emulator.

if you need to retrieve/add a file, use adb pull or adb push


On Wed, Dec 10, 2008 at 12:42 PM, Keith Wiley kbwi...@gmail.com wrote:


 Simple question, I've searched the web, I've searched the groups, and
 I simply can't figure this one out.

 Where are the emulator files located?  In particular, when an app is
 installed on the emulator, say by running it from Eclipse, or
 alternatively, when an app running on the emulator creates a data file
 (in its private Android file system space for example), where do these
 files go?  Where can I see them on my computer so I can debug the file
 output and make sure it's correct?

 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 segmentation fault on Mac

2008-12-11 Thread David Turner
Yes, this is a known issue with the emulator. Unfortunately we haven't been
able to reproduce it
on two distinct machines running different versions of OS X. This makes
debugging a bit hard
at that point.

On Wed, Dec 10, 2008 at 9:47 PM, mikaye mik...@gmail.com wrote:


 Thanks to Nathan for his reply in a different post about working
 around the emulator segmentation fault on a Mac when running with a
 Plantronics USB headset,

 Mike's Mac:tools mike$ emulator 
 Mike's Mac:tools mike$ 2008-12-10 21:39:26.352 emulator[3235: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.

 Followed by a segmentation fault in the emulator.

 Nathan unplugged his USB headset. I just wanted to mention that you
 can also change your sound settings to use the internal audio devices
 (my usb connections are a little harder to get to).



 


--~--~-~--~~~---~--~~
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: Android and Windows Host file

2008-12-09 Thread David Turner
your best bet at this point would be to run a DNS cache on your machine that
reads your HOSTS file
then use the -dns-server option to make the emulated system connect to it.

On Tue, Dec 9, 2008 at 7:17 AM, isisagate [EMAIL PROTECTED] wrote:


 I am trying to develop an Android app that connects to a tomcat web
 service and want to be able to load it off my local machine.

 In my host file on my windows dev machine I have the service's URL
 defined and tomcat running, however when i try to load the page it
 says it cannot find it. I read that the Android emulator is not setup
 to use the host file. Is there a way I can get it to use the host
 file, or add the url entry to android so it will connect to the server
 hosted on the same machine the emulator is hosted on.


 Any ideas?

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator is Crashing

2008-12-07 Thread David Turner
Are you talking about the emulator program crashing, or your application ?

if the emulator program is crashing, can you give me the output of emulator
-debug-all
what if you try emulator -audio none ?

what is your development machine (CPU, memory, PC/Mac), what OS does it run
?

On Sat, Dec 6, 2008 at 8:19 AM, i3onk [EMAIL PROTECTED] wrote:


 I just ran through the sample Hello, Android project, and every time I
 try to run it the Emulator crashes. I did this with and without the
 suggested changes, each time it crashed.

 Any ideas of what is causing this? I searched for related threads but
 nothing posted about this early in the process.



 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator touch input vs real phone input--differences?

2008-11-18 Thread David Turner
it will generally send one touch event. the problem is that its exact
location is a bit random since your finger is quite large.
Also keep in mind that without using the -scale option, the emulator window
is likely to be twice bigger than a real phone,
so don't make target areas too small (unless you provide alternate
navigation methods, e.g. with the trackball)


On Tue, Nov 18, 2008 at 12:07 AM, shaarptooth [EMAIL PROTECTED]wrote:


 I've been working on a game that uses touch input. The emulator sends
 a single point back for a touch. I don't have a G1 to test on and I
 was wondering if a touch will return multiple points on the phone
 since my finger is larger than a pixel. Or does it average it to one
 point?

 Thank you in advance.

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: emulator isn't launching

2008-11-12 Thread David Turner
just a silly question, do you have space left on your hard disk ?
the error message seems to indicate that you don't.

On Wed, Nov 12, 2008 at 12:04 PM, error404 [EMAIL PROTECTED] wrote:


 no... It's falling again... When I tried clean emulator with emulator -
 wipe-data, it's writing same message on console -  NAND: could not
 write file D:\Android \android-sdk-windows-1.0_r1\tools/lib/images/
 \system.img, No space left on device



 On Nov 12, 11:49 am, error404 [EMAIL PROTECTED] wrote:
  thnx :-)... it's running;-)
 
  On Nov 12, 9:40 am, Dennis Wilmsmann [EMAIL PROTECTED]
  wrote:
 
   Have you tried to clean your emulator?
 
   emulator -wipe-data
 
   Dennis
 
   On 11 Nov., 23:56, error404 [EMAIL PROTECTED] wrote:
 
Hi.
I have problem with android emulator when I'm launching application.
It's writing on eclipse console NAND: could not write file D:\Android
\android-sdk-windows-1.0_r1\tools/lib/images/\system.img, No space
left on device
I don't know what I should do :-(( I'm using windows vista and
 eclipse
version 3.4.1...
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: STL Standard Template Library Support

2008-11-12 Thread David Turner
First, please note that Android does *not* support native code development
at the moment.

Even the open source tree doesn't provide a real STL library at this point.

While many parts of the system are written in C++, we profiled and avoided
using STL there
because it easily generates *very* large binaries that run very poorly on
embedded CPUs
like the ARM that have tiny instruction caches. We thus had to provide our
own templatized
containers instead.

That doesn't mean you absolutely can't develop a native application, but:

1 - it will have to statically link to your own version of the STL
2 - it will not be easily installable to supported Android devices, like the
G1
3 - don't expect it to be small or run very fast.

We may provide native development support in the future, but I doubt this
will include full STL support.

On Wed, Nov 12, 2008 at 3:40 AM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


 Hello,
 Our organization just moved to Android and we have lot of legacy code
 that was built around STL Containers.

 I have been searching through blogs and android source trees but
 couldn't find support for STL in Android latest release. STL seems to
 be limited to pair and some basic string manipulation functions.

 I am curious if anyone has run into this issue and has found ways to
 get around it.

 Does android provide STL support including Container classes, Vector
 and std namespace.

 Thank You
 Sanjay

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Installing Unicode fonts in Emulator

2008-11-11 Thread David Turner
Support for sophisticated scripts like Arabic and Indic is not supported in
Android 1.0
(they are planned for a later release, can't tell when). Which means that
even if you install
an Indic font, chances are that text will not be rendered properly anyway.

Also, an application can provide it's own font file, but there is no way to
install a font
on the system at this point (again, already on the feature list, can't tell
when it will be
available)

On Mon, Nov 10, 2008 at 8:37 AM, Satish [EMAIL PROTECTED] wrote:


 Hi
 As pointed out earlier in this forum, the Android emulator doesn't
 seem to support any Indic font. Is there any way to manually install
 Unicode font files into the emulator?

 TIA

 sb
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: communicate between two emulators

2008-11-11 Thread David Turner
hmmm, it should be possible to launch up to 16 emulator instances on a
single developer machine.
what are you doing exactly, and what error messages do you get ?

Also, you should read the emulator networking documentation that describes
how to connect
two distinct emulator instances (or more)

http://code.google.com/android/reference/emulator.html#emulatornetworking

On Tue, Nov 11, 2008 at 12:35 PM, Isuru [EMAIL PROTECTED] wrote:


 I am developing a android application for my university project. Now I
 have a problem of how to communicate between two emulators. It is also
 not possible to open two emulators. So how to check this is another
 problem. plzz help me to solve this. thank u
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: question about build android

2008-11-04 Thread David Turner
you need to install Sun's JDK, gcj is not supported

On Tue, Nov 4, 2008 at 10:43 AM, hunter [EMAIL PROTECTED] wrote:


 Hi, all:
 I try to build android on my linux, but failed with following
 errors:
 build/core/product_config.mk:229: WARNING: adding test OTA key
 host C: acp = build/tools/acp/acp.c
 cp: cannot stat `out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/
 acp.d': No such file or directory
 /bin/bash: line 1: out/host/linux-x86/obj/EXECUTABLES/
 acp_intermediates/acp.d: No such file or directory
 host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
 acp_intermediates/acp)
 true
 Install: out/host/linux-x86/bin/acp
 host Java: droiddoc (out/host/common/obj/JAVA_LIBRARIES/
 droiddoc_intermediates/classes)
 libgcj-java-placeholder.sh

 This script is a placeholder for the /usr/bin/java
 master link required by jpackage.org conventions.  libgcj's
 rmiregistry, rmic and jar tools are now slave symlinks to these
 masters, and are managed by the alternatives(8) system.

 This change was necessary because the rmiregistry, rmic and jar tools
 installed by previous versions of libgcj conflicted with symlinks
 installed by jpackage.org JVM packages.

 This script was designed to be overridden by the supported RHEL3 JRE
 packages, java-1.4.2-bea and java-1.4.2-ibm.  It is installed as an
 alternative symlink as /usr/bin/java.  It will override a third-party
 (non-RHEL3) JRE's java command if the JRE's bin directory is listed
 after /usr/bin in PATH.  In that case, it is recommended that the
 third-party JRE's bin directory be listed first in PATH instead.

 gij: unrecognized option -- `-J-Xmx256m'
 Try `gij --help' for more information.

 I have install gcc-4.3.2 and my gij version is
 $ gij -v
 gij: unrecognized option -- `-v'
 Try `gij --help' for more information.
 [EMAIL PROTECTED] bin]$ gij --version
 java version 1.5.0
 gij (GNU libgcj) version 4.3.2

 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There
 is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 Can anyone tell me what's wrong?

 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDK for Mac Powerbook pre-Intel ?

2008-11-03 Thread David Turner
no, this is not supported at the moment.

On Sun, Nov 2, 2008 at 10:47 PM, Jim [EMAIL PROTECTED] wrote:


 Hello,
 is there any way to run the SDK and eclipse plug in on pre-Intel
 Powerbook G4 Mac OS X?

 the requirements mention:

 Supported Operating Systems:

* Windows XP or Vista
* Mac OS X 10.4.8 or later (x86 only)
* Linux (tested on Linux Ubuntu Dapper Drake)


 Al

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: proxy settings for emulator

2008-11-03 Thread David Turner
CC-ing android-beginners (please do not write to me directly)

I believe that proxy support in the web browser was left out due to
release/timing pressure,
and this may not work properly in the current SDK. The next SDK release will
contain:

- the same browser implementation
- a re-implemented -http-proxy option that should work by transparently
rewriting HTTP requests.

Regarding the DNS issue, the emulated system uses by default the DNS servers
detected
by the emulator at startup on your system. You can however provide your own
list of DNS
server with the -dns-server option. Please read emulator -help-dns-server
for more details.

on the other hand, we don't plan to restrict which sites the proxy is used
for. You should use
a intermediate proxy to do the filtering, and connect the emulator to it
through -http-proxy.

On Fri, Oct 31, 2008 at 9:57 PM, Dave [EMAIL PROTECTED] wrote:

 I've managed to set the proxy by directly editing the settings
 database with SQLite.  However, the browser appears to mistakenly be
 making queries to my intranet DNS server to find host names rather
 than relying on the proxy server to resolve such names.  Since my
 intranet DNS server is only capable of resolving intranet names, the
 DNS query fails and the browser doesn't bother sending the request to
 the proxy.

 Will the next SDK release also correct the browser so that it doesn't
 make DNS queries before sending requests to a proxy?   Will the next
 SDK have a mechanism of restricting which sites the proxy is used for
 (e.g. don't use a proxy for intranet sites?)

 Thanks,
 Dave

 On Oct 30, 2:17 pm, David Turner [EMAIL PROTECTED] wrote:
  should be fixed in the next SDK release. Sorry for the annoyance
 
 
 
  On Tue, Oct 28, 2008 at 2:26 AM, Chihau Chau [EMAIL PROTECTED] wrote:
 
   I want to set a proxy server for my android emulator but the setting
   doesn't work.
 
   I have tried with ./emulator -http-proxy proxy.ucv.cl:8080 but I
   don't have access to internet
 
   --
   Chihau Chau- Hide quoted text -
 
  - Show quoted text -

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android networking

2008-10-31 Thread David Turner
At the moment, the emulator is a 32-bit x86 executable. A later release will
support being built as a x86_64 executable,
but this shouldn't change anything in terms of usability / speed / etc..

Also, even if the emulator can be built on x86_64, that doesn't mean that
the rest of the SDK will build/run as 64-bit too.

The error you have probably comes down to not having the INTERNET permission
in your manifest. You should
try to search the forum for similar error messages.

On Wed, Oct 22, 2008 at 4:45 PM, cslinux [EMAIL PROTECTED] wrote:


 -First of all i'm asking if the android api uses a different
 networking packages than JAVA's packages on the device layer ? i.e any
 networking code 'll be easily deployed on an android device, exactly
 same as the emulator ?

 -Also i want to know if x86_64 is supported by android , i.e of
 emulator ?
 i got this error :
 ERROR/UDP(1560): java.net.SocketException: unknown error
 10-22 15:21:53.770: ERROR/UDP(1560): at

 org.apache.harmony.luni.platform.OSNetworkSystem.createDatagramSocketImpl(Native
 Method)

 -I'm asking how to write mini chat application between adnroid
 mobilephones, can i use xmpp or it's not supported currently based on
 http://www.anddev.org/socket_programming-t325-s15.html

 Thanks in advance and kind regards.

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Copy/paste in browser?

2008-10-31 Thread David Turner
it's not possible yet, but is planned for the future.

On Thu, Oct 30, 2008 at 9:55 PM, marstein [EMAIL PROTECTED] wrote:


 I am trying to copy text from a web page. How would you do that? It
 doesn't seem to be possible.

 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to configure android emulator browser work on windows?

2008-10-30 Thread David Turner
the emulator's http proxy support in the latest SDK doesn't work well with
all proxies.
This should be fixed in the next SDK release.

On Thu, Oct 30, 2008 at 10:20 AM, hunter [EMAIL PROTECTED] wrote:


 Hi, guys:
 I want to use browser in android emulator to open some website
 such like google.com, but failed.
 I start emulator with -http-proxy http://myproxy:myport, but
 still failed.
 Can anyone tell me how to configure emulator to make this work?
Thanks.
 hunter

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: proxy settings for emulator

2008-10-30 Thread David Turner
should be fixed in the next SDK release. Sorry for the annoyance

On Tue, Oct 28, 2008 at 2:26 AM, Chihau Chau [EMAIL PROTECTED] wrote:


 I want to set a proxy server for my android emulator but the setting
 doesn't work.

 I have tried with ./emulator -http-proxy proxy.ucv.cl:8080 but I
 don't have access to internet



 --
 Chihau Chau

 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator doesn't start in OS X

2008-10-29 Thread David Turner
ok, here are a couple of tips:

1/ start with -noaudio to see if it changes anything
2/ start with -show-kernel -logcat '*;v'
3/ start with -debug-all

On Wed, Oct 29, 2008 at 3:44 PM, Preston [EMAIL PROTECTED] wrote:



 Rebooting also didn't change anything.
 On Oct 28, 6:28 pm, Preston [EMAIL PROTECTED] wrote:
  Yes, I killed and restarted the adb server. I have not yet tried
  rebooting since MS had been rebuilding my mail DB for the last 5 hours
  but I didn't image it was going to fix my problem.
 
  On Oct 28, 6:22 pm, Mark Murphy [EMAIL PROTECTED] wrote:
 
   Preston wrote:
Yes, tried that as well.
 
   OK, have you run adb -kill-server, or rebooted the machine, since the
   Android upgrade?
 
   --
   Mark Murphy (a Commons Guy)http://commonsware.com
   _The Busy Coder's Guide to Android Development_ Version 1.3 Published!
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator doesn't start in OS X

2008-10-29 Thread David Turner
the emulator is not trying to do anything special about Audio. It just uses
CoreAudio to
get an output and an input.

Could you check with -no-audio-in then with -no-audio-out to see if it's
either one of these
that makes the problem ?

thanks in advance

On Wed, Oct 29, 2008 at 5:57 PM, Preston [EMAIL PROTECTED] wrote:


 #1  (-noaudio) worked!  Started up instantly.

 Perhaps this was an issue because I run a program from Ambrosia called
 WireTap that allows me to do some complex audio merging but might
 interfear with whatever the emulator is trying to do. (Just a guess).

  Thanks for the help.

 On Oct 29, 9:38 am, David Turner [EMAIL PROTECTED] wrote:
  ok, here are a couple of tips:
 
  1/ start with -noaudio to see if it changes anything
  2/ start with -show-kernel -logcat '*;v'
  3/ start with -debug-all
 
  On Wed, Oct 29, 2008 at 3:44 PM, Preston [EMAIL PROTECTED]
 wrote:
 
   Rebooting also didn't change anything.
   On Oct 28, 6:28 pm, Preston [EMAIL PROTECTED] wrote:
Yes, I killed and restarted the adb server. I have not yet tried
rebooting since MS had been rebuilding my mail DB for the last 5
 hours
but I didn't image it was going to fix my problem.
 
On Oct 28, 6:22 pm, Mark Murphy [EMAIL PROTECTED] wrote:
 
 Preston wrote:
  Yes, tried that as well.
 
 OK, have you run adb -kill-server, or rebooted the machine, since
 the
 Android upgrade?
 
 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 1.3
 Published!
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Compiling takes hours...

2008-10-29 Thread David Turner
The Dex tool is known to use a *lot* of memory. Your system is probably
swapping like mad to try to keep up with the demand...

On Fri, Oct 24, 2008 at 12:25 PM, Bicou [EMAIL PROTECTED] wrote:


 Hi all,

 I followed the instructions on this page:
 http://source.android.com/download
 I use Ubuntu.

 I could solve the small problems I encoutered, but now the compilation
 process is running for hours and I don't know if it is actually
 compiling... The last thing make shows is :

  /build/core/product_config.mk:229: WARNING: adding test OTA key
  target Dex: core

 and it's been on this screen for hours and nothing changes...

 Is there anything wrong or I just have to be patient?

 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---