[android-developers] Re: reading package name from apk file
hello rk, What am doing is not exactly automated test solution but partially "yes". using ant scripts and tools in SDK like monkey (check below Link)... http://developer.android.com/guide/developing/tools/monkey.html I am generating some random input for testing games on Android Platform. - Sudhaker On Aug 13, 11:46 am, rk wrote: > Sudha, > > Do you have automated test solution for Andorid? > > thanks > raj > > On Aug 13, 11:42 am, Dianne Hackborn wrote: > > > Use the aapt command's dump subcommands. For example "aapt dump badging > > /path./to/.apk" will print various interesting meta-data about the app. > > > On Wed, Aug 12, 2009 at 10:45 PM, Sudha wrote: > > > > Hello Zero, > > > > What i want is just knowing the package name > > > > I donot wish to reverse engineer the code > > > > the main purpose is to write a script for automated testing like when > > > a apk file is given in the script it installs the package on the phone > > > and after testing some random test cases will uninstall the app from > > > the device or emu > > > > for uninstalling the app from device using script what we must know is > > > the package name so i want to parse the apk file not meant to > > > reverse engineer.. > > > > - Sudha > > > > On Aug 12, 7:22 pm, Zero wrote: > > > > dude, maybe you should not try to mess with other ppls code if u don't > > > > know basic reverse engineering. seriously. > > > > > On Aug 12, 3:26 pm, Sudha wrote: > > > > > > Hello, > > > > > > If i have a apk file and want to know the package name and class > > > > > hierarchy, how do i do it? > > > > > > Suppose I have some sample APK file named "SampApp.apk" which contains > > > > > classes inside "com.android.sampApp". > > > > > > Is there any tool in Android SDK which shows the package name when APK > > > > > file is passed as a parameter. > > > > > > As the Class files are compressed to dex file I am not able to check > > > > > the actual package name. > > > > > > Regards: > > > > > Sudha > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them.- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: reading package name from apk file
Sudha, Do you have automated test solution for Andorid? thanks raj On Aug 13, 11:42 am, Dianne Hackborn wrote: > Use the aapt command's dump subcommands. For example "aapt dump badging > /path./to/.apk" will print various interesting meta-data about the app. > > > > > > On Wed, Aug 12, 2009 at 10:45 PM, Sudha wrote: > > > Hello Zero, > > > What i want is just knowing the package name > > > I donot wish to reverse engineer the code > > > the main purpose is to write a script for automated testing like when > > a apk file is given in the script it installs the package on the phone > > and after testing some random test cases will uninstall the app from > > the device or emu > > > for uninstalling the app from device using script what we must know is > > the package name so i want to parse the apk file not meant to > > reverse engineer.. > > > - Sudha > > > On Aug 12, 7:22 pm, Zero wrote: > > > dude, maybe you should not try to mess with other ppls code if u don't > > > know basic reverse engineering. seriously. > > > > On Aug 12, 3:26 pm, Sudha wrote: > > > > > Hello, > > > > > If i have a apk file and want to know the package name and class > > > > hierarchy, how do i do it? > > > > > Suppose I have some sample APK file named "SampApp.apk" which contains > > > > classes inside "com.android.sampApp". > > > > > Is there any tool in Android SDK which shows the package name when APK > > > > file is passed as a parameter. > > > > > As the Class files are compressed to dex file I am not able to check > > > > the actual package name. > > > > > Regards: > > > > Sudha > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them.- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: reading package name from apk file
Use the aapt command's dump subcommands. For example "aapt dump badging /path./to/.apk" will print various interesting meta-data about the app. On Wed, Aug 12, 2009 at 10:45 PM, Sudha wrote: > > Hello Zero, > > What i want is just knowing the package name > > I donot wish to reverse engineer the code > > the main purpose is to write a script for automated testing like when > a apk file is given in the script it installs the package on the phone > and after testing some random test cases will uninstall the app from > the device or emu > > for uninstalling the app from device using script what we must know is > the package name so i want to parse the apk file not meant to > reverse engineer.. > > > - Sudha > > On Aug 12, 7:22 pm, Zero wrote: > > dude, maybe you should not try to mess with other ppls code if u don't > > know basic reverse engineering. seriously. > > > > On Aug 12, 3:26 pm, Sudha wrote: > > > > > Hello, > > > > > If i have a apk file and want to know the package name and class > > > hierarchy, how do i do it? > > > > > Suppose I have some sample APK file named "SampApp.apk" which contains > > > classes inside "com.android.sampApp". > > > > > Is there any tool in Android SDK which shows the package name when APK > > > file is passed as a parameter. > > > > > As the Class files are compressed to dex file I am not able to check > > > the actual package name. > > > > > Regards: > > > Sudha > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: reading package name from apk file
Hello Zero, What i want is just knowing the package name I donot wish to reverse engineer the code the main purpose is to write a script for automated testing like when a apk file is given in the script it installs the package on the phone and after testing some random test cases will uninstall the app from the device or emu for uninstalling the app from device using script what we must know is the package name so i want to parse the apk file not meant to reverse engineer.. - Sudha On Aug 12, 7:22 pm, Zero wrote: > dude, maybe you should not try to mess with other ppls code if u don't > know basic reverse engineering. seriously. > > On Aug 12, 3:26 pm, Sudha wrote: > > > Hello, > > > If i have a apk file and want to know the package name and class > > hierarchy, how do i do it? > > > Suppose I have some sample APK file named "SampApp.apk" which contains > > classes inside "com.android.sampApp". > > > Is there any tool in Android SDK which shows the package name when APK > > file is passed as a parameter. > > > As the Class files are compressed to dex file I am not able to check > > the actual package name. > > > Regards: > > Sudha --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: reading package name from apk file
dude, maybe you should not try to mess with other ppls code if u don't know basic reverse engineering. seriously. On Aug 12, 3:26 pm, Sudha wrote: > Hello, > > If i have a apk file and want to know the package name and class > hierarchy, how do i do it? > > Suppose I have some sample APK file named "SampApp.apk" which contains > classes inside "com.android.sampApp". > > Is there any tool in Android SDK which shows the package name when APK > file is passed as a parameter. > > As the Class files are compressed to dex file I am not able to check > the actual package name. > > Regards: > Sudha --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---