Detect phone provider during installation

I am developing an application for a specific device. Can anyone find out how to detect the vendor of Android ie phones samsungor htcetc. in android... is it possible ?. What, according to the seller of the phone, I can decide to install the application on this phone or not !!!!

+5
source share
1 answer

Use the code below to get a phone provider

String manufacturer = android.os.Build.MANUFACTURER;

It will return the name of the provider. For example Samsung, if it is a Samsung phone.

, , , , , , , , .

+12

All Articles