Programattically add addons via android app
#1
Hey guys new to this thread and kodi.

I do android development as a hobby and now I'm starting to get into kodi addons, anyway I'm trying to create an android application to install kodi addons with one click in a listview.

Basically I have a json file on web server when app starts it will load:
icon,repo url, dependencies urls,info about repo.

each addon repo in the json file will appear in list view and when users clicks on the addon with will download the zip file and extract it into sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons folder.

I've gotten this far and the addons show up in kodi video and work once dependencies are met.

Anyway where else do I need to change to get the addons to function like an installed addon the normal way so user can uninstall it from kodi menu?

I can programmatically parse xml files to if needed or maybe open the userdata database in kodi userdata folder.

For uninstall
I'm also going into each addon in the kodi folder and load default icon and name got from xml file and users can also uninstall with one click.

Is this something that would be useful or would you guys be against?

Cheers
@tvgurudude
Reply

Logout Mark Read Team Forum Stats Members Help
Programattically add addons via android app0