Is the file being modified after its added to the database? That can lead to
lose of meta data. We are adding all the fields to the contentvalues while
adding this file, except for modification date. I don't think adding that
should change much...but please try that too...
Make sure that the file
I've added it now to a playlist and restarted the emulator which leads
me to the same result. The songs inside the new playlist lost its meta
data again.
Regards!
On 12 Sep., 00:26, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> 008/9/9 code_android_festival_way <[EMAIL PROTECTED]>
>
>
>
> > Thank y
008/9/9 code_android_festival_way <[EMAIL PROTECTED]>
>
> Thank you for you answer. I've added the additional parameter to the
> values and this works now. But the problem with the restart and the
> lose of meta information is still there. At the moment I am recording
> something and the meta info
Thank you for you answer. I've added the additional parameter to the
values and this works now. But the problem with the restart and the
lose of meta information is still there. At the moment I am recording
something and the meta information is added to the database which can
be seen in the music
You need to add this to the contentvalues:
values.put(MediaStore.Audio.Media.IS_MUSIC, "1");
if you want the newly added files to appear in the Album, Artists sections
of the Music app.
2008/9/8 code_android_festival_way <[EMAIL PROTECTED]>
>
> I got a problem with the audio recording. I am abl
I got a problem with the audio recording. I am able to record audio
and play the recorded file with the music app.
This looks like this:
http://img.skitch.com/20080908-m5yaiyqh7jugcub5p5pmmna2ee.jpg
You can see that the meta information is available. But the only point
where the audio file show
Thank you very much for offering the sample code.
On 2 Sep., 22:16, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Please refer to the audio Recording sample code at the link below:
> http://groups.google.com/group/android-developers/files
>
> 2008/8/31 code_android_festival_way <[EMAIL PROTECTED]>
Please refer to the audio Recording sample code at the link below:
http://groups.google.com/group/android-developers/files
2008/8/31 code_android_festival_way <[EMAIL PROTECTED]>
>
> Did you get the Audio recording managed right now?
>
> I'm getting the same error again after adding all the fie
Did you get the Audio recording managed right now?
I'm getting the same error again after adding all the fields. It would
be pretty nice to have a working example. Because from the docs I
can't decide which fields are required and which are just optional.
Regards!
On 28 Aug., 07:16, Reto Meier
Hi Justin,
I've tried explicitly including the display name (and artist and
album) into the new ContentValue but still end up with exactly the
same error on the ContentResolver.insert call.
On Aug 27, 10:56 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> > Error:
>
> > 08-24 19:27:1
> Error:
>
> 08-24 19:27:18.675: ERROR/Database(178): Error inserting title=Content
> Creation No.5 date_added=1219598838 _display_name= album_id=2
> title_key= - E C O 1 C O -
> K 1 ) O 9 E C C E &„ artist_id=3 using INSERT INTO
> audio_meta(title, date_added, _display_na
Actually, according to the documentation (
http://code.google.com/android/reference/android/hardware/Camera.html
) the raw stream may be null and so might the JPEG stream actually.
You probably need to set the CameraParameter for format (
http://code.google.com/android/reference/android/hardware/C
Thanks for your answer Justin. Sorry for overloading that topic. Next
time I will open different topics.
2)
I'm doing an actual test. (not refering to 3) ) Here is an example of
what I do:
http://paste.pocoo.org/show/83355/ (just a shortened version of the
actual code)
This is working for jp
In the future, please only include one topic per new post/thread. It
gets very confusing to handle posts like this that have multiple
question in vastly different areas of the platform.
(2) - no, the returned data stream should not be null. Are you doing
an actual null test or just assuming it to
Something new about this. Audio recording would be very important for
me.
Best regards!
On 25 Aug., 00:20, code_android_festival_way
<[EMAIL PROTECTED]> wrote:
> I've got two questions.
>
> 1)
> Is there a working example for recording audio with the MediaRecorder?
> At the moment I'm using the
15 matches
Mail list logo