Skip to content

This repo demonstrates connecting an Android client to Windows Azure Mobile Services

License

Notifications You must be signed in to change notification settings

mustafaucakk/MobileServices-Android-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Services - The Android Client

This is an Android application which demonstrates how to connect to Windows Azure Mobile Services. The client has a dependency on setting up a Mobile Service in the Windows Azure portal. The application allows users to view a list of todo items, mark them as complete, and add new ones. This sample was built using Eclipse and the Android SDK.

Below you will find requirements and deployment instructions.

Requirements

  • Eclipse - This sample was built on Eclipse 3.7 though newer versions should work. Get Eclipse here.
  • Android ADT - The ADT plugin for Eclipse was version 20 at build though newer versions should work. Get ADT here.
  • Android SDK - The SDK was at version 20 at build and the app was compiled against API SDK version 15. Get the SDK here.
  • Windows Azure Account - Needed to create the Mobile Service. # for a free trial.

Additional Resources

Click the links below for more information on the technologies used in this sample.

#Specifying your mobile service's subdomain and App ID Once you've set up your Mobile Service in the Windows Azure portal, you will need to enter your site's subdomain into the source/src/com/msdpe/mymobilservice/Constants.java file. Replace all of the your-subdomain with the subdomain of the site you set up.

public static final String kGetTodosUrl = "https://yoursubdomain.azure-mobile.net/tables/TodoItem?$filter=(complete%20eq%20false)";
public static final String kAddTodoUrl =  "https://yoursubdomain.azure-mobile.net/tables/TodoItem";
public static final String kUpdateTodoUrl = "https://yoursubdomain.azure-mobile.net/tables/TodoItem/";

Finally, copy the APP ID from the portal into the constants.m file:

public static final String kMobileServiceAppId = "yourappid";

Contact

For additional questions or feedback, please contact the team.

About

This repo demonstrates connecting an Android client to Windows Azure Mobile Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published