Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 58

Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
06/22/13 09:36 AM (12 years ago)

libraries for android developers

https://play.google.com/store/apps/details?id=com.desarrollodroide.repos&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5kZXNhcnJvbGxvZHJvaWRlLnJlcG9zIl0. wish there was a guide on how to integerate non-bt plugins/screens in our bt project. I mean If I have xml and java file of of a non bt plugin..and want to integerate it ..what next?? akshay
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
06/22/13 11:36 AM (12 years ago)
This is fairly easy to do. First, you'll want to make sure the activity (i.e., java class file) is included in your manifest. Then, you should link it to your BT_config.txt, like so: {"itemId":"someUniqueNumber", "itemType":"CustomClassName"} So, if your class file was "Akshay.java", you would put "Akshay" into the "itemType" key above. If you want to connect it to your control panel, use the JSON Snippet Keeper plugin.
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
06/23/13 08:24 AM (12 years ago)
thanks I will try that:)
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
06/24/13 12:03 PM (12 years ago)
I got the java files in eclipse project i included activity in manifest in the config file i just added one single line: {"itemId":"A0D8B405A175E413094BB196", "itemType":"PhotoViewAttacher","loadScreenWithItemId":"9818B5029D78B1DB516B685","titleText":"photo"}, in one of the menus but the added row is not showing up can you sense anything? thanks
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
06/24/13 12:21 PM (12 years ago)
You need to also add the item to the menu screen, like so: {"itemId":"yourMenuID", "itemType":"WB_menuImage", "childItems":[ {"itemId":"newRandomNumber", "itemType":"BT_menuItem", "loadScreenWithItemId":"A0D8B405A175E413094BB196", "titleText":"Photo View Attacher"} ]},
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
06/27/13 09:51 AM (12 years ago)
Sucsessful! thanks I failed with a plugin which had many java files but succeeded with this plug in from buzztouchmods.com {"itemId":"7012832085F8A4F115AC897", "itemType":"BT_menuItem", "loadScreenWithItemId":"9810B5029D78B1DB516B685","titleText":"photo"}, {"itemId":"9810B5029D78B1DB516B685", "itemType":"Audio_Video_Stream", "dataURL":"http://dc128.4shared.com/img/301312602/b061196a/dlink__2Fdownload_2Fep8xQOwg_3Ftsid_3D00000000-000000-0000000/preview.mp3"}, cheers
 

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.