Hello guys.

After one day of porting my application to 0.9 I got a bunch of
questions. It would be nice if you could give me some input regarding
these.

1)  Media Recorder

I'm using the MediaRecorder the same way I did in M5 and get no errors
in Eclipse. But when I start recording with the MediaRecorder I get
the following error:

http://paste.pocoo.org/show/82735/

Here is the piece of code to start the recording:

http://paste.pocoo.org/show/82736/

-------

2) Taking pictures

Is there a possibility to invoke the "PictureCallback"? At the moment
I can just register the callback with the camera. But when I'm
understaning it right the callback only gets invoked by some kind of
hardware button. Is that right? Just using the "takePicture(...)"
method doesnt invoke the callback.

--------

3)

I'm setting notifications with the following method:

http://paste.pocoo.org/show/82737/

This seems ok since Eclipse doesnt throw any error. But when I try the
use it in my Service I'm always getting:

"08-19 19:43:57.657: ERROR/AndroidRuntime(579):
java.lang.IllegalArgumentException: contentView required:
pkg=mypackage… id=2130903050
notification=Notification(vibrate=null,sound=null,defaults=0×0) "

And the service is crashing down.

-----

I'm really looking forward getting your answers.

Regards!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to