简体   繁体   English

从网站获取PHP或HTTP字符串,在Android TextView中放置字符串

[英]Get PHP or HTTP string from website, Place string in Android TextView

New to Android Programming. Android编程新手。 Been looking for weeks now! 一直在寻找数周! Really Need your Help!!! 真的需要您的帮助!!! Trying to create my first Android App. 尝试创建我的第一个Android应用。

I would like to get a PHP or HTTP string from a webpage (website) and place it into a TextView in my App. 我想从网页(网站)获取PHP或HTTP字符串,并将其放入我的App中的TextView中。

basically, I am trying to change the TextView Text into the string from the webpage. 基本上,我试图将TextView Text更改为网页中的字符串。 I been having lots of problems trying to get this to work. 我在尝试使其工作时遇到很多问题。

Can you Please put a full MainActivity.java code to help me. 能否请您完整地填写MainActivity.java代码以帮助我。

Thank you Very Much guys, 非常感谢你们,

I am not a programmer, but I am a Cisco CCIE Security Engineer, if you have any Networking questions I can help answer, that can be my way of returning the favor. 我不是程序员,但是我是Cisco CCIE安全工程师,如果您有任何可以帮助回答的网络问题,这可以作为我回馈的方式。

Thanks again. 再次感谢。

Try using this tutorial, it' very helpfull 尝试使用本教程,这非常有帮助

Android, MySQL, PHP, & JSON 1 | Android,MySQL,PHP和JSON 1 | Remote Databases Tutorial Overview 远程数据库教程概述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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