| | |
| | | using System; |
| | | using Android.App; |
| | | using Android.Content; |
| | | using Android.Content.PM; |
| | | using Android.Net; |
| | | using Android.OS; |
| | | using CN.Jpush.Android.Api; |
| | |
| | | |
| | | namespace HDL_ON_Android |
| | | { |
| | | [Activity(Label = "AgreementActivity", Theme = "@style/MyTheme1")] |
| | | [Activity(Label = "AgreementActivity", Theme = "@style/MyTheme1", ScreenOrientation = ScreenOrientation.Portrait)] |
| | | public class AgreementActivity : Activity |
| | | { |
| | | protected override void OnCreate(Bundle savedInstanceState) |
| | |
| | | { |
| | | Intent i = new Intent(this, typeof(WebviewActivity)); |
| | | |
| | | i.PutExtra("url", "https://developer.hdlcontrol.com/HDLOnPlusPrivacyPolicy.html"); |
| | | i.PutExtra("url", HDL_ON.Constant.URL_PRIVACYPOLICY); |
| | | StartActivity(i); |
| | | Intent data = new Intent(); |
| | | data.PutExtra("data", "disagree"); |
| | |
| | | { |
| | | Intent i = new Intent(this, typeof(WebviewActivity)); |
| | | |
| | | i.PutExtra("url", "https://developer.hdlcontrol.com/HDLOnPlusUserAgreement.html"); |
| | | i.PutExtra("url",HDL_ON.Constant.URL_USERAGREEMENT); |
| | | |
| | | StartActivity(i); |
| | | Intent data = new Intent(); |