I need to rebuild an existing iphone native app with Mendix. With the Mendix 4.0 release that's no problem, but I need to upload an image from the mobile client, but there is no upload widget available in the mobile forms. When can we expect an upload widget for the mobile forms or is there another way to achieve this?
Here is one way you could solve the upload issue for mobile browsers:
Implement the MxSMTP module for receiving mail in your Mendix
In your mobile web app, create an Upload button. When the user clicks
the Upload button, generate a unique mail address and tell the user to
mail the attachment to that address. Store this unique email address for future reference by the the MxSMTP module's processing microflows.
When the user mails to the unique address, have the attachment(s) of the email processed by the
MxSMTP module and stored in your application in the correct spot in
your domain model. To prevent the system from receiving multiple emails/attachments on the email address, you can decide to lock/remove the address and have the MxSMTP module automatically ignore any other emails sent to that unique address.
The mobile web version of Facebook and TwitPic use this design pattern too.
As far as I know, there is not yet an HTML5 way of doing this.
A tutorial about using Cordova is being written and will appear soon!