[android-developers] Re: Android Emulator

2009-02-10 Thread David Turner
the emulator is a native application. If would take considerable work to make it into an Active X component (which would only work on IE), or a NSPlugin. It uses signals in a very special way which might be really hostile to a browser environment. Furthermore, it needs about 192 MB of disk images t

[android-developers] Re: collections vs arrays?

2009-02-03 Thread David Turner
if you need to access them in a tight loop, arrays are much faster than collections (because accessing an array element is very fast compared to calling an interface method to get at the corresponding item in a collection) On Wed, Feb 4, 2009 at 2:37 AM, gsmd wrote: > > The 'Writing Efficient An

[android-developers] Re: How can host machine connect to emulator using socket

2009-02-02 Thread David Turner
You will need to setup a network redirection, see http://code.google.com/android/reference/emulator.html#emulatornetworking On Mon, Feb 2, 2009 at 6:57 AM, zcj0429 wrote: > > Hi, everyone: >How can my host machine connect to emulator using socket? In my > application, I need emulator to open

[android-developers] Re: WiFi in Emulator

2009-01-31 Thread David Turner
there is a single ethernet port in the emulated system. It is connected to an internal firewall/router within the emulator code that emulates all connectivity through standard BSD sockets. Which connection is used depends entirely on your host machine setup, but wifi or no wifi doesn't have any imp

[android-developers] Re: Emulator's /dev/ttyS0

2009-01-23 Thread David Turner
start the emulator with "emulator -qemu -serial " this will connect /dev/ttyS2 in the emulated system to your host device. On Thu, Jan 22, 2009 at 11:31 AM, coolio wrote: > > Hi, > > When I adb shell to emulator, I can see /dev/ttyS0. In my program, I > can open this device but the device is no

[android-developers] Re: JMI and android

2009-01-19 Thread David Turner
h you won't be able to deploy these apps to other phones easily) On Mon, Jan 19, 2009 at 9:22 AM, arnouf wrote: > > It was JNI but JMI exists (Java Metadata Interface). > > Arnaud > > On Jan 9, 7:32 pm, "Fred Grott(shareme)" wrote: > > I think he meant J

[android-developers] Re: how to send AT command to android phone?

2009-01-16 Thread David Turner
the short answer is that this is not possible. The Android GSM stack is already talking to the modem through the AT comment channel. The AT protocol is not designed to allow several clients to talk to the modem, the latter assumes it only talks to a single device, and is very state-full. If you w

[android-developers] Re: Shell access in Dev Phone

2009-01-15 Thread David Turner
you can use "adb shell" to get a shell prompt on the phone. Beware that this runs a version of "ash" so you'll be missing a *lot*of shell features. Moreover, the system doesn't come by default with typical shell programs like find, cp, etc... and no Perl / Python / etc... (the terminal app also all

[android-developers] Re: Display multiple videos at the same time in Android r1.

2009-01-15 Thread David Turner
I suspect that this has nothing to do with the emulator per se. you do not describe exactly what you're doing nor what the crash really is, so offering you a helpful answer is a bit tough. On Thu, Jan 15, 2009 at 1:08 PM, sush wrote: > > Hi, > > I am trying to play two videos simultaneously in t

[android-developers] Re: DNS Caching

2009-01-15 Thread David Turner
It simply is not possible to disable the cache from Java. The fixes/enhancements you mention are already planned for a future release, but didn't happen yet for various reasons. sorry about that. On Thu, Jan 15, 2009 at 12:43 PM, Greg White wrote: > All, > > I've recently been bit by some DNS ca

[android-developers] Re: Audio in the emulator...

2009-01-15 Thread David Turner
the emulator now supports audio recording. If you have problems with it, you should report mode detailed information about it here On Thu, Jan 15, 2009 at 11:05 AM, Andrei Craciun wrote: > Hi All, > As reported on this blog: > http://blog.roychowdhury.org/2008/04/29/sip-ua-for-android-stack-rtp-r

[android-developers] Re: Is Android going to use the LGPL'ed Qt 4.5?

2009-01-15 Thread David Turner
short answer: no On Wed, Jan 14, 2009 at 9:05 PM, Alexander Orlov wrote: > > Today Nokia have announced that it will relicense the Qt Framework > under LGPL added-to-qt

[android-developers] Re: gps checksum never used, validity of message not verified

2009-01-15 Thread David Turner
please note that gps_qemu.c is only used for GPL emulation within the Android emulation (i.e. it is never used on a real device). that's why there is little point in checking the checksum here, since all the messages sent to it are normally generated by the emulator program (for details, see the do

[android-developers] Re: adb Error: ADB server didn't ACK

2009-01-14 Thread David Turner
hello, what do you mean by "after running Process Explorer" exactly ? On Tue, Nov 25, 2008 at 9:02 AM, Gameboy wrote: > > I got same problem on windows, after running Process Explorer. > > > --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Re: why I can not get log whose logtag is "GSM"

2009-01-13 Thread David Turner
I believe these are sent to the radio log buffer, which is distinct from the standard one (filtering is done at a lower level). try "adb logcat -b radio" to dump its content On Wed, Jan 14, 2009 at 7:19 AM, shine wrote: > > I found if I use "GSM" LOG TAG, I can not get the output by logcat, it >

[android-developers] Re: JMI and android

2009-01-09 Thread David Turner
hello, JMI what ? On Fri, Jan 9, 2009 at 3:05 PM, arnouf wrote: > > Hi guys! > > A simple question: Is JMI supported by Android? > > Regards > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: auto generation of Android.mk file

2009-01-09 Thread David Turner
You don't need one Android.mk per sub-directory. It's perfectly possible to use one top-level Android.mk that references all sources required for your project. just refer to them with their subpath, as in subdir/filename. and no, it's not possible to convert an arbitrary Makefile into an Android.m

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
if it can't resolve dns or if it loads the web page > successfully. > > Thanks, > -Freepine > > On Fri, Jan 9, 2009 at 1:14 AM, David Turner wrote: > >> thanks, you don't need to send me the local output. >> >> I'm guessing something. Can you tell

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
some tool like Ethereal or > Sniffer? Is there a tool available within the emulator itself? > > Thanks for the feedback and sorry for so many questions:) > > On Thu, Jan 8, 2009 at 6:52 PM, David Turner wrote: > >> thanks, >> >> however, I'd be more intereste

[android-developers] Re: native C++ SIP stack on Android

2009-01-08 Thread David Turner
first, you cannot have C++ code in the kernel. however, depending on how your stack is designed, you may be able to use it from Java through JNI given that you give absolutely no information about your stack's interface, it's really difficult to answer your question On Thu, Jan 8, 2009 at 5:57 P

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
_http_setup: creating http proxy service connecting to: > wwwgate0-ch.mot.com > :1080 > server name 'wwwgate0-ch.mot.com' resolved to 58.247.121.38 > proxy_http_setup: creating HTTP Proxy Service Footer is (len=2): > ' > ' > http_service_free > > D:\Andr

[android-developers] Re: Skia Graphics Library

2009-01-08 Thread David Turner
rote: > > Agreed.Skiais not offered as a lib/sharedlib inside android, as its > > api is not guaranteed to be stable over time. See > > code.google.com/p/skiafor the active trunk. > > > > On Wed, Jan 7, 2009 at 8:31 AM, David Turner wrote: > > > forget about us

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-07 Thread David Turner
hello, can you give me the output of using the -debug-proxy option when starting the emulator ? On Wed, Jan 7, 2009 at 2:34 AM, Li Wei (Vincent) wrote: > > Hi, > I made a full build of the latest master branch(including cupcake > changes), and then "make sdk" and run emulator with -http-proxy o

[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread David Turner
it's /sdcard :-) On Wed, Jan 7, 2009 at 2:10 PM, pradeep wrote: > > hi > can any one let me know how to to retrieve path of the sdcard? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: Skia Graphics Library

2009-01-07 Thread David Turner
forget about using Skia headers for deployed projects. they are not part of the stable Android API and *will* change in future releases, breaking your code in unexpected ways. but if you want to go that route and inflict huge pain to yourself in the future, have a look to android/external/skia On

[android-developers] Re: the text font size in pixel != the actual pixels each character occupies?

2009-01-06 Thread David Turner
On Tue, Jan 6, 2009 at 7:09 AM, Xiongzh wrote: > Say, my font size of the text in TextView is 20.5px. > It doesn't mean that every character of the text occupies 20.5px in > the screen, does it? > certainly not, the "text size" is only a notional unit. the actual number of pixels covered by the

[android-developers] Re: Emulator crashing

2009-01-05 Thread David Turner
On Mon, Jan 5, 2009 at 6:23 PM, Sundog wrote: > > I always get this too. I don't think it interferes with normal > operation. > thanks for pointing this out. Can you answer the same basic questions ? > > On Jan 4, 3:16 am, Vitaly wrote: > > Hello, > > > > I'm just starting with Java, Eclipse

[android-developers] Re: Emulator crashing

2009-01-05 Thread David Turner
this should not happen. you're probably encountering a weird emulator bug. the Eclipse message is normal in case of an emulator crash. what exact platform/OS do you have ? can you repeat this consistently, or are the crashes random ? thanks in advance On Sun, Jan 4, 2009 at 11:16 AM, Vitaly wro

[android-developers] Re: The adb tool of emulator

2008-12-23 Thread David Turner
it means you must be root to be able to use the "getevent" program. in other words, it can only work in the emulator or if you have a developer phone (after running the "su" command to go into root shell mode) On Wed, Dec 24, 2008 at 3:29 AM, Ashrotronics <030440...@163.com> wrote: > > Hi everyo

[android-developers] Re: How to config the emulator to browser www?

2008-12-23 Thread David Turner
I assume he meant this: http://code.google.com/android/reference/emulator.html On Tue, Dec 23, 2008 at 12:39 PM, JBQ wrote: > > where is the emulator instal lnotes? > Thanks. > > On 12月23日, 下午7时11分, "Fred Grott(shareme)" > wrote: > > I assume you mean use browser to got an URL , correct? > > >

[android-developers] Re: Problems running telnetd on adp1

2008-12-23 Thread David Turner
don't forget to enable "USB debugging" in the Settings to be able to see your device through ADB On Tue, Dec 23, 2008 at 12:57 AM, Mark Murphy wrote: > > onlythoughtwo...@googlemail.com wrote: > > Thanks, is there another way then telnet to access the phones console > > from my pc. SSH? > > adb s

[android-developers] Re: Problems running telnetd on adp1

2008-12-21 Thread David Turner
telnetd has been removed after RC30. On Mon, Dec 22, 2008 at 1:27 AM, onlythoughtwo...@googlemail.com < onlythoughtwo...@googlemail.com> wrote: > > When i start telnetd via console, as root ,no errors occur. But i > cannot connect to my phone via telnet and the ps dump also shows that > no telnet

[android-developers] Re: iPhone SIM Card compatibility

2008-12-21 Thread David Turner
it's simply due to the fact that AT&T 3G uses frequencies that are not supported by the G1 hardware. So there is no way to get better than Edge on AT&T networks. On Sun, Dec 21, 2008 at 2:05 AM, Ramin wrote: > > I have a 1st gen iPhone I use for development and a 3G model for day- > to-day use.

[android-developers] Re: How to dynamically load a share library in android?

2008-12-21 Thread David Turner
Anything not built with the android-toolchain will *not* work on Android.the only exception are trivial programs like "hello world" that work mostly by luch, if nothing else. you should at the very minimum build with the toolchain provided with the open-source tree, against the Bionic C library (a

[android-developers] Re: upgrade emulator firmware

2008-12-21 Thread David Turner
you can't have a persistent+writable system image at the moment. the emulator currently creates a temporary file, copies all of system.img, then uses this for the /system partition when running. When it exits, the temp file is destroyed. this will change in a later release of the SDK. For now, you

[android-developers] Re: Phone?DIY

2008-12-20 Thread David Turner
what are you talking about ? On Sun, Dec 21, 2008 at 4:34 AM, cer...@gmail.com wrote: > > Can the phone DIY? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
Also, "emulator -verbose" will dump the IP address(es) of the DNS server that have been configured, just to check. On Fri, Dec 19, 2008 at 12:09 PM, David Turner wrote: > Can you tell me how you invoke the emulator with the -dns-server option ? > Do you have logs of your int

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
stand! > > > > Thanks for your help! > > Christian Wiesbauer > > > > *Von:* android-developers@googlegroups.com [mailto: > android-develop...@googlegroups.com] *Im Auftrag von *David Turner > *Gesendet:* Freitag, 19. Dezember 2008 11:31 > > *An:* android-develop

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
As I said, the emulated system must speak to a real DNS server, so it can't access the HOSTS/resolv.conf on your machine. When it starts, the emulator tries to find the current DNS servers for your machine, and setups network aliases so that the Android system can send query to them. However, a ty

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
that's because the emulator can only work with addresses that are supported by a real DNS server. internal names on your network are probably resolved with the help of a hosts file or specific resolv.conf configuration. the solution is to run a DNS proxy on your machine and use the -dns-server opt

[android-developers] Re: Emulator is not able to connect to network

2008-12-19 Thread David Turner
ts in the Eclipse > preference and using -http-proxy in the emulator arguments. However, > it seems these helps nothing to this. > > Is there any solution to this weird network problem? :-) > > Thx for ur help > > Best regards, > Nicholas > > On 12月19日, 下午3時20分,

[android-developers] Re: Emulator is not able to connect to network

2008-12-18 Thread David Turner
first, use "emulator -wipe-data" to rest your /data partition.If this still doesn't solve the problem, try updating to 1.0_r2 and let us know On Fri, Dec 19, 2008 at 3:06 AM, Esther wrote: > > My emulator can't connect to network by Browser or Email application > but the PC does connect to inter

[android-developers] Re: Computer Reboots when accessing G1 through USB

2008-12-17 Thread David Turner
strange. Can you try removing the USB driver from your system (reboot in safe mode, remove the driver, then reboot again). Does it solve the problem ? If yes, this is something we would like to be able to reproduce. If not, it's something else on your machine (e.g. bad hardware, like a broken USB c

[android-developers] Re: Is there a default proxy/firewall on the emulator?

2008-12-11 Thread David Turner
I recommend you to read the "Emulator Networking" documentation: http://code.google.com/android/reference/emulator.html#emulatornetworking If your host machine is behind a proxy, you might want to use the -http-proxy option when starting the emulator in order to redirect all TCP requests go a give

[android-developers] Re: Network access problem on ubuntu

2008-12-09 Thread David Turner
the emulator detects wether the ANDROID_PRODUCT_OUT environment variable is defined (this variable is normally set by build/envsetup.sh) if it is defined, the program assumes that you are building the Android sources and will automatically detect which files to get to launch the most recent system

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread David Turner
Also, generally speaking, you can use address 0.0.0.0 to accept connections from any network interface without having to worry about the difference between the GSM and Wifi channels On Mon, Dec 8, 2008 at 8:49 PM, David Turner <[EMAIL PROTECTED]> wrote: > FYI the emulator doesn't

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread David Turner
FYI the emulator doesn't simulate wifi, so all you have is an emulated GPRS/EDGE/3G connection. On Wed, Dec 3, 2008 at 7:12 AM, Andrea <[EMAIL PROTECTED]> wrote: > > Marcio: Yeah, that is what i am looking for, but on the emulator > info.ipAddress returns 0. I hope on a real device it returns the

[android-developers] Re: ConnectivityManager with the emulator

2008-12-08 Thread David Turner
pressing F8 will toggle the emulator network on/off. On Mon, Dec 8, 2008 at 9:09 AM, nimbus83 <[EMAIL PROTECTED]> wrote: > > Hello, > > I want to implement with the emulator an application that receives > information when the network connection is connected or disconnected. > How can I register a

[android-developers] Re: How to configure android emulator disk space?

2008-12-08 Thread David Turner
disk space is not configurable at the moment. the partition sizes reflect the ones on the G1. we may add a feature to allow arbitrary partition sizes in the future, but for now, you will have to hack the emulator sources to do that (search for 0x420 in android_main.c). as for anything built wi

[android-developers] Re: Epilog: Largish HTTP Post vs. ANR

2008-12-07 Thread David Turner
but these days, we recommend the much shorter alias: http://b.android.com :-) On Sun, Dec 7, 2008 at 3:00 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > Dumb question... where's the appropriate place to send the bug reports? > > http://code.google.com/p/android/issue

[android-developers] Re: G1 linux

2008-12-06 Thread David Turner
set of the stack. Hopefully, this should expand progressively as time goes, though I have no ETA for new related features. On Sat, Dec 6, 2008 at 12:08 AM, David Turner <[EMAIL PROTECTED]> wrote: > the Bluetooth stack used in Android is bluez, i.e. the same one than > standard Linux dist

[android-developers] Re: G1 linux

2008-12-06 Thread David Turner
the Bluetooth stack used in Android is bluez, i.e. the same one than standard Linux distributions, if that can help. and, this just in, you may consider buying an unlocked and flashable Android developer device for your project. This is the same hardware than the G1 but will allow you to add any k

[android-developers] Re: OpenGL Troubles on the G1

2008-12-03 Thread David Turner
the emulator only runs the Android software OpenGL renderer; while the G1 comes both with the software renderer and a hardware-accelerated one that talks to the graphics chip. Which one your application will end up using depends on which GL configuration you're asking for (I believe that you'll get

[android-developers] Re: Arabic ((( farsi ))) on android

2008-11-27 Thread David Turner
Sophisticated scripts like Arabic and Indic, which requires non-trivial glyph substitution and positioning to render well are currently not supported by Android. They are planned for future revisions of the platform, but I have strictly no ETA for this. On Thu, Nov 27, 2008 at 5:48 PM, Ludwig <[EM

[android-developers] Re: HTTP compression lost when using 3G connection

2008-11-25 Thread David Turner
The best way to test this is try to run your test from the emulator, since the browser wouldn't then use an intermediate T-Mobile proxy. On Tue, Nov 25, 2008 at 12:27 AM, melody <[EMAIL PROTECTED]> wrote: > > I've been working on improving the speed of my application and noticed > that when I tur

[android-developers] Re: a simple native pthread test but SIGSEGV generated!

2008-11-17 Thread David Turner
You are using arm-none-linux-gnueabi-gcc which is not compatible with the android toolchain. This kind of issue is perfectly normal and non supported. Only trivial programs may correctly work that way, more by chance that anything else. On Mon, Nov 17, 2008 at 1:35 PM, allstars <[EMAIL PROTECTED]

[android-developers] Re: How to Redir UDP Packets at init

2008-11-14 Thread David Turner
You should be able to use QEMU -redir options when starting the emulator, as in: emulator -qemu -redir tcp:8000::8010 to redirect tcp port 8000 on localhost to 8010 on the emulated system. You can also use several successive options. The only problem is that the parsing/handling of the -qemu op

[android-developers] Re: ADB via USB

2008-11-14 Thread David Turner
this is probably a permission problem. I don't have the specifics, but I assume that it should be possible to allow a given user/group to access the device by changing the udev rules (which must be done as root though) On Fri, Nov 14, 2008 at 10:20 AM, nt94043 <[EMAIL PROTECTED]> wrote: > > On No

[android-developers] Re: How to run AT Commands on Emulator

2008-11-03 Thread David Turner
try "emulator -help-radio" On Mon, Nov 3, 2008 at 9:52 AM, Abraham <[EMAIL PROTECTED]>wrote: > > HI All, > > I would like to fine out if Android emulator provided along with > SDK1.0 allows the users to send AT commands to perform some action. > > If some has tried this, could someone pls let me

[android-developers] Re: "Wiring" emulator services to PC's

2008-10-30 Thread David Turner
Moreover, the emulator is just a "normal" application and doesn't have specific administrative priviledges to access low-level wireless protocol packets (which would be needed to do anything that ressemble what's described here) On Fri, Oct 24, 2008 at 7:17 PM, Justin (Google Employee) <[EMAIL PR

[android-developers] Re: differences between emulator (1.0rc1) and actual device (g1)

2008-10-30 Thread David Turner
the system images in the SDK 1.0 and the phone should be equivalent. However, the issue is probably that the "touch area" on thephone is rather large and overlaps other checkboxes, depending on the size of your finger. How tightly packed are your checkboxes ? On Thu, Oct 30, 2008 at 12:34 AM, Se

[android-developers] Re: Application tries to overwrite Android System on G1

2008-10-30 Thread David Turner
What do you mean by "it tries to over write the Android system" exactly ?How do you try to install your application by the way ? On Thu, Oct 30, 2008 at 5:56 PM, deadscenekid <[EMAIL PROTECTED]>wrote: > > I just recently tried to install my latest application on my G1 and > for some reason it tri

[android-developers] Re: repo init

2008-10-30 Thread David Turner
Hmmm, the servers appear to be up and running. Could it be that you are behind some sort of firewall ? On Thu, Oct 30, 2008 at 5:15 PM, dan <[EMAIL PROTECTED]> wrote: > > I have been unable to download the android source using the > instructions found at http://source.android.com/download. Runnin

[android-developers] Re: Android Emulator

2008-10-29 Thread David Turner
you must use the 'redir' command from the emulator console (which is specific to the emulator program), i.e. with "telnet localhost 5554" then "redir " "adb shell " is used to run a command within the emulated system, and this is something very different On Wed, Oct 29, 2008 at 12:28 PM, [EMAIL P

<    1   2   3   4