cancel
Showing results for 
Search instead for 
Did you mean: 

SUP HWC: Upload files from memory card

former_member185875
Contributor
0 Kudos

Hi all,

I have used getPicture() camera API method with below options:

sourceType : PictureOption.SourceType.CAMERA:  To attach images taken from camera

sourceType : PictureOption.SourceType.PHOTOLIBRARY; To attach images available in photo library

Now I want to attach .doc,.txt and .pdf files from memory card of the device.

Could you please help me, to make it enable in HWC application

Is there any Java Script API available in SUP HWC?

Thanks in advance,

Lakshman  Balanagu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Lakshman ,

Can you help please tell me how you did this for image and pdf?

Thanks and Regards,

Pratheek

former_member184221
Contributor
0 Kudos

I believe you can read and write files to the memory card (on an Android device?) using HWC (Hybrid web container) if the phonegap libraries are used.

See this document for further details: http://scn.sap.com/docs/DOC-8803