[android-developers] Re: Any experience developing on the Huawei Ascend

2011-03-16 Thread A Curious Developer
> I was unable to get it (the MetroPCS version) to connect to adb through > the USB cable. I ended up rooting it and using the wireless adb app from > Android Market. Thanks, that is bad news but helpful - it lead me to other discussions about how adb won't work with the device. I guess my wait c

[android-developers] Any experience developing on the Huawei Ascend

2011-03-16 Thread A Curious Developer
I just wondered if anyone is using this device for development and has any words of wisdom or caution. This is the first affordable device I have seen, so I am hopeful it will be a reasonable development device. Thanks for any information. -- You received this message because you are subscribed t

[android-developers] Is the Archos 5 a viable development platform?

2010-11-30 Thread A Curious Developer
Has anyone used this for testing their applications? (I know it isn't a phone, but my application does not need phone features.) Over the past few months I have been hoping to find *any* reasonably- priced platform to test on - this is one of the few affordable ones I have seen. -- You received

[android-developers] Re: Are res/raw files compressed?

2010-11-09 Thread A Curious Developer
> Text files in "raw" definitely are compressed. I have two .txt files in > res/raw and res/raw-ru, and just checked to make sure. Good news - thanks. > For other extensions, you can open .apk files with WinZip Ahh, that is really nice to know. I never realized .apks were just zip files. That is

[android-developers] Are res/raw files compressed?

2010-11-09 Thread A Curious Developer
>From the Dev Guide, about res/raw: "Arbitrary files to save in their raw form. Files in here are not compressed by the system." Is this still true? Some threads I found while researching this seem to imply that res/raw resources *are* compressed. I want my raw resources to be compressed. I can us

[android-developers] Finding a development phone - how is the LG Optimus GT540?

2010-10-25 Thread A Curious Developer
The LG Optimus GT540 is fairly cheaply now, at about $200. Does anyone have any experience with it, as a development phone? I understand it requires a special USB driver to use for development. Is the one google offers still $400? I don't seem to be able to find a price on that one, at least not

[android-developers] Re: What buttons does every Android phone have to have?

2010-10-20 Thread A Curious Developer
> This is covered in the Compatibility Definition Document (CDD): Excellent, thanks. That is exactly what I was looking for. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] What buttons does every Android phone have to have?

2010-10-20 Thread A Curious Developer
Is there a specification that describes the basic user interface requirements for every Android phone? For example, which buttons can an application developer expect on every android phone? Does every Android phone have a Menu button? Does it have to be called "Menu", for english versions? If I tel

[android-developers] Re: Will threaded resource loading improve throughput, or just responsiveness

2010-10-14 Thread A Curious Developer
Asking in a less roundabout way ... will blocking I/O used to decode or stream resources on one thread automatically yield execution to other threads? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] Will threaded resource loading improve throughput, or just responsiveness

2010-10-13 Thread A Curious Developer
Are there any Android phones that are multi-processor (multi-core/ cpu), where application threads execute concurrently on different processors? There doesn't seem to be any explicit way of doing asynchronous file I/ O or asynchronous resource loading. So, suppose I put BitmapFactory.decodeResourc

[android-developers] Re: How to reliably terminate supporting threads

2010-10-11 Thread A Curious Developer
> If onDestroy() is not called, the process is being terminated, which > flushes all the process' threads along with it. Excellent, I was worried for nothing. To be clear ... if onDestroy() *does* get called, the threads are *not* terminated by the system and I must terminate them myself? That is

[android-developers] How to reliably terminate supporting threads

2010-10-11 Thread A Curious Developer
Is there a way to reliably terminate my supporting threads when my application is destroyed, particularly in the case Activity.onDestroy() never gets called? Suppose when my application starts up it creates separate threads using the Thread class to run support tasks (game update, path finding, AI

[android-developers] invertM also does a heap allocation

2010-09-27 Thread A Curious Developer
> You can create your own rotateM() method and use your own float[16] do > not allocate every time. It also seems that android.opengl.Matrix.invertM also does a heap allocation. Is there a different library function that I can use for (general) matrix inversion? I have already created my own vers

[android-developers] Re: Matrix.rotateM does heap allocations - should I care?

2010-09-24 Thread A Curious Developer
>         float[] r = new float[16]; >         setRotateM(r, 0, a, x, y, z); >         multiplyMM(rm, rmOffset, m, mOffset, r, 0); Thanks .. I will do that. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Matrix.rotateM does heap allocations - should I care?

2010-09-24 Thread A Curious Developer
Are you meticulous in removing all per-frame heap allocations from your game? (At least the allocations that you can control and that have practical alternatives.) While trying to reduce per-frame heap allocations from my running game, I found that method android.opengl.Matrix rotateM(float[]

[android-developers] Re: Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-25 Thread A Curious Developer
> Just to be a bit cheeky, why use the Android emulator at all? You know > it doesn't cost $99/year to to run your Android apps on a device. What do you mean by this? The android devices are pretty expensive, and could easily amount to $99/year depending on the device and how long it lasts. Much m

[android-developers] Incidental files being pulled into the .apk

2010-08-17 Thread A Curious Developer
I found this a little strange, although maybe it is working as designed: I put an executable (.exe file) into my project's src\ directory (just temporarily to test something). When I refreshed the src\ directory in Eclipse, my project .apk file became much larger. When I removed the .exe file from

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread A Curious Developer
> Can we use *any* Android-based phone for testing and debugging? > That is, can we download, run, and debug our applications from the > Eclipse environment? The "Dev Guide" actually answers this one as "yes": "You can use any Android-powered device as an environment for running, debugging, and te

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread A Curious Developer
> You can also buy a developer > device:http://android.brightstarcorp.com/index.htm. > Honestly though, the dev phone 2, while unlocked (and perfect for > AT&T) is a bit pricey for the hardware you get. The N1 is a better > option IMO:http://www.google.com/phone(there is an AT&T version, > while t

[android-developers] Re: Disabling Java formatting in the Eclipse editor

2010-07-21 Thread A Curious Developer
Grrr .. I had a few more files fall victim to the mystery formatting, probably caused by my bunglefingeredness. I started learning how to do an Eclipse plug-in, since if it took me a few hours now it would probably save me many more hours later. I was actually considering switching to the VisualSt

[android-developers] Re: Disabling Java formatting in the Eclipse editor

2010-07-17 Thread A Curious Developer
> Look in settings...  I believe you can disable it or at least change its key > binding. Thanks, I have got rid of most of them, but the menu shortcuts are still there and I don't know how to be rid of them. > Also  Ctrl+S for saving ;) I have been using that, and it seems to help (reduce t

[android-developers] Disabling Java formatting in the Eclipse editor

2010-07-17 Thread A Curious Developer
Is there a (simple) way to completely and utterly disable all Java formatting in the Eclipse editor? That is an Eclipse question, but I appreciate your indulgence because this problem is slowly driving me insane. I am spending a lot of time fixing code to make it look good again after it gets mang

[android-developers] Re: Making the Java assert statement work

2010-06-16 Thread A Curious Developer
> "Controlling the Embedded VM": > >  http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=d... Thanks, that was educational, although I couldn't figure out how to turn it into a solution. ;) I found a few other times this question has been raised, and it seems like it doesn't have

[android-developers] glOrthof() not clipping

2010-06-15 Thread A Curious Developer
I am new to openGL and I am probably misunderstanding something fundamental here, so any hints would be appreciated... In a nutshell, glOrthof() does not seem to be clipping within its bounds (as glFrustrumf() does). I expected the left, right, top, bottom, near and far bounds of the glOrthof() ca

[android-developers] Making the Java assert statement work

2010-05-27 Thread A Curious Developer
(I am using Eclipse as my development environment.) How do I make the Java assert statement work? By "work" I mean that a failed assertion should either stop program execution or at least log the failure. Currently, neither happens. I understand there is a run- time option to enable this (-ea), bu