Skip to main content
Code Review

Return to Question

added 5 characters in body; edited tags; edited title
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Cordova file management (Any chance for Apple rejection?)

I am making an application using Phonegap where users can select and share files. When the user selects it, even if it goes offline or closes the app, I should upload it back to the server, so I need to store the reference file path.

  1. User selects/captures video or image using Camera.
  2. File may not contain extension to name in Android every time and in iOS when selected from Gallery.
  3. So get mimeTypeGet mimeType and then copy the file to myApp's folder with a new name and extension.
  4. Then again get mimeTypemimeType and return.

Cordova file management (Any chance for Apple rejection?)

I am making an application using Phonegap where users can select and share files. When the user selects it, even if it goes offline or closes the app, I should upload it back to the server, so I need to store reference file path.

  1. User selects/captures video or image using Camera.
  2. File may not contain extension to name in Android every time and in iOS when selected from Gallery.
  3. So get mimeType and then copy the file to myApp's folder with a new name and extension.
  4. Then again get mimeType and return.

Cordova file management

I am making an application using Phonegap where users can select and share files. When the user selects it, even if it goes offline or closes the app, I should upload it back to the server, so I need to store the reference file path.

  1. User selects/captures video or image using Camera.
  2. File may not contain extension to name in Android every time and in iOS when selected from Gallery.
  3. Get mimeType and then copy the file to myApp's folder with a new name and extension.
  4. Then again get mimeType and return.
Notice removed Authoritative reference needed by Community Bot
Bounty Ended with no winning answer by Community Bot
Notice added Authoritative reference needed by Prathap Reddy
Bounty Started worth 100 reputation by Prathap Reddy
Notice removed Canonical answer required by Community Bot
Bounty Ended with no winning answer by Community Bot
Tweeted twitter.com/#!/StackCodeReview/status/516749303701049346
Notice added Canonical answer required by SoI
Bounty Started worth 50 reputation by SoI
edited title
Link
SoI
  • 175
  • 1
  • 13

Cordova file management (Any chance for Apple rejection?)

deleted 74 characters in body
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

I am making aan application using Phonegap where users can select and share files. When the user selects it, even if it goes offline or closecloses the app, I should upload it back to the server, so I need to store reference file path. So below are steps and code

Steps I have used:

But my question is also, whether isIs it correct to copy a file andto another location whenever the user selects a media file.

Code?

I am making a application using Phonegap where users can select and share files. When user selects it even if goes offline or close the app I should upload it back to the server, so I need to store reference file path. So below are steps and code I have used

But my question is also, whether is it correct to copy file and another location whenever user selects a media file.

Code

I am making an application using Phonegap where users can select and share files. When the user selects it, even if it goes offline or closes the app, I should upload it back to the server, so I need to store reference file path.

Steps I have used:

Is it correct to copy a file to another location whenever the user selects a media file?

Source Link
SoI
  • 175
  • 1
  • 13
Loading
lang-html

AltStyle によって変換されたページ (->オリジナル) /