Samsung Galaxy S2 Testing

251 views
Skip to first unread message

Samuel Carlisle

unread,
Oct 1, 2012, 3:23:40 AM10/1/12
to humanio...@googlegroups.com
Dear All, I am not having much luck with human.io on my Galaxy SII- the loading circle keeps spinning.
This bug occurs on both the installed android app (just a webview of the url) version and typing this into a browser: http://api.human.io/client.html
Any news on this?

Sam

Samuel Carlisle

unread,
Oct 1, 2012, 11:28:32 AM10/1/12
to humanio...@googlegroups.com
Dear Tasty Labs, further to the above I just sent an email but I thought I would replicate it here so everybody could see the response. I installed human.io for android am getting a loading graphic just spinning around. I have also tried: http://api.human.io/client.html on all the browsers on my phone... no luck :(

I am actively developing software for Human.io so a speedy bug fix, or access to the android source code (maybe I can fix it?) would be greatly appreciated. Thanks!

It is just a passing thought and without looking at the source code, it is a shot in the dark but is it something like this? http://stackoverflow.com/questions/2390641/android-using-html5-to-determine-geolocation-in-webview-with-javascript-api

Model: GT-I9100 (Samsung Galaxy S II)
Android Version: 4.0.4

Nick Nguyen

unread,
Oct 1, 2012, 1:41:21 PM10/1/12
to humanio...@googlegroups.com
We haven't seen this on our Android devices, does anyone else have an S II that can replicate this behavior? Thanks!

-n.
--
You received this message because you are subscribed to the Google Groups "humanio-discuss" group.
To post to this group, send email to humanio...@googlegroups.com.
To unsubscribe from this group, send email to humanio-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/s8EplB-4P4cJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Samuel Carlisle

unread,
Oct 2, 2012, 8:23:28 PM10/2/12
to humanio...@googlegroups.com
Been writing a lot of code and getting the know the platform better (really glad the emulator is there: http://human.io/client) but this android bug is killing me... cannot figure it out. I cannot run the app or even load http://api.human.io/client.html on my phone (I just see a spinning loading animation forever) but Nick said he cannot reproduce it. A friend in Latvia tried on his S2 and it worked fine. 3 others at London Hackspace (one using an S3, one with another S2 with different firmware) all tried (on wifi and on 3g) but no luck either...

Nick Nguyen

unread,
Oct 2, 2012, 9:03:46 PM10/2/12
to humanio...@googlegroups.com
It seems like it might be related to geolocation, you wouldn't happen to have GPS location services disabled on your phone, would you?

-n.
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/xGTHHGOoGb4J.

Samuel Carlisle

unread,
Oct 2, 2012, 9:09:15 PM10/2/12
to humanio...@googlegroups.com
I would agree with you there, that was my hunch...but I just checked and that feature is enabled on my phone... I am happy to fire up Dalvik or any other debugger or test you can think of?

Sam
Samuel Carlisle BEng (Hons) Dunelm MIET
m: +447737577210

Paul Rademacher

unread,
Oct 2, 2012, 9:30:22 PM10/2/12
to humanio...@googlegroups.com
Sam, thanks for reporting this and for your help.  Going to http://api.human.io/client.html on your phone's browser won't work because that webpage will think that it's running inside the native android app, and will unsuccessfully try to load PhoneGap (which our app is built with).  So while that url does work in a desktop browser, it won't in a mobile browser.  We are actually fixing this so that it does work -- and that will also enable people to embed human.io inside their own webpages, which we hope will be useful.

As for the main problem of the Android app not working, I'm going to find an S2 to test with, and may ask you to run a debug build for us.  Thanks again for your help!

- Paul

Samuel Carlisle

unread,
Oct 2, 2012, 9:42:49 PM10/2/12
to humanio...@googlegroups.com
It is a pleasure to help. I thouht it was phonegap from some of the html code / tags / includes I saw...I have developed things with phonegap before. hmm an idea just occured. *disappears*

On 3 October 2012 02:30, Paul Rademacher <pa...@tastylabs.com> wrote:
Sam, thanks for reporting this and for your help.  Going to http://api.human.io/client.html on your phone's browser won't work because that webpage will think that it's running inside the native android app, and will unsuccessfully try to load PhoneGap (which our app is built with).  So while that url does work in a desktop browser, it won't in a mobile browser.  We are actually fixing this so that it does work
That is great news!
-- and that will also enable people to embed human.io inside their own webpages, which we hope will be useful.
More great news.

Samuel Carlisle

unread,
Oct 2, 2012, 10:57:39 PM10/2/12
to humanio...@googlegroups.com
Do you customise/hack at the phonegap libraries at all or leave them stock?

Øyvind Skaar

unread,
Oct 5, 2012, 1:21:50 PM10/5/12
to humanio...@googlegroups.com

Just an idea:
Maybe its having problems connecting to something it's trying to connect to.. Have you tried using another wireless or mobile network? Or using another device on the same network?

ø

Joshua Schachter

unread,
Oct 5, 2012, 1:42:49 PM10/5/12
to humanio...@googlegroups.com
I have reached out to both Google and Samsung to try and get some
hardware. Someone on Twitter offered to let me try one, but they are
in NYC.
> --
> You received this message because you are subscribed to the Google Groups
> "humanio-discuss" group.
> To post to this group, send email to humanio...@googlegroups.com.
> To unsubscribe from this group, send email to
> humanio-discu...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/humanio-discuss/-/Pc4BLOYxxScJ.

Samuel Carlisle

unread,
Oct 5, 2012, 9:32:31 PM10/5/12
to humanio...@googlegroups.com
Yes I tried local wifi in 2 locations and then 3g and also HSDPA

Samuel Carlisle

unread,
Oct 5, 2012, 9:33:06 PM10/5/12
to humanio...@googlegroups.com
The odd thing is my friend in Latvia can get it to work... :/

Joshua Schachter

unread,
Oct 5, 2012, 9:45:58 PM10/5/12
to humanio...@googlegroups.com, humanio...@googlegroups.com
We had someone that does android testing check and it was fine on a variety of OSes on the S2. 

Paul deployed a patch that might help. Try again?


To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/wLPwzd8WXIUJ.

Samuel Carlisle

unread,
Oct 5, 2012, 9:52:43 PM10/5/12
to humanio...@googlegroups.com
Ok thanks for the attention on this. When I open the Human.io app I get the RAM climb to 19.49MB and the CPU to between 13% and 25% and I cannot press back to get out to the home screen, I have to long press the home button and kill the app. FYI the app is still reporting version 1.1 so all your changes are server side? Have you ruled out the the HTML5+JS+CSS put in the phonegap folder when you did the android compilation might be at fault?

Sam

Samuel Carlisle

unread,
Oct 5, 2012, 9:53:54 PM10/5/12
to humanio...@googlegroups.com
Actually, not quite true. The app *does* respond the to back button... the screen goes white for >1 second then goes back to grey with indefinitely spinning loading graphic.

Samuel Carlisle

unread,
Oct 5, 2012, 9:57:57 PM10/5/12
to humanio...@googlegroups.com
Thanks for the post, you guys are being really responsive about this. I might jump into irc for a bit. Currently writing my frontend apps / python scrupts for IO. Paul emailed me about the patch: "I changed JS code on the server that's loaded at startup time by the phonegap app."
He suggested a test, the result of which I feel is quite telling: "Does this URL work in your mobile browser?  http://api.human.io/client.html?phonegap=0" the answer is yes it does. So I infer that a line of phonegap related code to access a native feature of the S2 is giving an error.
Thoughts?


Sam

On Saturday, 6 October 2012 02:46:05 UTC+1, joshua wrote:

Nick Nguyen

unread,
Oct 6, 2012, 12:12:37 AM10/6/12
to humanio...@googlegroups.com
We've ordered an S2, it should be here shortly, so hopefully we'll be able to reproduce the issue. 

-n. 
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/xBLXBDu6bp0J.

Samuel Carlisle

unread,
Oct 6, 2012, 12:19:26 AM10/6/12
to humanio...@googlegroups.com
Many thanks. :)

Samuel Carlisle

unread,
Oct 11, 2012, 7:05:39 PM10/11/12
to humanio...@googlegroups.com
How is the testing going? I am having to resort to an iPhone for testing. Shock horror / yuk.

Nick Nguyen

unread,
Oct 11, 2012, 7:06:36 PM10/11/12
to humanio...@googlegroups.com
Our S2 is enroute, hopefully we'll get it tomorrow, though we probably won't be able to do any investigation until next week.

Thanks for your patience!

-n.
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/Y3J6WhHA4iwJ.

Samuel Carlisle

unread,
Oct 11, 2012, 7:09:15 PM10/11/12
to humanio...@googlegroups.com
Ok cool. Just wondering, is it possible to have HTTPS i.e.
https://api.human.io/client.html?phonegap=0

Samuel Carlisle

unread,
Oct 11, 2012, 7:10:19 PM10/11/12
to humanio...@googlegroups.com
Also any workarounds for getting photos to work on Androids. If I have to turn phonegap off I am kinda sunk for my GoLive of our app on human.io this week :/


On Friday, 12 October 2012 00:06:37 UTC+1, Nick Nguyen wrote:

Paul Rademacher

unread,
Oct 11, 2012, 7:15:26 PM10/11/12
to humanio...@googlegroups.com
Sam, what photo problems are you seeing on Android?  Photos should work.  We're still waiting on our S2 to arrive to debug your earlier problem, btw.

About HTTPS -- what motivated that question?  Are you thinking about client <-> server security, or are you wanting to embed the html into an https page, or ...?

Cheers,
Paul

 

To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/dfEuVWRFR34J.

Samuel Carlisle

unread,
Oct 11, 2012, 7:40:53 PM10/11/12
to humanio...@googlegroups.com

On Friday, 12 October 2012 00:15:48 UTC+1, paul wrote:
Sam, what photo problems are you seeing on Android?  Photos should work.
Well it is the same old chesnut perhaps.
http://api.human.io/client.html?phonegap=0 works
http://api.human.io/client.html?phonegap=1 / http://api.human.io/client.html doesn't work AFAIK. I need more devices to test on to know for sure.
 We're still waiting on our S2 to arrive to debug your earlier problem, btw.

About HTTPS -- what motivated that question?  Are you thinking about client <-> server security, or are you wanting to embed the html into an https page, or ...?
I would like submissions traffic to be encrypted from a client running http://api.human.io/client.html so that their submissions are encrypted from the handset to your server (at least). Even better if the python shell to server link was also over HTTPS.
Cheers,
Paul
Also is appending the developer id enough to make the app show only my apps or is subscription via the goto "code" workflow always required? It seemed to work for me but not for a friend just now. Was not there to debug but maybe I had a cookie or session variable that she didn't... http://api.human.io/client.html?developer_id=xxxxxxxxxxxxxxxxxxxxx
 

Samuel Carlisle

unread,
Oct 11, 2012, 7:49:57 PM10/11/12
to humanio...@googlegroups.com
I noticed you are on EC2:
http://network-tools.com/default.asp?prog=express&host=api.human.io

Am I missing something? Isnt it just a case of adding a cert:
http://stackoverflow.com/questions/5309910/https-setup-in-amazon-ec2


On Friday, 12 October 2012 00:15:48 UTC+1, paul wrote:

Joshua Schachter

unread,
Oct 11, 2012, 8:49:40 PM10/11/12
to humanio...@googlegroups.com, humanio...@googlegroups.com
We should probably have https everywhere possible.


To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/qZR5QP-BJVMJ.

Samuel Carlisle

unread,
Oct 11, 2012, 8:52:01 PM10/11/12
to humanio...@googlegroups.com
:) cool. I eagerly await news on this. My users will really appreciate it.

Thanks!
Reply all
Reply to author
Forward
0 new messages