[android-developers] How to enable screen transition when launching Activity

2008-11-26 Thread Tomei Ningen
This question was asked before http://groups.google.com/group/android-developers/browse_thread/thread/d5baa0831af53d80?q=android+G1+screen+transition#8cb9752ead82d2eb but I'll ask it again :-) On earlier Android SDK, when you are in home screen, and you launch an app (like Contacts), there's an

[android-developers] Official HOWTO for reflashing Dev 1 system image

2008-12-18 Thread Tomei Ningen
Hello, I just got my Dev 1 phone and can't want to load my own system image on it. I found some pages on XDA developer's site about flashing the system image, but is there an *official* HOWTO from google that shows how to do this safely? Also, I have built a system image using the Android

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Tomei Ningen
One more questions: how to create an update.zip for recovery? I have dumped all the MTD sections from the Dev 1 phone into separate files. What's the official method of combining them into an update.zip so that in any case I screw up the boot loader, I can reflash the phone from the SDCARD?

[android-developers] Native method support - or - how to install a new codec

2008-12-19 Thread Tomei Ningen
It it possible to load native methods (.so) from .apk files (assuming the apk is Operator/OEM signed, and user has approved the permission)? If not now, is this in future roadmap? In the short term (1.0 or cupcake), assuming that regular Joes cannot install native code, is there any (official)

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Tomei Ningen
in android-platform. On Thu, Dec 18, 2008 at 10:39 AM, Tomei Ningen tomei.nin...@yahoo.comwrote: Hello, I just got my Dev 1 phone and can't want to load my own system image on it. I found some pages on XDA developer's site about flashing the system image, but is there an *official* HOWTO

[android-developers] How to switch between 2D and 3D views?

2008-12-21 Thread Tomei Ningen
I am trying to combine 2D and 3D views. My app initially starts in 2D. When the user presses a button, I want to temporarily switch to 3D, draw some fancy transition effects, and switch back to 2D. However, I am getting stuck because the 3D view will come out black. It's reproducible on both the

[android-developers] How to put a Translucent GL View on top of a 2D view?

2008-12-21 Thread Tomei Ningen
I want to put a translucent 3D view on top of a 2D view (so that I can fly some 3D objects across my 2D view). I modified the TranslucentGLSurfaceViewActivity example in ApiDemo -- I created a full screen 2D custom view that fills the screen in blue color. Then, I have a smaller 3D view on top

[android-developers] Re: OpenGL texture is upside down

2008-12-29 Thread Tomei Ningen
I think Android wants texture to use upper-left as the origin. Have you checked API demo? --- On Sun, 12/28/08, Tom H tomhi...@gmail.com wrote: From: Tom H tomhi...@gmail.com Subject: [android-developers] OpenGL texture is upside down To: Android Developers android-developers@googlegroups.com

[android-developers] Re: Transparent textures in OpenGL

2008-12-29 Thread Tomei Ningen
Did you use  GL10.GL_MODULATE?     gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, //GL10.GL_REPLACE GL10.GL_MODULATE ); I had the same problem before and it's fixed after making the above change. --- On Mon,

[android-developers] Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
I am sorry if this is SPAM. I tried posting to android-developers using the web interface. Some of my posts aren't delivered until 2 days later. Some other posts are completely lost. Has anyone else seem the same problem? Is the answer -- don't use google groups web page? That would be kind of

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
...@commonsware.com To: android-developers@googlegroups.com Sent: Monday, December 29, 2008 2:55:10 PM Subject: [android-developers] Re: Android google groups web page -- is it broken? Tomei Ningen wrote: I am sorry if this is SPAM. I tried posting to android-developers using the web interface. Some

[android-developers] Re: Service will not stay running

2008-12-29 Thread Tomei Ningen
You can run logcat in a DOS window. That way it will keep as much log as you have disk space DOS adb logcat file From: bparker cbpar...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Sunday, December 28, 2008 5:21:20 PM Subject:

[android-developers] What's slow on Android?

2009-01-12 Thread Tomei Ningen
Hello Android developers, We are building an Android-based device, and would like to know what we should try to improve in terms of performance. If you can have just 3 things be much faster, what will they be? please be specific (instead of graphics is too slow, something like drawing

[android-developers] Re: What's slow on Android?

2009-01-12 Thread Tomei Ningen
: [android-developers] Re: What's slow on Android? I'd iike to see: 1. Faster GC 2. JIT - if you could jit an entire app the first time it's started (or better yet - installed) 3. Implement/fix SoundPool On 1/13/09, Tomei Ningen tomei.nin...@yahoo.com wrote: Hello Android developers, We

[android-developers] How to create transparent Window without starting a new activity

2009-03-19 Thread Tomei Ningen
Hello, I have a 2D app. When the user presses a button, I need to quickly open a translucent 3D animation and overlay that on top of the 2D app. This is similar to the Translucent GLSurfaceView demo in APIDemo. However, with APIDemo on G1, it takes about 100~200ms for the new Activity to come

[android-developers] How to draw directly on screen without calling invalidate?

2009-04-01 Thread Tomei Ningen
I need to animate at a very fast rate (without using OpenGL). Now I am calling View.invalidate() to paint to the screen, but this has the effect of A: clearing the screen with black B: drawing the content view C: drawing the child view (which occupies only part of the screen, and is the only

[android-developers] How to launch Market to point to specific application

2009-01-28 Thread Tomei Ningen
Hello, sorry if this is an FAQ: If someone publish a free and paid version of a game, how can the free app easily point to the paid version of the app in the Android Market? Can this be done via an intent? What I am looking for is some sort of API:

[android-developers] How to force screen to switch between landscape/portrait

2009-02-01 Thread Tomei Ningen
Is there a way to programmatically force the screen to change between landscape and portrait mode? I want to allow the user to choose a menu item to rotate the screen, instead of relying on pulling out the keyboard. I am looking for something like Activity.changeScreenOrientation, but couldn't

[android-developers] Re: How to force screen to switch between landscape/portrait

2009-02-01 Thread Tomei Ningen
Oh, pardon me. on second reading of the doc: Activity.setRequestedOrientation() will do the trick sorry for the spam - Original Message From: Tomei Ningen tomei.nin...@yahoo.com To: android-developers@googlegroups.com Sent: Sunday, February 1, 2009 6:18:25 PM Subject: [android

[android-developers] SDK Network Snifing

2009-02-12 Thread Tomei Ningen
Does SDK 1.1 support an easy way for me to know what network data is sent/received? --~--~-~--~~~---~--~~ 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] Re: Bitmap Memory

2009-02-26 Thread Tomei Ningen
You're running into memory fragmentation problems. Bitmap memory is not allocated from the Java object heap. Instead, it's allocated from the 'malloc' heap. That's why you don't see the Java heap expanding. How big is your bitmap? If you're processing JPEG files, probably it will be better to

[android-developers] Power-loss semantics of SQlite on Android

2010-05-11 Thread Tomei Ningen
Hello, I have an app that stores a database on SD card. If I don't use beginTransaction/endTransaction, does Android have any guarantee about the the contents of a database when power is lost? For example, if I have code like this: //db.beginTransaction(); //try {