Answer the question
In order to leave comments, you need to log in
How to get values from Android context?
Hello. I am rewriting some methods from the android application to implement them purely in java. There was a question about getting data from application methods:
context.getPackageName();
context.getPackageManager().getPackageInfo(packageName, 0).versionName;
context.getPackageManager().getPackageInfo(context.getPackageName(), 64).signatures[0].
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question