Hi all,
I have a large Activity, which is using tabbed layout to allow an engineer on-site to generate reports when there's no wifi, mobile signal etc., using SQLite.
Everything works fine, however, there's 8 type of report, and they want to be able to create 2 of them at a time.
I recently hit an issue where Sub Globals created a Java Compile error because it was too large.
Reading up on this, there's a limit of 65535 bytes (I think) for the Globals definition.
So, taking into account the following code:
Would I save any space in the final compiled code by doing the same thing this way:
It achieves the same thing, but does it save space against the 65535 byte limit?
Thanks in advance for looking.
Ian
I have a large Activity, which is using tabbed layout to allow an engineer on-site to generate reports when there's no wifi, mobile signal etc., using SQLite.
Everything works fine, however, there's 8 type of report, and they want to be able to create 2 of them at a time.
I recently hit an issue where Sub Globals created a Java Compile error because it was too large.
Reading up on this, there's a limit of 65535 bytes (I think) for the Globals definition.
So, taking into account the following code:
Sub Globals:
Private QFH_Job_Number As String
Private QFH_Contact As String
Private QFH_Department As String
Private QFH_Location As String
Private QFH_Telephone As String
Private QFH_Fax As String
Private QFH_Email As String
Private QFH_Type As String
Private QFH_Serial_No As String
Private QFH_Service_No As String
Would I save any space in the final compiled code by doing the same thing this way:
Sub Globals:
Private QFH_Job_Number, QFH_Contact, QFH_Department, QFH_Location, QFH_Telephone, QFH_Fax, QFH_Email, QFH_Type As String, QFH_Serial_No, QFH_Service_No As String
It achieves the same thing, but does it save space against the 65535 byte limit?
Thanks in advance for looking.
Ian