06-29-2013 07:51 AM
Hi all. I have some questions on BB10. Currenlty I'm trying to edit an app which is for OS6 and 7 but I come across lots of problems while trying to make it BB10 compatible.
1. Push Notification Splat
In the current app, it uses blackberry.app.showBannerIndicator, blackberr
2. Incorrect Device Pin ID
Currently I'm using Z10 Alpha Dev B and Q10 Alpha Dev C for testing and when I try to get the id from the devices, the ID being displayed on the device is different from the id being retrieved using blackberry.identity.UUID. Is this normal?
06-30-2013 07:18 AM
From the description of this issue it appears that your config.xml may be the cause of the problem
There is also the fact that BB10 uses new - incompatible - APIs which explains 1 + 2
Both push and device use new APIs (they really should homogeounise everything) - all I can do in the interim is guide you (I will be lodging a complaint over this issue, however)
Bascially you need to decide what device you're on then adapt the code accordingly
- Do this
- Do that
Going to BB6 is dangerous (bad browser)
Completely ignore BB5 - whilst BB10 is the best browser available without question, 5 did not share that honour (it sux big - its unusable)
07-04-2013 12:04 AM - edited 07-04-2013 12:05 AM
Thanks for pointing that out. Never thought of checking there.
Has anyone has this problems with their config.xml? There is problem using
<rim: permit>run_when_backgrounded</rim: permit> and <rim: permit>post_notifications</rim: permit>. In Ripple Emulator it says rim: permit value is not recognised as being valid.
<?xml version="1.0" encoding="utf-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="2.0.0" id="qClaims"> <author>Author</author> <name>qclaims</name> <description>Testing out mClaims on Q10</description> <rim:permissions> <rim:permit>read_device_identifying_information</r
im:permit> <rim:permit>access_shared</rim:permit> <rim:permit>run_when_backgrounded</rim:permit> <rim:permit>post_notifications</rim:permit> </rim:permissions> <icon src="images/mclaims_icon.png"/> <rim:splash src="loading_screen.png"/> <content src="index.html"/> <feature id="blackberry.ui.dialog"/> <feature id="blackberry.app"> <param name="orientation" value="portrait" /> </feature> <feature id="blackberry.identity"/> <feature id="blackberry.identity.phone"/> <feature id="blackberry.system"/> <feature id="blackberry.ui.dialog"/> </widget>
Am I doing something wrong?