Many Android developers may be coming into Xamarin.Android with an existing Java background. This course provides resources and examples to help you transition from Android development in Java to C#. You will also learn about advanced programming topics such as debugging and garbage collection.
Learning Objectives
Coming to Xamarin from Java
- start the course
- describe similarities and differences between Java and C#
- describe the differences in naming conventions for similar structures
- describe similarities and differences between Java and C# for object-oriented programming
- identify the features of C# Lambda expressions
- describe similarities and differences between Java and C# for events
Integrating with Java Code
- describe methods to make use of existing Java components
- invoke managed code from your Xamarin project
- create a binding project to wrap a Java library
- use Java code through the Java Native Interface
- describe how to port code from Java to C#
Garbage Collection
- describe the details of garbage collection in Xamarin
- write code with an eye to efficient garbage collection
Debugging
- provide Android Debug Bridge or ADB support in your application
- debug Xamarin applications in Visual Studio
- utilize common troubleshooting techniques
Advanced Runtime Considerations
- start the emulator from the command line
- describe various Xamarin system properties
- control the resulting size of your application package
- control the behavior of the Linker
- describe settings available in the AndroidManifest.xml file
Practice: Enable Debugging
- enable support for debugging your application with Android Debug Bridge or ADB