Click here to Skip to main content
15,888,104 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
A VC++ programmer want work on android application.tends to newbies in android.
<0> / <0>
-----------------------------------------------------------
I want create config file when file android application install on android device..
Like,
there is config file say ,
ListOfEntry.csv in my android Device storage(SD Card).
And every time i open my android application.User interface should be depends on entries in ListOfEntry.csv file.

Big problem:-
How to get Config file..


////////////////////////////////
So please provide me any link,block of code that gives me any reference about,
"creating files at time of android application installation??"

Thanks
Posted

1 solution

You can't. Due to security reasons.

You can run a certain process while first launch of the application though.
Simplest would be by reading a preference and triggering that mechanism when preference value is not set.
 
Share this answer
 
Comments
Coder Block 21-Nov-12 3:27am    
how to do that??
TorstenH. 21-Nov-12 4:27am    
Android Quick Preferences Tutorial @ javacodegeeks.com
take a look there. You need to create a preference value, that is "false" by definition and will be set after the application has done it's first startup (and of course the additional things).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900