I test 6 models of mobile phone, only one brand (one model) pass the test.
1). I download apk to 3 Brands of mobil phone. ASUS Zenfone / HTC / HUAWEI each Brands has two models Total: 6 phones.
2). Only one of the ASUS Zenfone can operate well. The other 5 phones are stopped and back to main activity when they run the code Listview1_itemClick (As Below). It means that once any one item line is being touched, the routine will stop and screen will back to activity main and the program still can be operated. Until we touch the item data line.
3). Is there any points or statements that I should carefully to use. How to finds out the way to let most of the phones can execute my APP.
4). Because the Zip file size is about 620KB, it is over 500KB limite. So I cannot upload the program.
5). I would like to provide any information or code. Please don’t be hesitate to ask me.
Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim Sqlname, TableText As String
Dim Cursor1 As Cursor
Dim recordID As Int
Sqlname="myDesign4.sqlite3"
TableText = Tablename(Position)
TableNameNOW = TableText
OpenSQLitefile(Sqlname)
Cursor1 = SQL1.ExecQuery("SELECT itemno FROM " & TableText )
For recordID = 0 To 9
Cursor1.Position = recordID
Itemno(recordID) = Cursor1.GetString("itemno")
Next
Listview2.Clear
For i=0 To 9
Listview2.AddSingleLine(Itemno(i))
Next
Label1.Text = Itemno(0)
Label2.Text = Itemno(1)
Label3.Text = Itemno(2)
Label4.Text = Itemno(3)
Label5.Text = Itemno(4)
Label6.Text = Itemno(5)
Label7.Text = Itemno(6)
Label8.Text = Itemno(7)
Label9.Text = Itemno(8)
Label10.Text = Itemno(9)
ReadChosenTableBLOB
lblcommand.Text="請繼續點選檔案或點選命令欄"
End Sub
1). I download apk to 3 Brands of mobil phone. ASUS Zenfone / HTC / HUAWEI each Brands has two models Total: 6 phones.
2). Only one of the ASUS Zenfone can operate well. The other 5 phones are stopped and back to main activity when they run the code Listview1_itemClick (As Below). It means that once any one item line is being touched, the routine will stop and screen will back to activity main and the program still can be operated. Until we touch the item data line.
3). Is there any points or statements that I should carefully to use. How to finds out the way to let most of the phones can execute my APP.
4). Because the Zip file size is about 620KB, it is over 500KB limite. So I cannot upload the program.
5). I would like to provide any information or code. Please don’t be hesitate to ask me.
Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim Sqlname, TableText As String
Dim Cursor1 As Cursor
Dim recordID As Int
Sqlname="myDesign4.sqlite3"
TableText = Tablename(Position)
TableNameNOW = TableText
OpenSQLitefile(Sqlname)
Cursor1 = SQL1.ExecQuery("SELECT itemno FROM " & TableText )
For recordID = 0 To 9
Cursor1.Position = recordID
Itemno(recordID) = Cursor1.GetString("itemno")
Next
Listview2.Clear
For i=0 To 9
Listview2.AddSingleLine(Itemno(i))
Next
Label1.Text = Itemno(0)
Label2.Text = Itemno(1)
Label3.Text = Itemno(2)
Label4.Text = Itemno(3)
Label5.Text = Itemno(4)
Label6.Text = Itemno(5)
Label7.Text = Itemno(6)
Label8.Text = Itemno(7)
Label9.Text = Itemno(8)
Label10.Text = Itemno(9)
ReadChosenTableBLOB
lblcommand.Text="請繼續點選檔案或點選命令欄"
End Sub