Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 106

CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
04/04/15 07:39 PM (5 years ago)

AWL Pro plugin users, major update

That would be cool if we could send messages to people that have bought our plugins, about updates,etc.

Any ways I got this email yesterday I believe:

http://android-er.blogspot.com/2015/04/youtube-data-api-v2-will-end-on-april.html

Google announced this a year ago, but I just now got the news from the email ha.Anyways Ive updated the AWL Pro plugin to work with the new youtube data api v3.

If you've made an app using the plugin anytime before today, the screen will start showing up blank,starting April 20, 2015.

Theres one extra step to get it working also,but it only literally takes 5 seconds.The instructions link is in the control panel.

You don't have to redownload your whole app, you just have to replace the new CM_awlPro.java file with the old one, and make sure to change the package name from com.buzzTouch to com.yourAppName

Sorry for the late notice.

If you need any help just comment below or send a PM

Ive also fixed the minor errors on CM_Menu(control panel) and task list(import statement) plugins
 
LA
Aspiring developer
Profile
Posts: 3270
Reg: Aug 16, 2012
Jerseyville, IL
42,800
like
04/05/15 06:25 AM (5 years ago)
Thank you!



LA
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
04/05/15 11:22 AM (5 years ago)
Anytime,your welcome!
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2938
Reg: Jul 11, 2012
Cerritos
37,880
like
04/05/15 09:03 PM (5 years ago)
Nice!

Way to show how developers support their plugins!

-- Niraj
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
04/23/15 10:15 PM (5 years ago)
In CM_awlPro, line

HttpGet request = new HttpGet("https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=" + playlist_id+ "=" + browserKey + "&maxResults=50");

needs fixing. I modified it like this:

//========================
String req = "";
String s1 = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=";
String s2 = playlist_id;
String s3 = "&key=";
String s4 = browserKey;
String s5 = "&maxResults=50";

req = s1 + s2 + s3 + s4 + s5;
BT_debugger.showIt(fragmentName + ":onCreateOptionsMenu req ******* = " + req);
HttpGet request = new HttpGet(req);

//========================

Hope it helps someone.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
04/23/15 10:30 PM (5 years ago)
Cool thanks just updated
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
04/24/15 12:05 AM (5 years ago)
>Cool thanks just updated

You are welcome.

Also, thank you for the excellent plugin. It is now the backbone of several of my apps, like this one:

Opera Music
https://play.google.com/store/apps/details?id=com.operamusic
 
LA
Aspiring developer
Profile
Posts: 3270
Reg: Aug 16, 2012
Jerseyville, IL
42,800
like
04/24/15 04:55 AM (5 years ago)
@Dusko,

In your App, they all youtube vids?


LA
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
04/24/15 07:12 AM (5 years ago)
>In your App, they all youtube vids?

Yes, I first group them into a playlist, then tell the CM_awlPro plugin the code for the playlist. That's it.

Of course, I added two other buttons in my "upgraded" version of CM_awlPro, one for house ads of my own and the other to play the entire list of videos automatically.

>they all youtube vids?

Why do you ask?
 
LA
Aspiring developer
Profile
Posts: 3270
Reg: Aug 16, 2012
Jerseyville, IL
42,800
like
04/24/15 08:42 AM (5 years ago)
I just thought it looked great!



LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.