Pages

Bases Pages

There are 3 fondamental type of pages :

  • Text Page
  • Feed Page
  • Site Page

You can see the page definition here

 

Contacts Pages

Sms

{
itype:"sms"
 type:"site",
num:"NUMBER TO SEND THE SMS",
msg:"PRECOMPILE MSG",
  url:"sms:NUM?body=MSG",
open:"outside"
 }

Call

{
itype:"call"
 type:"site",
num:"NUMBER TO call",
  url:"tel:NUM",
open:"outside"
 }

Email

{
itype:"mail"
 type:"site",
email:"DESTINATION EMAIL",
subject:"SUBJECT"
msg:"PRECOMPILE MSG",
  url:"mailto:EMAIL?subject=SUBJECT&body=MSG",
open:"outside"
 }

Map

{
itype:"map"
 type:"site",
maptype:"feed|address|kml",
feed:"ID FEED", (optional)
address:"string", (optional)
  kml:"kml link", (optional),
url:"http://maps.google.com?q="(kml|address) or http://maps.google.com?q=http://www.apps-builder.com/feedgenerator/get/FEED
open:"outside" (ask the user if he want to open the map in the navigator)
 }

Pseudo Pages

Using the bases pages you can create others pages

Html Page

The html page is an text page where the txt key is the base64value of the html text you want to show

You should show the user an rich text editor to help him write his content

Custom Code Page

The custom code page is an text page where the txt key is the base64 value of the html code you want to show

Special Pages

Wall chat

The wall chat is a preconfigured page with this value :

{
itype:"wall"
 type:"xml",
 urltype:"news",
  url:"/wall/get/IDAPP",
add:"/wall/addPage/IDAPP"
img:false
 }

Radio Page

 

Map

 

PDF Page

The pdf page is a Link Page with the following parameter

{
itype:"pdf"
 type:"site",
 rurl:"",
  url:"",
open:"inside|outside" }

 

nametypedescription
typestring

site

rurlstringpdf link
urlstring

http://www.apps-builder.com/pdf/create/?url=RURL

or

http://www.apps-builder.com/pdf/reader/ID

where id is the ID return after the API call

http://www.apps-builder.com/pdf/createHelper/

the url variable can be passed with POST or GET

 

openstring

specifiy how to show the link :

  • inside
    inside the app
  • outside
    outside the app