我要求某人继续开发移动应用程序,应用程序使用b4a, my J-D-K
版本为1.8
,数据库为p-o-s-t-g-r-e-S-Q-L
,服务器为l-o-c-a-l-h-o-s-t
,在我的电脑上,我试用该应用程序的设备是SAMSUNG,但是我有一个问题让我无法运行应用程序,首先当我尝试通过SAMSUNG登录时,它会卡住,无法停止加载,但是当我尝试{{1}时},加载是成功但错误X-I-A-O-M-I
时,错误是什么?有人能帮助我吗?
这是出现错误的代码
l-o-a-d-l-a-y-o-u-t-("main")
,错误为
Sub Activity_Create(FirstTime As Boolean)
If Starter.login=False Then
StartActivity(pagelogin)
Activity.Finish
Else
DateTime.DateFormat = "yyyy-MM-dd"
tanggal = DateTime.Date(DateTime.Now)
NowNav=1
Activity.LoadLayout("main")
ActionBar.SetAsActionBar
ActionBar.InitMenuListener
ActionBar.Title = "Smart Campus"
ActionBar.SubTitle = "Tenaga Pengajar"
BuildNavigationDrawer
Homenya
id_gedung.Initialize
Timer1.Initialize("Timer1", 1000)
Timer1.Enabled = True
End If
答案 0 :(得分:0)
Sub Activity_Create(FirstTime As Boolean)
If Starter.login=False Then
StartActivity(pagelogin)
Activity.Finish
Else
DateTime.DateFormat = "yyyy-MM-dd"
tanggal = DateTime.Date(DateTime.Now)
NowNav=1
Activity.LoadLayout("main")
ActionBar.SetAsActionBar
ActionBar.InitMenuListener
ActionBar.Title = "Smart Campus"
ActionBar.SubTitle = "Tenaga Pengajar"
BuildNavigationDrawer
Homenya
id_gedung.Initialize
Timer1.Initialize("Timer1", 1000)
Timer1.Enabled = True
End If
End Sub