yucemahmut / battery-indicator

Automatically exported from code.google.com/p/battery-indicator
Other
0 stars 0 forks source link

How do I make my own icon plugin? #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello I have icon files I want to be able to compile together and use as a 
plugin for your application.  Are there any instructions how to compile a 
plugin to work with your app?

Original issue reported on code.google.com by nba1...@gmail.com on 26 Mar 2012 at 3:17

GoogleCodeExporter commented 9 years ago
Great question!

If you have the rights to the icons (e.g. you created them yourself) and you're 
willing to share, you can send them to me and I'll make the plugin and put it 
up on the plugin download page.

If you don't have the rights or don't wish to share, then you can by all means 
compile your own plugin, but unfortunately you'll have to recompile and sign 
the main app yourself too.  Neither task is difficult, but it's an extra step 
you need to be aware of.  This is due to Android requiring the same signature 
for both the app APK and the plugin APK.

So you'll need to:

1) Checkout both the `default' and `icon-plugins' repositories,
2) Build the app and sign with your own key,
3) Create a new plugin with the `create_plugin.sh' script,
4) Set up the new plugin with your icons,
5) Build the plugin and sign it with the same key you signed the app with.

If you're a programmer or have at least some experience working with code, 
that's all pretty straightforward.  If you have no programming experience 
whatsoever, I think you could still get it done, but you'd have to be 
determined and put some time into figuring things out.  I can answer quick 
questions if you get stuck, but I can't really walk you through it any more 
than I just have.

Original comment by andr...@darshancomputing.com on 28 Mar 2012 at 11:09