Kailen High
|
How to display the Artwork image in the touchscreen
|
Kailen High
08/24/2010 6:28 AM
post64040
|
How to display the Artwork image in the touchscreen
Hi all!
I want to display the artwork image by the touchscreen.
Firstly,I use the function (metadata_image_load() and others) to load the mp3 image to the tmpfs.
Secondly,when I receive the msg(MME_EVENT_METADATA_IMAGE and so on) ,I can gained the image info,please see the log
as follow.
Thirdly, how can I display the image(in the tmpfs) in the touchscreen, through flash? or other methods? thaks very
much!
the log is as follow:
mme_play(): success
Ply status thread received MME_EVENT_TRACKCHANGE event
the current id is:2
MMe MME_TRKCHANGE AM_SendToApp ok
Created metadata session 1
Get currentinfo successfully
Receive NOWPLAYING_METADATA,begin parse the songInfo
the msid2 is 1
,the fid2 is 0
qdb_statement(): success
The clumns is 7
The rows is 1
The song info is filename:88.mp3
; songtitle:
; songartist:
; songalbum:Myself
;songgenre:
; songyear:2010
;songsize:7946231
;songduration :198220
;HMI_MMEPLAYINFO AM_SendToApp ok
PLAYSTATESPEED(2,1000)
Receiving asynchronous manner an event
MME_EVENT_METADATA_INFO(RID=1 error=0 len=457
xmlbuf=<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container type="file">
<track index="0">
<audio>
<stream index="0">
<common duration="197785" title="鍗虫椂鐢熸晥" artist="钄′緷鏋?" album="Myself" year="2010" discnumber="0"
tracknumber="15"/>
</stream>
</audio>
<images>
<image index="0" loadable="true">
<format size="16153" mimetype="image/jpeg" description="Front cover"/>
</image>
</images>
</track>
</container>
tmpfile=/fs/tmpfs/AAA397325)
url=0,sync_mode=32
IRID=2
12
Metadata received MME_EVENT_METADATA_IMAGE event
Successful image
MME_EVENT_METADATA_IMAGE(RID=2 error=0 len=32 URL=/fs/tmpfs/imagecache/1/CAA331806)
|
|
|