Simple way to create a new file in Android -


i have been trying create new file, data in array list:

arraylist<namevaluepair> namevaluepairs = new arraylist<namevaluepair>();  namevaluepairs.add(new basicnamevaluepair("photos", image_str)); namevaluepairs.add(new basicnamevaluepair("userid", userid)); 

i want create file storing namevaluespairs, arraylist.

how create file in android??? preferably easy way, using array, photos, , others.

to create file on external storage saving pictures etc, refer this documentation

to create file on internal storage refer this documentation.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -