连接字符串天青与Android [英] Connection string to azure with android

查看:154
本文介绍了连接字符串天青与Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过此链接:<一href="https://azure.microsoft.com/en-us/documentation/articles/storage-java-how-to-use-table-storage/" rel="nofollow">https://azure.microsoft.com/en-us/documentation/articles/storage-java-how-to-use-table-storage/ 但我有问题,连接字符串与Android上运行的应用程序的时候。

I seen this link: https://azure.microsoft.com/en-us/documentation/articles/storage-java-how-to-use-table-storage/ but i have problem with connection string when run app with android.

这是我的连接:

    public static final String storageConnectionString = "DefaultEndpointsProtocol=http;"
        + "AccountName=demoeeg;"
        + "AccountKey=aDJtpWT2/UjBjrwt3BprpujNLNueTl5CjHkik6X6ELdLjGCU5jbnwXz8YCHnQs6wVO6YvY5sGUc7xWon/Iv3ug==";

和其他I类设置:

private static final String USE_DEVELOPMENT_STORAGE_NAME = "UseDevelopmentStorage";

在哪里是我的错误?

Where is my error?

推荐答案

不要设置开发项目的存储。这意味着使用存储模拟器 - 这不会与Android合作。我建议你​​检查出样品中的 Azure的存储机器人回购,这将给你如何配置你的应用程序的一些想法。然后,你可以把任何code片段,你想从如何做这也会给你更多的概念性信息。

Don't set use development storage. This means use the storage emulator -- and that's not going to work with Android. I'd recommend checking out the samples in the azure-storage-android repo which will give you some ideas on how to configure your application. Then, you can pull any code snippets you'd like from the how-to which will also give you more conceptual information.

这篇关于连接字符串天青与Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆