Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 85

Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
02/22/14 02:07 AM (11 years ago)

Converting my app to Buzztouch

I picked up a project for someone and ended up touching it up and then getting it into the App Store. https://itunes.apple.com/us/app/follow-fever/id821620889?mt=8 I want to bring it to buzz touch, and i was wondering a few things. Namely, if you download the app the menu on the top left (drop down), is it possible to have that in place of the context menu? It is in the web view at the moment but we want to move it up to the status bar. Any help/advice on how to go about this if its possible would be awesome. Thanks, Jeremy
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
02/22/14 06:12 AM (11 years ago)
Buzztouch runs on a different system than regular iOS apps. Buzztouch has plugins which are packages of code. Th plugin code can't work alone. It must be linked to the control panel via JSON. Regular iOS apps won't be run in this way. More likely is that they will have different code for screens, not screen types. Unless the app was built in a very similar way to Buzztouch, with plugin packages and JSON linking it up, it is hard to see how it would be possible to port over an existing app to Buzztouch. In a word: no.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/22/14 09:45 AM (11 years ago)
Hello Jeremy, It's hard to tell from the screenshots of the app on how much can be redone by using BuzzTouch plugins. You should certainly be able to use the Context Menu as a global menu. Of course, the items in the context menu could only point to internal BuzzTouch screens. Give it a try on a test project and let us know your thoughts on it. You have interesting apps made with BuzzTouch in the App Store. Congratulations! :-) Keep on trucking -- Niraj
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/22/14 10:03 AM (11 years ago)
A couple of thoughts: 1) Point of technicality - you can do anything you want with Buzztouch apps, since they're completely open source. They don't run on any different system than any other app - Xcode for iOS and Eclipse, etc for Android. A context menu item can go to any screen, not necessarily one created with a Buzztouch plugin. You just might have to do some code manipulation to make it do what you want. 2) Sounds like you don't want the Buzztouch context menu, but want your own menu accessible from the navbar. That's also possible, if you know what you're doing. It's hard to see from the screenshots what the current menu looks like. But there's nothing stopping you from doing something similar. The trick will be to have it show up on all the screens in the app. You'll have to modify the code for each plugin/screen. It's probably easier to just use the Buzztouch context menu, if you don't mind the difference in design from what the menu currently looks like.
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
02/22/14 12:41 PM (11 years ago)
Thabks for all the input, I feel like I haven't really explained myself too well. The app is basically just a webview with a banner ad down below. In the screenshots you can see the top of the screen where the title is written in black, when logged in that just says the same thing as is in the menu in the app. (Screenshot) https://www.dropbox.com/s/e8wqws4iwagcgh0/image.png Context menu screenshot. https://www.dropbox.com/s/uk4jik5hfaq4hac/image-2.png I have. Gotten familiar with how buzz touch works and what I want to do is just rebuild the app with buzz touch - not too hard for this one, but have the context menus look something like in the screenshot. can the context menu only link to screens or can it be used to trigger a jquery click for content in the webview? Thanks everyone, and thanks Niraj! Interesting is good right! Jeremy.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/22/14 02:36 PM (11 years ago)
To copy the contents of the Twitter menu into the Context Menu, that will require using the Twitter API and some reverse-engineering. Try this -- make a new Custom Menu item. For it, specify a new screen by using Custom URL plugin. The Custom URL should be the web link to the Statistics page. Run in the Simulator and tap on the Statistics row within the Custom Menu. Does the resulting screen still show the Left Menu within the web page of your app? If yes, then you will need to reverse-engineer and deconstruct the HTML and JavaScript to isolate the specific URL for Statistics (iframe, JS, CSS, etc.). After that brief investigation and test, take a deep breath to decide if it's worth it. Also, think about how fragile of a "hack" it is. Remind yourself that you are at Twitter's mercy. When they change their web structure, your app will indeed break. Another approach is to use Twitter's API to access that Statistics content (not the screens). The API will return the requested data to your app. Then your app can display the Statistics data in your custom layout, within a custom plugin. Being that it is statistics, I imagine you will want to present the data in infographics style -- you can do that with my soon-to-be-released all-in-one plugin. Your "interesting" set of apps on the App Store is indeed interesting to me! You have different types of apps, which demonstrate your breadth of skill and knowledge. "Interesting" is mighty fine by me! :-) -- Niraj
 

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.