Hi,
i'm a newbie at creating apps and not sure why i'm receiving the errors when trying to running the following app:
#Region Project Attributes
#ApplicationLabel: eBay
#VersionCode: 3
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: True
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
Dim WebView1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("ebay")
WebView1.Initialize("")
WebView1.LoadUrl("http://rover.ebay.com/rover/1/710-5...ep_vectorid=229508&kwid=902099&mtid=824&kw=lg")
Activity.AddView(WebView1,0dip, 0dip, 100%x, 100%y)
'Activity.AddView(WebView1,0dip, 0dip, 100%x, 100%y)
' apply webview settings AFTER the WebView has been added to the layout
Dim WebViewSettings1 As WebViewSettings
' possible values are "CLOSE", "FAR" & "MEDIUM"
' default is "MEDIUM"
WebViewSettings1.setDefaultZoom(WebView1, "MEDIUM")
WebViewSettings1.setLoadWithOverviewMode(WebView1, True)
WebViewSettings1.setUseWideViewPort(WebView1, True)
'
'If mmm.weconnected="NO" Then Activity.Title="( No Wifi ) Turn ON Your Wifi !!!"
' Button1.Initialize("")
'Activity.AddView(Button1,0, 0, 10%x, 10%y)
'Button1.SetBackgroundImage(LoadBitmap(File.DirAssets, "back.jpg"))
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Running the app on the previous version of Basic4Android works fine and the error on the new version looks like a Java problem but i'm not quite sure how to rectify this??
Any help would be appreciated.
i'm a newbie at creating apps and not sure why i'm receiving the errors when trying to running the following app:
#Region Project Attributes
#ApplicationLabel: eBay
#VersionCode: 3
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: True
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
Dim WebView1 As WebView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("ebay")
WebView1.Initialize("")
WebView1.LoadUrl("http://rover.ebay.com/rover/1/710-5...ep_vectorid=229508&kwid=902099&mtid=824&kw=lg")
Activity.AddView(WebView1,0dip, 0dip, 100%x, 100%y)
'Activity.AddView(WebView1,0dip, 0dip, 100%x, 100%y)
' apply webview settings AFTER the WebView has been added to the layout
Dim WebViewSettings1 As WebViewSettings
' possible values are "CLOSE", "FAR" & "MEDIUM"
' default is "MEDIUM"
WebViewSettings1.setDefaultZoom(WebView1, "MEDIUM")
WebViewSettings1.setLoadWithOverviewMode(WebView1, True)
WebViewSettings1.setUseWideViewPort(WebView1, True)
'
'If mmm.weconnected="NO" Then Activity.Title="( No Wifi ) Turn ON Your Wifi !!!"
' Button1.Initialize("")
'Activity.AddView(Button1,0, 0, 10%x, 10%y)
'Button1.SetBackgroundImage(LoadBitmap(File.DirAssets, "back.jpg"))
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Running the app on the previous version of Basic4Android works fine and the error on the new version looks like a Java problem but i'm not quite sure how to rectify this??
Any help would be appreciated.