Adding and querying the calendar - windows-phone-7

Can anyone give me some pointers on how to add a calendar event to the Windows Phone 7 calendar (preferably choosing the default calendar for the phone). Also querying it would be helpful too.

Chris, i'm sorry but their is not calendar control in the SDK at this time (as per http://msdn.microsoft.com/en-us/library/ff402549(VS.92).aspx section Unsupported Controls). You gonna have to build one yourself
edit: regarding adding an event in the phone calendar from within you app, this is not possible (yet ?), as per http://fragiledevelopment.wordpress.com/2010/06/10/licking-windows-phone-7/ (part about launcher and choosers)

Since there's no API available maybe you can generate an iCal/ICS event server-side with an url and launching the web browser with this url. Maybe the WP7 will recognize the format and ask to the user if he/she wants to add it to his/her calendar ?

Related

Can you change google calendar user settings via API?

Is it possible to change user settings in google calendar via API? What I found on their developer web documentation suggests that no, but maybe there is something I missed.
Thanks for any answers
The Google calendar api gives you access to a users google calendars. It does not give you access to change any settings for the user on the Google calendar web application thats two different things.
You can update the calendar itself changing calendar update some of the basic information about a calendar.
Unfortunately what you want cannot be achieved.
As you clearly noticed in the Calendar API documentation, the operations accepted for Calendar settings are: get, list and watch.
What you can do instead is to file a feature on request on Google Issue Tracker here.

How can I build a webapp which uses google calendar api without having to become verified?

What I want to build:
I want to build a website where users can connect their google calendars (this will use Google Calendar API's)
and view their calendar events, as well as edit them, and create new ones.
My problem:
In order to do so, google says my app needs to be verified, which can take weeks, and I also need to set up terms of services pages, privacy policy pages
I also need to supply authorised javascript origins which MUST start with https, which of course is a problem during development, since my origin is http://localhost
I also need to set up support emails and homepage link
Question
I just want to start building my application without having to set up a whole production-ready website eco system.
Is there anyway I can use these Google Calendar APIs for editing/creating calendar events locally, without having to set up everything mentioned above first?
Unverified apps can still be used by the developer who created the project on google developer console.
Unverified app screen
The app or script might display an "unverified app" screen before it displays the consent screen. This is based on the specific scopes that your app includes in the request.
You can still work on your app while you are going though the verification process. However that being said i would start that process asap it can take a long time to get verified.
Yes, you can. As far as I am able to tell, all the verification step does is remove the "unverified app" screen. As long as you click Advanced > Go To ... (unsafe), you should be able to create and edit calendar events for that user in your application.
In order to be able to create and edit calendar events, you need to use the most sensitive scope, which is https://www.googleapis.com/auth/calendar. I couldn't figure out how to edit and create calendar events in my web app until I changed my scope from calendar.events to calendar.
Creating Events: https://developers.google.com/calendar/create-events

Laravel, export my Events to Google Calendar (or any other popular Calendar app?)

I have an app where users sign up for events that last from specific time (1pm - 2pm) on specific day (30th of May 2016.).
Is it possible to offer to the user to import those events to their Google Calendar by pressing the button?
Are there any other popular calendar apps that I should cover too?
Here's a library that makes it easy to interact with Google-calendar
https://github.com/spatie/laravel-google-calendar
If you want to do the integration by yourself you should read through the Google Calendar API.

How to create a Toast Notification in WP8 for a daily notification

I have been developing in Windows Phone 8 for a couple of months. Currently, I am developing an app that consume some XML to show data. I know how the Toast notification works in WP8, however my doubt is about the following:
In the App I am working on, I would like to implement a kind of Toast Notification when a new data is available (from the source where the XML is extracted). So, is it possible? If so, how to implement it in WP8?
I don't know if you are familiar with the App of dictionary.com. In that App, there is an option to enable the notification for the word of the day. So, every day I recieve a different word in english. When I click in the notification I can see it's meaning.
Any clue, link, post, code or suggestion would be very appreciate
Thanks in advance
Regards!
There can be many ways. My idea will be to use Azure Mobile Services. To explain, let me take same fictitious Dictionary.com example. The WP app will be bound to Azure Mobile Service and it will show all the words fetched from that service. Whenever, I add a new word to this service, using Push Notifications, it will send notification to all my users who've installed Dictionary.com app, stating new word is added.
You can find more information here: click here

Google Calendar event buttons -- Mobile version

I've created a mobile site that displays events retrieved from a Google Calendar. I would like to display a button on each event that allows the user to add the event to their own Google Calendar.
Google Calendar provides a simple way to do this with HTML snippets:
(http://www.google.com/googlecalendar/event_publisher_guide_detail.html)
The url takes parameters so that you can populate the add event form. Here's an example:
https://www.google.com/calendar/render?action=TEMPLATE&text=Brunch+at+Java+Cafe&dates=20060415T180000Z/20060415T190000Z&location=Java+Cafe,+San+Francisco,+CA&details=Try+our+Saturday+brunch+special:%3Cbr%3E%3Cbr%3EFrench+toast+with+fresh+fruit%3Cbr%3E%3Cbr%3EYum!&trp;=true&sprop;=+website:http://www.javacafebrunches.com&sprop;=name:Jave+Cafe&gsessionid=OK&sf=true&output=xml
Unfortunately I can't find a mobile equivalent of this page. If you go to the page with Android, it asks if you want to use the mobile version, but because there isn't one, it repeatedly displays the dialog until you finally cancel the dialog.
Does anyone know of a mobile version of this page, or suggest another way to do it? (Ideally without AJAX as it's causing some offline caching issues on iPhone in app mode).
I've been doing some research on this myself and I've come close, but I'm not 100% there yet. Here's a sample URL of a mobile "share event" link:
http://www.google.com/calendar/gp#~calendar:view=e&bm=1&action=TEMPLATE&text=Halloween+Party+2011&dates=20111101/20111202&details=Description&location=Millennial+Media&trp=false
It opens up the mobile version of Google Calendar and pre-populates it with details about the event your sharing.
The only problem I've encountered is when you're not already logged into Google Calendar. It takes you to the log in page, which is fine, but then after you log in it takes you to the home screen instead of the event entry page.
If you find or already found an answer to this, let me know.
~ TJ

Resources