[android-developers] Send video url to be played in Media Player

2013-01-27 Thread oneking
How can I send a video url to be played in Media Player?

I have this code but does not work:

protected void loadDolphin(Channel channel) {
Intent viewMediaIntent = new Intent();
viewMediaIntent.setAction(android.content.Intent.ACTION_VIEW);
viewMediaIntent.setDataAndType(Uri.parse(channel.getUrl()), "video/*");
viewMediaIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | 
Intent.FLAG_ACTIVITY_SINGLE_TOP);
viewMediaIntent.setPackage("com.broov.player");
startActivityForResult(viewMediaIntent, 0);
}

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




[android-developers] How to make an android application that displays the RTMP urls that load on m3u file?

2013-01-18 Thread oneking


How to make an android application that displays the RTMP urls that load on 
m3u file. And when I click on an url, It play in the mx player.

I have a m3u file that having rtmp urls, I need that the application read 
the m3u file, and when I click on a rtmp url, send the rtmp url and play to 
external media player, for example (Mx Player).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Cache application

2012-04-01 Thread oneking
How to make an application to detect and delete the cache of
applications?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Task killer android

2012-03-24 Thread oneking
Yes, i know

On Mar 24, 8:02 pm, Kristopher Micinski 
wrote:
> You understand that task killers are an Android antipattern, correct?
>
> kris
>
>
>
>
>
>
>
> On Sat, Mar 24, 2012 at 2:59 PM, oneking  wrote:
> > How to make a task killer?
>
> > If someone could just give me an example code.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Task killer android

2012-03-24 Thread oneking
How to make a task killer?

If someone could just give me an example code.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Progress bar and get info

2012-03-20 Thread oneking
Thanks but no this doesn't help me

On Mar 20, 4:31 pm, Justin Anderson  wrote:
> > How to make a progress bar that tells me cpu usage or memory ram?
>
> http://developer.android.com/reference/android/widget/ProgressBar.htmlhttp://lmgtfy.com/?q=android+sdk+cpu+usage
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
>
>
>
>
>
>
> On Tue, Mar 20, 2012 at 9:24 AM, oneking  wrote:
> > How to make a progress bar that tells me cpu usage or memory ram?
> > This is a example:
> >http://www.androidwidget.info/wp-content/uploads/2011/05/Elixir-Sampl...
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Progress bar and get info

2012-03-20 Thread oneking
How to make a progress bar that tells me cpu usage or memory ram?
This is a example:
http://www.androidwidget.info/wp-content/uploads/2011/05/Elixir-Sample.png

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: cpu usage information

2012-03-13 Thread oneking
Thank you. have you an example code?

I am new to android programation

On Mar 13, 11:57 am, Marcin Orlowski  wrote:
> On 12 March 2012 18:11, oneking  wrote:
>
> > How to make a pie chart that tells me cpu usage or memory ram?
>
> > This is a example:
>
> >http://gadgetsdna.com/wp-content/uploads/2010/03/SystemPanel-fo-Andro...
>
> The same way as you would make pie chart of any other data. you need: a)
> data to visualise (be it cpu usage or anything else) b) pie chart drawing
> routine (your own or 3rd party). Once you got that, combine them together
> and voila. You got what you needed.
>
> Regards,
> Marcin Orlowski
>
> *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
> *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance...
> WebnetMobile on *Facebook <http://webnetmobile.com/fb/>*,
> *Google+*<http://bit.ly/webnetmobile-gp>and
> *Twitter <http://webnetmobile.com/twitter/>*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] cpu usage information

2012-03-12 Thread oneking
How to make a pie chart that tells me cpu usage or memory ram?

This is a example:
http://gadgetsdna.com/wp-content/uploads/2010/03/SystemPanel-fo-Android-3-280x500.png


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en