Sorry, I didn't understand your question. Here are the codes. I have one log "Sub JobDone not found (warning #25)"
'Code module
#Region Project Attributes
#ApplicationLabel: TAKSİ'M
#Version: 2.0
'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
#iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
#iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
#Target: iPhone, iPad
#MinVersion: 7
#PlistExtra: <key>UIViewControllerBasedStatusBarAppearance</key><false/>
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'Public variables can be accessed from all modules.
Public App As Application
Public NavControl As NavigationController
Private Page1 As Page
Private WebView1 As WebView
End Sub
Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.Title = "Page1"
Page1.RootPanel.Color = Colors.White
Page1.RootPanel.LoadLayout("Layout1")
NavControl.ShowPage(Page1)
WebView1.LoadUrl("
http://www.taksi-m.com.tr/track")
End Sub
Sub WebView_OverrideUrl (Url As String) As Boolean
If Url.EndsWith(".pdf") Then
Dim j As HttpJob
j.Initialize("pdf", Me)
j.Download(Url)
Return True
Else
Return False
End If
End Sub