制作采用了android的API为Android应用程序一个Web前端。 [英] Creating a Web frontend for Android App using android APIs.

查看:176
本文介绍了制作采用了android的API为Android应用程序一个Web前端。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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


  1. 音乐流Ofcourse

  2. 创建播放列表

  3. 用户登入/ signout

  4. 将像专辑或艺术家或流派调频收音机流分类搜索

  5. 推送通知

  6. 均衡器等。

我也有一个在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.

这篇关于制作采用了android的API为Android应用程序一个Web前端。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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