Title: Device Identification Post by: Dev1 on May 28, 2009, 04:53:07 PM
One of the benefits of a device based OS such as the iPhone's is that the developer can access and find out programmatically the ID of the device. This simplifies the processes of user identification, registration and logging in. I don't mean the name of the device's owner which presumably the owner can set and reset, but rather something that identifies the hardware -- ie, the device itself. Will the Palm Pre offer something similar? Title: Re: Device Identification Post by: KenCorbettJr on May 30, 2009, 07:59:38 AM
Yes. The only reason I know is that they just released the 8th Chapter of WebOS Rough Cuts last night on System and Cloud Services. I was reading through it and they have a section on System Properties. The only system property you can retrieve right now is a unique device ID. Here is a quote from the book:
Quote
Generally, the requested system property is named as a string to parameter.key; in this case the device id is named com.palm.properties.nduid.
Code:
this.controller.serviceRequest('palm://com.palm.preferences/systemProperties', { The nduid is a hardware encoded device id that is guaranteed to be unique. An examplemethod: 'getProperty' , parameters:{'key': 'com.palm.properties.nduid' }, onSuccess: this.onSuccessHandler } }); device id is a66690b3632bb592b29c6a15416717b9ee072b3f. On a successful callback, you will find the device id as the value assigned to the key, com.palm.properties.nduid. In this example:
Code:
this.onSuccessHandler = function() { The device ID is the recommended way to uniquely identify the user or their device. TheMojo.Log.info("Success; nduid = ", response["com.palm.properties.nduid"]); }; device ID is better than the phone number or device serial number because it is guaranteed to be unique to a specific device yet it is difficult to use it to identify a specific user. So it seems as though we will be able to go through a similar process like the iPhone to simplify user identification, registration and logging in, which is good news. Title: Re: Device Identification Post by: reeder.29 on June 02, 2009, 06:01:49 AM
I think most apps will register to the user's "Palm Profile" -- allowing the user to take the app with him/her to a new device. No details on this have yet been released.
|
advertisement: