[Pianod] Remote control, NetIO, station ordering
Michael Hines
michael at hinespot.com
Fri Dec 7 16:45:29 PST 2012
I did a lot more digging into the idea, actually... As you suspected, the
biggest issue is definitely the network communication side (iphone in
Objective C and Android in Java).
Believe it or not, even in this decade, you would think that there would be
a "unified" cross-platform method of opening a TCP socket regardless which
platform you wanted to use - but there's not.... Google has released
"WebSocket" a new cross browser standard for doing this, but it will be a
few years before it is widely adopted enough to be a permanent solution.
By far, the most cross-platform Mobile communication mechanism is
(surprise, surprise) the HTTP protocol itself - either by passing responses
as JSON or XML - you won't get any better than that....
In fact Pandora uses JSON over HTTP and I believe we should be doing it
too.......
Doing this would allow a PhoneGap application (which is written in
Javascript) to send AJAX asynchronous requests to Pianod ....
Comments?
On Fri, Dec 7, 2012 at 6:10 PM, Peter Li <chinasaurli at gmail.com> wrote:
> You're totally right; this is just the place for one of the mobile
> development systems. I haven't tried them, have heard more about Titanium,
> but PhoneGap seems nice and is newer. Cross-platform doesn't seem like the
> main advantage so much as just standardized, high level UI development and
> (for this purpose) network communication.
>
> I pinged the NetIO developer about adding list-menus that could be
> populated from server responses, but it is a pretty significant step up
> from what NetIO can currently do. NetIO is nice for a really quick hack
> but something like PhoneGap is probably more the right level for this.
>
> I'm very short on spare time right now but look forward to seeing what you
> get.
> P
>
>
> On 12/07/2012 01:50 PM, pianod-request at lists.**deviousfish.com<pianod-request at lists.deviousfish.com>wrote:
>
>> Date: Fri, 07 Dec 2012 10:16:28 -0500
>>
>> From: "Michael R. Hines" <michael at hinespot.com>
>> To: pianod <pianod at lists.deviousfish.com>
>> Subject: Re: [Pianod] Remote control, NetIO, station ordering
>>
>> NetIO looks verify promising, but there's just one deal breaker there...
>> As Parette mentioned, the front-end needs to be self-updating:
>>
>> - The station list in the App needs to dynamically reflect Pianod's list
>> - The like/unlike/volume/current playing status also needs to relect
>> Pianod's status
>>
>> I actually did read some of the NetIO documentation: It has this feature
>> called "Response Handilng" which lets you parse the response from the
>> server and alter the label of the button you're interacting with... But
>> ultimately, you need to *dynamically* add new buttons or new
>> pages........
>>
>> I've been watching this Adobe website for a while, which maybe have a
>> better cross-platform solution for a frontend:
>>
>> http://phonegap.com/
>>
>> .... maybe I'll try something this weekend....
>>
> ______________________________**_________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/**listinfo.cgi/pianod-**deviousfish.com<http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20121207/dd47b6b0/attachment-0003.htm>
More information about the Pianod
mailing list