Answer the question
In order to leave comments, you need to log in
How to programmatically find out the device model?
You need to find out the model of the device on which the application is running.
For example, you can find out the current orientation of the device using the methods:
getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT
getResources().getPhoneModel().getName()
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