Xamarin Dev Days Johannesburg 23 September 2016

The turnout at Xamarin Dev Days Johannesburg was amazing!!   Thanks to all that came.

 

I’m so proud to have been part of  bringing Xamarin Dev Days to Africa for the first time.   May there be many more!!

 

What the day entailed:

 

Xamarin Dev Days Agenda

 

09:00 AM – 09:30 AM Registration

09:30 AM –  10:10 AM Intro Xamarin presentation

10:20 AM – 11:00 AM  Cross-platform Xamarin presentation

11:10 AM – 11:50 AM Cloud Xamarin presentation

12:00 PM – 12:45 PM Lunch

12:45 PM – 1:30 PM Sponsor speaker slot (Zebra)

01:30 PM – 16:30 PM Hackathon Challenge Walkthrough

 

 

Local Organizers & Xamarin Experts

 

Special thanks to the sponsors:

 

Microsoft South Africa   http://www.microsoft.com

 

Zebra Technologies  http://www.zebra.com

MLab  https://www.mlab.co.za/

AD Software Systems  http://www.adsoftsystems.co.za

 

The event in pictures:

 

Lovely ladies from Zebra

 

Setting Up

 

 

Andre from Zebra on Stage

 

 

Dustyn Lightfoot on Stage

 

Dave Russell on Stage

 

Yummy food

 

Gert Smith on Stage

 

The day before setting up

 

Great turnout!

Xamarin Dev Days Announced (with Dates)

I’m very excited to be able to tell you we are brining Xamarin Dev Days to South Africa for the first time!   It will also be held in two cities,  Cape Town and Johannesburg.

 

We have our venues and sponsors organized, and more importantly the dates.

 

Please diarise!

 

Xamarin Dev Days Cape Town will be held on the 30th of September 2016.    It will be held at Workshop 17 at the V&A.

 

Xamarin Dev Days Johannesburg will be held on the 23rd of September 2016.    It will be held at the Microsoft Bryanston offices.

 

The awesome sponsors are:

 

Microsoft South Africa   http://www.microsoft.com

Zebra Technologies  http://www.zebra.com

MLab  https://www.mlab.co.za/

AD Software Systems  http://www.adsoftsystems.co.za

 

Without them, these events would definitely not be possible!!   Thank you!

 

Rolling your own Android Emulator

In certain situations the emulators provided just don’t cut it.      It is actually relatively simply to create your own by just using an x86 image of Android.   It is also possible to add additional features to the emulator for testing by virtue of daemons installed.

 

Download Android X86 iso image of choice from http://www.androidx86.org/download

 

Boot ISO in Hyper Visor of choice. (Android will work in VMWare, VirtualBox and Hyper-V) 

 

Install any GPS, Accelerometer, orientation etc spoof daemons of choice

 

Android Debugger Bridge  (ADB)

 

Once Android is booted (first time), run terminal (on Android) and issue commands below

o setprop service.adb.tcp.port 5555

o stop adbd

o start adbd

o or adb tcpip 5555 

 

From the development PC (issue commands via CMD – adb can be found in platform-tools folder in you Android SDK folder):

o adb connect [Android emulator ip address]

 

If the ip not known from Android terminal command: (busybox ifconfig)  Connect as normal from Visual Studio.   Should appear as Hyper Visor name, ie VMWare etc

 

 

Creating an OSX Virtual Machine

For creating a test OSX environment, it is possible to run it within a virtual machine.

 

On physical mac
 Download OS Mavericks from the App Store
 Insert a USB Drive of atleast 8GB

Use Disk Utility
 Choose USB Drive
 Choose Partition. (Partition Layout: 1 partition)
 Under options choose master Boot Record
 Choose Format (Mac OS Extended (Journaled)
 Click Apply
Use UniBeast
 Download UniBeast: http://www.tonymacx86.com/downloads.php?do=file&id=202
 Run Unibeast
 Choose USB Drive
 Select Mavericks 10.9
 Continue
 This takes a while (Not less than a minute :))
On Windows Host:
To Temporarily disable HyperV as your primary Hyper Visor:
Open Command Prompt:
 bcdedit /copy {current} /d “Disable Hyper-V”
 bcdedit /set {GUID Provided from previous command} hypervisorlaunchtype off
For Windows 8
 Win Key – C
 Settings
 Power
 Hold Shift and Restart
 Wait for Boot Screen
 Choose Other Operating System
 Disable Hyper-V (Remember to do this every time you want to use Virtual Box or
VMWare instead of HyperV)
Install Virtual Box or VM Ware
For VMWare:
 Install VMWare Workstation 10 (the free VMWare Player will work aswell to
playback VMs)
 Install Hackintosh Template for
OSX: http://www.insanelymac.com/forum/files/file/20-vmware-unlocker-for-os-x/
 Create a Virtual Machine with Workstation 10 Compatibility hardware
 Install Operation System Later
 Choose OSX 10.9
 Add desired Hardware with at least 40 gig disk space allocated to the Virtual Hard
Disk.
 Run NAT preferably
 Insert USB Boot Drive Created on Mac into PC
 Boot Virtual Machine
 Under VM\Removable Disks Connect the USB Drive (this will remove it from
visibility to Windows Host)
 Reset the VM
 OSX should install
On New OSX VM:
 Install Xcode from App Store
 Install Xamarin Business Edition (iOS)
 Follow Xamarin iOS instructions for Build Agent
Setup: http://docs.xamarin.com/guides/ios/getting_started/introduction_to_xama
rin_ios_for_visual_studio/

 

Content from the CTXUG Talk: The Second Screen

It was a good evening as always at CTXUG.    I hope everybody will be inspired to create a ChromeCast, Android TV or SmartTV app.  🙂

 

 

I’ve shared the presentation:

https://github.com/apead/CTXUG/tree/2faa7c3b62e61da1552c8993c1f53cdfe36247c9/21082014/presentation

 

The source code for the ChromeCast sample receiver can be found here:

https://github.com/apead/CTXUG/tree/2faa7c3b62e61da1552c8993c1f53cdfe36247c9/21082014/source/receiver

 

The source code for the ChromeCast enabled Xamarin app:

https://github.com/apead/CTXUG/tree/2faa7c3b62e61da1552c8993c1f53cdfe36247c9/21082014/source/xamarin

 

Happy Xamarin Coding!