Outlook API Android service Rest - android

I'm beginner in android development and i want to create an app which have a database in Microsoft Azure and i want to recover data from the database to Outlook agenda (many users and many meeting).
Could you please advice me how to do?
Thanks!

You can leverage the Mobile Apps services on Azure, and connect to your Azure SQL database, then you can easily receive and sync data from Azure SQL database with Mobile Apps Android SDK. Please refer to https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-android-get-started/ for more info.
On the other hand, you can integrate the graph rest api to implement the functionality of recovering data to outlook, refer to https://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/calendar for details.
Additionally, to integrate graph rest api in Android, you can leverage the client SDK, please refer to https://github.com/microsoftgraph/msgraph-sdk-android for more info.

Related

Connecting Android Application to MySQL Database hosted on AWS

Good day everyone,
I have developed an android application and I would like to store my business information on MySQL database. I have decided to use amazon services for this project however I'm very confused how to allow my application to establish a proper/secure connection with MySQL database in order to pull and push the information into it. I have read many articles/stack overflow posts and realized I have to deploy a REST api in order to provide a layer between the application and the actual database. However with AWS being very confusing, in my opinion, i'm super lost.
Could any of you gentle folks provided with the step-by-step guide what services to use, how to connect them together and deploy them in order to be able to use it in my android application. Or maybe an article describing the steps? I don't really need a detailed explanation just a nudge in the right direction and I will try to figure out the rest.
Thank you greatly.
First of all, connecting to MySQL directly from an Android application is not secure, since you need the MySQL database access credentials for the app to communicate with the database.
This is why people recommend using a REST API Layer in between the MySQL database which you can implement using API Gateway and Lambda. This can be secured using a strong authentication mechanism for the API and using SSL for encrypting the messages at Transit.
However, this is not the case if you plan to connect to AWS DynamoDB from Android App. You can enforce Fine-Grained Access Permission to DynamoDB tables and roles using IAM policies.
Few Tutorials that might help,
Serverless REST API in Minutes with Serverless Framework.
Querying RDS MySQL with NodeJS Lambda Function.
Using Mobile Hub (To Simplify Things).
User Authentication with Cognito UserPools.

Xamarin.Android Application Connecting to SQL Database

I am looking to create a simple xamarin.android mobile application which can connect to and interact with an SQL database hosted in azure. What would be the best way to create this connection? I have been able to create a simple console application which can do this if that helps, but am unable to do a similar thing with an android app. Thanks
You can try Azure App Service Mobile Apps to work with an SQL database hosted in Azure in your app.
Have a look at these samples from Xamarin. The "MyShoope" App in particular uses data storage.
I have provided my existing .NET Backend for reference on how to create your controllers and data entities to publish to Azure. Read through the Azure Mobile Apps tutorial to learn how to create and setup your own Mobile Apps backend for My Shoppe. https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-xamarin-forms-get-started/

Accessing Authenticated User Information with Azure Mobile Service .Net backend for Android Client

I am trying to explore Microsoft Azure Mobile services for Android client. I am able to create the mobile service and database on Azure, also able to access the same from my Android client using these tutorials. Currently I am struggling with Authenticating user from the social site likes Google/Facebook/Twitter/Microsoft and get their personal info with the help of latest updates added to the Azure Mobile Services .NET backend given here.
My question is how to access these updates in Android client. Or any other way by which I can able to access all the persoal information related to an authenticated user using .net backend for Android client. Please help me here...

Sync android database over multiple devices through Google or Facebook

i'm going to develop a sort of cloud based application. Since I develop for hobby, I don't want to pay a server.
I'm wondering if Google or Facebook allow user to sync sqlite OR json databases through their server. For example: I'd like to sync - after the Google+ app login - the data of my app, so that the same person, on his tablet, can use the data he produced on the smartphone. Can anyone point me out some documentation that explain me what services should I use and how? Thanks.
With every Google account comes Google Drive. That link leads to the documentation for their API, but you will want to use their libraries as I presume.
Basic understanding of OAuth workflow can be beneficial.

Security (Authentication) in oData services

My Database is located at SQLAzure and i am trying to use oData to get records. I have used oData4j java library as i am developing android application. Everything is working fine.
I am able retrieve data from SQLAzure using oData4j library but the problem is ...
If someone gets my SVC file URL, so they can easily get my database and play with it. so i want to put authentication so that only authorized person can retrieve data and work with it.
How can i achieve this. I have not created oData PRoducer or SVC file. All this thing is done by SQLAzure.
thnks
There's a series of blog posts about OData services and authentication: http://blogs.msdn.com/b/astoriateam/archive/tags/authentication/
Did you look at the ACS access keys? I haven't personally used them, but this is meant to provide a form of federated identity so that you can manage who can consume the oData service. ACS is a service provided by the Azure platform.
Since you can map each ACS to a specific database user, you have complete freedom to ensure only authorized people can access you data.
Take a look at the following post. This has pointers to odata and authentication related blog posts from Astoria Team:
http://kashyapas.com/2011/05/odata-and-authetication/
That should give you pointers
The sample application for Windows Azure Toolkit for Android might help.
How to: Use the Sample Android Application in the Windows Azure Toolkit for Android
https://github.com/WindowsAzure-Toolkits/wa-toolkit-android

Categories

Resources