Giter VIP home page Giter VIP logo

interop-rest-mail-contacts-calendar-sample's Introduction

page_type products languages extensions
sample
office-365
csharp
contentType createdDate
samples
9/16/2015 10:17:29 AM

Interop REST Mail Contacts Calendar App

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

This example app demonstrates the Representational State Transfer (REST) interface for Office 365, including authentication, interacting with the calendar, querying the address book, and sending email. The app can be built for Android and the Universal Windows Platform. To get started, register your app with an Office 365 Developer Account, then choose which platform(s) you want to build for.

##Table of Contents

##About the Interop REST Mail Contacts Calendar App

In the app, after you log into an Office 365 account, you can view your calendar and create single or recurring meetings on your calendar. Meetings can be scheduled with a given location, time slot, and a set of invitees, where the available locations and attendees are queried from Office 365. Each invitee has the option to accept, decline, or tentatively accept a meeting, or to email the organizer. An organizer has the option to reply all or forward the meeting invitation, and to send a running-late message to the invitees.

If the app is built with the Universal Windows Platform you will be able to see the live requests and responses from the Microsoft Graph Universal API in a console at the bottom of the app.

The basic app is able to:

####View Your Calendar

Android UWP
Calendar Page Calendar Page UWP

####View Meeting Details

Android UWP
Details Page Details Page

####Send a Message to Other Meeting Attendees

Android UWP
Send a message Send a message

####Modify Meeting Details

Android UWP
modify meeting details modify meeting details

####Create a New Meeting

Android UWP
create new meeting Create New Meeting

##Register the App with an Office 365 Developer Account

  1. No matter what you use to configure your app, you will need to have an Office 365 Developer account and register your app with it. To sign up for an Office 365 developer account:
  1. Once you have created an Office 365 Dev Account, go to graph.microsoft.io to register your app and click App Registration then click Office 365 App Registration Tool or you can go directly to the registration page dev.office.com/app-registration.

Get started

Next step

  1. Give your app a name and select Native App in the App type line. Then pick a Redirect URI, the preferred naming convention is: "your Office 365 domain + a unique name for your app", but it is not required, it must however, be formatted as a URI and be unique. For example, I named my app https://greencricketcreations.onmicrosoft.com/MyCalendarApp. The Redirect URI isn't a real website; it is more of a unique identifier for your app. Once you have entered a name and Redirect URI set the permissions. The necessary permissions are:
  • Read user profiles
  • Read user contacts
  • Read and write user calendars
  • Read user calendars
  • Send mail as user
  • Read and write user mail
  1. Once you have filled out the form, click Register App.

Register App

  1. When your registration is complete, you will receive a Client ID. Make note of the Client ID and Redirect URI, you will need them to configure your app.

  2. If you need more control of the registration options, you can follow these detailed instructions to register your app in Azure. Note that these instructions use the Azure classic portal. You can access the Azure classic portal here.

  3. Now you're ready to build your app with Android or the Universal Windows Platform or both!


###Copyright

Copyright (c) 2016 Microsoft. All rights reserved.

interop-rest-mail-contacts-calendar-sample's People

Contributors

andrewdavidoff avatar andrewjmay avatar mb4ms avatar mibowm avatar mikeebowen avatar o365devx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

interop-rest-mail-contacts-calendar-sample's Issues

Authenticating

Hi im trying you application and followed your guide when i log in i get this pop up Error authenticating with resource how do I fix this?

App crashes trying to read invalid Settings file

...
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at com.microsoft.office365.meetingmgr.Manager.loadSettings(Manager.java:68)
at com.microsoft.office365.meetingmgr.Manager.(Manager.java:53)
at com.microsoft.office365.meetingmgr.Manager.createInstance(Manager.java:93)
at com.microsoft.office365.meetingmgr.MeetingMgrApp.onCreate(MeetingMgrApp.java:53)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.