2011/10/10 Build account <[email protected]>:
> 1. Right...thank you for your reply. That was only way...
> but as far as we know that addPreferencesFromResource() is deprecated
> and
> some time I want to keep my source in an absolute path to maintain
> projects.

In Android, "deprecated" means "we will support it as long as we can
but we think there may be a better option". In the case of
addPreferencesFromResource(), it is your only option for pre-Honeycomb
devices, if you wish to use PreferenceActivity.

> 2. Hmm, as far as I found that is impossible to use preference xml in
> jar file.
> I thought that include or call-through addPreferencesFromResource() or
> etc-
> a pref XML which in a jar file.
> But now I'm supposing that also impossible.

You do not package resources in a JAR file, at present.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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