CP Stream

buzztouch plugin: CP Stream
Version: v1.1
This plugin allows your Android users to stream mp3 files from the internet (NO downloading Required).
works on Android Android
Developer Info
Latest Review
PointerSaifu | 10/03/15 (v1.1)
Not up to the expectations. I was very excited for this plugin but it disappointed me It has several bugs and not suitable to you if you don`t know coding.
Screenshots
More Information
CP Stream is a powerful plugin that allows you to stream mp3's from the internet as a service
on Android devices, no downloading necessary. As soon as the user presses play, a notification
starts and the user is able to leave your application and still stream the file you chose for
that screen. When the user clicks on the notification they return back to your player in your App.

If the user quits your application, the music stops. If the user receives a call, the music
pauses and resumes when the call is finished, and can even stream with a wireless connection.
Perfect for Internet radio shows! The Seekbar does not update for internet radio shows because
there is no beginning or end to the stream. If your are comfortable with XMl editting then
you will have no problem creating your own GUI for a personalized player. Future updates will add more options.

This version of CP_Audio3 only works in Portrait mode for android mobile devices at the momment.

iOS Project
------------------------
this plugin is only for android at the moment.


Android Project
------------------------
Cp_stream.java
Cp_streamService.java

LAYOUT:
screen_cp_streamlayout
screen_cp_streamplayer_footer
screen_cp_streamplayer_header
screen_cp_streamrounded_corner


RESOURCES:
cp_streammixgo.png
cp_streammixpause.png
cp_streammixstop.png
cp_streamnotification.png
cp_streamadele.png


Android is a trademark of Google Inc.
The Android robot is reproduced or modified from work created
and shared by Google and used according to terms described in
the Creative Commons 3.0 Attribution License.


Download source code:

Add a CP_stream page to your app using your control panel.
In File Path, enter the path to your mp3 file. This is the internet URL pointing to your .MP3 file.


Add the following lines to your AndroidManifest.xml

1.     JUST ABOVE the "</application>" line
               
<service android:name=".Cp_streamservice" android:enabled="true" />

/////remember to replace "Your Package name" with your Application package name////

2. Update the Manifest.

     Find the Activity listing in the manifest that looks like this...

     <activity android:name=".Cp_stream"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation">
     </activity>

     ADD android:launchMode="singleTop" like this...

     <activity android:name=".Cp_stream"
android:configChanges="keyboardHidden|orientation"
android:label="@string/app_name"
android:launchMode="singleTop">
     </activity>



Thats it!


SAMPLE JSON Data
------------------------
{"itemId":"8CD977A60C1F623CF581F0C", "itemType":"Cp_stream", "itemNickname":"MP3 Player",
"navBarTitleText":"My MP3 Player", "URL_STRING":""}