I am using the following code to develop a qrcode scanner(source : https://github.com/mebjas/html5-qrcode)
i am looking the action when user click the Request Camera Permission Button. I want to implement this kind behavior for my code in angular. so i need that action.
i would like to have this behavior
Can anyone help me for this case? thanks
Related
My Facebook Instant app does not have a play button, so it's not possible to launch the app via sharing.
Could someone outline what I need to do to get this button to appear please?
I've set up everything (including an app page) in the dashboard. I'm assuming it has something to do with the "fbapp-config.json" file, but sample app doesn't seem to have the most common use case.
I assume don't need a self-hosted bot just to launch my app?
As discussed elsewhere (as I am unable to comment on Stack Overflow) I clarified that this is the Messenger share from the app details page. This looks like a bug on the Facebook side, as this reproduces for me.
For context, I am an engineer working on the Facebook Instant Games team. We will look into fixing this and update here when it is fixed.
I really don't want to create a full html dialogue box for a simple yes no question, when it is built into getUI() api. My problem is that prompt and alert function don't seem to conform to the UI Style guide for add-ons. This is causing an issue when trying to get it published, because I can't make them blue, or work when enter is clicked on the keyboard.
So is there any way to properly style alert and prompt boxes, or does anyone have any tricks that they are using.
The one thing I did was change my non-button alerts from alert to using toast instead.
The UI style guide specifically says 'And don't use UI service to create a public add-on', so no. You must use the HTML service.
I have got a webpage where people are able to chat together and see each other through a webcam. Now for some reason i cannot set this option in chrome to always allow the camera.
Is there a way to let dalekjs do that work for me? Or any suggestion on how to pre-set this in chrome? Thanks in advance!
I do not know if there is a flag for enabling the camera access, or on the other hand, disabling the dialog that asks for permission; but if there is one, you can apply it using your Dalekfile like described in this pull request: https://github.com/dalekjs/dalek-browser-chrome/pull/8
I build android app with as3.
I need to create a button which will trigger the native share via menu, so i will be able to let the user share the link to my game.
Haven't tried it myself, but apparently this might do the job:
https://github.com/mr-archano/Android-AIR-Extensions
I want to get 2 permissions from users (publish_stream, user_photos).
When I try this
Facebook.login(handleLogin, {scope:’publish_stream’});
Facebook.login(handleLogin, {scope:’user_photos’});
Then it works, but it show a facebook login popup twice :(
Please help me, what I do?
Assuming:
http://code.google.com/p/facebook-actionscript-api/source/browse/trunk/source/api/com/facebook/graph/Facebook.as
Facebook.login(handleLogin, {scope:'publish_stream,user_photos'});
http://developers.facebook.com/docs/reference/javascript/FB.login/