BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 03-05-2010, 05:31 AM   #1 (permalink)
New Member
Join Date: Mar 2010
Location: FRANCE
Model: 7100T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with API FileI/O

Please Login to Remove!

I want to download an image and stored in the folder on the SD card, using the API File I / O.

its not work with (filePath, blob);

Here is my code :

var filePath = "file:///store/home/user/myPicture/sample.png";


if(data != null) {, data);
alert("file saved");

I have this Exception :

java.lang.IllegalArgumentException: Invalid type - class java.lang.String
Running at line 277:,data);.

help me plaiz
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.