模拟器上的 RESTful 服务 [英] RESTful service on emulator

查看:53
本文介绍了模拟器上的 RESTful 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Tizen 模拟器上使用 RESTful 服务,该服务在 android 模拟器上工作,但在 Tizen 模拟器上不起作用,我如何在模拟器上测试 RESTful 服务?这个问题可能有哪些问题?我使用 Visual Studio 2017 谢谢

I use RESTful service on Tizen emulator , this service works on android simulator but dose not work on Tizen emulator , How Can I test RESTful service on emulator in general? What are the possible issues for this problem ? I use visual studio 2017 Thanks

推荐答案

当您使用 Visual Studio for Tizen Development 时,我假设您正在开发 Tizen.NET 应用程序.

As you are using Visual Studio for Tizen Development, i am assuming that you are developing Tizen.NET app.

您已授予互联网权限以允许该应用使用网络服务.从 tizen-manifest.xml Privileges 部分添加权限.

You have go give internet privilege to allow the app to consume a web service. Add the privilege from tizen-manifest.xml Privileges section.

<manifest>
  .....
  .....
  <privileges>
     <privilege>http://tizen.org/privilege/internet</privilege>
  </privileges>
</manifest>

这篇关于模拟器上的 RESTful 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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