duttajava / traceper

Automatically exported from code.google.com/p/traceper
0 stars 0 forks source link

Mobile Connection Latest ver released Feb 3rd #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install APK or recompile APK and Install on Android
2. Launch App on Android, user is prompted to login or Register
3. Attempting top login with existing account or registering presents 
"UNKNOWN ERROR OCCURRED, PLEASE CONSULT THE DEVELOPER" 

4) Log Cat shows 
   "org.json.JSONException: Valus <!DOCTYPE of type java,lang.String      cannot be converted to JSONObject"

5) Looking at server access logs shows 
""POST / HTTP/1.1" 200 9138 "-" "Dalvik/1.6.0 (Linux; U; Android 4.1.2; 
SCH-I535 Build/JZO54K)"

Looks like communication starts. My assumption is the reply from server is NOT 
JSON encoded?

Any help with this is greatly appreciated

What is the expected output? What do you see instead?
Successful Login or registration on mobile side

What version of the product are you using? On what operating system?
Latest release from Feb 2012

Please provide any additional information below.

Original issue reported on code.google.com by mxrid...@gmail.com on 25 Oct 2013 at 1:08

Attachments:

GoogleCodeExporter commented 9 years ago
Seemed to figure it out.
In AppService.java
line 687 Change

Log.e("log_tag", "Error in http connection "+e.toString());
TO
Log.i("log_tag", "Error in http connection "+e.toString());

Original comment by mxrid...@gmail.com on 26 Oct 2013 at 12:27