Java tutorial
//package com.java2s; //License from project: Apache License import java.io.FileOutputStream; import java.util.Properties; import android.content.Context; public class Main { public static void saveProperties(Context context, String file, String encode, Properties properties) throws Exception { FileOutputStream s = new FileOutputStream(file, false); properties.store(s, ""); } }