properties.loadFromXML(inputStream);
throws an InvalidPropertiesFormatException

I think the file is correct because it works fine in J2SE.

http://code.google.com/android/reference/java/util/Properties.html

<?xml version="1.0" encoding="UTF-8"?>
<properties>
<comment>config file</comment>
<entry key="login-id">guest</entry>
<entry key="remote-server">my.com</entry>
<entry key="recording-interval-duration-seconds">60</entry>
</properties>

Furthermore, I print out the exception but it only contains the stack
trace, no message nor clue to the problem.
Anyone see the same problem?
thanks,
Anil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to