Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7650475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:15:40+00:00 2026-05-31T11:15:40+00:00

After having decided to use as PhoneGap API for the development of a small

  • 0

After having decided to use as PhoneGap API for the development of a small application, I tried to access the gallery of the phone to set up a system to upload files to my server.
Unfortunately, when I go to the gallery, the pictures are only available …

Is there a way to access the video and send to the server, or another API who change HTML code in native app ? Or should I use a service for sending mail.
If yes, what is the name of this service?

Thanks to @ghostCoder

Just one correction, to be true :

navigator.camera.getPicture(successFn, errorFn, { quality: 50,
        destinationType: this.photoDestinationType.FILE_URI,
        sourceType: source,
        mediaType: navigator.camera.MediaType.ALLMEDIA  });

mediaType: this.fileMediaType.ALLMEDIA

replace by

mediaType: navigator.camera.MediaType.ALLMEDIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:15:41+00:00Added an answer on May 31, 2026 at 11:15 am

    yes u can upload videos too.

    use this

    navigator.camera.getPicture(successFn, errorFn, { quality: 50,
            destinationType: this.photoDestinationType.FILE_URI,
            sourceType: source,
            mediaType: this.fileMediaType.ALLMEDIA  });
    

    this will open up gallery where u can choose a video too.

    then u can upload it using

    var ft = new FileTransfer();
    var options = new FileUploadOptions();
        options.fileKey="document";
        options.params={};
        options.fileName =  fileName;
        options.params.fileName = options.fileName ;
        options.chunkedMode = true;
    ft.upload(fileURI, uploadUrl, successFn, errorFn, options);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After having seriously database loosing problems, I decided to go for an autobackup system.
I'm making a small quiz-application in Flash (and ActionScript 3). Decided to use the
After using a global Linq to Sql DataContext and having unwanted inserts, I decided
After reading a few related questions I've decided to use the tpl library to
After taking some small courses and using WPF and C# a bit I've decided
After having read that QuickSilver was no longer supported by BlackTree and has since
After having looked at each of these two projects, it seems that both are
After having solved the problem of getting the editor to launch when there's a
After having a search around I could not find exactly what I want, I
After having this question answered through a link to an external site , I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.