ROM Mart is an app that let you provide add-ons to custom ROM users, such as wallpapers, apps and mods.
The app is really flexible and the developer can set categories, sub-categories and some layout parameters.
The only thing developer needs to do is create a simple XML file and upload it on his server, then add some strings to the build.prop file
Special Thanks to @maximo76 for the app icon
Features:
Permissions explanation:
android.permission.WRITE_EXTERNAL_STORAGE" ==> Save content to SD-card
android.permission.SET_WALLPAPER" ==> permission to set device wallpaper
android.permission.INTERNET" ==> Download manifest and content
android.permission.ACCESS_NETWORK_STATE" ==> get network state to start/stop updates service
How To :
Add these lines to the build prop:
XML Syntax:
Note that Not required fields can be omitted in XML!
thumbUrl and name for images can be omitted! The app will generate a name automatically ("Item #xxyy")
A simple XML example, can be found here: manifest.xml
(It's based on DirtyUnicorns wallpapers xml)
Put the app in /data/app or in /system/app, as you wish
Warnings:
- all links must be publicly accessible and must be direct links to the content (check the example xml!!)
- of course, also the xml link must be publicly accessible!
- use an editor that provides also code highlighting and errors check (i use Komodo Edit)
Sharing policy:
- Let me know if you include it in your rom!
- Add credits to your thread! (me and DSHT, my team)
- Add a link to this thread in yours!
- You are not allowed to change app icon or any other resource inside the package.
- You are not allowed to change the app code
- Any violation will be reported to xda moderators!
Changelog:
V1.0:
- initial release
V1.1:
- fixed zip flash (SU required)
- new App icon by maximo76
V1.2:
- fixed API level issue
V1.3
- fixed NumberFormatException
Screenshots:
XDA:DevDB Information
ROM Mart, App for all devices (see above for details)
Contributors
xcesco89
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2014-05-04
Created 2014-05-03
Last Updated 2014-05-09
The app is really flexible and the developer can set categories, sub-categories and some layout parameters.
The only thing developer needs to do is create a simple XML file and upload it on his server, then add some strings to the build.prop file
Special Thanks to @maximo76 for the app icon
Features:
- Flexible UI : App UI can be customized by modifying xml parameters
- Categorized: All the content can be categorized in categories and sub-categories
- Notifications: When developer add/remove content from the remote file a notification will be prompted to the user
- Updates check frequency: set when the app must check for updates
- Set/Download wallpapers
- Install apps
- Install mods
- updates checker service will automatically start/stop based on connection status! (WiFi, mobile data)
- Should work with any device running Android 4.0+
- No need to subscribe to any site, just put the link to the remote xml file and you are done!
- Will always be free!
- More will come in future based also on devs requests
Permissions explanation:
android.permission.WRITE_EXTERNAL_STORAGE" ==> Save content to SD-card
android.permission.SET_WALLPAPER" ==> permission to set device wallpaper
android.permission.INTERNET" ==> Download manifest and content
android.permission.ACCESS_NETWORK_STATE" ==> get network state to start/stop updates service
How To :
Add these lines to the build prop:
Code:
hub.pub.url= public url to the xml file
hub.ab.name=App ActionBar title
hub.dl.folder=complete path to your download folder (ex: /sdcard/hub-downloads). Folder will be automatically created by the app
hub.sched.time= Time in minutes for udates check
XML Syntax:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<items>
<category name="your category name">
<sub-category name="your sub-category name"
images ="true | false"
apps="true | false "
mods="true | false"
use-grid="true | false"
use-cards="true | false">
<item url="URL to the content (images, apps, zips)"
thumbUrl="optional for images, required for apps and mods"
name="App/image/mod name"
author="author"
description="required for Apps and Mods, not used for images"
preview-images="Images Link separated by a semicolon (;). Required only for apps and mods"/>
</sub-category>
</category>
</items>
Tags explanation:
<category> :
This tag inside inside the app will be a ViewPager Tab
Attributes:
<sub-category>
Every Sub-Category will be a list item inside the menu.
Attributes:
name="" ==> The sub-category name user will display inside the app
images="true|false" ==> needed to tell to the app if this sub-category contains images on not
apps="true|false" ==> Same as for images attribute.
mods="true|false" ==> Same as images and apps.
use-grid="true|false" ==> This will tell the app to use a ListView instead of GridView. default is false so it will use a listview.
use-cards="true|false" ==> This one will tell to the app if you want to use google cards look or not. Default is false.
<item>
This is one of the downloadable contents you want provide to your users (an image, and app or a mod).
Attributes:
url="" ==> URL of the content
thumbUrl="" ==> unused for images, used by apps and mods to provide the image you'll see inside the list or gridview
name="" ==> image, app or mod name
author="" => image, app or mod author
description="" ==> Content description used only by apps and mods. Not required for images.
preview-images="" ==> Link or links to preview images separated by a semicolon ;. These images will be displayed on the detailed view when user clicks on a list/gridView item. Used for apps and mods, unused for images.
Note that Not required fields can be omitted in XML!
thumbUrl and name for images can be omitted! The app will generate a name automatically ("Item #xxyy")
A simple XML example, can be found here: manifest.xml
(It's based on DirtyUnicorns wallpapers xml)
Put the app in /data/app or in /system/app, as you wish
:::In case of Force Close:::
- Read this post and check Build.prop permissions ==> http://xdaforums.com/showpost.php?p=52404174&postcount=13
- if it's not file's permissions related take a logcat and post the log
Warnings:
- all links must be publicly accessible and must be direct links to the content (check the example xml!!)
- of course, also the xml link must be publicly accessible!
- use an editor that provides also code highlighting and errors check (i use Komodo Edit)
Sharing policy:
- Let me know if you include it in your rom!
- Add credits to your thread! (me and DSHT, my team)
- Add a link to this thread in yours!
- You are not allowed to change app icon or any other resource inside the package.
- You are not allowed to change the app code
- Any violation will be reported to xda moderators!
Changelog:
V1.0:
- initial release
V1.1:
- fixed zip flash (SU required)
- new App icon by maximo76
V1.2:
- fixed API level issue
V1.3
- fixed NumberFormatException
Screenshots:
XDA:DevDB Information
ROM Mart, App for all devices (see above for details)
Contributors
xcesco89
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2014-05-04
Created 2014-05-03
Last Updated 2014-05-09