| | |
| | | namespace HDL_ON_Android |
| | | { |
| | | [Activity( |
| | | Exported = true, Enabled = true, Name = "com.hdl.onpro.JPushOpenClickActivity" |
| | | Exported = true, Enabled = true, Name = "com.jinlu.onpro.JPushOpenClickActivity" |
| | | , Theme = "@android:style/Theme.Translucent.NoTitleBar")] |
| | | [IntentFilter(new string[] { "com.hdl.onpro.JPushOpenClickActivity", Intent.ActionView }, |
| | | [IntentFilter(new string[] { "com.jinlu.onpro.JPushOpenClickActivity", Intent.ActionView }, |
| | | Categories = new string[] |
| | | { |
| | | "com.hdl.onpro",Intent.CategoryDefault |
| | | "com.jinlu.onpro",Intent.CategoryDefault |
| | | }) |
| | | ] |
| | | public class JPushOpenClickActivity : Activity |
| | |
| | | protected void HandleOpenClick(Intent intent) |
| | | { |
| | | Intent broadcastIntent = new Intent(); |
| | | broadcastIntent.SetAction("com.hdl.onpro.jpush.firm.NOTIFICATION_OPENED"); |
| | | ComponentName componentName = new ComponentName(PackageName, "com.hdl.onpro.JPushFirmBroadcast"); |
| | | broadcastIntent.SetAction("com.jinlu.onpro.jpush.firm.NOTIFICATION_OPENED"); |
| | | ComponentName componentName = new ComponentName(PackageName, "com.jinlu.onpro.JPushFirmBroadcast"); |
| | | |
| | | if (Build.VERSION.SdkInt >= BuildVersionCodes.O) |
| | | { |