Hi,
  My App should read the properties like (IP address/Port No..etc)
from CONFIG or Property file that already exists in the device and
connect to the server based on the info.  This way, anybody can edit
the IP Address/Port no info available in the property file.


- Is it possible to package the pre-configured property file as part
of APK file so that it can create in the device during it's
installation?


I read through SharePreferences android provides.. but as I
understood, the sharedpereferences can ONLY be created/accessed when
the App is running.

 - Is there anyway, the App can create the activity_preferences.xml
during it's installation, so that, the Properties would already be
available when you run the App.?


OR, what is the best approach for this requirement?

Thanks in advance..

Regards,
DK

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