The code that open local help files in jandroid is
if(file.exists())
myIntent.setDataAndType(Uri.fromFile(file), "text/html");
else
it is up to android to handle this "text/html" type of files.
it is also up to your file browser of how to open those files,
they might not even use "test/html" for file type, but jandroid
just delegates the job to android.
Пн, 09 янв 2017, Björn Helgason написал(а):
> the files are local and open fine frim file browser
>
>
> On 9 Jan 2017 15:19, "bill lam" <[email protected]> wrote:
>
> local storage webpage files and webpages on web servers are 2
> different things. One is a file with extension htm/html and the
> other is that with prefix protocol http://
>
> Some browsers cannot handle local html files, the class that
> support local html files is called html viewer. You check which
> app hijack the rendering of local html files. Go to setting/app
> and clear its default. And also install firefox, when you tap on
> help, the android dialog that asking for choosing which app to
> open html files should appear. If not, there should be some
> problem in your device.
>
> If
>
> Пн, 09 янв 2017, Björn Helgason написал(а):
> > its a one year old lenovo amd everything else seems to work just fine.
> > inclusive vocabulary etc in JHS.
> >
> > On 9 Jan 2017 14:16, "Raul Miller" <[email protected]> wrote:
> >
> > > You might want to take that thing back to where you bought it and ask
> > > them to help.
> > >
> > > It might be damaged or defective.
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > >
> > > On Mon, Jan 9, 2017 at 9:14 AM, Björn Helgason <[email protected]> wrote:
> > > > very strange.
> > > > can not set default for the file
> > > > the instructions how to wrong.
> > > > uninstalled the office package that seemed to be the culprit.
> > > > download/installed J several times with restarts.
> > > > trying help/help kills J.
> > > > some other strange behaviour.
> > > > minesweeper does not run.
> > > >
> > > > On 9 Jan 2017 11:11, "bill lam" <[email protected]> wrote:
> > > >
> > > >> You probably have set an app as the default for html viewer.
> > > >> Try reset the default of the app and choose another browser,
> > > >> firefox should work.
> > > >>
> > > >> Пн, 09 янв 2017, Björn Helgason написал(а):
> > > >> > same file opens fine in JHS
> > > >> >
> > > >> > On 9 Jan 2017 06:57, "Björn Helgason" <[email protected]> wrote:
> > > >> >
> > > >> > > It opens like this when using help/help
> > > >> > >
> > > >> > > On 8 Jan 2017 23:46, "bill lam" <[email protected]> wrote:
> > > >> > >
> > > >> > > try open using another browser.
> > > >> > >
> > > >> > > On 9 Jan, 2017 2:35 am, "Björn Helgason" <[email protected]>
> wrote:
> > > >> > >
> > > >> > > > Vocabulary opens fine in JHS on android.
> > > >> > > >
> > > >> > > > straight help in J on android opens the file in writer
> > > >> > > >
> > > >> > > > <html>
> > > >> > > > <head><link rel=stylesheet href="../jdoc.css"
> > > >> > > > type="text/css"><title>Vocabulary</title>
> > > >> > > > <link href="../jdoc.css" rel=stylesheet></head>
> > > >> > > > <body><!--top jump start--><a href="partsofspeech.htm">>&
> > > >> > > gt;</a>
> > > >> > > > <a href="dict3.htm"><<</a>
> > > >> > > > <a href="../user/contents.htm">Usr</a>
> > > >> > > > <a href="../primer/contents...............
> > > >> > > >
> > > >> > > > etc....
> > > >> > > > ------------------------------------------------------------
> > > >> ----------
> > > >> > > > For information about J forums see http://www.jsoftware.com/
> > > >> forums.htm
> > > >> > > ------------------------------------------------------------
> > > ----------
> > > >> > > For information about J forums see http://www.jsoftware.com/
> > > forums.htm
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > ------------------------------------------------------------
> > > ----------
> > > >> > For information about J forums see http://www.jsoftware.com/
> > > forums.htm
> > > >>
> > > >> --
> > > >> regards,
> > > >> ====================================================
> > > >> GPG key 1024D/4434BAB3 2008-08-24
> > > >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> > > >> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
> > > >> ------------------------------------------------------------
> ----------
> > > >> For information about J forums see http://www.jsoftware.com/
> forums.htm
> > > > ----------------------------------------------------------------------
> > > > For information about J forums see http://www.jsoftware.com/forums.htm
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm