facebook

Adding Photo Upload to Forms?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #328817 Reply

    Hello. I’m having trouble adding a simple photo upload feature to a form. I tried publishing the web app and editing the HTML, but that does not seem to work. It doesn’t seem like there’s any way of adding it through mobione itself either. Any Ideas?

    #329182

    Hi Chris,

    Can you post more details such as code and description for how the app acquires images and then performs upload so that we can better understand your implementation?

    #333068

    nayana.kn
    Member

    Even i have this problem all i want know is that i will have my photos stored in camera rolls and once i click the button in UI i should be able to select the photo from the file and update that into my form can someone please help in doing this ?

    #334171

    I’m still having this problem. Along with the other form input options that MobiOne has, you would think a simple photo upload would be present given that all smartphones have a camera feature.

    #334215

    support-michael
    Keymaster

    @Chris

    >Along with the other form input options that MobiOne has, you would think a simple photo upload would be present given that all smartphones have a camera feature.

    Mobile browsers/WebView, while sophisticated lack some of the features we take for granted on our desktop. A key feature just now appearing in iOS6 is file upload, e.g., <input type=”file”…> See http://goo.gl/QkehS and scroll down to the section “Do not use unsupported iOS technologies” Given such limitations (pre-iOS6 and android) the approach I’m aware of is to use the Cordova/PhoneGap Camera (or Capture) and FileTransfer apis.

    So far I have only used the Camera api to snap a pic or select a pic from the photo album. The upload is not something I have worked with but it should be straight forward based on the Cordova/PhoneGap examples that demonstrate api usage such as http://goo.gl/djLPx

    Some things to note when working with the cordova api:
    1) do not include the cordova js file since it will be automatically imported when you use the App Center Builder
    2) the Test Center does not emulate the Cordova/PhoneGap api, so you can only test it by building an app and installing and testing on a device

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Adding Photo Upload to Forms?

You must be logged in to post in the forum log in