|
From: Alexander S.K. <al...@be...> - 2015-02-02 11:48:05
|
> (it may be that we just copy the hrb without rebuilding > everything??????? > > > Not everything. Java and C sources are already compiled, we need to > build apk only. If needed, the Java or C code may be recompiled > using the bat files in h4a/directory. > > > I meant: can't we just copy a new .hrb file, overwriting the old? Or > make the program download a new one from a web site???? > > it would save a lot of time... Yes, I have wrote this on my site: "One of menu items may implement the program update - and copy a new testhrb.hrb from some server for using instead of that one, which is in apk." Now at the start of a program the testhrb.hrb is copied from the apk's asset/ to the application home directory if it is absent there. It isn't difficult to write a function in testhrb.prg, which reads an updated testhrb.hrb from some server, using hb_inet... functions or letodb file functions and put it in that home directory instead of existing. Regards, Alexander. |