I've been toying with the Microsoft Band SDK all morning. I've figured out how to send notifications, and read sensor data.
However, I've been trying to add buttons with 'click handlers', so that i can add custom buttons, and trigger actions upon click/tap.
I can not figure out how to do this. Has anyone done something similar?
The just released version of the Band SDK allows an application to create custom tile page layouts that can include buttons. The application will be notified when the user presses a button in its tile.
Go to http://developer.microsoftband.com/ , use the "Documentation" link to view the PDF, and see section 2.7 "Customizing Tile Layouts" and section 2.8 "Handling Custom Tile Events".
Related
Because of personal purpose, I wanna modify the event input form (the form showing when clicking add new event on Google Calendar). Specifically, I wanna add some fields to this form. Can we do this? If we can, can you suggest what we should use to do this?
Many thanks for supporting.
You can't directly change that form, but you could create a Calendar add-on. As it's stated in the documentation:
G Suite add-ons are built using Apps Script, and their interfaces defined using the Apps Script Card service.
You will be able to create the custom interface you desire using Card service and use Apps Script to create the custom process you want.
Building Google Calendar interfaces has more details about how you could build your interface and Calendar actions has some examples of how you could handle the actions after clicking a button in your custom interface.
I use Google Classroom for my chess club and send out quizzes using Google form. I am trying to find out if it is possible to set up some sort of timer in Google Forms right now. All the answers I can find using google are pretty outdated.
Here's a blog you can check and try for the implementation on How to Schedule your Google Forms and Limit Submissions. Afterwards, you can just add as a material and attach the link using Google Classroom API.
You can use Timify.me add-ons. It's easy to use and looks good as well.
Pros:
- timmer shows on the top of the page
- triggers the form to close upon timeout
Cons:
- only paid version allows you to set logo, text, design and webcam tracking
- You can't customize the time countdown section-wise, countdown as a whole submission
note: you need to configure timify.me with a token from timify.me web app
I am currently using alfresco community Edition 4.0d.
I have added a new content model in alfresco share.
in this one of my requirement is either before or after uploading the document the Edit properites pop up form should be appear..
Means if i click on upload the docuemnt and upload the document is succesfully done ,then edit properties form should be pop up. What should i do for this.
I do't wont to use addons.
Please reply..
.
you'll have to have to tweak Share's JavaScript components:
add a custom flag to "metadataRefresh" event object that is fired in x-upload.js
tweak handling of "metadataRefresh" event in documentlist.js to call the relevant action, e.g. onActionDetails()
I am a bit confused about your question, but I am working on a project somewhat similar to yours. What I did was, I looked to see how the upload button works then I interjected my code in the upload button js code to bring up my dialog before the upload brings up its own dialog.
Please let me know if this helps.
I would like to implement a Facebook Share button using ASP.NET MVC3, like following image.
I have installed Microsoft Web Helper in my MVC application, and I am able to create a Facebook Like button using #Facebook.LikeButton();; But how can I create a Facebook Share button?
The Share Button is no longer officially supported by Facebook. However, for now you can still achieve the old Share Button's functionality by using Facebook's "sharer.php" app.
Just apply a link in the following format to your button image or link text:
https://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.yourpage.com
In the long run though, your safer solution would be to use one of the still supported social plugins, like the "Like" button or the "Send" button.
The facebook share button isn't available in the facebook helper, only the following social plugins:
Like Button
Activity Feed
Recommendations
Like Box
Login Button
Facepile
Comments
Live Stream
http://facebookhelper.codeplex.com/documentation
By the way the share button is deprecated and will be not supported in the future, because the click through rates of the Like Button are better. More info at the bottom of this page:
https://developers.facebook.com/docs/reference/plugins/like/
I've been checking out facebook connect stuff from the new actionscript 3 library from Adobe. I have been trying to figure out how to use the facebook connect button inside of a flex app.
In an html page you would us the fbml and it would automatically put the facebook connect button on your page and when the user clicks on it it pops up the face div and lets the user login. Well you can't use that in flex. So I could put it on the page containing the swf but, that's why I'm using flex and not html. I've seen it done by the guys at Universal Mind so I know it's possible. I just need a little direction.
I know the function to use in the facebook connect api to cause that login dialog to come up I just can't figure the correct combination.
Chcek out the Create your first Facebook application with Flex tutorial and in particular the section on Add Facebook login.
This should be applicable to Flex. This would be done using the ExternalInterface calls from within Flash.
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html
In Adobe facebook-actionscript-api there is a class LoginWindow which you can use.
When you need it this window will open like small flash popup window and it will display facebook login page and enable user to login. All needed events will be raised and you should be connected after that. I didn't tested it but from the code looks like what you need.
this developer created this js/flash bridge you are talking about using the ExternalInterface classes. you can download all source files as well. i found it very useful.
http://www.wellconsidered.be/blog/2009/01/04/facebook-connect-to-actionscript-3/
There is also a very clean and elegant solution/tutorial at:
http://www.stevenvh.be/blog/?p=57
Use this API:
http://code.google.com/p/facebook-actionscript-api/
Look at ConnectDemo.
The sample kind of sucks... it forces you to connect before showing the Flex app.
You need to tweek the example to get it to do what you want.
Also, FB depreciated some of the methods, so you have to look up new methods that aren't depreciated.
I'd love to update the sample, but I don't have the time to dedicated to another project.