. Net language APP development platform-Smobiler Learning Log: How to quickly fine-tune the location when locating a map, too mobiler
Scycler is a development platform that uses the. Net language to develop apps in the VS environment. It may be more convenient than Xamarin.
Style 1, Target Style
The following operations are required to achieve the effect:
Ii. fine-tuning the location code
VB: Dim longpolling As Decimal = 0 Dim Latitude As Decimal = 0 Dim addressInfo As String = "" Private Sub btnAddress_Click (sender As Object, e As EventArgs) Handles btnAddress. click If longpolling <> 0 & Latitude <> 0 & addressInfo. trim (). length> 0 Then Me. gps1.GetEditGps (New GPSData (longbench, Latitude, addressInfo) Else Toast ("positioning failed") End If End Sub
C #: private decimal longpolling = 0; private decimal Latitude = 0; private string addressInfo = ""; private void btnAddress_Click (object sender, EventArgs e) {if (longpolling! = 0 & Latitude! = 0 & addressInfo. trim (). length> 0) {this. gps1.GetEditGps (new GPSData (longpolling, Latitude, addressInfo);} else {Toast ("positioning failed ");}}
Note: For more Event code on the page except for location fine-tuning, see the MapView control.
Iii. scycler Form Design Interface display Effect
Iv. Mobile phone effect display