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 {
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
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
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
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
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
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
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:
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?
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
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
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,
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
...@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
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:
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
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
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?
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)
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
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
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
22 matches
Mail list logo