Hi,
I’ve previously written a native simple Android App that access’s FogBugz (an online project bug ticket management and time tracking tool).
To prove MobiOne, I’m trying to re-write the same program.
All my app does is log on to fogbugz and then return the ticket number currently being worked on and some details and out put them onto the display.
However, I seem to be tripping up on the first hurdle – My signon screen is based on the example found in the forum, however MobiOne has moved on since that was written and although it sort of works, am having trouble.
First thing is that I need to pass an extra parameter to the server – ie my url needs to be
http://companyname.fogbugz.com/api.asp?cmd=login&email=xxxxx&password=yyyyy
So I’ve set up in the Design Center the Form Action URL as http://companyname.fogbugz.com/api.asp
How do I add the ?cmd=login bit – Do I in the function
phoneui.preSubmitForm….= function(form) add something like
form.action = “http://companyname.fogbugz.com/api.asp?cmd=login”
and just override the form action.
What happens to the parameter fields – ie the email and the password – are they appended by MobiOne or do I have to do that manually?
Many Thanks,
Matthew Jackson