Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 24    Views: 158

Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
09/26/12 07:00 AM (13 years ago)

List Menu Tool updated - includes new option.

Hello Buzztouchers I just uploaded a new version of my List Menu Tooll to my shopping cart service. If you had previously purchased this tool, you should receive an email with instructions how to download the update. New in this version is a "Custom URL" List menu tool (as requested by one of the users). This will allow you to create the proper JSON data needed to feed a list menu full of Custom URL screens. This new function works in both v1.5, and v2.0 (with the simple menu list plugin). Future updates will bring more v2.0 compatibility to the other sections. Thanks, and let me know if you have any questions. Information about the List Menu Tool can be found here (not including the new updates): http://idevdepot.com/list-menu-tool/ -Stobe
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/26/12 08:23 AM (13 years ago)
Nice. Grabbing the update now. awesome tool. as long as were 'near' the topic- Q: Do you notice any difference in launch speed when you have large config files? I haven't noticed it much before, but I recently added @ 100 screens to an app and noticed an immediate difference in the launch. (more importantly the customer did and commented abut it.) I know this was the only change I made. I reverted to an old config and tried it and there is a definate difference in speed reading that huge config. I'm wondering if it's the older 3G that is just slow, or do 4S devices take some time to load/parse large config files? I tested on a 4s and it seems a little quicker than the 3G. and thanks for adding to this toy, it's great stuff.
 
hasher13
Android Fan
Profile
Posts: 376
Reg: Jul 21, 2012
Wethersfield
8,060
like
09/26/12 08:27 AM (13 years ago)
Having difficulty with the link. Tried on 2 computers and doesn't come up. Any suggestions or known issues! Thanks, Howard
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
09/26/12 11:32 AM (13 years ago)
hasher13, If you have your original email or transaction ID, I can re-send it manually. If not, PM me the email address you would have used and I can do the same. @ATRAIN53: The BT source code has to parse all that config data, so the more screens you have, the longer that process is going to take. David might be able to tell you if that parsing happens just at launch, or if it happens when it re-creates some screens perhaps?
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/15/12 04:03 PM (13 years ago)
I have your Listmenu tool and use it extensively in a 2.0 BT app. I just installed https://www.buzztouch.com/plugins/plugin.php?pid=DED9871D84E57D757DC2828 but the Search doesn't seem to work with your listmenu items...is this expected, or am I doing something wrong?
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/15/12 04:23 PM (13 years ago)
I have your Listmenu tool and use it extensively in a 2.0 BT app. I just installed https://www.buzztouch.com/plugins/plugin.php?pid=DED9871D84E57D757DC2828 but the Search doesn't seem to work with your listmenu items...is this expected, or am I doing something wrong?
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/15/12 04:27 PM (13 years ago)
I'm not sure. I'm actually not sure how the search plugin works (what it looks for). Perhaps MrDavid can shed some light. Also, as the plugin market continues to expand, I am going to try to support different plugin types with my Tools. Its just a matter of getting to a point of standardization. (And I have to buy all the plugins to be able to test the JSON output).
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/15/12 04:52 PM (13 years ago)
Thanks, hopefully Mr David can help - what a great feature that would be.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/15/12 05:02 PM (13 years ago)
Sent him a message asking for clarification on how the search works (its something I've never used in an app before, so I'm not sure).
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/15/12 05:29 PM (13 years ago)
HA, me too! I sent him one of your MenuList json files so he has the format (2.0 version) Thanks - if we could get Search working across all those screens, well that would be super-dee-duper.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
10/16/12 06:34 AM (13 years ago)
I've used the Search plug-in, even the new one. I believe the field it searches is the NavBarTitletext. Here's what the plugin details say about it: When the screen loads, it will read the contents of the app's main config.txt data and display a row for each screen. Tapping the row will load that screen. This plugin does NOT search the contents of individual screens (ie: webpage content).
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/16/12 06:43 AM (13 years ago)
Ok, if that's the case, then its possible that if you use a configURL for your list menu, the search plugin will not "parse" that information. If that's the case, it might be possible to manually inject that external config JSON into your main BT_config.txt so the search plugin would see it. And the easiest way to do that might be by using the JSON snippet keeper. (not intending to plug my own plugin, just pointing out an option). You could re-create the whole list menu as a snippet, and then the search plugin should find it since it all exists in the main BT_config.txt.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
10/16/12 07:09 AM (13 years ago)
I just peeked closer at the code and it does look like NavBarTitle text is the field. only one I see listed in what looks like the "search" method. that is a good possible hack to trick it into searching more screens. may have to try that out sometime. you should plug your plug-in. what's that phrase about eating your own dogfood? who better to show us how to use it and extend it's possible uses? i'd have never thought of using it like you just suggested!
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/16/12 07:26 AM (13 years ago)
Stobe, so I'm excited to try this, but before I get your JSON Snippet Plugin, can you let me know how I would "You could re-create the whole list menu as a snippet"? Would I use the JSON output of your MenuList Maker as input into your JSON Snippet plugin?
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/16/12 07:37 AM (13 years ago)
(if you haven't watched my JSON Snippet plugin Intro youtube video, some of this might not make much sense yet) Here's my thinking..... If you add just the JSON output from the ListMenu tool to your project as a Snippet, the search plugin should find it BUT those screens don't get linked to the list menu (since the control panel doesn't know they exist. (YET. Working with David on a new CP feature) So.... You'd have to add the whole list menu screen (including its childItems) as the snippet, similar to how I show in the YT video. How you would do this is... -Create your list menu exactly how you want it (all options for font size, colors, etc). But NOT the dataURL -Find the JSON in your projects config.txt for just that menu and copy it. -Paste that JSON into a new snippet, which should include an empty set of childItems (e.g. childItems[]; ) -Paste the output of the ListMenu tool into the empty childItem brackets in the Snippet. -Delete the List Menu from your project -Then link the snippet to whatever menu structure (or Layout) you would have originally connected your list menu to. (using the manual itemId over-ride as shown in the YT video) Not necessarily a task for someone brand new. But that's not you! You can set this up pretty easily (or "easy-ish", which is my favorite David word) Keep in mind, this is all from my brain (not hard tested yet). But it should be a solid solution. Clear as mud?
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
10/16/12 07:57 AM (13 years ago)
I'll start by watching http://www.youtube.com/watch?feature=player_embedded&v=Kv5muRTn8qI and test it later tonight Thanks
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/16/12 08:01 AM (13 years ago)
Be sure to pop some popcorn, because you'll be glued to your seat for 30 full minutes!
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
11/09/12 02:09 PM (13 years ago)
I've not had time to try your instructions above, but thought I'd ask if any progress has been made on your hint above about new Control Panel feature: Stobe>> "If you add just the JSON output from the ListMenu tool to your project as a Snippet, the search plugin should find it BUT those screens don't get linked to the list menu (since the control panel doesn't know they exist. (YET. Working with David on a new CP feature)" Thanks - could really use an easy way to make the wonderful output of your ListMenu tool searchable!!!
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/09/12 03:15 PM (13 years ago)
I'm afraid the feature I was hinting to may be way down David's to-do list. But as stated above, the output will be searchable if you use the JSON snippet tool.
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
01/17/13 11:55 AM (13 years ago)
Stobe - finally got around to getting the snippet keeper, and followed your instructions from 10/16/12 09:37 - Everything is successful with snippet keeper (great tool!) but the BTM Search Menu plugin is still not finding the navBarTitleText values of each BT_menuItem brought into the Configuration Data via Snippet Keeper. It finds all the other screens just fine. (as you recall, I'm generating the JSON for SK via your ListMenu tool - everything validates and runs fine, they just are not found by the BTM Search Menu plugin) I suspect it's something simple, but am looking for some help.
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
01/17/13 12:07 PM (13 years ago)
Here is my JSON Snippet (and this is also found in BT_config.txt in xcode) { "itemId": "66DDA7FDB4C52678015A62F", "itemType": "BT_screen_menuListSimple", "itemNickname": "US2_list", "navBarTitleText": "US2_list", "childItems": [ { "itemId": "66449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "AAAA", "itemId": "76449911", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "AAAA", "childItems": [ { "itemId": "86449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-1211", "itemId": "96449911", "itemType": "BT_screen_call", "number": "919-31-1211" }, "titleText": "Business: 919-31-1211" }, { "itemId": "86449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-08-7062", "itemId": "96449912", "itemType": "BT_screen_call", "number": "919-68-7062" }, "titleText": "Mobile: 919-68-7062" }, { "itemId": "86449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449913", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "AAAA" }, { "itemId": "66449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "BBBB", "itemId": "76449912", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "BBBB", "childItems": [ { "itemId": "86449914", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-51-3071", "itemId": "96449914", "itemType": "BT_screen_call", "number": "919-51-3071" }, "titleText": "Business: 919-5-3071" }, { "itemId": "86449915", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-80-5836", "itemId": "96449915", "itemType": "BT_screen_call", "number": "919-40-5836" }, "titleText": "Mobile: 919-40-5836" }, { "itemId": "86449916", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449916", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "BBBB" }, { "itemId": "66449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "CCCC", "itemId": "76449913", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "CCCC", "childItems": [ { "itemId": "86449917", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-3833", "itemId": "96449917", "itemType": "BT_screen_call", "number": "91 531-383" }, "titleText": "Business: 919-51-333" }, { "itemId": "86449918", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: ", "itemId": "96449918", "itemType": "BT_screen_call", "number": "" }, "titleText": "Mobile: " }, { "itemId": "86449919", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449919", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "CCCC" } ] }
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
01/17/13 12:17 PM (13 years ago)
Here is my JSON Snippet (and this is also found in BT_config.txt in xcode) { "itemId": "66DDA7FDB4C52678015A62F", "itemType": "BT_screen_menuListSimple", "itemNickname": "US2_list", "navBarTitleText": "US2_list", "childItems": [ { "itemId": "66449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "AAAA", "itemId": "76449911", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "AAAA", "childItems": [ { "itemId": "86449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-1211", "itemId": "96449911", "itemType": "BT_screen_call", "number": "919-31-1211" }, "titleText": "Business: 919-31-1211" }, { "itemId": "86449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-08-7062", "itemId": "96449912", "itemType": "BT_screen_call", "number": "919-68-7062" }, "titleText": "Mobile: 919-68-7062" }, { "itemId": "86449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449913", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "AAAA" }, { "itemId": "66449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "BBBB", "itemId": "76449912", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "BBBB", "childItems": [ { "itemId": "86449914", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-51-3071", "itemId": "96449914", "itemType": "BT_screen_call", "number": "919-51-3071" }, "titleText": "Business: 919-5-3071" }, { "itemId": "86449915", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-80-5836", "itemId": "96449915", "itemType": "BT_screen_call", "number": "919-40-5836" }, "titleText": "Mobile: 919-40-5836" }, { "itemId": "86449916", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449916", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "BBBB" }, { "itemId": "66449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "CCCC", "itemId": "76449913", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "CCCC", "childItems": [ { "itemId": "86449917", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-3833", "itemId": "96449917", "itemType": "BT_screen_call", "number": "91 531-383" }, "titleText": "Business: 919-51-333" }, { "itemId": "86449918", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: ", "itemId": "96449918", "itemType": "BT_screen_call", "number": "" }, "titleText": "Mobile: " }, { "itemId": "86449919", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449919", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "CCCC" } ] }
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
01/17/13 01:39 PM (13 years ago)
Hi RonBo. I'm not really sure how the Search plugin works (never used it). I'm not sure what it searches for. Let me see if I can bring this to the attention of MrDavid (I believe that's who made the search plugin). I'll let you know what I find out. -Stobe
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
01/18/13 06:19 AM (13 years ago)
Here is my JSON Snippet (and this is also found in BT_config.txt in xcode) { "itemId": "66DDA7FDB4C52678015A62F", "itemType": "BT_screen_menuListSimple", "itemNickname": "US2_list", "navBarTitleText": "US2_list", "childItems": [ { "itemId": "66449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "AAAA", "itemId": "76449911", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "AAAA", "childItems": [ { "itemId": "86449911", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-1211", "itemId": "96449911", "itemType": "BT_screen_call", "number": "919-31-1211" }, "titleText": "Business: 919-31-1211" }, { "itemId": "86449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-08-7062", "itemId": "96449912", "itemType": "BT_screen_call", "number": "919-68-7062" }, "titleText": "Mobile: 919-68-7062" }, { "itemId": "86449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449913", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "AAAA" }, { "itemId": "66449912", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "BBBB", "itemId": "76449912", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "BBBB", "childItems": [ { "itemId": "86449914", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-51-3071", "itemId": "96449914", "itemType": "BT_screen_call", "number": "919-51-3071" }, "titleText": "Business: 919-5-3071" }, { "itemId": "86449915", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: 919-80-5836", "itemId": "96449915", "itemType": "BT_screen_call", "number": "919-40-5836" }, "titleText": "Mobile: 919-40-5836" }, { "itemId": "86449916", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449916", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "BBBB" }, { "itemId": "66449913", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "CCCC", "itemId": "76449913", "itemType": "BT_screen_menuListSimple", "navBarTitleText": "CCCC", "childItems": [ { "itemId": "86449917", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Business: 919-31-3833", "itemId": "96449917", "itemType": "BT_screen_call", "number": "91 531-383" }, "titleText": "Business: 919-51-333" }, { "itemId": "86449918", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Mobile: ", "itemId": "96449918", "itemType": "BT_screen_call", "number": "" }, "titleText": "Mobile: " }, { "itemId": "86449919", "itemType": "BT_menuItem", "loadScreenObject": { "itemNickname": "Home: ", "itemId": "96449919", "itemType": "BT_screen_call", "number": "" }, "titleText": "Home: " } ] }, "titleText": "CCCC" } ] }
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
01/22/13 12:03 PM (13 years ago)
Mr. David - any insight into why the Search Plugin doesn't find the navBarTitleText for the BT_menuItems "AAAA", "BBBB" or "CCCC". The Search finds the toplevel US2_List just fine. Is it not designed to traverse into childitems? Tried to show below the hierarchy of this phone dialing app. A list menu, which has rows, which each load another list menu, which in turn list 3 rows to dial 3 different phone numbers. Trying to figure out how to search/find the navBarTitleTexts of that 2nd list menu. {the indentations don't come out...) -- "itemType": "BT_screen_menuListSimple","navBarTitleText": "US2_list", | | childitems |---"itemType": "BT_menuItem", loadScreenObject, "itemType": "BT_screen_menuListSimple", "navBarTitleText": "AAAA", | | childitems |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", loadScreenObject, "itemType": "BT_screen_menuListSimple", "navBarTitleText": "BBBB", | | childitems |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", loadScreenObject, "itemType": "BT_screen_menuListSimple", "navBarTitleText": "CCCC", | | childitems |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call" |---"itemType": "BT_menuItem", "BT_screen_call"
 

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.