Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 19    Views: 114

ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
05/23/12 03:36 PM (13 years ago)

More JSON questions (Im getting closer)

ok so i made 1 home screen menu. i made a json.txt file and put it on dropbox i went to the advanced properties in the control panel and put the link to my json.txt file in it contains this {"childItems":[ {"itemId":"TEST1", "itemType":"BT_menuItem", "loadScreenWithItemId":"ABC", "titleText":"SCREENTEST1"}, {"itemId":"TEST2", "itemType":"BT_menuItem", "loadScreenWithItemId":"123", "titleText":"SCREENTEST2"} ]} i made sure i updated the bt_config before i did it. and the emulator is just a white screen
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/23/12 03:56 PM (13 years ago)
Is the home screen a list menu?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/23/12 04:14 PM (13 years ago)
yes it is, is that how its supposed to be?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/23/12 05:09 PM (13 years ago)
How do you propose to connect the menu to the item?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/23/12 05:11 PM (13 years ago)
i have no idea Fred, i figured i was missing something...how do i do that?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/23/12 05:22 PM (13 years ago)
Simple. First create a new app. Call it JSON by Fred Home screen: Menu (simple) Add two items Item #1 - HTML doc via URL, nickname MySkylla, enter http://www.MySkylla.com Item #2 - HTML doc via URL, nickname Buzztouch, enter http://www.buzztouch.com/forum/ Copy the Config file and post. I'll give you the next step then. Yes, I need copy of Config file for next step. Don't need to download yet. Fred
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/23/12 05:26 PM (13 years ago)
so im making you an app? lol
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 02:57 PM (13 years ago)
fred, what version should i make, bt v 2.0? im going to start on this json learning from you now, well whenever you have the time
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/24/12 03:39 PM (13 years ago)
It doesn't matter. Recommend BTv2.0. Fred
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 03:42 PM (13 years ago)
ok starting now ill post what the config says when im done
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/24/12 03:48 PM (13 years ago)
Please don't create any additional screens, need to keep this simple. Post the Config file when you finish (post only the Config file, no comment or anything. Fred Correct Hold on it's gonna take a bit. First I'm clearing up the file so you can see what's there.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 03:50 PM (13 years ago)
ok, so the 2 screens you mentoned earlier? Add two items Item #1 - HTML doc via URL, nickname MySkylla, enter http://www.MySkylla.com Item #2 - HTML doc via URL, nickname Buzztouch, enter http://www.buzztouch.com/forum/
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 04:07 PM (13 years ago)
{"BT_appConfig": { "BT_items":[ {"itemId":"JA7504DC9D6F3DA20680B3994", "itemType":"BT_app", "buzztouchAppId":"JA7504DC9D6F3DA20680B3994", "buzztouchAPIKey":"317F642C706F922A4EF3137", "dataURL":"http://www.buzztouch.com/api/app/?command=getAppData&appGuid=JA7504DC9D6F3DA20680B3994&apiKey=317F642C706F922A4EF3137&apiSecret=8F477F1720748E416143B11", "reportToCloudURL":"http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA7504DC9D6F3DA20680B3994&apiKey=317F642C706F922A4EF3137&apiSecret=8F477F1720748E416143B11&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId]", "name":"JSON By Fred", "version":"2.0", "startLocationUpdates":"0", "allowRotation":"largeDevicesOnly", "BT_themes":[{"itemId":"A68306806DCA1AB85C7DCFA", "itemType":"BT_theme", "backgroundColor":"#FFFFFF"} ], "BT_tabs":[ ], "BT_screens":[{"itemId":"AE2A64BB9EF0D5D6E7D05CC", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home Screen Menu", "navBarTitleText":"Home", "childItems":[]}, {"itemId":"5A9D5873F3E7B44F5149DB6", "itemType":"BT_screen_htmlDoc", "itemNickname":"MySkylla", "dataURL":"http://www.MySkylla.com", "navBarTitleText":"MySkylla", "forceRefresh":"1"}, {"itemId":"E7318E95BA9502F68F9E0B9", "itemType":"BT_screen_htmlDoc", "itemNickname":"Buzztouch", "dataURL":"http://www.buzztouch.com/forum/", "navBarTitleText":"Buzztouch", "forceRefresh":"1"} ] } ] } }
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/24/12 05:06 PM (13 years ago)
Moving due to top much text. I'll post you with a link.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 05:13 PM (13 years ago)
so now how do i add json to connect screens from dropbox?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 07:12 PM (13 years ago)
did you just make it sorted out better? im confused what you just did lol
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/24/12 07:23 PM (13 years ago)
I sent you a message.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 07:37 PM (13 years ago)
sent you a message
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 08:23 PM (13 years ago)
ok Fred, i sent another email, kinda running into problems, atleast my emulator is showing a white screen, also sent the bt config in the email, i did everythin u said to do
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/24/12 08:27 PM (13 years ago)
ok, i switched to api 3.2, and using 2.0 bt now it shows
 

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.