find played video song names

Put your problem here if it does not fit any of the other categories.

find played video song names

Postby saranya » Fri Feb 18, 2011 8:51 am

Hi ,

I want to capture played video song names,duration in android device. I did search thru google. But no solution were found. For capturing songs played we have option MediaPlaybackService binding. Same way for video I need . Help me

Thanks in advance,
Saran
saranya
Developer
Developer
 
Posts: 48
Joined: Wed Oct 22, 2008 8:06 am

Top

Re: find played video song names

Postby strider2023 » Mon Feb 28, 2011 1:18 pm

If its your custom player you can always use a database to keep track of the song names and other details along with it. Could you please elaborate your requirement?
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Re: find played video song names

Postby saranya » Wed Mar 23, 2011 10:43 am

Thanks for your reply. I want to capture played video songs in default music player of device, not the custom one.

Details needed are
1. Video songs played
2. Played duration (not the total duration)

With regards,
Saranya
saranya
Developer
Developer
 
Posts: 48
Joined: Wed Oct 22, 2008 8:06 am

Re: find played video song names

Postby strider2023 » Thu Mar 24, 2011 7:18 am

Hi,

Even if you are playing the songs in android's default player you can keep a track of what songs have been played (because you are calling it via your custom activity before you are starting the player). The name of these songs can be stored in a local database which you can retrieve anytime to see what songs have been played.

And sry I am cannot understand your requirement for #2. What do you mean by played duration but not total duration?
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Re: find played video song names

Postby saranya » Mon Mar 28, 2011 6:10 am

Hi,

Played duration means say one example , for particular song duration is 5:05 min. But I played that song for 3 mins and then paused it. So played duration is 3 mins.

And we can capture played video songs from the local database. Please give me exact uri to capture it.

Thanks,
Saranya
saranya
Developer
Developer
 
Posts: 48
Joined: Wed Oct 22, 2008 8:06 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 11 guests