Discussion Forums  >  Self Hosted Control Panels

Replies: 5    Views: 115

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
01/25/13 09:34 AM (12 years ago)

Non BT App to BT

This is likely a very stupid question. How easy / is it possible to integrate a non BT built app into BT? Or vise versa, use a BT created plugin on a non BT created app? I have a FREE app that I built natively to integrate a function we have here as a plugin, that I'm not capable of natively. Thoughts would be greatly welcomed. All the best.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/25/13 10:37 AM (12 years ago)
Hmm... Well, I'll begin by saying that nothing on this forum is stupid! Not even when they're really basic. I would imagine it is down to how you created your 'other' app. If you coded it all in, then you's probably understand how the code works. However, Buzztouch apps were meant to be entirely built by Buzztouch. Yes, we tweak at things in Xcode, but really nothing compared to what David did to provide this service. Of course, when you want something extra from Buzztouch, you usually make your own plugin, and that's all I can recommend here. I'm not a coder. I can only do basics, like making a chatbot. There may be a way, but if you want to make an app, I recommend just using Buzztouch and making plugins as you go, if you need more stuff.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
01/25/13 10:57 AM (12 years ago)
I made apps before I found buzztouch a few years back. The only apps I continued to make outside if BT were soundboards. I need to add in app purchase. Whilst I understand code basics, IAP coding natively is something of a headache! Appreciate the advice.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/25/13 11:03 AM (12 years ago)
In App Plugins is really something very complex, as you said. You could have a look at the In App Purchase code and see if you can see what is going on and try to duplicate this over. If not, then you could make a small Buzztouch app, containing just a menu and the IAP screen, and trying to weave your way in and integrate the two. I'm afraid I really don't know any more than you do, so I am just suggesting what I would do through logic.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/26/13 09:59 PM (12 years ago)
The main difference between "normal" apps and Buzztouch apps is the viewcontroller (assuming you're talking about iOS). Yes, there's a bunch of other code that comes with it, but really you don't have to worry about it when importing code into a Buzztouch app. Here's basically what you'd need to do to bring your app into Buzztouch: 1) Create a blank plugin on Buzztouch for each of your screens in your normal app 2) Create a basic app on Buzztouch, importing the "plugins" you created 3) Import the code for one of your screens into one of the plugins you created. (Note: when you create a plugin, it will give you a .h and .m file ready to go). 4) Add the plugin to your config data. The easiest way to do this is to go to your Buzztouch control panel and add a screen that uses the new plugin. 5) Test Like I said, the difficulty will be with the view controller. If you've made any kind of modifications to your view controller, you'll need to address that in the Buzztouch view controller. Just keep in mind that the view controller in Buzztouch apps gets shared across all plugins/screens. Going the other way - from Buzztouch to non-Buzztouch - well, that's another story...
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
01/27/13 05:01 AM (12 years ago)
Cheers Chris, appreciate that :)
 

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.