Professional Documents
Culture Documents
1. For devices running Android 4.2 or newer, there is an extra step; Developer
options are initially hidden. Navigate to Settings | About phone and tap Build
number seven times. On some configurations, the exact menu structure may differ.
On my HTC One with Android 4.3, the menu is Settings | About | Software
information | More.
1 de 4 31/03/17 08:39
Debugging with an Android device - Xamarin ... https://www.packtpub.com/mapt/book/applica...
The following code snippet depicts some of the key pieces of the source file:
2 de 4 31/03/17 08:39
Debugging with an Android device - Xamarin ... https://www.packtpub.com/mapt/book/applica...
packagepoiapp;
public class MainActivity extends android.app.Activity implements
mono.android.IGCUserPeer
{
. . .
public void onCreate (android.os.Bundle p0)
{
n_onCreate (p0);
}
private native void n_onCreate (android.os.Bundle p0);
. . .
}
The MainActivity class has a static initialization block and a constructor that
establishes the link between the Java class and its managed C# peer, including
initializing n_onCreate()
Related titles
3 de 4 31/03/17 08:39
Debugging with an Android device - Xamarin ... https://www.packtpub.com/mapt/book/applica...
4 de 4 31/03/17 08:39