How to get the license type of each installed package

by Nando Android » Tue, 29 Jun 2010 04:45:22 GMT


Sponsored Links
 Hello all,

Not all the packages have license information and I am not sure if those
that do have that on the manifest but it doesn't seem like it.

Therefore, is there a way to extract the license of all the packages
installed on a Android system?

Thanks.

--



Other Threads

1. Aw aw aw..:..

Hahahaha. Gua juga baru aja. Ngang-ngong di NOL. Tp twitter msi jln.

send from big Hero, my Android phone




Bobo ah.....

Rgds,
Jus
| dream g1 eclair 2.1 |

-- 
"Indonesian Android Community [id-android]"

2. Avoid launching a task twice from notification manager

Hi all:

a new instance of it?

I want to create a link in the status bar on the phone through
notification manager. When I click on it, I want want a particular
task to come to the foreground.

However, it seems my code always launch a new task even if there is an
existing one running. For example, I click on the link the first time,
a task shows up. When I click the second time, I see an animated task
showing up again ... repeat that 5 times. And then when I hit "back"
button, the 5 instances will disappear one by one (proving it's not
just a single instance). Very annoying.


Code snippet:
===
    CharSequence text = getText(R.string.my_service_started);

    // Set the icon, scrolling text and timestamp
    Notification notification = new Notification(R.drawable.lock,
text, System
        .currentTimeMillis());

    Intent intent = new Intent(Intent.ACTION_MAIN);
    intent.addCategory(Intent.CATEGORY_LAUNCHER);
    intent.setComponent(new ComponentName(this,
StartActivity.class.getName()));
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
        | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);

    PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
intent, 0);

    notification.setLatestEventInfo(this,
getText(R.string.lock_service_label),
        text, contentIntent);

    notificationManager.notify(R.string.lock_service_started,
notification);

-- 

3. ListView dilemma: fixed but hideable header

4. Latitude crashes Google maps, Android 1.5

5. dispatch touch events to underlying window

6. Adding Real Media to PV framework

7. attractive a soap