Re: [android-developers] NDK r7b: crtbegin_so.o: No such file

2012-04-12 Thread David Turner
On Tue, Apr 3, 2012 at 6:29 AM, greno gr...@verizon.net wrote: I have this linking problem with ndk r7b: ...arm-linux-androideabi/bin/ld: crtbegin_so.o: No such file: No such file or directory I have not found a solution yet. Any ideas? You don't give any explanation about how you're

Re: [android-developers] When Android 4 SDK will be compatible with Java 7?

2011-11-04 Thread David Turner
On Fri, Nov 4, 2011 at 1:39 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: As title. is there an OTA for Java7 support? There is strictly no ETA at the moment, so don't count on it for now (OTAs are a different thing I believe ;-)) Also there is a difference between being able to build

Re: [android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-10-26 Thread David Turner
On Wed, Oct 26, 2011 at 1:19 AM, HamdiHamZ hamdi.zr...@gmail.com wrote: Hi Dianne and thank you for your reply, Sorry, I can't get your point, do you mean that we can't use C++ at all with the NDK? So why we can see cpp classes in the android sources? is it only to build libs and after

Re: [android-developers] info about ARMV6 processor type and phone model

2011-09-13 Thread David Turner
ARMv6 doesnt use the same VFP instruction set than ARMv7 (ARMv6 is VFPv2, while ARMv7 is VFPv3) The two are completely incompatible, I really doubt that Firefox is going to work on this device. On Sat, Sep 10, 2011 at 4:49 PM, netuser501 netuser...@gmail.com wrote: Hi, I'm looking for the

Re: [android-developers] Enable android:hardwareAccelerated, but build against a target earlier than 3.0

2011-09-12 Thread David Turner
That's the point of this attribute, just add android:hardwareAccelerated to your manifest. On platforms 3.0, it will be ignored, on platforms = 3.0, it will tell the system to use the hardware-accelerated canvas implementation (that provides the same API than the software based one). Just

Re: [android-developers] Re: The emulator died when I execute ping in adb shell repeatly

2011-08-26 Thread David Turner
Besides, the ICMP protocol is not supported in the emulator, so ping will never work, even if you're root. 2011/8/25 Luiz Carvalho maximusm...@gmail.com You need root permissions for run ping... use this: http://forum.xda-developers.com/showthread.php?t=682828 On Jul 28, 11:27 pm, nanhu

Re: [android-developers] Re: Updating UI from second thread

2011-08-19 Thread David Turner
On Fri, Aug 19, 2011 at 1:35 PM, Snowak psno...@gmail.com wrote: What a wonderful answer. It's a great idea to answer everything with you don't know what you're doing and tell me to do it using worst possible method. Yeah, let's freeze the UI thread. It's gonna be cool. You can't do the work

Re: [android-developers] Reg: Android Emulator Ports Network

2011-08-05 Thread David Turner
On Fri, Aug 5, 2011 at 6:38 AM, Aluvala Suman aluvala.su...@gmail.comwrote: Hi All, I am writing an application which chooses the ports randomly, so when server is replying with response, i observe in wireshark that, its saying Destination Port Unreachable. As the port is choosen at the

Re: [android-developers] Strange effects on Android's truetype decoder

2011-08-04 Thread David Turner
That's perfectly normal, text is hinted in the vertical direction by default on Android to make it more legible (and reduce glyph cache memory pressure). On Wed, Aug 3, 2011 at 9:06 PM, guich guiha...@gmail.com wrote: Hi, If you call Paint.setTextSize and set it to a wide range, like 7 to

Re: [android-developers] Re: Strange effects on Android's truetype decoder

2011-08-04 Thread David Turner
I believe this should do it: http://developer.android.com/reference/android/graphics/Paint.html#LINEAR_TEXT_FLAG On Thu, Aug 4, 2011 at 6:29 PM, guich guiha...@gmail.com wrote: Hi David, Is there a way to turn this off? I mean, disable the hint in vertical direction (i don't understand well

[android-developers] Re: BitmapFactory and RGB Formats

2011-07-13 Thread David Turner
Not NDK related, please try android-developers On Wed, Jul 13, 2011 at 11:38 AM, Андрей Жданов zdanc...@gmail.com wrote: Hello everyone! :) I've found next problem. I've convert image resource with: BitmapFactory.Options o = new BitmapFactory.Options(); o.inPreferredConfig =

Re: [android-developers] Installing a x86 image in new sdk tools v12

2011-07-07 Thread David Turner
On Thu, Jul 7, 2011 at 8:32 AM, Bogdan Muresan hy.yours...@gmail.comwrote: I've upgraded to android sdk tools 12. As a release note google says: The AVD manager and emulator can now use system images compiled for ARM v7 and x86 CPUs. Has anyone tried to run a x86 image? If so, can you

[android-developers] Re: Linking different object files created from crosstool with the current shared library created from ndk-build

2011-06-30 Thread David Turner
Archive your object files into a library (e.g. libfoo.a) Then declare a prebuilt static library in your Android.mk, as in include $(CLEAR_VARS) LOCAL_MODULE := libfoo_prebuilt LOCAL_SRC_FILES := /path/to/libfoo.a include $(PREBUILT_STATIC_LIBRARY) ... Then later reference it in the

Re: [android-developers] compile in NDK, 3rd party shared library linked error

2011-06-16 Thread David Turner
You should post this to android-ndk instead. Use LOCAL_STATIC_LIBRARIES instead of LOCAL_STATIC_LIBRARY Similarly, LOCAL_SHARED_LIBRARIES instead of LOCAL_SHARED_LIBRARY Hope this helps 2011/6/16 维江 郭 sawae...@gmail.com i m trying to build shared library named libbestv.so by ndk-build this

Re: [android-developers] Emulator .ini files

2011-06-13 Thread David Turner
On Sun, Jun 12, 2011 at 7:17 PM, mlybrand mlybr...@gmail.com wrote: Is there a good reference for what options are available for me to put in these files: avd-nam.ini config.ini emulator-user.ini The documentation shows several command line options for further controlling the emulators,

Re: [android-developers] Re: Android emulator bottleneck

2011-05-31 Thread David Turner
There are so much misinformation in this thread. Let's try to clarify: The *main* bottleneck for slow performance in the emulator is OpenGLES emulation, which is currently performed in software, moreover in emulated ARM instructions. All platform releases are emulated by the same virtual CPU, the

Re: [android-developers] OpenGL ES 2 support in emulator?

2011-05-20 Thread David Turner
On Fri, May 20, 2011 at 6:07 PM, Thomas thomasjakw...@gmail.com wrote: I'm wondering if Google has any plans to include OpenGL ES 2 support in the Android emulator at some point in the future? Yes, we're working on it. No ETA, we'll announce it when it's ready. ES 2 is becoming

Re: [android-developers] Android renders RGB values wrong.

2011-05-14 Thread David Turner
On Mon, Apr 18, 2011 at 5:48 PM, Andrew Huang proelited...@gmail.comwrote: Specify a RGB, i.e, color name=test_color#ff292728/color. Use the a Color Meter tool on Windows or Mac to sample the color in the Layout Preview screen. You'll see that it renders the correct value of 292728.

Re: [android-developers] Re: No sound with Android 3.0 emulator?

2011-02-23 Thread David Turner
Thanks a lot for this information. Can I ask you to file a bug at b.android.com with the text you just wrote here? It will help us track the issue for a future fix. Thanks On Wed, Feb 23, 2011 at 11:00 AM, blindfold seeingwithso...@gmail.comwrote: Problem solved! The trick for me was to delete

Re: [android-developers] Re: Honeycomb SDK

2011-02-18 Thread David Turner
On Fri, Feb 18, 2011 at 2:39 PM, Gregg Reno gregg.r...@gmail.com wrote: Related to this, I'm wondering if we will be in a situation where we won't be able to test our honeycomb apps on real devices. For example, I'm planning on picking up a xoom - hopefully in the next couple of days. If we

Re: [android-developers] Re: Emulator loses network connection issue

2011-02-01 Thread David Turner
I have not been able to reproduce the issue. For the record, how exactly does the error occurs. I.e.: Does the emulated system think that it has no longer connectivity? I.e. no more 3G icon in the status bar, and the browser complains with a dialog if you try to use it. If not, what kind of

Re: [android-developers] One frame buffer per activity or one frame buffer per the whole system

2011-01-26 Thread David Turner
Everything is double-buffered in Android. This means that: - each window is backed by two buffers (one front and one back) - the final framebuffer, where all window surfaces are composited, uses double-buffering too This is to ensure that you'll never ever seen any shearing and other unpleasant

Re: [android-developers] Error starting Android emulator whith GPS COM1

2011-01-19 Thread David Turner
Please send bugs to b.android.com However, from the looks of it, your GPS module is simply not sending a NMEA-0183-compliant data stream. On Sun, Jan 16, 2011 at 10:24 PM, Dobrinia_rus shu...@gmail.com wrote: I run the emulator command D:/android/emulator.exe -system system.img -kernel

Re: [android-developers] adb devices command produced device serial number contains no consolePort field

2011-01-19 Thread David Turner
On Fri, Jan 14, 2011 at 10:50 PM, v4 v4ende...@gmail.com wrote: According to Dev Guide (http://developer.android.com/guide/developing/ tools/adb.html#devicestatus): - adb devices command was expected to print out connected devices each identified by a unique serial number in format of type-

Re: [android-developers] C++ exception support confusion

2011-01-13 Thread David Turner
Yes, there is nothing that supports exceptions within the system. However, using the latest NDK, you can generate exception-managed machine code. Everything is inside your application's machine code. This should work on 1.5+ devices. I may have to rephrase this document to make this clearer. On

Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread David Turner
On Sat, Jan 8, 2011 at 5:34 AM, brian purgert brianpurge...@gmail.comwrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas It really depends on what you're doing.There are certain things that are simply not

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

2010-12-31 Thread David Turner
Do you have a service bound to localhost:5037 ? If so, it will prevent the ADB server from running properly, and might explain the cannot bind error message. On Fri, Dec 3, 2010 at 5:08 PM, Zbahoui zbah...@gmail.com wrote: Hi, I'm trying to install the android sdk on my Debian SID but when I

Re: [android-developers] 2.3 Emulator instability

2010-12-07 Thread David Turner
I'm currently looking into it, but it seems the emulator needs more emulated RAM to run 2.3 properly. Try starting it with the -memory 256 option and tell me if it behaves better for you. On Tue, Dec 7, 2010 at 3:13 PM, Raymond Rodgers raym...@badlucksoft.comwrote: I've noticed that the 2.3

Re: [android-developers] Issue loading native libraries (i.e. System.load()/dlopen) on my Nexus One after FRG83 System update

2010-11-18 Thread David Turner
On Wed, Nov 17, 2010 at 7:24 AM, Piyush Khanna piyushkhann...@gmail.comwrote: Hi, I am an Android app developer, and I have purchased a Nexus One device which I use to continuously test my developed Android applications. Background: - One of the applications I developed

Re: [android-developers] running emulator in non gui mode

2010-10-28 Thread David Turner
emulator -no-window will do that :-) You might also want to redirect the shell with -shell-serial device, to send your script through this. On Thu, Oct 28, 2010 at 11:56 AM, Andrei gml...@gmail.com wrote: Is it possible to run the emulator without gui showing? I want to continually run test

Re: [android-developers] Is it possible

2010-10-10 Thread David Turner
If the server is addressable from the Internet (i.e. not under a NAT or firewall that hides it), then it should work (provided you code uses its public IP address to connect to it). On Sat, Oct 9, 2010 at 4:57 AM, Jatin D Patel depo.ja...@gmail.com wrote: I have developed an android app which

Re: [android-developers] Can we send MMS from one emulator to another emulator.

2010-09-24 Thread David Turner
Unfortunately no, Briefly, the MMS protocol requires active participation from the base stations, which are not emulated. On Fri, Sep 24, 2010 at 8:20 AM, nomi nomeshga...@gmail.com wrote: Hi to all, In my dummy application i want to send MMS. But i don't know how to check it.I know that

[android-developers] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread David Turner
Please avoid cross-posting !! this should go into android-developers only. On Wed, Sep 22, 2010 at 6:57 PM, Atul Raut atul.dr...@gmail.com wrote: Hi I have imported import android.os.Message; still giving error. On Wed, Sep 22, 2010 at 10:24 PM, Atul Raut atul.dr...@gmail.com wrote: Hi am

Re: [android-developers] Re: Android NDK has a bug in socket recvfrom ????

2010-09-09 Thread David Turner
For the record, sizeof(struct sockaddr) will likely be too smal as the input value. You need to provide the real size of the socket address structure being pointed to. In this specific case, this would be sizeof(struct sockaddr_in). On Thu, Sep 9, 2010 at 9:19 PM, fadden fad...@android.com

Re: [android-developers] dlopen error, with working libraries on other phone

2010-08-24 Thread David Turner
Your library seems to be linked against an internal system library (i.e. one that is not exposed by the NDK). If this is the case, this kind of problem is totally normal, each OEM and each platform release is free to modify these system libraries, and sometimes this will break apps that depend

Re: [android-developers] Android Socket Communication

2010-07-29 Thread David Turner
http://developer.android.com/guide/developing/tools/emulator.html#connecting On Mon, Jul 19, 2010 at 10:50 AM, Arjun arjunf...@gmail.com wrote: Please clarify me on the following issues. How to assign a IP address to the emulator ? I have two application packages which communicate through

Re: [android-developers] Re: Polling

2010-07-12 Thread David Turner
On Sun, Jul 11, 2010 at 9:05 PM, perumal316 perumal...@gmail.com wrote: Hi, I tried using FileObserver but I am having problems importing android.os.FileObserver But I am getting the following error: The import conflicts with a type defined in the same file Any idea how to resolve this?

Re: [android-developers] Question about IP packet header's TOS( DSCP) field marking

2010-07-11 Thread David Turner
Which packets are you capturing exactly ? If you are using the emulator's -tcpdump file option, then you're capturing the traffic on the emulated ethernet LAN, corresponding to the ethernet packets sent through the emulated kernel (and received by the emulator's internal router/firewall). If you

Re: [android-developers] Is android 2.2 emulator support any flash or flash lite?

2010-07-01 Thread David Turner
On Thu, Jul 1, 2010 at 1:09 AM, choi devmc...@gmail.com wrote: Hello, I read several article. they said always emulator doesn't support flash, flash lite on the emulator. so i just want to make sure it is true or not. i must report to my boss. The emulator only emulates an ARMv5TE CPU,

Re: [android-developers] Re: Avoiding GPL

2010-06-25 Thread David Turner
there should not be any legal issues and all can go as same .apk. Thanks On Wed, Jun 23, 2010 at 3:14 PM, Chi Kit Leung michaelchi...@gmail.comwrote: I think david is very right about that. On Wed, Jun 23, 2010 at 4:04 PM, David Turner di...@android.com wrote: On Tue, Jun 22, 2010 at 9

Re: [android-developers] Opening local URLs using the emulator browser

2010-06-24 Thread David Turner
On Thu, Jun 24, 2010 at 12:29 PM, kypriakos demet...@ece.neu.edu wrote: Is it possible for the emulator's browser to read the local disk on the machine it is running on not directly, the emulator shields the guest system from the machine it is running. you can access your machine's

Re: [android-developers] Re: Avoiding GPL

2010-06-23 Thread David Turner
On Tue, Jun 22, 2010 at 9:33 PM, HaMMeReD adamhamm...@gmail.com wrote: If you can use it without modifying the source then just do it, and provide credit to the library creator clearly in your app. this is wrong on many levels. As soon as you *distribute* the binaries (e.g. through Market),

Re: [android-developers] android client, pc server (JAVA) can't open TCP connection

2010-06-23 Thread David Turner
On Mon, Jun 21, 2010 at 1:40 PM, xuxu shlomitmay...@gmail.com wrote: HI all, I'm trying to open tcp connection between android (emulator) and PC. I'm trying to create a new socket and then it crash. the line where it crash: Socket s = new Socket(10.0.2.2, 27015); // trying to open a socket

Re: [android-developers] Re: Emulator behaving like I´m pressing =, but I´m not!

2010-06-22 Thread David Turner
to release a new version of an app :( On 21 jun, 21:44, David Turner di...@android.com wrote: mmm, seems really weird. Can you start the emulator with the -debug-keys option and see what keycodes are dumped. If they are different (for different key strokes on your keyboard

Re: [android-developers] Poor roaming performance ! Is it an Android bug ?

2010-06-22 Thread David Turner
The DNS cache should be cleared automatically as soon as the network status changes. I doubt this is the reason for your problems. Which Android version / device are you using ? On Tue, Jun 22, 2010 at 6:49 AM, Gyan gnanesh@gmail.com wrote: This is a little off topic, but yet, if you might

Re: [android-developers] Emulator behaving like I´m pressing =, but I´m not!

2010-06-21 Thread David Turner
mmm, seems really weird. Can you start the emulator with the -debug-keys option and see what keycodes are dumped. If they are different (for different key strokes on your keyboard), something is weird inside the emulated system. If all codes are the same, something is weird in the emulator binary

Re: [android-developers] adding C libraries to library layer

2010-06-21 Thread David Turner
It's not possible unless you build your own firmware (or root your phone and modify the system). On Sun, Jun 20, 2010 at 10:49 PM, shoi shoikat.shadow...@gmail.com wrote: Hi I have a few already written C libraries which i want to embed into the library layer of the android architecture at

Re: 回复: Re: [android-developers] Hi, anyone kn ows how to install python on android?

2010-06-19 Thread David Turner
2010/6/19 铮王 hbyw...@gmail.com Oh.I think it must there are ways to install linux apps ,but i'm so appreciate for your answer ,thanks , hope someone will help me on it... No, actually Android is very different from a standard Linux distribution, and you can't install Linux apps on it. The

Re: [android-developers] Emulator and cellular access

2010-06-18 Thread David Turner
No, there isn't. And doing this is a bit more complex than you probably imagine :-) On Thu, Jun 17, 2010 at 9:23 PM, Demetris demet...@ece.neu.edu wrote: Hi all, I think the Android emulator has the capability to emulate incoming phone calls but I am wondering if there is a capability to

Re: [android-developers] file size limit on sdcard in emulator

2010-06-18 Thread David Turner
there should not be a problem. Do you have a way to reproduce this (with exact instructions, please). Also what does freeze really means here ? Is the emulator still listed through adb devices for example ? Can you do a adb shell to access it, etc... On Fri, Jun 18, 2010 at 3:22 AM, berliner

Re: [android-developers] Re: The emulator running terrible slow in win2008r2 64bit with 4G RAM

2010-06-18 Thread David Turner
On Thu, Jun 17, 2010 at 7:16 PM, Alexander a.fradi...@gmail.com wrote: Hi. i have similar problem. the emulator peaks to 50% and can't pass from there. the applications are running slow. If you have a dual-core CPU, this is normal, it means that one CPU is running at 100%, the other is idle.

Re: [android-developers] How to trace localhost proxy connection?

2010-06-16 Thread David Turner
If you are using the emulator, try the -tcpdump file option, it will save the emulated ethernet traffic into a file that you can open with WireShark. On Wed, Jun 16, 2010 at 7:27 AM, Moto medicalsou...@gmail.com wrote: Hi, I'm currently trying to debug an issue with my application and I

Re: [android-developers] Frame rate suprisingly low in landscape mode

2010-06-15 Thread David Turner
It's most certainly an emulator issue. Within the emulator, everything OpenGL-related is performed in software, more precisely in ARM machine code that is JIT-ed to x86 by the emulation engine. This probably includes some framebuffer / texture rotation stuff. On Thu, Jun 10, 2010 at 9:17 AM,

Re: [android-developers] Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread David Turner
How did you compile the library if you didn't use the NDK?. There are great chances that what you generated is not a valid ARM ELF binary that can be loaded on Android. On Tue, May 25, 2010 at 6:31 AM, Karteek N kartee...@gmail.com wrote: Hi all, I have gone through android ndk tutorials. But

Re: [android-developers] Using the Binder in One of My c++ Application

2010-05-25 Thread David Turner
. As such, there is no guarantee that an application compiled to link to them dynamically will work in the future (or even on previous releases of the system). Hope this helps On 5/25/10, David Turner di...@android.com wrote: This is not exposed by the NDK, so there is no official way to do that from applications

Re: [android-developers] An SDK without Java

2010-05-24 Thread David Turner
On Thu, May 20, 2010 at 8:44 AM, Matt Joyce mdjo...@gmail.com wrote: Are there any plans to produce an SDK that's Java free? I guarantee you that there are no plans to do that. Why fix something that is not broken ? I'd really like to develop for my phone, but the current SDK prevents me

Re: [android-developers] Using the Binder in One of My c++ Application

2010-05-24 Thread David Turner
This is not exposed by the NDK, so there is no official way to do that from applications. What does sit on the same layer as Bionic Libc layer means anyway ? On Mon, May 24, 2010 at 1:40 AM, Anoop Pant anoopwait...@gmail.com wrote: Hi, I want to understand if i want to user the Binder in

Re: [android-developers] Android 2.2 SDK emulator and JIT?

2010-05-23 Thread David Turner
First, only the 2.2 system image contains the enabled JIT, so you will need to create a new AVD to be able to test it. Second, we make no claims on performance when enabling the JIT in the emulator (which itself JITs ARM instructions to x86), but you should still be able to see some improvements.

Re: [android-developers] Flash on Froyo Emulator

2010-05-21 Thread David Turner
The Flash plugin will not run on the emulator for multiple technical reasons: no ARMv7 emulation, and no hardware OpenGL ES 2.0 emulation yet. On Fri, May 21, 2010 at 11:26 AM, Mr Pants pantssoftw...@googlemail.comwrote: HI I might have missed something, but how do we get flash working on the

Re: [android-developers] External Fonts Make Low Memory Error

2010-05-09 Thread David Turner
The problem is that you are using 6 huge fonts. Do you really need to open all of these at the same time in your application ? On Sat, May 8, 2010 at 12:32 AM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi, - when i try to use external fonts in my app. Its crashing my app without

[android-developers] 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

Re: [android-developers] ndk to access native bluetooth lib?

2010-05-01 Thread David Turner
not recommended at all, the native bluetooth stack is an implementation detail that is likely to change between devices and or platform releases. There is a reason why it is not exposed by the NDK. On Sun, May 2, 2010 at 5:47 AM, Sean Liao wirelessw...@gmail.com wrote: looking for any pointer

Re: [android-developers] vibrator and emulator

2010-05-01 Thread David Turner
The emulator simply doesn't support vibrator emulation at this point, sorry. On Sat, May 1, 2010 at 9:54 PM, Simone simone.russ...@gmail.com wrote: I have a simple problem: I make a simple call to Vibrator.vibrate(long time);, but in the logcat I don't see anything related to it. How can I

Re: [android-developers] The emulator running terrible slow in win2008r2 64bit with 4G RAM

2010-04-28 Thread David Turner
Weird, are you using a roaming profile or something else that involves the network? On Wed, Apr 28, 2010 at 3:53 AM, Billy Cui billy...@gmail.com wrote: This is my laptop T400 2.53G duo with 4G RAM. Before this system, I use win2003 32big with 2G RAM 1.8G cpu, and running Andorid emulator

Re: [android-developers] How to get my actual IP address on emulator

2010-04-27 Thread David Turner
Hmm, here's a proposal: 1. have a small server program on your dev machine, listening to any:6000 2. have your application detect it is running in the emulator, then connect to 10.0.2.15:6000, this should get it through the server 3. have the server output its IP address to the client. 4. profit

Re: [android-developers] emulator: ERROR: the user data image is used by another emulator. aborting (cont'd)

2010-04-14 Thread David Turner
It is possible, and quality patches are gladly accepted, to be sent at b.android.com The code you're looking for is at external/qemu/android/utils/filelock.c On Tue, Apr 13, 2010 at 8:07 PM, Dmitry Golubovsky golubov...@gmail.comwrote: OK, finally strace gave me this:

Re: [android-developers] Re: emulator: ERROR: the user data image is used by another emulator. aborting (cont'd)

2010-04-14 Thread David Turner
, 2010 at 12:29 PM, Dmitry Golubovsky golubov...@gmail.comwrote: David, On Apr 14, 12:44 pm, David Turner di...@android.com wrote: It is possible, and quality patches are gladly accepted, to be sent at b.android.com The code you're looking for is at external/qemu/android/utils/filelock.c

Re: [android-developers] How to enable klogd / syslogd for debuggin

2010-04-12 Thread David Turner
android-developers is for application developers, try android-porting if you're trying to port the system to a different device. On Mon, Apr 12, 2010 at 8:27 AM, Luke vagrant...@gmail.com wrote: Hi all, I am developing the android device and system will hang randomly, I like to enable klogd

Re: [android-developers] Creating Proxy Server

2010-04-10 Thread David Turner
Writing a fully-compliant rewriting http proxy is non-trivial, but still do-able. You could have a look herehttp://android.git.kernel.org/?p=platform/external/qemu.git;a=blob;f=proxy/proxy_http_rewriter.c;h=afd929c0a48e7a635a8a8423a1f1566f34b628ec;hb=masterto see how the one in the emulator is

Re: [android-developers] Re: Creating Proxy Server

2010-04-10 Thread David Turner
On Sat, Apr 10, 2010 at 3:40 AM, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: proxy http in your streaming context refers to server side as you will not fit a streaming server proxy on android. He only needs a proxy for his own process, this is

Re: [android-developers] What did those DO NOT MERGE warning in the commit logs mean?

2010-04-09 Thread David Turner
They usually come from commits that happened originally in the internal tree used at Google. This is used by scripts used to process the commits, their meaning is usually lost once the corresponding commit has been open-sourced. On Fri, Apr 9, 2010 at 7:27 PM, Kan-Ru Chen cka...@gmail.com wrote:

Re: [android-developers] Connect two emulator instances through the network

2010-04-07 Thread David Turner
You only need to use port forwarding from one machine to the other. This can be setup with ssh, and without touching the emulator. There are already several posts on the forums explaining this, try to look at them for examples. On Wed, Apr 7, 2010 at 5:16 AM, Yuri Morais yurimorai...@gmail.com

Re: [android-developers] Re: Can´t set the emulator ´s dns servers on windows

2010-04-05 Thread David Turner
On Mon, Apr 5, 2010 at 3:24 PM, Gabriel Simões gsim...@gmail.com wrote: Well, Running the emulator manually with parameters -dns-server and - verbose, I found out that the emulator complains it could not resolve the DNS server specified (which is an IP for Google DNS, or any other dns you

Re: [android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-29 Thread David Turner
b.android.com On Mon, Mar 29, 2010 at 12:54 AM, Corrie corrie.me...@gmail.com wrote: Yes, I can confirm this works in Linux but not on Windows. I am a newbie, how do we reports this as a bug on the windows sdk version? Regards, Corrie On Mar 18, 5:07 pm, David Turner di...@android.com

Re: [android-developers] Testing telephony signal strength changes in emulator?

2010-03-29 Thread David Turner
No, i'ts not possible, I'm afraid. On Mon, Mar 29, 2010 at 12:56 PM, goosedroid alexrhel...@gmail.com wrote: I was wondering if there is a way to manipulate the emulator to simulate telephony signal strength changes. I would like to test code that uses TelephonyManager.listen() with

[android-developers] Re: Need help: How to create Surfaces in Native layer(equivalent of view-getholder-getsurface)

2010-03-24 Thread David Turner
The San Angeles demo is not a good example, it will be slow on any system (even iPhone). It's a great demonstration of using the NDK and native OpenGL ES libraries, but that's about it. And the reason for this is that the demo is trying to send bazillion of triangles to the GPU without any doing

Re: [android-developers] Wireshark not showing HTTP packets for emulator

2010-03-24 Thread David Turner
I don't know, but did you try the -tcpdump file option to capture network traffic ? the resulting file can be opened in WireShark later, and this will give you much better information than doing a host capture. On Wed, Mar 24, 2010 at 11:46 AM, abhi rkabhi1...@gmail.com wrote: Hi, I'm trying

Re: [android-developers] Re: ARM Architectures support on Android

2010-03-22 Thread David Turner
On Mon, Mar 22, 2010 at 12:12 PM, fadden fad...@android.com wrote: On Mar 19, 4:33 pm, Nitin nitinkishoregu...@gmail.com wrote: I am looking for some basic info. Which versions of ARM (v4, v5, v6, v7...) are currently supported under Android? If possible, if I can get some data on

Re: [android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-18 Thread David Turner
It looks like I can't reproduce this on Linux and OS X, I guess you're all on Windows, right ? On Wed, Mar 17, 2010 at 11:50 PM, Tony liuguolong...@gmail.com wrote: Any idea for this problem? On Mar 17, 8:42 pm, ademiguelglez ademiguelg...@gmail.com wrote: I'm stuck with the same problem.

Re: [android-developers] Emulator won't work

2010-03-17 Thread David Turner
On Thu, Jun 11, 2009 at 4:55 PM, Dagvadorj Galbadrakh dagvad...@gmail.comwrote: When I start an AVD with emulator, emulator says the following emulator: emulator window was out of view and was recentred The emulator saves the last position of its window when it exits. On startup, it

Re: [android-developers] Which devices support OpenGL ES 2.0?

2010-03-09 Thread David Turner
On Tue, Mar 9, 2010 at 4:06 AM, greenrobot kont...@greenrobot.de wrote: With the new NDK R3 Android it is possible to write OpenGL ES 2.0 apps targeting Android 2.0+. Is there a list of devices which support it? The Verizon Droid and Google Nexus One both support OpenGL ES 2.0 as far as I

Re: [android-developers] 2.0+ emulator doesn't work properly

2010-03-06 Thread David Turner
This behaviour is absolutely not normal, especially if this freezes your desktop (on a quad-core machine !). Are you sure there is not another problem on this machine ? What does the Window process manager shows when you start the emulator ? On Fri, Mar 5, 2010 at 9:22 PM, Matt

Re: [android-developers] about the operations on emulator

2010-03-06 Thread David Turner
Have you read the Android emulator documentation ? For example, for the battery: http://developer.android.com/guide/developing/tools/emulator.html#power On Sat, Mar 6, 2010 at 9:45 AM, DoLoop nilai...@gmail.com wrote: Can any body give me some tutorials about operations on the android

Re: [android-developers] Trying to compile Android under cygwin

2010-03-03 Thread David Turner
You cannot build the Android sources under Cygwin (or even plain Windows command-line). Try doing that in a virtual Ubuntu image instead, it will be much better (and much faster too !) On Wed, Mar 3, 2010 at 5:42 AM, Floof floofy.lagayovi...@gmail.com wrote: Hi list, I am trying to compile

Re: [android-developers] Trying to compile Android under cygwin

2010-03-03 Thread David Turner
Oh, and libEGL.so is not ABI stable and will change in future releases of the platform, which is exactly why it is not exposed by the NDK. On Wed, Mar 3, 2010 at 5:42 AM, Floof floofy.lagayovi...@gmail.com wrote: Hi list, I am trying to compile the Android source tree under Cygwin. I got the

Re: [android-developers] Intercepting incoming/outgoing email messages

2010-02-26 Thread David Turner
The original answer still stands. There is nothing in the platform itself to handle email. Everything is handled by specific applications and that's it. On Fri, Feb 26, 2010 at 8:31 AM, Anonymous Guy anonymousguygen...@gmail.com wrote: I'm going to guess this:

Re: [android-developers] Re: How to prevent Android emulator using custom mouse cursor?

2010-02-25 Thread David Turner
Correct, it's probably part of SDL. I don't know how to modify this behaviour at this point. On Thu, Feb 25, 2010 at 4:54 AM, Gyuri gyuri.gr...@gmail.com wrote: Is there a way to prevent the Androidemulatorusing the custom mousecursor(black with white outline), and instead use the normal

Re: [android-developers] android floating point hardware support

2010-02-22 Thread David Turner
The HTC Dream doesn't have an FPU, or we would be using it :-) The Verizon Droid and Google Nexus One do have one though. Keep in mind that VFP is really an umbrella for different ARM FPU technologies: If I remember correctly: VFPv1 is now obsolete VFPv2 is an optional instruction set for

Re: [android-developers] having trouble to use network speed emulation in android emulator

2010-02-22 Thread David Turner
curious. which emulator version are you using ? On Mon, Feb 22, 2010 at 12:04 AM, Gen luke.yola...@gmail.com wrote: Hi all, I'm trying out the network speed emulation as described in the following link: http://developer.android.com/guide/developing/tools/emulator.html#netspeed But is

Re: [android-developers] Re: Eclipse Emulator

2010-02-09 Thread David Turner
1 GB is definitely not enough to run the Eclipse + the emulator. Your system is probably swapping all the way during the 4+ hours, and even when executing the emulated system. On Tue, Feb 9, 2010 at 4:53 PM, DonFrench dcfre...@gmail.com wrote: I have this problem on my W7 netbook, which only

Re: [android-developers] Re: OpenGL ES 2.0 on Eclair

2010-02-09 Thread David Turner
OpenGL ES 2.0 headers and libraries are not available in the NDK yet. They are coming. Access from Java is also planned. The Android software renderer doesn't support GL ES 2.0, neither does the emulator. I can't give any ETA for this, sorry. On Tue, Feb 9, 2010 at 12:12 AM, David Anders

Re: [android-developers] connect android emulator to mysql server

2010-02-09 Thread David Turner
Replace localhost with 10.0.2.2 and you should be all set. See http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking On Tue, Feb 9, 2010 at 1:57 AM, saravanan p saravanan6...@gmail.com wrote: Hi I am new to android development. How to connect mysql

Re: [android-developers] connect android emulator to mysql server

2010-02-09 Thread David Turner
Ah sorry, the java.lang.ClassNotFoundException is a different thing. You may be missing a .jar file when generating your project. On Tue, Feb 9, 2010 at 6:34 PM, David Turner di...@android.com wrote: Replace localhost with 10.0.2.2 and you should be all set. See http://developer.android.com

Re: [android-developers] Add languages to arm-eabi-gcc

2010-02-04 Thread David Turner
You can download the latest NDK release package, and look at the build/tools/build-toolchain.sh script there. It can be modified to rebuild a different toolchain if you want. On Thu, Feb 4, 2010 at 5:52 AM, mikl m...@mikl.dk wrote: Dear Community, By running

Re: [android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread David Turner
Googling reveals that __sync_fetch_and_add_4 is an x86 and x86_64 specific builtin compiler function. On Thu, Feb 4, 2010 at 4:50 AM, zafar md.zafar.z...@gmail.com wrote: Trying to use sreadahead tool on android target to decrease bootup time . But sreaahesd.c are not getting compiled against

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread David Turner
I think you may only be hearing one side of a pretty complex story. I guarantee you that Android kernel engineers did try to work with upstream during the last 3 years. They are just tired of egos/politics and have devices to ship instead. On Thu, Feb 4, 2010 at 2:44 PM, Greg Donald

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread David Turner
On Thu, Feb 4, 2010 at 4:33 PM, Greg Donald gdon...@gmail.com wrote: On Thu, Feb 4, 2010 at 5:31 PM, David Turner di...@android.com wrote:All I know is what I see with my own eyes. Greg KH has been extremely helpful over the years with getting new code/drivers pushed into the mainstream

Re: Re: [android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread David Turner
to be proven wrong though. Thanks. On Feb 5, 2010 3:34am, David Turner di...@android.com wrote: Googling reveals that __sync_fetch_and_add_4 is an x86 and x86_64 specific builtin compiler function. On Thu, Feb 4, 2010 at 4:50 AM, zafar md.zafar.z...@gmail.com wrote: Trying to use

Re: [android-developers] nexus one kernel not running on sdk emulator ?

2010-02-03 Thread David Turner
You are trying to run an ARMv7 binary on an emulated ARMv5 machine. No wonder it's not working :-) On Tue, Feb 2, 2010 at 9:09 PM, David itanium...@gmail.com wrote: Hi all is there anyone have successful experience getting nexus 1 kernel running on top of the emulator coming with the SDK

Re: [android-developers] Re: NexusOne newbie and disappointed... here is why...

2010-02-02 Thread David Turner
you should really try to send this to android-discuss instead. This is a forum for application developers :-) On Tue, Feb 2, 2010 at 1:44 PM, Marcel Lanz marcel.l...@gmail.com wrote: how easy the world is to divide... standing on an ice-plate, starring the burning sun melting your plate... :-)

  1   2   3   4   >