So all this lines are false, they are not correct, all the problem come from
this lines?
File sdCard = Environment.getExternalStorageDirectory();
File dir = new File (sdCard.getAbsolutePath() + "/Carburant/");
 dir.mkdirs();
copyfile(context,nom,sdCard.getAbsolutePath() +
"/Carburant/storeddata.dat");

With this code, the compiler can not "take" the file from /data/data.. and
copy it to the SDCARD/carburant ?
They are other functions/methods to use ?
That's it ?

Thank you :).

2011/4/4 TreKing <[email protected]>

> On Mon, Apr 4, 2011 at 10:54 AM, Alaeddine Ghribi <
> [email protected]> wrote:
>
>> All the informations are here i guess! But there is not an example
>
>
> You don't need an Android example. This is all standard Java IO. AGAIN:
> Google "Java IO". Use the Android docs to get File objects to the right
> directories, then use STANDARD JAVA IO to do what you need on those STANDARD
> FILE objects.
>
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to