开发一个Android应用程序与一个网站 - 帮助接口! [英] Developing an Android App that interfaces with a website- Help!

查看:125
本文介绍了开发一个Android应用程序与一个网站 - 帮助接口!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿, 所以我想开发一个应用程序,将用户ID和密码,然后登录到后台网站和转院从手机的用户接触到网站。我这样做对我在大学最后一年的项目。我是新来的这一点,并自开发GUI已完全丧失。是否有一个特别的图书馆中,我应该看或名称是什么,我试图做的,我可以找教程?任何帮助将大大AP preciated。 谢谢。

Hey, So I'm trying to develop an App that will take the users ID and Password and then log onto a site in the background and tranfer the users contacts from the phone to the site. I'm doing this for my final year project in college. I'm new to this and have been completely lost since developing the GUI. Is there a particular library I should look at or a name for what I am trying to do that I could look for tutorials on? Any help would be greatly appreciated. Thanks.

推荐答案

是您要连接到根据自己的控制上传的网站?如果是这样,这使得它更容易,因为你可以调试连接的两端。

Is the website you are connecting to for the upload under your own control? If so, it makes it much easier as you can debug both ends of the connection.

有关Android的一面,我会使用的HttpClient 执行所需要的数据的 HttpPost 。寻找Java教程,介绍如何使用这些方法上传。请记住,在Android库也使用4.x版的的HttpClient ,但它们不是最新的版本,所以一定要制定对的android.jar 的版本,而不是的HttpClient-4.1-alpha2.jar 的。

For the Android side, I'd use the HttpClient to perform an HttpPost of the required data. Look for Java tutorials that cover uploads using these methods. Bear in mind that the Android libraries do use v4.x of the HttpClient, but they are not the very latest versions, so make sure you develop against the android.jar versions and not the httpclient-4.1-alpha2.jar ones.

有关在网络方面,你会想无论是的jsp PHP 的解决方案,在那里你解析传入的POST请求并保存数据(我假设到数据库)。再次,寻找覆盖这些点教程。祝你好运。

For the web side you will want either a jsp or php solution, where you parse the incoming POST request and save the data (I assume to a database). Again, look for tutorials that cover these points. Good luck.

这篇关于开发一个Android应用程序与一个网站 - 帮助接口!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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