简体   繁体   English

社交网络系统的Android项目

[英]Android project for social networking system

Hi everyone i have one question about android. 大家好,我对Android有一个问题。

I have created a social networking website. 我创建了一个社交网站。 Now i want to make my own website to android application. 现在我想将自己的网站制作为android应用程序。 I am a good designer for android application template like (material design ext.). 我是android应用程序模板(例如Material Design ext。)的优秀设计师。

I searched on the internet how to created login and register script from android aplication using PHP,MYSQL and i found some example but that examples is not clearly. 我在互联网上搜索了如何使用PHP,MYSQL从android应用程序创建登录和注册脚本,但发现了一些示例,但该示例尚不清楚。

My question is how can i use my PHP code in android aplication ? 我的问题是我如何在Android应用中使用PHP代码?

Note: I am a new on android only php section. 注意:我是仅在android php上新增的部分。 My website link is oobenn 我的网站链接是oobenn

You shouldn't try to port the website on Android. 您不应该尝试在Android上移植网站。 You should instead: 您应该改为:

  1. create REST APIs for your website exposing JSON Data. 为您的网站创建REST API,以公开JSON数据。
  2. download Android Studio 下载Android Studio
  3. start developing an Android native application connecting to your website, retrieving data (JSON) and showing data to the user through the native Android UI elements 开始开发连接到您的网站的Android本机应用程序,检索数据(JSON)并通过本机Android UI元素向用户显示数据

I strongly recommend you this course https://www.udacity.com/course/ud853 我强烈推荐您这门课程https://www.udacity.com/course/ud853

您必须使用PHP开发Web服务,然后在Android应用程序中调用该Web服务功能。

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

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