views:

44

answers:

2

Hello,

I have an app that I have written that works fine on the Samsung Galaxy S series (I have a captivate). However, the app apparently doesn't work on the Droid's as Motorola has laid out the file structure differently.

I'm looking for a way to detect the manufacturer so that I can switch out program behavior.

Does anyone know an easy way to do this?

+1  A: 

android.os.Build.MANUFACTURER is probably what you want.

Bear in mind that the file structure is likely to vary on other devices as well, as that's not part of the public SDK.

CommonsWare
A: 

This what you need in addition to manufacturer: android.os.Build.MODEL;

taranfx