Android Question Best way to output tables

msali

Member
Licensed User
Longtime User
Hi,
I have finally reached at the stage in my project where i need to produce output.

Can anyone guide me on the best way to produce output that would contain multiple tables with different colors. In my application i would like to:


a) show the output on their devices so that they can zoom it too
b) email it to them if option is clicked.

I was looking into using webview. Is that the right choice? If yes, can you please share some basic code for writing tables and producing an output file to be sent via email.

Thanks in adv.

regards.
 

msali

Member
Licensed User
Longtime User
Thanks for your responses. I will surly checkout the Excel Library tonight; but a quick question on it:

How will users be able to view the output file on their devices if they do not have any Excel or Excel viewer installed on their device?




Regarding the DBUtils.ExecuteHtmlQuery; the data that i want to print in tables is not placed in SQLite, rather it is in OS file as a MAP:

B4X:
    Dim raf As RandomAccessFile
    raf.Initialize(Main.gdataDirFull , selectedRoundID, False)
    raf.WriteEncryptedObject(mapStoreRound, selectedRoundID, raf.CurrentPosition)
    raf.Close

and read back the same way.

(so i assume it will not work that way) - right?

regards.
 
Upvote 0

msali

Member
Licensed User
Longtime User
I fianlly used webview and drew good old HTML. Now working perfectly well.

Thanks.
 
Upvote 0
Top