[android-developers] Re: Using the Accelerometer

2009-02-11 Thread srajpal
SurfaceView that implements a SensorListener has an onSensorChanged here is the full code, I tested it out and works great http://www.anddev.org/2d_tutorial-t3120.html On Feb 10, 7:00 pm, naxtek gnax...@gmail.com wrote: Hi everyone, I'm a software engineering student and I've just bought

[android-developers] Application did not load to market place now the app is gone, please help

2009-02-05 Thread srajpal
I tried to upload an update to my app but I got the following now my app has disappeared from my interface and i cannot load an app with the same name, You have another published application on Market with the same package name (com.x.x). Go to that other application, and click upgrade. I

[android-developers] Re: Signing the application

2009-02-02 Thread srajpal
here is a great tutorial that worked perfectly for me http://www.anddev.org/signing_your_apk-application_for_release_keytooljarsigner-t3069.html On Feb 2, 8:35 pm, Alowishus alowis...@gmail.com wrote: Update: I think this may be a vista problem, the app is built and runs perfectly in the

[android-developers] Re: how to overlay an image over the camera preview?

2009-01-31 Thread srajpal
:31 pm, srajpal sraj...@gmail.com wrote: I checked out the api demo, it helps to place the camera preview on top of the surface view, but the buffers are handid over to the camera so anything drawn on the canvas, which is received from the handler, is ignored. There must be some way.  I

[android-developers] Re: how to overlay an image over the camera preview?

2009-01-31 Thread srajpal
(); } } On Jan 31, 9:56 pm, srajpal sraj...@gmail.com wrote: sounds good, do you have an example piece of code or can you please point me to something. On Jan 30, 8:44 pm, Dave Sparks davidspa...@android.com wrote: No, you don't draw on the camera preview surface. You create

[android-developers] how to overlay an image over the camera preview?

2009-01-30 Thread srajpal
Does someone know how I can overlay an image over the camera preview? --~--~-~--~~~---~--~~ 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@googlegroups.com

[android-developers] Re: how to overlay an image over the camera preview?

2009-01-30 Thread srajpal
, Dianne Hackborn hack...@android.com wrote: There is an Api Demo showing how to generally do this with a surface view. It's very easy, since SurfaceView essentially operates like any other view in terms of compositing. On Fri, Jan 30, 2009 at 3:48 PM, srajpal sraj...@gmail.com wrote: Does

[android-developers] Re: Please help: CreateBitmap() is null when full screen is enabled

2009-01-14 Thread srajpal
for this. On Tue, Jan 13, 2009 at 5:34 PM, srajpal sraj...@gmail.com wrote: I am having an issue when trying to save a screen shot of a view to a file. I am using the following code to save the bitmap Java: Bitmap screenshot; mView.setDrawingCacheEnabled(true); screenshot

[android-developers] Re: Please help: CreateBitmap() is null when full screen is enabled

2009-01-14 Thread srajpal
()); Is there another, better way? On Jan 14, 3:33 pm, James Yum j...@google.com wrote: Just checking, have you thought about drawing the view into a Bitmap? Cheers, James On Wed, Jan 14, 2009 at 12:29 PM, srajpal sraj...@gmail.com wrote: but i get the same error if i just pick a potion

[android-developers] Re: Please help: CreateBitmap() is null when full screen is enabled

2009-01-14 Thread srajpal
of the View you are trying to capture. The view is too big. What you can do however is draw the View in a Canvas attached to your own Bitmap. On Wed, Jan 14, 2009 at 12:29 PM, srajpal sraj...@gmail.com wrote: but i get the same error if i just pick a potion of the screen screenshot

[android-developers] Re: Please help: CreateBitmap() is null when full screen is enabled

2009-01-14 Thread srajpal
= new Canvas(screenshotBitmap); 3. Draw onto the canvas:   view.draw(screenshotCanvas); Cheers, James On Wed, Jan 14, 2009 at 12:42 PM, srajpal sraj...@gmail.com wrote: I thought I was drawing the View into the Bitmap with screenshot = Bitmap.createBitmap(mView.getDrawingCache

[android-developers] Re: Please help: CreateBitmap() is null when full screen is enabled

2009-01-14 Thread srajpal
= new Canvas(screenshotBitmap); 3. Draw onto the canvas:   view.draw(screenshotCanvas); Cheers, James On Wed, Jan 14, 2009 at 12:42 PM, srajpal sraj...@gmail.com wrote: I thought I was drawing the View into the Bitmap with screenshot = Bitmap.createBitmap(mView.getDrawingCache

[android-developers] Please help: CreateBitmap() is null when full screen is enabled

2009-01-13 Thread srajpal
I am having an issue when trying to save a screen shot of a view to a file. I am using the following code to save the bitmap Java: Bitmap screenshot; mView.setDrawingCacheEnabled(true); screenshot = Bitmap.createBitmap(mView.getDrawingCache()); mView.setDrawingCacheEnabled(false); try {