Thanks for the help Vovkab!
I will start playing around with what you've got see were it leads
me...

-Moto

On Oct 27, 11:34 am, vovkab <vov...@gmail.com> wrote:
> [In Theme package]
> 1. set action for activity, for example: my.package.theme
> 2. add all files you need for this theme
>
> [In main app]
>   // Create intent with your action: my.package.theme
>   Intent intent = new Intent();
>   intent.setAction("my.package.theme");
>
>   // Get list of all installed packages with your themes
>   List<ResolveInfo> lresolve = pm.queryIntentActivities(intent, 0);
>
>   int size = lresolve.size();
>   for (int i = 0; i < size; i++) {
>     ApplicationInfo appInfo = lresolve.get
> (i).activityInfo.applicationInfo;
>     try {
>       Resources resSkin = pm.getResourcesForApplication(appInfo);
>       int backres = resSkin.getIdentifier("my_background", "drawable",
> appInfo.packageName);
>       // getting background from theme package
>       Drawable background = resSkin.getDrawable(backres);
>     } catch (NameNotFoundException e) {
>        e.printStackTrace();
>     }
>   }
>
> Hop this help.
>
> On 27 окт, 18:09, Moto <medicalsou...@gmail.com> wrote:
>
>
>
> > I bump once more see if I can get an experts comment on this...
>
> > On Oct 26, 4:08 pm, Moto <medicalsou...@gmail.com> wrote:
>
> > > I essentially need a lead just to get started... anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to