Last active
December 18, 2015 09:39
-
-
Save pjcollins/c64ab35c12fb6434ab02 to your computer and use it in GitHub Desktop.
MyIntentService.java constructors for xambug 8428
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**1ST CONST** | |
public MyIntentService (java.lang.String p0) | |
{ | |
super (p0); | |
if (getClass () == MyIntentService.class) | |
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "System.String, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0 }); | |
} | |
**2ND CONST** | |
public MyIntentService () | |
{ | |
super (); | |
if (getClass () == MyIntentService.class) | |
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { }); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scratch.myintentservice; | |
public class MyIntentService | |
extends mono.android.app.IntentService | |
implements | |
mono.android.IGCUserPeer | |
{ | |
static final String __md_methods; | |
static { | |
__md_methods = | |
"n_onHandleIntent:(Landroid/content/Intent;)V:GetOnHandleIntent_Landroid_content_Intent_Handler\n" + | |
""; | |
mono.android.Runtime.register ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", MyIntentService.class, __md_methods); | |
} | |
public MyIntentService (java.lang.String p0) | |
{ | |
super (p0); | |
if (getClass () == MyIntentService.class) | |
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "System.String, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0 }); | |
} | |
public MyIntentService () | |
{ | |
super (); | |
if (getClass () == MyIntentService.class) | |
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { }); | |
} | |
public void onHandleIntent (android.content.Intent p0) | |
{ | |
n_onHandleIntent (p0); | |
} | |
private native void n_onHandleIntent (android.content.Intent p0); | |
java.util.ArrayList refList; | |
public void monodroidAddReference (java.lang.Object obj) | |
{ | |
if (refList == null) | |
refList = new java.util.ArrayList (); | |
refList.add (obj); | |
} | |
public void monodroidClearReferences () | |
{ | |
if (refList != null) | |
refList.clear (); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment