如何将web服务连接到Android应用程序 [英] How to Connect a Webservice to an Android Application

查看:128
本文介绍了如何将web服务连接到Android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Web服务,我想打一个RESTful Web服务,并将其连接到一个Android应用程序。我想的步骤或对如何做到这一点的教程。

I am new to web services and I want to make a RESTful web service, and connect it to an Android application. I would like the steps or a tutorial on how to do this.

我开始rel=\"nofollow\">这个链接给出的步骤来创建Web服务使用这个链接

I started to create my service using this link This link gives steps to create web service but I can't get why it is using entity classes (customer , DicountCode) from an existing database. What are these classes for?

推荐答案

既然你是新来这个区域,请务必检查出previous回答类似的问题。但是你可以找到一个教程从Android的这里和你类似的问题被回答了计算器的这里

Since you are new to this zone, make sure you check out previous answers to similar questions. However you can find a tutorial to access webservices from android here and a question similar to yours was answered on stackoverflow here.

这篇关于如何将web服务连接到Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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