制作采用了android的API为Android应用程序一个Web前端。采用了、应用程序、android、API

2023-09-07 01:39:16 作者:我的女人,我来疼。

感谢您提前为回答这个问题。

Thank you in advance for answer the question.

下面是该方案,我想指导我怎么能进行一些建议。

Here is the scenario and I want some suggestion of guideline how I can proceed.

我对音乐有以下特点流的Andr​​oid应用

I have an android app for Music streaming with following features

音乐流Ofcourse 创建播放列表用户登入/ signout 将像专辑或艺术家或流派调频收音机流分类搜索推送通知均衡器等。

我也有一个在Ruby中创建了铁(MySQL数据库)音乐管理,如添加歌曲,流派,专辑和艺术家后端。它也处理发送推送通知以及所有。

I also have a backend that is created in Ruby on Rail (Mysql database) for Music management like adding songs, genre, albums and artists. It also handles sending push notification and all.

现在我想创建一个用户享受通过自己的笔记本电脑或台式机的歌曲,这样我可以给我的用户,他们在Android设备创建灵活地播放歌曲,查看播放一个web前端。

And now I want to create a web frontend for users to enjoy the songs through their laptop or desktop so that I can give my users the flexibility to play songs, view playlist that they create in android devices.

下面是最主要的问题:

如何创建使用我的Andr​​oid应用使用,这样我不必创建另一个后端的网站JSON API使用的前端?让我知道如果它的可能或没有。

How Can I create the frontend to use the json api that my android app is using so that I dont have to create another backend for the website.? Let me know if its possible or not.

如果无法使用JSON API那么我怎么能继续让我避免其他后端工作的?

If not possible to use the json api then how can I proceed so that I avoid another backend work?

推荐答案

当然这是可能的。通过JSON字符串的Web服务作为一个URL参数。

Sure it's possible. Pass the json string to the web service as a URL parameter.