Menu Simple

buzztouch plugin: Menu Simple
Version: v1.6
This plugin produces a simple menu in list view. List items are single line without a 2nd line description and no left-side icon is used. Right side details indicators for each row can be arrow, details, or blank.
works on iOS iOS
works on Android Android
Developer Info
Latest Review
Pointercrazy android | 07/26/14 (v1.6)
this plug in does not work with iOS 7.0 7.1 leaves a white background in menu rows won't change to clear
Screenshots
More Information
This plugin produces a simle menu in list format. It does not use a header or footer image
and is perfect for sub-menus. The right-side details indicator for each row (arrow, details, none)
is (arrow, details indicator, blank). There is no left-side icon or image, typical in
plain menu's and other utility screens. The primary purpose of this plugin is to quickly
and easily create a menu while avoiding the complexities introduced by many advanced settings.

The items in the list can individually entered in the control panel or they
may come from a remote file. If you're showing more than a dozen or so menu items it's
usually best to pull them from a remote file.

iOS Project
------------------------
1 Objective-C class (a total of 2 files) are needed.
BT_screen_menuListSimple.m and .h

BT_screen_menuListSimple.m is the main UIViewController that shows the list.
The UITableViewCell that is used for each row is created from one of the buzztouch
core files, BT_cell_menuList.m, .h

Android Project
------------------------
BT_screen_menuListSimple.java is the Activity class that displays the menu. The layout is handled by
screen_menulistsimple.xml for the activity and men_list_rowsimple.xml for each individual row.

Version History
-----------------

v1.6     2/1/2014 (chris1)
          Changed accessory view on iOS7 for "details" selection to show only info button, not info button and arrow;
          Updated for 3.0 control panels
          
v1.3     11/10/2012
          Minor syntax changes to accomodate for Xcode 4.5 compiler warnings.
          Minor changes in .java files to accomodate for Anroid (Google) 2.2 API's compiler warnings.
          Minor UI changes in .php files for control panel.

v1.0, 1.1, 1.2 (historical versions, no change details)


JSON Data
------------------------

If you manually enter the menu item data, the JSON data for this item in the BT_config.txt
includes a child items array holding individual BT_menuItem items. Each item produces a row.

{
     "itemId":"1111",
     "itemType":"BT_screen_menuListSimple",
     "navBarTitleText":"My Simple Menu",
     "childItems":[
          {
               "itemId":"menu_1",
               "itemType":"BT_menuItem",
               "titleText":"This is row 1",
               "loadScreenWithItemId":"1234"
          },
          {
               "itemId":"menu_2",
               "itemType":"BT_menuItem",
               "titleText":"This is row two",
               "loadScreenWithItemId":"5678"
          }
     ]
}

If you provide menu item data from a remote file there is no childItems array in the screen
definition in the BT_config.txt file. Instead, the menu items are pulled from a remote file.

{
     "itemId":"1111",
     "itemType":"BT_screen_menuListSimple",
     "navBarTitleText":"My Simple Menu",
     "dataURL":"http://www.domain.com/theMenuItemData.php"
}
     
In this case the menu items would come from a backend script at the dataURL. Loading
the dataURL in your browser would produce output like this....

{
     "childItems":[
          {
               "itemId":"menu_1",
               "itemType":"BT_menuItem",
               "titleText":"This is row 1",
               "loadScreenWithItemId":"1234"
          },
          {
               "itemId":"menu_2",
               "itemType":"BT_menuItem",
               "titleText":"This is row 2",
               "loadScreenWithItemId":"5678"
          },
          {
               "itemId":"menu_3",
               "itemType":"BT_menuItem",
               "titleText":"This is row 3",
               "loadScreenWithItemId":"2948"
          }
     ]
}