是托管在服务器上的Android应用程序? [英] are android apps hosted on a server?

查看:80
本文介绍了是托管在服务器上的Android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在开发一个Android应用程序,需要教育自己如何托管Android应用程序。



当然我读过这个网站:



http://developer.android.com/distribute/googleplay/start.html [ ^ ]



和本网站:



http://developer.android.com/distribute/tools/launch-checklist.html [ ^ ]



但我的问题是:



我的完成的android需要托管在服务器上吗?



所以当我完成开发并准备部署到谷歌游戏商店时,我是否将我的整个应用程序上传到我租用的服务器,然后在谷歌游戏商店中指向它?



对于那些将应用程序上传到谷歌游戏商店的人我真的很感激一些帮助



另一个问题:我正在开发的android应用程序在打开时从数据库中检索名称列表,我目前使用XAMPP,其中我创建了一个MYSQL数据库,其中包含一个包含名称的表。当我在我家时,我可以使用wifi检索名称列表没问题,或者在手机上只检查3g。但是,如果我在外面并且我的XAMPP已打开然后我尝试打开我的应用程序,则不会填充名称列表视图。



为什么会这样?我在考虑它,因为我的应用程序不是托管在服务器本身上,只是具有listview网格中使用的名称的数据库是...





谢谢

hi there,

I am developing an android app and need to educate myself on how android apps are hosted.

Sure I read this site:

http://developer.android.com/distribute/googleplay/start.html[^]

and this site:

http://developer.android.com/distribute/tools/launch-checklist.html[^]

but my question is:

does my finished android need to be hosted on a server?

so when I finish developing it and am ready to deploy to google play store, do I upload my entire app on "my rented server" and then within google play store point to it?

for those of you that have uploaded apps to google play store I would really appreciate some help

another question: the android app I am developing when it opens retrieves a list of names from a database, I currently use XAMPP in which I have created a MYSQL database with a table that contains the names. When I am in my house, I can retrieve the list of names no problem using wifi or just 3g on my phone. However if I am outside and my XAMPP is turned on and then I try and open my app the listview of names is not populated.

Why is that? I am thinking its because my app is not hosted on a server itself, just the database with the names that are used in the listview grid is...


thank you

推荐答案

是和否!

所有用户都将从中央存储中下载(主机/服务器),但中央存储称为Google Play,所以你还没有创建它!

至于数据库问题...我怀疑你的应用程序将数据库连接为本地,但你不发布你的应用程序的数据库(无论如何在智能手机上运行MySQL都会有问题......)。我应该把它视为一个设计问题,但除非你提供更多细节,否则我无法准确说明......
Yes and no!
All your users will download it from a central storage (host/server) but that central storage called Google Play, so you have not create it!
As for the database problem...I suspect that you application connect the database as local, but you do not publish your database with the application (it will be problematic anyway to run MySQL on a smartphone...). I should consider it as a design problem, but unless you give more details I can not tell exactly...


这篇关于是托管在服务器上的Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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