[BRLTTY] Android app?

Dietmar Segbert didi.segbert at arcor.de
Sat Apr 20 01:38:00 EDT 2013


Hello Dave,
i have the same problem, as described here. I have donloaded the brltty- 
latest.apk via nightly (firefox) from your homepage http://milke.cc/brltty  
download.
I suse a nexus 4 with android 4.2.2.
 Regards
Dietmar


> dave at mielke.cc schrieb am 19.04.13:

> [quoted lines by Mallard on 2013/04/18 at 20:00 +0200]

>> Thanks. I've forwarded your message to my son, who is sighted, and
>> works on Arch Linux. I can't connect my phone to the pc, because
>> Windows xp doesn't let me do that, unless i install Kies and a lot
>> of other stuff, which I'd rather not bother with.

> I don't blame you for not wanting to install extra stuff on a
> Windows system. :-) Anyway, your son clearly did a good job as I
> now have your log.

> Your problem is the same as another user is having, and I don't
> udnerstand it. Can you tell me where you got your brltty apk from,
> and when you got it? I'm wondering if you have a version of it that
> somehow got created incorrectly.

> For the curious, this is the problem:

>    Caused by: java.lang.RuntimeException: XML document must start
> with <preference-headers> tag; foundPreferenceScreen at Binary XML
> file line #1    at android.preference.PreferenceActivity.loadHeader
> sFromResource(PreferenceActivity.java:863)    at
> org.a11y.brltty.android.SettingsActivity.onBuildHeaders(SettingsAct
> ivity.java:102)    at android.preference.PreferenceActivity.onCreat
> e(PreferenceActivity.java:628)    at
> org.a11y.brltty.android.SettingsActivity.onCreate(SettingsActivity.
> java:97)    at android.app.Activity.performCreate(Activity.java:520
> 6)

> As you can see, the error is that an XML resource begins with the
> <PreferenceScreen> element when it should begin with the
> <preference-headers> element. The actual source, however, is
> actually correct. Brltty's SettingsActivity object contains the
> following:

>    public void onBuildHeaders (List<Header> headers) {
>      loadHeadersFromResource(R.xml.settings_headers, headers);
>    }

> And the resource in view, res/xml/settings_headers.xml, begins
> with:

>    <preference-headers
>      xmlns:android="http://schemas.android.com/apk/res/android"
>      >

> So the XML resource really does begin, as it should, with the
> <preference-headers> element. So, at least for now, I'm not sure
> what the problem is. The fact that we now have two users reporting
> the very same problem is intriguing. I hope we'll be able to figure
> it out.

> --
> Dave Mielke           | 2213 Fox Crescent | The Bible is the very
> Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario   |
> http://Mielke.cc/bible/ EMail: dave at mielke.cc | Canada  K2A 1H7   |
> http://FamilyRadio.com/ ___________________________________________
> ____ This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/b
> rltty



More information about the BRLTTY mailing list