Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 127

JimmySaver
Aspiring developer
Profile
Posts: 187
Reg: Apr 09, 2012
location unknow...
5,870
10/10/12 09:59 AM (13 years ago)

Integrating a Third Party Augmented Reality 'SDK' Possible Plugin

Hi there, This may be a project I can do myself but I think I may have to go down the route of hiring a BuzzTouch expert to help me out (I know there's loads of you out there!). I want to integrate some augmented reality functionality into a self-hosted application (iOS definitely, android maybe). The AR in question is served by Aurasma (you can view their guidelines on installation here: https://docs.google.com/open?id=0B7z8VO2FDWLGWnJPeFhfdkpfcU0) and I've already downloaded their kernel (and example Xcode project). It works beautifully and I definitely want to integrate this into my apps. My question is; "Can I integrate this manually by hardcoding into Xcode or do I (should I) attempt to make a Plugin?" My thoughts are that hardcoding should be possible and I'll just need to refer to the Kernel and corresponding view controller somewhere within the BT Xcode (forgive me if my nomenclature is poor on this topic). However, if the same amount of work is required to build a Plugin, then I might as well go down this route (so I can use the feature throughout all my apps and make it available in the Market). The end result of what I want to do is simple; An app with a menu_button home screen populated with, say, three buttons. The first one would load an RSS news feed, the second load a Twitter stream and the third would load the Aurasma / Augmented Reality functionality. I'd be really interested to hear the community's thoughts on this. Thanks in advance.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/10/12 10:09 AM (13 years ago)
If you want to have the AR featured as an item either in a menu list or a button screen then i would suggest either you hardcode it in the bt blank screen plugin or create another plugin for it. Both way you are going to end up coding in a blank plugin.
 
JimmySaver
Aspiring developer
Profile
Posts: 187
Reg: Apr 09, 2012
location unknow...
5,870
like
10/10/12 10:13 AM (13 years ago)
Cheers Sandeep (and thanks for being the first!). Now, here's my questions begin.. I did think that hardcoding the bt blank screen plugin was the way forward (and this would also allow the script to be easily used again?). But... As I'm relatively inexperienced is there a tutorial on hardcoding the blank screen plugin?
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/10/12 10:24 AM (13 years ago)
There is no tutorial available on hardcoding the blank screen. But you can have a look at the documentation on how and where the codes for different sdk implementations are added. You will find those documentations / tutorials in the how to's section. Basically i know more about android development and i have recently started to learn for ios. I checked the documentation for android and it should be fairly easy to use. All the code which is referred to the activity file should go into the blank screen plugin in the respective fields. Like the import goes in the top lines where other imports are there. The intents go right below the imports. The start activity goes in the onCreate method and rest of the codes like in manifest and project properties go it respective files.
 

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.