You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Recently we have added "uid" parameter that is passed to the application when starting it with get method. It should be helpful to identify returning users. You can use it in your application, unfortunately it is not supported in the TV Emulator if you directly start your app from there since it needs to be started by the TV Store. Right now you can simply assume your app will receive the uid when started from the TV Store. We are working on having it TV Emulator as well.
As an alternative you can generate the unique identifier in your app and store in cookies but please remember that persistent storage at devices is limited so in corner cases it may be not persistent.
As an alternative you can generate the unique identifier in your app and store in cookies but please remember that persistent storage at devices is limited so in corner cases it may be not persistent.
The "uid" is passed as get parameter. Here is example code how you can extract it: http://stackoverflow.com/questions/5448545/how-to-retrieve-get-parameters-from-javascript
If you will use code marked as "answered Mar 27 '11 at 10:26" you should be able to use then "parms.uid" to get uid value when your app is started in the TV Store. For testing purposes you should run your app like this: foo.com/bar/?uid=12345 to get "uid" in there but when submitting to TV Store please submit foo.com/bar/ only.
If you will use code marked as "answered Mar 27 '11 at 10:26" you should be able to use then "parms.uid" to get uid value when your app is started in the TV Store. For testing purposes you should run your app like this: foo.com/bar/?uid=12345 to get "uid" in there but when submitting to TV Store please submit foo.com/bar/ only.
Forums » Dev.Opera » Opera TV Content Development Discussions