简体   繁体   中英

How do i get my subdomain for this azure configuration to my android application

This is the basic code for window azure configuration

 package com.msdpe.mymobileservice;

 public class Constants {
 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/";
public static final String kMobileServiceAppId =  "myappkey";

}

I can obtain my appkey from my mobile service in the window azure. According to the tutorial, they ask me to replace the 3 URL, but how do i get my subdomain?

The subdomain is the name of the Mobile Service you created. You can also view the full URL of your Mobile Service by going to the Dashboard for your Mobile Service in the Windows Azure Portal and looking on the right side.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM