iOS and Android

251 views
Skip to first unread message

Christian Weyer

unread,
Nov 16, 2011, 5:01:52 PM11/16/11
to Smoothie Charts
Did anyone ever get a demo with Smoothie Charts working on íOS and/or
Android? My app using it does not properly work on those devices.
Thanks.

Joe Walnes

unread,
Nov 16, 2011, 5:07:46 PM11/16/11
to smoothi...@googlegroups.com
It may be that these devices cannot keep up with the frames per second (default: 50).

You could try lower values:
  new SmoothieCharts({fps: 10})

Please let me know if you find a good value that works for these devices.

thanks
-Joe

Christian Weyer

unread,
Nov 16, 2011, 5:27:27 PM11/16/11
to smoothi...@googlegroups.com
Hm, this did not help at all :(

Christian Weyer

unread,
Nov 16, 2011, 5:38:34 PM11/16/11
to smoothi...@googlegroups.com
You can test it with this sample, BTW:

Christian Weyer

unread,
Nov 16, 2011, 5:51:13 PM11/16/11
to smoothi...@googlegroups.com
Well, it looks like the WebSockets impl. is the issue - need to look into it. Sorry.

Joe Walnes

unread,
Nov 16, 2011, 5:52:20 PM11/16/11
to smoothi...@googlegroups.com
Your websocket is connecting to localhost.

Christian Weyer

unread,
Nov 16, 2011, 5:55:38 PM11/16/11
to smoothi...@googlegroups.com
no :) just enter the name of the host it is served from.

romeo4...@yahoo.com

unread,
Nov 16, 2011, 5:53:37 PM11/16/11
to smoothi...@googlegroups.com
So how do connect wbsockets
Sent from my BlackBerry® Smartphone, from Etisalat. Enjoy high speed internet service with Etisalat easy net, available at all our experience centres

From: Joe Walnes <j...@walnes.com>
Date: Wed, 16 Nov 2011 16:52:20 -0600
Subject: Re: [smoothie-charts] iOS and Android

Christian Weyer

unread,
Nov 17, 2011, 9:23:39 AM11/17/11
to smoothi...@googlegroups.com
For the records: It was an issue with the WebSockets server implementation - I switched to another server and now it works.Thx again for a wonderful lib!

Joe Walnes

unread,
Nov 17, 2011, 11:52:06 AM11/17/11
to smoothi...@googlegroups.com
On the off chance you're using Java, I'll use this opportunity to plug for my own WebSocket server: http://github.com/joewalnes/webbit :)

Christian Weyer

unread,
Nov 17, 2011, 1:49:06 PM11/17/11
to smoothi...@googlegroups.com
;)
Nope all .NET-based on this side of the world :)
Reply all
Reply to author
Forward
0 new messages