Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:55 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Mar 15, 2013 5:06 am 
Offline

Joined: Fri Jun 20, 2008 2:59 am
Posts: 84
On http://www.yubico.com/products/yubikey- ... integrate/ it talks about how to set up an app to register global intent. I installed the demo app from the Google Play store.

The demo app's source code on github appears to follow the global intent implementation. But when I beep the Neo, it still punts out to the web browser instead of launching/switching to the demo app. (When the demo app is in the foreground, it intercepts the NFC.)

So my question is, is the demo app global dispatching broken somehow, is my (march 2012 firmware beta) Neo key not triggering properly, or have I totally misunderstood? I would like to have an app registered to launch when the Neo is detected, and I was hoping the demo app would do this so I could show it to my android dev as an example.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Fri Mar 15, 2013 10:48 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

Yes, the code on github handles both.. Unfortunately the code for global intent isn't released and published on google play.. Though we can do that (maybe not today, but next week).

/klas


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 15, 2013 4:44 pm 
Offline

Joined: Fri Jun 20, 2008 2:59 am
Posts: 84
Thanks, please let me know when the app is updated on the play store. Your simple app is actually all that's needed for many use cases, but having to put it in the foreground first is an extra hassle.


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 20, 2013 2:13 pm 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello.

A new version is uploaded to google play now, not out yet though. Glad to hear that it's useful, in the YubiTOTP app you can find an example for how to program the NEO from android as well..

/klas


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 21, 2013 5:35 pm 
Offline

Joined: Fri Jun 20, 2008 2:59 am
Posts: 84
Thank you, tested working.

For anyone who comes along after: the demo app global intent will only work for a Neo programmed with a URI-type NDEF that is set to "https://my.yubico.com/(...)". If it is HTTP instead, or some other host, then the default processing will take you to Chrome instead.


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 16, 2013 9:19 pm 
Offline

Joined: Tue Oct 15, 2013 5:01 pm
Posts: 8
This seems the nearest topic to what I'm trying to determine.

I have a new Neo, firmware 3.1.2, and trying to program with the Personalization Tool 3.1.11. I've swapped the configurations so the Yubico OTP is in slot 2, and my personal OATH-HOTP token in 1.

When I set the NDEF config to slot 2 with URI https://my.yubico.com/neo/ (which seems the default), the demo app brings up the popup menu ("Copy OTP to clipboard, Show OTP on screen, Yubico demo site,...") just fine. Displays the OTP, etc. When I program slot 1 with the same URI, the demo app states "Not a Yubico Neo" when I pass the Neo over the NFC antenna.

At the present, I'd only like the app to copy my OATH-HOTP token to clipboard, or display it. What am I doing wrong? :?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group