I am developing an application for my job, where an install is complete we will use our company issued HTC Evo Shift 4G phones and fill out specific information about the customer . . . installed features . . . blah blah etc.
The problem comes when I process all of the information into a string with new line special characters (\n) at the end of the lines (that way it processes better in the email app on the phones).
If I run the application on ANY OTHER PHONE I GET MY HANDS ON the application works like a charm . . . processes the information . . . passes it to email . . . carriage return / new line at the correct positions . . . adds in all of the information flawlessly. Likewise if I run the application on the Emulator it works just fine.
Running the application on . . . for some God knows why reason . . . an Evo Shift 4G the "\n" string special character seems to freak out the email app and cause only the first line of the body to be passed.
In an effort to not fill up this screen with code, I will demonstrate in pseudo-code.
*********************************************************
the returned email text should look like
*********************************************************
Textbox 1
Textbox 2
Textbox 3
check box true / false
Textbox 4
check box true / false
*********************************************************
What it returns as in the email app
*********************************************************
Textbox 1
*********************************************************
Everything just stops after that.
I'm tired . . . rambling . . . and slowly making less and less sense . . . and slowly going insane, please help.
Real code / pseudo code / statements / I don't really care, I'm just at my wits-end with these damn Evo Shift phones.
The problem comes when I process all of the information into a string with new line special characters (\n) at the end of the lines (that way it processes better in the email app on the phones).
If I run the application on ANY OTHER PHONE I GET MY HANDS ON the application works like a charm . . . processes the information . . . passes it to email . . . carriage return / new line at the correct positions . . . adds in all of the information flawlessly. Likewise if I run the application on the Emulator it works just fine.
Running the application on . . . for some God knows why reason . . . an Evo Shift 4G the "\n" string special character seems to freak out the email app and cause only the first line of the body to be passed.
In an effort to not fill up this screen with code, I will demonstrate in pseudo-code.
Code:
method for email submission
true false check mark value resolutions
turn true or false into string
true false check mark value resolution
turn true or false into string
concatenate strings into "body text"
text box 1 \n
text box 2 \n
text box 3 \n
check box returned string \n
text box 4 \n
check box returned string \n
email URI
mailto:email address?
subject=install checklist&
body= "body text"
initiate email activity
pass values
*********************************************************
the returned email text should look like
*********************************************************
Textbox 1
Textbox 2
Textbox 3
check box true / false
Textbox 4
check box true / false
*********************************************************
What it returns as in the email app
*********************************************************
Textbox 1
*********************************************************
Everything just stops after that.
I'm tired . . . rambling . . . and slowly making less and less sense . . . and slowly going insane, please help.
Real code / pseudo code / statements / I don't really care, I'm just at my wits-end with these damn Evo Shift phones.