Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 27    Views: 116

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

JSON Questions

Okay I am working on an App at the moment. I Didnt start anything yet, just gathering information for my app such as ideas and what i want it to look like. Now with my ideas and what i want it to look like, the app is easily going to exceed 100 screens. I read a few things on here about JSON but i dont know how to go upon using it. I downloaded dropbox for space and stuff. Since i dont know how to create apps from scratch, I want to make the first maybe 20-30 screens on buzztouch. But what do i do from there? Question 1) Im going to be using mostly html documents, custom url, youtube, google maps...Where do i add screens and all the stuff i mentioned above in eclipse...or do i add it into eclipse? Question 2)Do i have to modify anything in the BT Config when using JSON? I was toying around with the bt config in eclipse and tried to see if i can add extra things in it, if it would appear but it doesnt work. I Read Freds myskylla.com page and i read Marks guide to JSON and im still stumped.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 04:34 PM (13 years ago)
Have you read my Buzztouch & JSON article? FRED
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 04:42 PM (13 years ago)
yes i have, im confused, i see cp config and sc config but i dont have anything like that created. so are these configs something i have to make from scratch?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 05:46 PM (13 years ago)
The cp_ config is the Config data found in the Control Panel. Every time you save a change in the Control Panel this data is updated. The SC_Config file is the Config data that's found in the BT_Config.txt file in the Source Code. When you select download the Source Code the file is created and placed into the zip file that's downloaded.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 05:47 PM (13 years ago)
Basically the whole BT_Config.txt is a bunch of JSON that builds the whole app. You can certainly add or modify JSON manually in that file to create or edit screens. A good example if using JSON outside of the control panel is any one of my tools" http://www.idevdepot.com/projects/
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 05:49 PM (13 years ago)
do you know where i can find a tutorial, or a step by step to make a new screen? if i have something like that where i can see it, i can breeze through from there. my app is mostly going to be html docs, custom url,google map directions and youtube videos.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 05:56 PM (13 years ago)
ok im going to check it out stobe thanks
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 05:59 PM (13 years ago)
The best resource is the BTv1.5 docs here. I've got a mapmaker tool (CSV2JSON), and I'm working on a video tool next.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:02 PM (13 years ago)
okay i have a question @stobe...that CSV2json that creates the maps, in the screenshot you put things in buzztouch screen data url in advanced properties, isnt that part of the buzztouch control panel and counts it as a screen? also is that tool only for map making? or can i use it for making menus and screens?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:05 PM (13 years ago)
im just curious what constitutes using the control panel. it says 100 screens max but does a menu row count as a screen? im a little confused at this all im sorry
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 06:08 PM (13 years ago)
Yes, it counts the Location map as a screen. That tool is to basically eliminate the need to enter all your map locations into the control panel manually. Not to replace the screen. And it currently is only used for Maps. The next tool I'm working on is based from list menus.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 06:09 PM (13 years ago)
a menu row would link to a screen. So in your question, the menu is a screen, and every link from that menu would link to a screen.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:09 PM (13 years ago)
where is this bt v1.5 docs u were sayin earlier?
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 06:10 PM (13 years ago)
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:12 PM (13 years ago)
thank you stobe, oh ok so if theres just a menu row with lets say a html doc screen, is that constitute as 2 screens or 1?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 06:12 PM (13 years ago)
No, a row will not count as a screen, but you'll normally have a screen connected to the row. If the row connects to a previously created screen used else where, then it doesn't count. Fred
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:15 PM (13 years ago)
Fred, so can i create a row on buzztouch but a screen elsewhere and it grabs the data from a different server so i dont have to use the control panel?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 06:16 PM (13 years ago)
Your best tutorial is to open up the BT_config.txt file and take a look. Fred
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
05/21/12 06:16 PM (13 years ago)
If you have a lot of HTML files, and are worried about using up all your screens allowed, then you may want to create some JSON manually to save some screens. Its not real hard, but its easy to miss a comma somewhere and mess up the whole "parse". If you want to PM me your exact needs, I'll let you know when I could have a tool ready for it.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:18 PM (13 years ago)
ok stobe thank you, and @fred, i studied the bt config in and out, i tried to change things in it to see if it would do anything but the app wouldnt load cause it said error in the bt config, maybe i just messed up
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 06:36 PM (13 years ago)
No harm in messing up. It's best to have a copy to start over with , but if not just go to the Control Panel > core properties > Config data Copy and replace the data on the BT_config.txt file. Try this: Look at the data. Add a item See how it changed. Fred
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:43 PM (13 years ago)
okay im going to try it
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 06:54 PM (13 years ago)
i tried it, i copy and pasted a row, changed the name and changed the item ID, nothing appeared..did i do it wrong
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/21/12 07:01 PM (13 years ago)
The best thing is watch the BTU videos. In one it's shown how to.
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
05/21/12 08:23 PM (13 years ago)
I believe David talks about BT_config.txt in the iOS BT learning.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/21/12 09:55 PM (13 years ago)
yea im a little stumped, if someone can make a tutorial step by step id love you forever! lol
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/22/12 12:45 PM (13 years ago)
watched the BT U and still stumped
 
shockme66
Apple Fan
Profile
Posts: 81
Reg: Sep 12, 2011
Easton PA
1,010
like
08/09/12 06:10 AM (13 years ago)
If I already have a JSON file with map locations and other data, what is the best way to link to it and populate the map?
 

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.