On Wed, Aug 20, 2008 at 11:03 AM, Megha Joshi <[EMAIL PROTECTED]> wrote:

>
>
> On Wed, Aug 20, 2008 at 2:29 AM, code_android_festival_way <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Thank you very much for your fast response.
>>
>> 1) Will the recording come back in later SDK releases? (perhaps in
>> 1.0?)
>
>
> Its not planned for 1.0 as far as I know...
>

I was talking about video recording....
Audio  recording works in the current sdk.

>
>
>>
>> 2) It is working now just fine. My error was that I had taken two
>> different Camera instances for preview and capturing. So the callback
>> had not been invoked. Thank you for your example. (by the way a nice
>> picture that I got from the jpeg data stream ;) )
>>
>> 3) The notification is working now. It is important to mention that
>> you "have" to implement the method " setLatestEventInfo()" otherwise
>> you will get my error. In M5 it was possible not to set such an
>> extended message.
>>
>> So I'm fine now with porting my application from M5 to 0.9.
>>
>> Thank you very much again for all your work!
>>
>> Regards from Germany.
>>
>>
>> On 20 Aug., 02:39, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>> > On Tue, Aug 19, 2008 at 12:59 PM, code_android_festival_way <
>> >
>> >
>> >
>> > [EMAIL PROTECTED]> wrote:
>> >
>> > > 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/
>> >
>> > Recording video is no longer supported in the current sdk.
>> >
>> >
>> >
>> > > -------
>> >
>> > > 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.
>> >
>> > Just the takePicture() method should invoke the callback, though when
>> you
>> > call it surface should be created and preview started.
>> > Attaching a sample app for other details...
>> >
>> >
>> >
>> > > --------
>> >
>> > > 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.
>> >
>> > > -----
>> >
>> > Can you compare your code against
>> ApiDemos>app>AlarmService_Service.java?
>> > It does the same thing I guess...
>> >
>> >
>> >
>> > > I'm really looking forward getting your answers.
>> >
>> > > Regards!
>> >
>> >
>> >
>> >  CameraApiTest.zip
>> > 6KAnzeigenHerunterladen
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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