Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use javap to get method signatures in for Android Activity

Tags:

android

javap

When I write in command line javap -s java.awt.Label, I succesfully get signatures for Label. Now I want to get signatures for Android Activity class. But if I write javap -s android.app.activity it results in ERROR: Could not find android.app.activity.

What am I doing wrong? Should I change something in PATH env var or whatever?

like image 947
Nick Avatar asked May 29 '13 17:05

Nick


1 Answers

Go to your apps directory and

javap -s -classpath bin/classes com.example.myActivity

Edit

for Android core classes add bootclasspath

javap -s -bootclasspath /opt/android-sdk/platforms/android-8/android.jar -classpath bin/classes android.app.Activity
like image 134
j.holetzeck Avatar answered Nov 20 '22 21:11

j.holetzeck