A user doesn't even have to rebuild to change them. Just edit the text file at /system/build.prop
On Jun 26, 10:22 am, dar <[email protected]> wrote: > I think you want to look at android.os.Build Model, device, etc to see > if you can find what you are looking for. As lbcoder implied these > won't necessarily have meaningful values on the emulator, but a build > on a device there should be specific values. Though they can change > from build to build, and a user can change them by rebuilding. > > http://developer.android.com/reference/android/os/Build.html > > On Jun 25, 9:10 pm, arindam bhattacharjee <[email protected]> > wrote: > > > Hi, > > Thanks for your reply. Restricting the program from running is enough > > for my purpose. Could you please tell me what is the API etc. for > > accessing that 'mode id'? > > regards, > > Ari > > > On Jun 26, 1:59 am, lbcoder <[email protected]> wrote: > > > > Impossible on a hardware level, the model id is software-only and can > > > be changed at will if you have root. I don't believe that it is > > > possible to restrict installation by device model, it is possible to > > > prevent running by machine model, I sincerely hope that you don't > > > implement this function as it is in violation of the purpose of having > > > a standardized operating system. Android is designed such that if your > > > program will run on one device, it will run on all. > > > > On Jun 24, 10:30 pm, arindam bhattacharjee <[email protected]> > > > wrote: > > > > > Hi, > > > > I was trying to find some way to permit device manufacturer to preload > > > > application to specific model of device only. For example in Symbian > > > > series60 while making an installation file we can provide information > > > > like in which device model this specific application can be > > > > installed. This is done by providing ''MachineUid'' information > > > > in .pkg file. So if I make an installer for Nokia N80 then other > > > > model of Nokia devices will not be able to install this application. > > > > Can something like this be done in Android? Does Android has any way > > > > to identify device by model (i.e. some unique number for a class or > > > > model of devices and which can be read from application)? If not then > > > > what is the possible way to achive this kind of behaviour? > > > > > Thanks in advance, > > > > regards, > > > > Arindam- Hide quoted text - > > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
