You can't run your own code during installation. You'll need to do
this on first run. The best place to do this is in the onCreate()
method of your application class.

You can record that you've initialized in a SharedPreference, or you
can check the filesystem, to see if it's in the desired state.

On Apr 6, 6:21 pm, ricos <[email protected]> wrote:
> Hi, I am newbie to Android application development.
>
> I am developing an Android application and have a question.
> My application needs the some initial data for the execution. When my
> application is installed, I'd like to make a folder in sdcard and save
> the data at the folder. During execution, the application can make
> some files in the folder.
>
> Is it possible? If it's possible, how can I solve this problem?
>
> Thanks.

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to