java - Find Activity by name using reflection if the Activity is in a subpackage -
I use this method to execute according to their names:
Public void startAct (String Activity Name) {try {class
This method works fine if all the activity
is at the same package level of activity where I wrote this method Example code com.myapp.uk.group1
seems unable to start activity
... There is also a way to fix the way to do the work if activity has many other subpackages in com.myapp.uk.group1
com.myapp.uk.group2
Com.myapp.uk.group3
etc.
Comments
Post a Comment