Re: [android-developers] Emulator problem with GSM network

2010-01-28 Thread David Turner
Thanks for sharing this. SUPPORT_LEGACY_QEMUD is needed to be able to run 1.0 and 1.1 system images in the emulator correctly, so I would prefer to fix the original problem itself. I'm interested in any way to reproduce the problem. If you have a machine where this happens, can you send me the

Re: [android-developers] Emulator on Ubuntu problem running after first time starting emulator

2010-01-28 Thread David Turner
This is an emulator bug that is unrelated to your application. I could never reproduce it but several people have reported it. Can you confirm that you have a 100% way to reproduce it ? On Thu, Jan 28, 2010 at 3:24 PM, Kevin Duffey andjar...@gmail.com wrote: Hi all, I've seen other posts on

Re: [android-developers] Seg fault on Emulator startup?

2010-01-26 Thread David Turner
Did you try the -audio option, see -help-audio for details... On Mon, Nov 23, 2009 at 7:30 PM, garycode garyma...@hotmail.com wrote: Hi, When I start the emulator with the command emulator -avd Android2.0 it comes up with Segmentation fault (core dumped) if i start it without sound it

Re: [android-developers] Running multiple emulator on same desktop

2010-01-26 Thread David Turner
It is possible to have two emulators communicate on the same development machine. See details here http://developer.android.com/intl/zh-CN/guide/developing/tools/emulator.html#emulatornetworking On Tue, Jan 26, 2010 at 5:16 PM, hap 497 hap...@gmail.com wrote: Hi, If I run multiple emulator

Re: [android-developers] How to estabilish TCP communication between emulators

2010-01-25 Thread David Turner
See the documentation at http://developer.android.com/guide/developing/tools/emulator.html#connecting On Mon, Jan 25, 2010 at 5:52 AM, saikiran n saikiran@gmail.com wrote: Hi I have developed an application my pc as server and android as client. I am successfully run it. Now i have

Re: [android-developers] fontconfig

2010-01-14 Thread David Turner
There is no fontconfig in Android, period, and probably will never be. I don't know how you can access the system font files though, I'm not sure it's easy from the native side. There maybe a Java API to locate them though. On Thu, Jan 14, 2010 at 9:43 AM, vijayendra R

Re: [android-developers] Launch updated emulator?

2010-01-13 Thread David Turner
the new emulator binary is still at the same place, i.e. SDK/tools/emulator. Can you check your PATH environment variable, it probably points to a directory where a previous binary is installed. On Wed, Jan 13, 2010 at 2:33 PM, abhi rkabhi1...@gmail.com wrote: Hi, I am working on Linuix and I

Re: [android-developers] Re: Launch updated emulator?

2010-01-13 Thread David Turner
emulator @avdname or emulator -avd avdname you don't need the .avd suffix here On Wed, Jan 13, 2010 at 3:37 PM, abhi rkabhi1...@gmail.com wrote: How do you start an emulator from the command line with that AVD file? When I tried $emulator -avd AndroidAVD.avd, I got the error: emulator:

Re: [android-developers] Re: Old dock in 2.1 SDK?

2010-01-12 Thread David Turner
On Tue, Jan 12, 2010 at 11:28 AM, Dianne Hackborn hack...@android.comwrote: On Tue, Jan 12, 2010 at 11:22 AM, Kevin Duffey andjar...@gmail.comwrote: The animated wall papers is part of the SDK tho..right? I have yet to get 2.1 on my droid or emulator.. from the few blogs I've read about Nexus

Re: [android-developers] How to set http proxy on Android Emulator

2010-01-12 Thread David Turner
Strange, it should be working. What is the output of using the -debug-proxy option ? 2010/1/12 Milky bboymi...@gmail.com Dear all Android Emulator I'm developing android application in my university that must use the internet through proxy server. In Android SDK 1.5 I use parameter -

Re: [android-developers] Reduce the Boot up time

2010-01-07 Thread David Turner
You should send this to android-porting. android-developers is for application developers. On Thu, Jan 7, 2010 at 1:33 AM, Nilly ni...@oriolesoftware.com wrote: Hi All, I want to reduce the boot up time of android. I have tried removing some stuff such as not required .apk from the /

[android-developers] Re: Enhancement to Emulator

2010-01-07 Thread David Turner
On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe thisara...@gmail.comwrote: Hi all, Im trying to write an application using bluetooth. But using the android emulator, can i try that out. I mean is it emulated that feature(bluetooth). Or even the camera feature. And also if i would like to

Re: [android-developers] Re: Enhancement to Emulator

2010-01-07 Thread David Turner
chris.smith...@gmail.com wrote: Noting what David said, you are better off using a development device like the google dev phone 1. -theSmith On Jan 7, 1:49 pm, David Turner di...@android.com wrote: On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe thisara...@gmail.comwrote: Hi all

Re: [android-developers] android emulator speed

2010-01-06 Thread David Turner
Upgrade to Windows 7 ? More seriously, how much slower is it ? Are you sure you're talking about exactly the same hardware (including CPU and RAM) ? Did you try to disable your antivirus scanner, some of them really don't like the emulator's internal runtime code generation and do really hideous

Re: [android-developers] Will native libs built with the NDK work with the Nexus One?

2010-01-06 Thread David Turner
On Tue, Jan 5, 2010 at 6:39 PM, Francois Hamel francois.ha...@gmail.comwrote: Basically is the ARMv7 instruction set somehow an extension of the ARMv5 or is it completely different? Yes, it's an extension. All NDK-generated code that runs on Android ARMv5 devices should run on ARMv7 ones too.

[android-developers] Re: How to load compiled kernel into emulator?

2010-01-04 Thread David Turner
yes, use the -kernel file option to do that. of course, the custom kernel should match the emulated hardware provided by the emulator (i.e. the virtual ARM platform goldfish). See external/qemu/docs/ANDROID-KERNEL.TXT for details On Mon, Jan 4, 2010 at 1:02 AM, Thisara Rupasinghe

Re: [android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-08 Thread David Turner
This should definitely not happen. On the same hardware, the emulator running on Linux should be slightly faster than on Windows (due to the way QEMU implements its internal event loop and other technical details). Does starting with the -no-audio flag changes anything ? Another thing, can you

Re: [android-developers] basic question about emulator

2009-12-07 Thread David Turner
I confirm it's all 0 due to the fact that you're in the emulator. As far as I know, the value should be decimal for GSM networks, but I don't know about other ones like CDMA. On Mon, Dec 7, 2009 at 9:24 AM, Robotuner lk...@engenious.com wrote: Hi: I am playing with Android Development and

Re: [android-developers] Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-04 Thread David Turner
Try using the -http-proxy proxy option when starting the emulator. This implements a transparent HTTP proxy that doesn't need modifying settings in the emulated system at all. It used to be buggy in previous releases of the emulator (mainly when used with MS proxy servers) but this should have

Re: [android-developers] Emulator not receiving UDP Packets

2009-11-17 Thread David Turner
the emulator only listens on 127.0.0.1 on the machine it runs on. This is intentional. If you're sending the UDP packets to your machine's real IP address (e.g. 192.168.1.1) then the emulator will not see them. you should really use something like ssh port forwarding if you want to do that kind

Re: [android-developers] Emulator not receiving UDP Packets

2009-11-17 Thread David Turner
On Tue, Nov 17, 2009 at 8:26 AM, David Turner di...@android.com wrote: the emulator only listens on 127.0.0.1 on the machine it runs on. This is intentional. to make it clear, it only listens on 127.0.0.1 after you setup any redirection (either though adb or the emulator's console

Re: [android-developers] Size of .apk file for Emulator

2009-11-11 Thread David Turner
Try running adb logcat to get traces from the system when doing your installation. It should give you some information. On Tue, Nov 10, 2009 at 8:47 PM, Sanjiv sanjiv_guha_...@yahoo.com wrote: Is there a limit to the size of the .apk file when using it on the emulator. When I run the default

Re: [android-developers] Zoom out on the emulator

2009-11-09 Thread David Turner
emulator -scale 0.5 to scale the emulator window 50% you can also change the scale dynamically at runtime through the console (window scale scale) On Mon, Nov 9, 2009 at 8:39 AM, jsdf jasons...@gmail.com wrote: Hi all, When I run the emulator with an AVD set to WVGA854, it is far too tall

Re: [android-developers] Run ADB client on diff PC than daemon

2009-11-09 Thread David Turner
Yes, use ssh local port forwarding for tcp:5037 this is the port the server is listening to for client connections. On Mon, Nov 9, 2009 at 7:18 AM, AndyM andrewdm...@gmail.com wrote: Is it possible to have adb client connect to an adb daemon on another machine? My dev environment is on a

Re: [android-developers] SDK = 1.6 requires glibc = 2.4

2009-11-05 Thread David Turner
I'm sorry, but is is extremely unlikely that we're going to support a Linux distribution that was released more than 2 years ago. I recommend upgrading to a more recent version of Debian or to Ubuntu. On Tue, Nov 3, 2009 at 12:54 PM, richf nospam...@yahoo.com wrote: I've been doing Android

Re: [android-developers] trouble running app on 2.0 emulator

2009-11-04 Thread David Turner
hmm, can you tell us the content of your .apk, i.e. what does running unzip -l yourapplication.apk prints out ? (feel free to obfuscate names if needed, but the first four characters of each line are important). thanks in advance On Wed, Nov 4, 2009 at 3:17 PM, cvance383 cvance...@yahoo.com

[android-developers] Re: IP broadcast on emulator

2009-10-30 Thread David Turner
well, this is simply not supported at the moment. On Thu, Oct 15, 2009 at 6:12 AM, Anders lanils...@gmail.com wrote: Hi, I have an application that acts as both client and server. I have a scenario that I need to test that involves three devices. One of them needs to broadcast a message

[android-developers] Re: Native Shared Lib

2009-10-27 Thread David Turner
you're using the wrong path. If the library was generated with the NDK, it should be installed under /data/data/*appname*/*lib*/libnative.so Also, you could try directly System.loadLibrary(native); that will translate to the same thing automatically. On Mon, Oct 26, 2009 at 9:49 AM, Sanjay

[android-developers] Re: Emulator is stalled when requestLocationUpdates API is used.

2009-10-21 Thread David Turner
I confirm this should be fixed by the latest 1.6 SDK.If this is not the case, please file a bug with as much detail as possible. On Wed, Oct 21, 2009 at 1:30 PM, Lance Nanek lna...@gmail.com wrote: I ran into something like that back on Android 1.5. There's a lot about it here:

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread David Turner
Sounds like a bug. Which exact version of the SDK are you using, and on which platform? On Tue, Oct 20, 2009 at 1:17 PM, kllrnohj kllrn...@gmail.com wrote: That's the thing, I'm not getting *any* delay whatsoever. I set it to the highest it would go (15 seconds) and I connected, sent, and

[android-developers] Re: Emulator: LogCat Errors for Donut 1.6 Release

2009-10-12 Thread David Turner
It's not necessarily an error. Surface FLinger is trying to access several types of GPU before fall-backing to its software OpenGL ES implementation.The messages correspond to this probing, nothing more. On Mon, Oct 12, 2009 at 2:56 PM, TjerkW tje...@gmail.com wrote: Sorry but the 10-12

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread David Turner
Please don't hijack existing threads, it makes searching more difficult in the future.Besides, I recommend posting your question in the android-porting forum instead. Regards On Tue, Sep 15, 2009 at 1:58 PM, ANDRONIC BOANARIJESY andro...@gmail.comwrote: I am a student in Computer Science in

[android-developers] Re: problem loading opengl

2009-09-01 Thread David Turner
May I suggest you add a bit more detail about what you're doing and the error(s) you get if you want people here to help you.? On Mon, Aug 31, 2009 at 10:31 PM, anuj tyagi tyagi.anu...@gmail.com wrote: logcat shows errors in loading GLS and some other errors like sys\ and application

[android-developers] Re: Emulator quick start

2009-08-25 Thread David Turner
is. On Aug 8, 2:01 pm, David Turner di...@android.com wrote: What do you mean by still very slow. What are you trying to do, which steps are you using to get there, etc.. On Fri, Aug 7, 2009 at 9:51 PM, Jack Jia jack.j...@gmail.com wrote: Hi, I found out it is still very slow even I keep

[android-developers] Re: How come the accelrometers maximum sampling rate are so low?

2009-08-25 Thread David Turner
It depends on the hardware. The CPU clock has little to do with the rate at which these events are generated. On Tue, Aug 25, 2009 at 3:53 PM, Marie marie.li.ko...@gmail.com wrote: Hi, I've tried to measure the accelerometer sampling rate on the G1 when the rate was set to FASTEST and the

[android-developers] Re: How to change /sdcard to be not a read-only file system

2009-08-19 Thread David Turner
Are you using the SDK with an AVD? If so, this should not happen. Otherwise, trying using the -sdcard file option, as in: mksdcard 32M mysdcard.img emulator -sdcard mysdcard.img other options On Wed, Aug 19, 2009 at 3:28 PM, n179911 n179...@gmail.com wrote: Hi, I am trying to copy an image

[android-developers] Re: Emulator quick start

2009-08-08 Thread David Turner
What do you mean by still very slow. What are you trying to do, which steps are you using to get there, etc.. On Fri, Aug 7, 2009 at 9:51 PM, Jack Jia jack.j...@gmail.com wrote: Hi, I found out it is still very slow even I keep the emulator running. Jack On Thu, Jul 30, 2009 at 12:08 PM,

[android-developers] Re: ARM Architektur

2009-07-31 Thread David Turner
On Fri, Jul 31, 2009 at 11:20 AM, Mr.No f.hi...@arcor.de wrote: Hi, the Android OS was designed for the ARM Architecture, am i right? and the conclusion is that the android os runs only on computers with a ARM processor architecture? The Android OS sources can already compile and run as

[android-developers] Re: [android-developers]how to incude include static files(.a) in android jni application?

2009-07-31 Thread David Turner
You need to generate a shared library, not a static one, to be able to use native code with JNI. May I recommend you to download and use the Android NDK to do that? On Fri, Jul 31, 2009 at 10:00 AM, frog bluewater0...@gmail.com wrote: HI,all I am recently developing a application use android

[android-developers] Re: ARM Architektur

2009-07-31 Thread David Turner
, but it would take a few years to get a commercial product, etc... Just life as usual in the embedded software development world :-) On 31 Jul., 12:17, David Turner di...@android.com wrote: On Fri, Jul 31, 2009 at 11:20 AM, Mr.No f.hi...@arcor.de wrote: Hi, the Android OS was designed

[android-developers] Re: ARM ABI compliance

2009-07-29 Thread David Turner
On Wed, Jul 29, 2009 at 1:35 PM, Prasanth Kammampati prasant...@gmail.comwrote: Hello, I have one doubt regarding the ABI compatibility of the binaries generated in Android. Are they ARM ABI compatible. In the sense, can I link a library generated using RVCT compiler with and Android

[android-developers] Re: running Ubuntu (virtual box) over WinXp

2009-07-29 Thread David Turner
There shouldn't be any problem, but be sure to allocate lots of RAM and disk to your virtual machine if you intend to rebuild the whole Android source tree. A minimum of 1 GB of RAM is highly recommended. On Wed, Jul 29, 2009 at 3:38 PM, Fabiano luizfabianoc...@gmail.com wrote: hi, We are

[android-developers] Re: Creating a file in AFS with NativeBinary and Android App

2009-07-29 Thread David Turner
First, there is no need to flood the mailing list with the same message, it's a sure way to not be answered in the most helpful way. Second, you don't provide enough details about what your program does. Do you chek your write() or fwrite() calls in your native code to detect an error? Where do

[android-developers] Re: About Android Email architecture ??

2009-07-28 Thread David Turner
There are a number of comments in the source code.I'm sorry but you will have to look at it to get what you want. On Tue, Jul 28, 2009 at 10:41 AM, Chris narendrasingh.bi...@gmail.comwrote: I have source code with me, iam looking for some documentation on android email system. Thanks On

[android-developers] Re: Deadlock in GLSurfaceView

2009-07-27 Thread David Turner
It's hard to know without more details about what operations your threads are doing, and in what order. On Mon, Jul 27, 2009 at 10:10 AM, Pieter s...@gamesquare.nl wrote: We are developing an application that uses a GLSurfaceView to display 3D objects. We regularly get the Application Not

[android-developers] Re: about wchar_t to char

2009-07-25 Thread David Turner
Try posting to android-ndk instead. Short answer: wchar_t is not supported in native code at all. On Fri, Jul 24, 2009 at 2:45 PM, jock jorlo...@gmail.com wrote: ndk in how the char convert wchar_t Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How to trace the HTTP requests/responses e.g. by using Wireshark?

2009-07-22 Thread David Turner
If you're using the emulator, try emulator -tcpdump file other-options to create a capture file that can be opened with WireShark. You can also do that dynamically from the emulator console with network capture start file and network capture stop. On Wed, Jul 22, 2009 at 8:40 AM, android.vinny

[android-developers] Re: GPS still not working on emulator with r3

2009-07-22 Thread David Turner
Actually, some emulator geo-related bugs have been fixed, but there are still some issues, probably in the framework code, which happens to have evolved quite a bit since 1.1. I can't say much more right now, since I haven't dug the issue deeper. On Wed, Jul 22, 2009 at 8:28 PM, Brian Conrad

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread David Turner
On Mon, Jul 20, 2009 at 4:14 PM, Disconnect dc.disconn...@gmail.com wrote: /data only contains - on this running dream, with mostly standard firmware - a few directories, none of which are directly application related and all of which appear to be standard: What is a mostly standard firmware

[android-developers] Re: error: cloning the kernel from git

2009-07-17 Thread David Turner
Use git://android.git.kernel.org instead of git://git.android.kernel.org On Fri, Jul 17, 2009 at 9:06 PM, krishna devarapalli krishna.andr...@gmail.com wrote: git clone git://git.android.kernel.org/kernel/common.git kernel-common Initialized empty Git repository in

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-16 Thread David Turner
No, the magic should be supported out of the box with the 1.5 SDK. What exact platform are you on? On Thu, Jul 16, 2009 at 6:22 PM, johnny johnny.ra...@gmail.com wrote: I'm running into the same problem but i have Vodafone's Htc Magic...do i require a different version of the adb tool as

[android-developers] Re: Networking with the Android Emulator.

2009-07-16 Thread David Turner
On Thu, Jul 16, 2009 at 1:06 PM, Mani mani.on.gt...@gmail.com wrote: All : Currently , when i launch the Android Emulator , it creates a Virtual eth0 interface and assigns the IP Address 10.0.2.15 to it . It also has a Host Loop Back address 10.0.2.2 which is nothing but the alias to the

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread David Turner
You need a different version of ADB to access this phone at the moment. A future release of the SDK will provide an ADB binary that should be able to do that, but this is not available yet as far as I know. You're quite on the bleeding edge, aren't you ;-) On Tue, Jul 14, 2009 at 6:05 PM, legerb

[android-developers] Re: File.isFile() and File.isDirectory() both return false

2009-07-14 Thread David Turner
Maybe because your application has no permission to access the corresponding file/directory? On Tue, Jul 14, 2009 at 12:06 PM, Anirudh aithalanir...@gmail.com wrote: Hi, I have a function to list the contents of a directory. For the contents of the directory /System, both isDirectoy and

[android-developers] Re: ActiveX support

2009-06-30 Thread David Turner
Active X is windows-specific and x86-specific, Android currently best runs on ARM processors running Linux. The answer is thus no :-) On Tue, Jun 30, 2009 at 7:36 AM, oj.android oj.andr...@gmail.com wrote: Hi, Is it possible to port ActiveX into Android? Brs, OJ

[android-developers] Re: Android OpenGL extensions (GL_ANDROID_direct_texture)

2009-06-30 Thread David Turner
If they are not documented, chances are that they should be considered private and might disappear in the future, or not be supported on different hardware. On Tue, Jun 30, 2009 at 5:07 AM, markusn82 markus...@gmail.com wrote: Does anyone know where I can find documentation on the

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread David Turner
On Wed, May 27, 2009 at 1:40 PM, sarang sarangd...@gmail.com wrote: Is this a bug in emulator 1.5 ? Yes, it's a known bug in the 1.5 emulator which will be fixed in the next SDK release. However, what others have mentioned is true, there is little you will be able to do in the emulator

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-24 Thread David Turner
On Wed, Jun 24, 2009 at 5:57 AM, JC jameschen...@gmail.com wrote: Dear sir, I learnt that there is a recommended minimum device requirements for Android device, however if I want to develop a device without five-way navigation key, is this allowed? The framework and many applications will

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-12 Thread David Turner
On Fri, Jun 12, 2009 at 5:09 AM, MIND GAME lovekhanna04...@gmail.comwrote: can anybody sugest me a way test npapi pluguns in android browser. I don't know, but maybe you could try answering the questions I sent you previously to help you debug the issue? Just maybe... On Jun 11, 4:09 pm,

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-12 Thread David Turner
On Fri, Jun 12, 2009 at 5:09 AM, MIND GAME lovekhanna04...@gmail.comwrote: can anybody sugest me a way test npapi pluguns in android browser. I don't know, but maybe you could try answering the questions I sent you previously to help you debug the issue? Just maybe... On Jun 11, 4:09 pm,

[android-developers] Re: Google Checkout Payment Decline Won't Let Customer Repurchase App

2009-06-12 Thread David Turner
I believe you're in the wrong forum, this is for people developing Android applications, and it is very unlikely that anyone working on Market reads this on a regular basis. Try the following instead: http://www.google.com/support/forum/p/Android+Market On Fri, Jun 12, 2009 at 2:54 PM, Chris @

[android-developers] Re: How to assign/get the ip address of an emulator ?

2009-06-10 Thread David Turner
http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking On Tue, Jun 9, 2009 at 8:35 PM, sandy.andr...@gmail.com sandy.andr...@gmail.com wrote: I am running a server application on emulator. I want to connect to the server through a client application running on

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread David Turner
The ADB server binds and listen to port 5037. The error message seems to indicate that another process is already using this port. Do you have specific services / background programs running your machine ? On Wed, Jun 10, 2009 at 4:06 PM, jphdsn jph...@gmail.com wrote: Hi Coud anyone tell me

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread David Turner
On 10 juin, 16:22, David Turner di...@android.com wrote: The ADB server binds and listen to port 5037. The error message seems to indicate that another process is already using this port. Do you have specific services / background programs running your machine ? On Wed, Jun 10

[android-developers] Re: unable to launch Emulator.

2009-06-09 Thread David Turner
Well, you need to create an AVD, look at the content of -help-disk-images and -help-avd and you'll understand what that means. Or you could even read the documentation on developer.android.com about this: http://developer.android.com/guide/developing/tools/avd.html On Mon, Jun 8, 2009 at 1:13

[android-developers] Re: Connect laptop built-in gps receiver to emulator

2009-06-03 Thread David Turner
emulator -help-gps ? On Wed, Jun 3, 2009 at 6:54 PM, Lex hakkinen1...@gmail.com wrote: Hello, my Dell Latitude E6400 has a built-in gps receiver. How can I hook it up with the emulator? I have enough problems spoofing gps data due to exisiting Android bugs, so I might as well use real

[android-developers] Re: Bug? Geo fix and sdk 1.5

2009-06-03 Thread David Turner
this is a known issue that will be fixed in the next 1.5 SDK release.Sorry about that. On Wed, Apr 29, 2009 at 1:10 AM, rob_b...@gmx.net rob_b...@gmx.net wrote: have the same problem! also tried with the r1 version of the new sdk 1.5. worked on sdk 1.1. doesn't matter if I use ddms or

[android-developers] Re: Whole lotta garbage collecting going on.... How do I find out what is being collected?

2009-06-02 Thread David Turner
On Tue, May 26, 2009 at 12:47 AM, Robert Green rbgrn@gmail.com wrote: That is SO MUCH more code than I ever wanted there but it's ridiculously more efficient than it was before so I'm going to call it good and move on. It looks like a lot of your code comes from C code that had to run

[android-developers] Re: repo fail

2009-06-02 Thread David Turner
It looks like the server responded with an HTML error page that was not properly recognized by repo. It may be related to a recent android.git.kernel.org outage. Is the error still happening to you ? Are you using a proxy to connect to the internet too ? On Tue, Jun 2, 2009 at 1:29 PM, caijing

[android-developers] Re: Is it legal to customize and publish the built-in applications?

2009-06-02 Thread David Turner
On Sun, May 31, 2009 at 8:04 AM, alucard20004 alucard20...@gmail.comwrote: Like the Alarm Clock, Calculator, etc. I see that the source is available at : http://source.android.com/ For example, the alarm clock I'm going to modify will look exactly the same as the built-in one, but

[android-developers] Re: Whole lotta garbage collecting going on.... How do I find out what is being collected?

2009-06-02 Thread David Turner
. no problem :-) I was just seeing you complaining about that much more code so I thought I could help reduce the burden. After all, if something's not broken... On Jun 2, 7:27 am, David Turner di...@android.com wrote: On Tue, May 26, 2009 at 12:47 AM, Robert Green rbgrn@gmail.com wrote

[android-developers] Re: Sending SMS more than 160 characters

2009-05-29 Thread David Turner
The SMS protocol allows for fragmented SMS delivery, where one long message is splitted into several SMS packets sent to the wire (each one charged separately, of course :-)) This involves setting a fragment bit in the packet, as well as filling an optional header with fragment index+count and

[android-developers] Re: Problem with Internet connection through emulator

2009-05-28 Thread David Turner
: Thanks for the reply - if anyone has a simple setup for the local proxy, plz post it, since I am not likely to investigate this problem any further. On 25 Mai, 12:16, David Turner di...@android.com wrote: It's a known bug in the 1.5 emulator. It only happens under specific network

[android-developers] Re: using stl in Android

2009-05-27 Thread David Turner
On Wed, May 27, 2009 at 4:26 PM, Mark Murphy mmur...@commonsware.comwrote: Is it possible to use stl in android ?? If by STL you mean: http://en.wikipedia.org/wiki/Standard_Template_Library then probably not. First, this list is for those developing using the Android SDK, which is

[android-developers] Re: using stl in Android

2009-05-27 Thread David Turner
On Wed, May 27, 2009 at 7:32 PM, L!TH!UM clarkd...@gmail.com wrote: I'm not sure what your point is in the above statement. Just because a system is built using one language, does not mean other apps cannot be developed using some other language. As long as there is a C++ compiler for the

[android-developers] Re: calloc probelm in Dalvik

2009-05-26 Thread David Turner
It looks like you're building the simulator build. In this case, your host C library will be used, so whatever calloc() returns really depends on it. Do you know what sizes the program is trying to allocate? I assume you can add a simple trace in case of failure. Hope this helps On Tue, May 26,

[android-developers] Re: Where can I find the emulator console???

2009-05-26 Thread David Turner
telnet localhost 5554 http://developer.android.com/guide/developing/tools/emulator.html#console On Tue, May 26, 2009 at 7:51 PM, Nox v.beh...@googlemail.com wrote: Hi everyone, do you know where the emulator console is??? I wanted to use my location with the geo-location, but I canĀ“t find

[android-developers] Re: Problem with Internet connection through emulator

2009-05-25 Thread David Turner
The emulator does just that, but the variable must be defined in the environment on the host. Adding http_proxy on the device itself is not supported as far as I know. I may have worked in previous SDK releases, but I don't think it is guaranteed to work on 1.5 or future releases. On Fri, May 8,

[android-developers] Re: Problem with Internet connection through emulator

2009-05-25 Thread David Turner
It's a known bug in the 1.5 emulator. It only happens under specific network conditions that are hard to replicate but should be fixed in a later release (you can try to rebuild the emulator from the open-source depot if you want the fix). One potential way to fix this is to run an intermediate

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-05-25 Thread David Turner
On Sun, May 24, 2009 at 6:17 PM, Steve steveoliv...@gmail.com wrote: Not working for me either, running a Mac with SDK 1.5. I wonder if the new AVD's have somehow broken the port numbers, and since you have to run each emulator against a separate AVD, now the 2 emulators can't see each

[android-developers] Re: How to send SMS between two emulators (SDK 1.5 or older)

2009-05-25 Thread David Turner
Can you tell me if the issue is fixed for you in the SDK 1.5 r2 release that just went off the presses ? Thanks in advance. On Sun, May 24, 2009 at 6:16 PM, Steve steveoliv...@gmail.com wrote: Not working for me on a Mac with SDK 1.5, and others have seen the same thing, here is the issue

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-25 Thread David Turner
Thanks for filing the bug, I'll look into it. However, before that, I really need to know a few more details: - on which platform(s) do you see this bug ? (exact details, including version/patch numbers please) - is the problem appearing in all applications that access the network, or only some

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-25 Thread David Turner
itself). thanks you On Mon, May 25, 2009 at 11:41 PM, David Turner di...@android.com wrote: Thanks for filing the bug, I'll look into it. However, before that, I really need to know a few more details: - on which platform(s) do you see this bug ? (exact details, including version/patch

[android-developers] Re: Building Cupcake on Mac deploying on my ADP1

2009-05-20 Thread David Turner
Hello, On Wed, May 20, 2009 at 2:07 PM, TAKEphONE shimo...@gmail.com wrote: Hi all, I am trying to setup my Mac OSX (Mac Mini) to build and deploy the Cupcake source code and deploy the built images on my ADP1 device. I must admit - I am no Linux guy, so a bit slow on understanding the

[android-developers] Re: how to speciyfy multiple dns servers for emulator

2009-05-12 Thread David Turner
comma separated. Try -help-dns-server for more details On Tue, May 12, 2009 at 11:43 AM, a druid klausf...@gmail.com wrote: Hi, I found following documentation with 'emulator -help' -dns-server servers use this DNS server(s) in the emulated system so how do I specify multiple

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread David Turner
As far as I know, the 1.1 system image available in the 1.5 SDK is the same one than the one that came with the 1.1 SDK On the other hand, the tools that come with the SDK have evolved. The Dalvik conversion happens at built time, before anything is run on the 1.1. system in the emulator. Do you

[android-developers] Re: problem when simulating GPS on SDK1.5

2009-05-07 Thread David Turner
Yes, it's a known bug that is being investigated. On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com npak...@gmail.comwrote: Hi all, Now I'm writing a software and using GPS simulator on SDK1.5 I use an AVD device by command : android create avd --target 2 --name AVD_15 My problem is when

[android-developers] Re: Creating window on Android using C++

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 9:45 AM, Maha maha2...@gmail.com wrote: Hi, Is there any way to create window on Android using C++. No, there isn't and probably never will. My ultimate aim is to draw bitmap image on android but using C++ You could try drawing into a buffer provided by the

[android-developers] Re: Obtaining/calculating process CPU usage.

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 7:34 AM, Sachin pandhare sachinpandh...@gmail.comwrote: Hello Dianne, Which functionality may break in future releases? Is it executing the command using runtime? String cmd = top -n 1; process = runtime.exec(cmd); the format, or even the availability of top is very

[android-developers] Re: Creating window on Android using C++

2009-05-07 Thread David Turner
that in the future, but I'll let the browser team answer this one since I don't know what's the current plan for plugin support is (apart that it probably involves running the plugin in a different process) On 5/7/09, David Turner di...@android.com wrote: On Thu, May 7, 2009 at 9:45 AM, Maha

[android-developers] Re: sdcard on emulator mounted read only !!

2009-05-05 Thread David Turner
I guess /system/etc/vold.conf is missing from your build. How did you configure it ? On Mon, May 4, 2009 at 11:51 PM, Marco Nelissen marc...@android.com wrote: Well, so what does the system log say? If there's an error mounting the card, it's probably going to be logged there. On Mon, May

[android-developers] Re: 1.1 emulator - internet problem

2009-05-05 Thread David Turner
This was fixed in the final release On Tue, May 5, 2009 at 9:15 AM, Christine christine.kar...@gmail.comwrote: In the preview release of SDK 1.5, internet didn't work on the 1.1 emulator. Is that still true in the current release? In my 1.1 emulator, I don't have internet.

[android-developers] Re: sdcard on emulator mounted read only !!

2009-05-05 Thread David Turner
, 2009 at 11:51 PM, David Turner di...@android.com wrote: I guess /system/etc/vold.conf is missing from your build. How did you configure it ? On Mon, May 4, 2009 at 11:51 PM, Marco Nelissen marc...@android.comwrote: Well, so what does the system log say? If there's an error mounting the card

[android-developers] Re: Android emulator not startup on winxp+msys

2009-05-04 Thread David Turner
MSys is not supported anymore as a compilation environment for the emulator. You should try using Cygwin instead. Otherwise, try to run gdb to know exactly where the emulator crashes. It might help changing the default optimization mode to -O0 -g in Makefile.android though On Mon, May 4, 2009 at

[android-developers] Re: running emulator image with standard qemu

2009-05-04 Thread David Turner
you could try, but standard QEMU lacks Android-specific hardware emulation, so I doubt it will run as expected. On Mon, May 4, 2009 at 9:27 AM, Gustavo gustav...@gmail.com wrote: Hi, Is it possible to run the android image distributed with the SDK using the standard qemu executable (instead

[android-developers] Re: camCorder not working well in emulator

2009-05-01 Thread David Turner
It is not working, there is no camera emulation at the moment in the Android emulator. On Thu, Apr 30, 2009 at 11:15 PM, Sheepz eladk...@gmail.com wrote: hi all, just installed myself a new AVD and set the camera to true, however the camcorder is very unresponsive and seems like it's not

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-17 Thread David Turner
On Fri, Apr 17, 2009 at 8:30 AM, Mariano Kamp mariano.k...@gmail.comwrote: It says in http://developer.android.com/sdk/preview/: SDK Known Issues No network access from emulator while running Android 1.1 target Applications can not access the network when running on an Android 1.1 target

[android-developers] Re: How to send SMS between two emulators (SDK 1.5 or older)

2009-04-17 Thread David Turner
On Fri, Apr 17, 2009 at 6:15 PM, a druid klausf...@gmail.com wrote: Hi, with the SDK 1.5 it is possible to instantiate two emulators with two different devices. The phone number is pre-assigned, and is the same than the control port displayed in the window title. For example: first

[android-developers] Re: How to send AT command to the modem ?

2009-04-17 Thread David Turner
You can't do that. The AT protocol is to basic to allow several clients talking to the modem, which means that only the GSM/RIL stack can talk to it, or really bad things may happen (i.e. you would start receiving answers addressed to the GSM stack, some of your messages might be inserted between

[android-developers] Re: problem in using context.getCacheDIr() in emulator.

2009-04-16 Thread David Turner
If you use SDK 1.1, there is no cache partition in the emulator, unless you use the -cache file option. If you use the preview SDK 1.5, then a cache partition file is automatically created for you when you create an AVD, and will be used automatically when you start the emulator with this AVD.

<    1   2   3   4   >