cbitstech / Purple-Robot

Sensing and automation platform for Android.
Other
38 stars 19 forks source link

HTML Server fails when sample JSON object is submitted #158

Closed cbitstech closed 11 years ago

cbitstech commented 11 years ago

Screenshot_2013-01-28-23-29-20

cbitstech commented 11 years ago

Phone model Droid 4

cbitstech commented 11 years ago

Android OS 4.0

audaciouscode commented 11 years ago

Which URL & which JSON?

cbitstech commented 11 years ago

Using the test URL from a phonegap app--used to work. M

On Tue, Jan 29, 2013 at 7:51 AM, Chris Karr notifications@github.comwrote:

Which URL & which JSON?

— Reply to this email directly or view it on GitHubhttps://github.com/nupmmarkbegale/Purple-Robot-Manager/issues/158#issuecomment-12835168.

audaciouscode commented 11 years ago

Please copy and paste it as a comment so I can try to replicate the issue. I don't have enough context to do anything meaningful at the moment given that I'm not 100% in-sync with your PhoneGap work.

cbitstech commented 11 years ago

Too much to paste in comment--emailed. Or download from here: mohrlab.northwestern.edu/phonegaptests/phonegaptriggertest.zip

audaciouscode commented 11 years ago

I was unable to replicate the issue. I embedded your e-mailed JS as a test HTML file in the app:

mark_trigger_test.html

It ran as expected.

cbitstech commented 11 years ago

Did you try installing the apk I provided or just run the file locally?

audaciouscode commented 11 years ago

I ran the file locally on the phone.

audaciouscode commented 11 years ago

Loading the APK now...

audaciouscode commented 11 years ago

I installed the APK and it ran as expected on the phone, including displaying an alert that the trigger was created.

cbitstech commented 11 years ago

Did the trigger actually load?

On Tue, Jan 29, 2013 at 2:25 PM, Chris Karr notifications@github.comwrote:

I installed the APK and it ran as expected on the phone, including displaying an alert that the trigger was created.

— Reply to this email directly or view it on GitHubhttps://github.com/nupmmarkbegale/Purple-Robot-Manager/issues/158#issuecomment-12855845.

audaciouscode commented 11 years ago

Yup. Don't know what's up with your Droid. Probably an old version of Purple Robot.

audaciouscode commented 11 years ago

You have version 1.0.14 on the Droid. The current version is 1.0.24.

Yup, that was it. Trigger fired on the Droid.

Closing issue...