NDEF push

View: New views
10 Messages — Rating Filter:   Alert me  

NDEF push

by Zec54 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I just recieved the BenQ T80 mobile phone and I am playing with the nfc part of it.
I am trying to add the following line to the jad file of my java aplication:
MIDlet-Push-1: ndef:external_rtd?name=urn:nfc:ext:mydomain.com:myExtension,myMidlet,*
When i dowload the midlet form the internet, it downloads noramaly, but when it starts to
install the mislet, I get an error: Installation failed, errno=911 Push registration failed
The push registry line works fine with nokia 6131 NFC, but not with the Benq T80.  
What is wrong?

Samo

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zec,

We have just forward this issue to BenQ. While we are waiting for their answer, could you try with

ndef:external_rtd?name=mydomain.com:myExtension

and with

ndef:external_rtd?name=ext:mydomain.com:myExtension

instead of "ndef:external_rtd?name=urn:nfc:ext:mydomain.com:myExtension"?

José

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zec,

Could you try to make the registration through the "PushRegistry.registerConnection(String connection, String midlet, String filter)" function as well?

José

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is your MIDlet signed?

Re: NDEF push

by Zec54 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey, Jose.

Thanks for the suggestions. I have tried with the differents push strings, but none of them worked.
Although one time I managed to install the midlet with static push string in jad file. It even tried to start the right midlet by tuching the appropriate tag, but I got an error that ther is no midlet installed on the phone and after that I couldn't get into the java application. Phone restart fixed that. I also tried to install the midllet directly from the internet and via the bluetooth, but I got the same result.
I still have to try to register the push entry from the midlet. I will try that and I'll let you know how it goes.
On the other hand, my midlet is not signed. Should it be?

Regards.
Samo

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Samo,

Our colleague at BenQ says that error is because the MIDlet must to be signed before if it is going to modify the static PushRegistry data. You will need your MIDlet to be signed for access to the secure element (the microSD from CellIdea) as well.

Best regards,

José

Re: NDEF push

by Zec54 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jose,

thanks for the info. That raises even more questions.
Does the midlet have to be signed for any kind of modification of PushRegistry, static or programably?
I am planing to use Thawte code signing certificate to sign midlets. On the mobile phone there are 2 Thawte root certificates, but their name says they are both for servers.  However their intended purpose states they are for all purposes, so the question is, can I use the Thawte code signing certificate for signing my midlets?
If not, is it possible to install new root certificate on the phone(how)?
Sorry about all the questions, but my phones manual came in, hmmm i am guessing, chinese language and the only thing I can understant are the pictures...

Samo

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Samo,

In the current implementation, for static modifications you need to have the MIDlet signed, no needed for dynamically but it will ask to your customer too much questions each time your MIDlet is going to make any registration.

We are using a certificate provided by WoSign.com which works with VeriSign, and not problem, so it has 2 certificates inside of the same chain. If you need to install any new root certificate, you must to load it in the BenQ's file system and then use the file explorer to open it. The Windows Mobile will add this.

We are using the Sun Wireless Toolkit for programing and compiling our MIDlets in the T80, and certificates for servers are not allowed. They must be specific for mobiles.

I have forwarded your questions to our partner at BenQ and I am going to give you a better answer as soon as possible, especially regarding the English user manual.

Best regards,

Jose

Re: NDEF push

by josergc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Samo,

I got answer from BenQ, they say that they could successfully install/remove using the JBlendEmulator a PUSH MIDlet using both:

·     ndef:external_rtd?name=ext:mydomain.com:myExtension

·     ndef:external_rtd?name=urn:nfc:ext:mydomain.com:myExtension

Could you give me more details to forward them to BenQ?

Thanks!

Jose

Re: NDEF push

by Zec54 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Jose,

it works like charm now. All the phone needed, was a factory reset and things started to work as they were intended to. It works perfectly for the ndef:external_rtd?name=urn:nfc:ext:mydomain.com:myExtension.
Thanks for the answers!

Samo