configuring AppLock

<<<<<<<<<< THIS POST IS MIGRATED FROM DEVCENTRAL ANDROID FORUM >>>>>>>>>>

 

 

Applock configuration requires that the package of the classes that we want in the whitelist are known.

If you have an application that you want to have on the device you can explode the apk archive of the application and use the utility dex2jar to translate the dex bytecode classes in a java archive.

The obtained java archive can be opened with a java decompiler and the class are clearly visible.

dex2jar utillity: http://code.google.com/p/dex2jar/
JD-GUI java decompiler: http://java.decompiler.free.fr/?q=jdgui

regards
Pietro

 

 

Posted on: 10/17/2011 5:10:40 PM by Pietro Francesco Maggi (Motorola) in Mobile Computing: Android

Rameshkumar Bal...
<<<<<<<<<< THIS POST IS

<<<<<<<<<< THIS POST IS MIGRATED FROM DEVCENTRAL ANDROID FORUM >>>>>>>>>>

Is there a layman's method to view the information regarding the applications you want white listed?

Posted on: 10/18/2011 5:05:46 PM by Richard Baker (Symbol) in Mobile Computing: Android

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Richard, You could try the

Richard,

You could try the below instead :

1. Connect your device to your PC.

2. Open a command prompt [or a terminal in Ubuntu] and run the below :

adb devices :  This should return your devices' id successfully.

adb shell

$ pm list packages -f > sdcard/pkglist.txt

$ exit

3. The pkglist.txt in the root of your SDcard is populated with all the .apks installed and their package names.

Just type "pm list packages -f to see the list right there in the window.

Anu

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Pietro Francesc...
Another method, that you can

Another method, that you can try to see if you can "find" your apk packages is to use DataWedge:

  • Launch DataWedge and select "Android Launcher".
  • Select Associated apps and them "Menu" and New app/activity

In this list you can find all the application/activity installed on the device.

If the apk has a usefull package name you can find it in the list (for example the RDP lite client has a package name of com.toremote.rdpdemo).

Pietro

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments