build.json complete example

351 views
Skip to first unread message

Gerard Hernandez

unread,
Apr 4, 2016, 1:48:07 PM4/4/16
to DroidScript
Hi

Is there any sample for the build.json file that contain all available options?
I've been tracking all the post in the 3 groups for DS (Free, Beta and Premium), and I couldn't find a complete list of the things can be changed


{
    "manifest" : 
    { 
        "minSdkVersion" : 8,
        "targetSdkVersion" : 16,
        "debuggable" : false,
        "removePermissions" : "WRITE_EXTERNAL_STORAGE, ACCESS_WIFI_STATE",
        "homeScreen":true,
        "pathPattern":".*\\.txt"
    }
}


If anyone has a complete list that will be greate to have posted.

By the way, Is there a similar one for adding permissions??, or I need to stick to :
_AddPermissions( "Network,USB" ); at the top of app file?

Note. homescreen and pathpattern are currenly only in alpha1.34a5, so be aware of that please.

Dave Smart

unread,
Apr 30, 2016, 6:10:46 PM4/30/16
to androi...@googlegroups.com
Well done Gerard, that is the complete list so far :)

Note: For the benefit of other reading this post:- this file goes in your top level app folder to control the APK building process.

Timo Octazid

unread,
May 1, 2016, 5:26:47 AM5/1/16
to DroidScript
Thanks, all clear now :-)

Timo Octazid

unread,
May 1, 2016, 7:42:44 AM5/1/16
to DroidScript
Dave,
Maybe you could add a way to create the build.json file automaticly with each new project or as a new point in the long-touch-menu on the app icon within Droidscript.

Many Greetings
Timo

Sergio Gensetter

unread,
Dec 26, 2016, 10:27:22 AM12/26/16
to DroidScript
{
"manifest":
{
homeScreen:true
}
}
Reply all
Reply to author
Forward
0 new messages