G
G
GretSOX2015-02-09 20:08:50
Android
GretSOX, 2015-02-09 20:08:50

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

I wanted something like:
getResources().getPhoneModel().getName()
Google Play somehow gets information about the model:
f61cc950f5e547ef84937fc3b65853e2.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2015-02-09
@GretSOX

Report: The question is easily searched by the
stackoverflow.com/questions/7071281/get-android-de...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question