Discussion Forums  >  Buzztouch News and Announcements

Replies: 4    Views: 161

David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
09/03/12 11:44 PM (13 years ago)

Plugin Market Stats now available ...

For those of you selling plugins, you now have a "Show Market Stats" screen to show you sales stats. To find this, visit a plugin in your control panel that is Approved for Market, click "Manage" then "Show Market Stats." Bam. For those of you wondering why I'm making a forum post about this instead of just emailing the few folks with plugins in the market. It's easy, I figured this kind of message would incentivize you to come up with an idea, get it created (remember, we'll help you), and start making some lunch-money.... or more.
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
09/04/12 12:32 AM (13 years ago)
Hey david, I actually am having a problem making my plugin. I need to allow people to be able to go to other screens/plugins that they have created using BT (iOS). So, I'm wondering how I can do this, I've found the "handleTapToLoadScreen" method, but is there a more simple method? Like "handleTapToLoadScreenWithScreenId" or similar? And if not, how can I use the "handleTapToLoadScreen", is there docs on it? THANKS!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/04/12 12:33 AM (13 years ago)
For all you with plugin ideas, but don't know where to begin, I very much encourage you to take @David's "remember, we'll help you" statement to heart. Send him your ideas and see what he thinks. You might be surprised to find a plugin with your name on it sooner than you could imagine! Love the stats feature, David...very encouraging! And many thanks to those of you who have purchased the Notepad Feature plugin. I hope it serves you well! Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/04/12 12:55 AM (13 years ago)
@theMonster: I think I know what you mean. In your plugin, you want a "tap" (probably a button or something) to load the next screen. Makes perfect sense. If I have this right....try to follow this logic. a) You need to "find" the next screen, so you can load it. Find it, as in find the JSON data for it in the config.txt file. b) After finding this JSON data in the config.txt file, you use it to "create" the next screen. Technically, this is called "instantiating" the next screen. c) After it's created, you show it. All of this happens in very short order. How to for a, b, c, above... a) and b). In most cases, you can find and create the screen, which is a BT_item object, in one step. This is for iOS but Android is nearly the same thing... Create a screen object from a screen's unique id: BT_item *screenObjectToLoad = [appDelegate.rootApp getScreenDataByItemId:loadScreenItemId]; Now, the "screenObjectToLoad" is a variable holding this screen's JSON data. Next, we need to tell the BT_viewControllerManager to load this screen. We do this by calling it's Class method: handleTapToLoadScreen. The handleTapToLoadScreen method takes three arguments. 1) the JSON data for the screen that your on. Not the next screen, the current screen. 2) The JSON data for the menu item (or button) that was tapped. In many cases this will be nil, this is OK. In your case it will be nil because you're probably not building a menu of things. 3) The JSON data for the NEXT screen. The one we instantiated above. So, to load the next screen, call the class method, pass in the current screen, nil, and the next screen... [BT_viewControllerManager handleTapToLoadScreen:[self screenData]:nil:screenObjectToLoad]; Incidentally, and dont' let this distract you...if you DID create a BT_item that was of itemType "BT_menuItem" you could pass it along too (instead of nil). Doing this would allow you to send in additional variables such as "transition type." I wouldn't bother trying to understand that before first understanding how to load new screens. And, lastly, YES, there needs to be a webinar about this. I'll schedule it now :-)
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/04/12 08:30 AM (13 years ago)
^ thanks, that just fills in another missing puzzle piece. might be just what i need to get the audio moving along. I think you had this simliar method of calling screens outlined in the header animation. I was getting close with understanding how to use it there, and this should help me fill in the rest. Love these lessons/posts, the way you explain things just makes it click and gets right to the point. Most appreciated! I can't wait for the BTU plug-in lessons and some webinars. I learn something new everytime I rewatch a BTU vid,need to finish up my lesson path ASAP.
 

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.