image upload works in emulator but fails on device
Hi, I'm 99.99% done with my app :)! I compiled a final test version for my Droid running Android 2.2 and found that the following code gave me an error on my phone that it wasn't giving me in the emulator?
http://pastie.org/1266004
So, obviously this is paraphrased. The only thing really missing there are title and description textfields. Its a simple app, you select picture from gallery, enter title and description and submit it. This is the error I'm getting:
title: Runtime Error
location: [249,0] app://post.js
message: java.lang.NullPointerException
(app://post.js#249)
line 249 of post.js is
post.open("POST",postQuery);
Any ideas?
2 Answers
-
try this:
http://pastie.org/1266061 -
Tried that, gave me same error.