How to Enable Developer Mode on an Android Device

If you are developing Android apps, you will want to test them on an actual device. In order to do this you need to enable Developer Mode on your phone or tablet. Here are the steps to do this:

  1. Open settings
  2. Go to About Phone or (About Tablet)
  3. Scroll down to Build Number and click on it 7 times
    (Yes, that sounds strange, but that’s what you do.)
  4. Now go back up to your settings list and you will see that Developer Options has been enabled.

I’ve attached a video so you can see how this is done.

October 2, 2014 at 2:47 am Leave a comment

Resources for Learning C# and .NET

I compiled this list of resources for students in my Xamarin Android Course. These are the best resources that I have found for learning C#. I have them categorized for both new programmers and programmers who are already experienced in another language. If you know of some other excellent resources, tell us about them in a comment.

BTW, most of what you learn about .NET will also apply to the Mono library used by Xamarin.

Learning C# as your first programming language

C# Fundamentals: Development for Absolute Beginners (25 video lessons)
(If you are already a programmer in some other language, you should start with lesson 14, Understanding and Creating Classes.)

Learning C# if you already know Java, C, or C++

The C# Programming Language for Java Developers
This web site compares Java and C# topic-by-topic

Programming Language Fundamentals- from Java to C#
For someone who has learned the equivalent of the CS161 Java course material. 12 modules made up of Videos, PowerPoint slides, demo source code, and lab exercises.

C# for C++ Developers
A table that compares C++ to C#, topic-by-topic with links to C# documentation on each topic.

.NET Book Zero
What the C or C++ Programmer Needs to Know about C# and the .NET Framework. (Free e-book)

Resources for all C# programmers

Microsoft Developer Network Library
This is the official source for everything related to .NET and C# programming
C# Programming
.NET Development

C# 5.0 in a Nutshell. 5th Ed. Albahari, Joseph and Albahari, Ben. O’Reilly, 2012.
This is one of the best books for learning C# if you are already a programmer. This is also a great reference book if you are already a C# programmer.
http://shop.oreilly.com/product/0636920023951.do

September 27, 2014 at 4:54 pm Leave a comment

Setting up a Windows PC for Xamarin Android Development

I just got done setting up a Windows 7 PC (setup for Windows 8 is identical) for Android development using the Xamarin Android application development platform. I wanted to be able to development with either Visual Studio 2013, or Xamarin Studio 5. So here are the steps I followed:

  1. (Optional) Install Visual Studio 2013 Professional or higher- you can’t use the Express Edition. Also, you will need a Xamarin Business license. Don’t worry if you don’t have Visual Studio Professional- you can use the free Xamarin Studio instead!
  2. Install the Android SDK using the “stand-alone” option. Download the Android SDK
    1. Run the Android SDK manager to update everything to the latest versions (you have to launch the SDK manager as an administrator).
    2. Using the SDK manager, add support for any Android versions you might use. You might also want to add the Google Android USB driver or Intel’s Hardware Acceleration manater (HAXM).
  3. Install an Android Debug Bridge USB driver for your hardware device. If you are using a Google Nexus device you can install the one that is provided by the Android SDK. You will need to open the Windows Device Manager and use it to install a composite adb driver. If you have a phone or tablet from another manufacturer, you will need to install a USB ADB driver for that device.
  4. Install the Xamarin software suite (this includes Xamarin Studio). Download Xamarin
  5. Install GenyMotion, an Android emulator that is vastly superior to the one included in the Android SDK. Download GenyMotion
  6. You’re done!

Now you should test your setup. Here are some things to test:

  1. Start GenyMotion and install a virtual device, then launch that device
  2. Run Xamarin Studio and open the “Hello Android” project. Select GenyMotion as the target for running the app. When you click run in Xamarin Studio, you will see the app run in the GenyMotion emulator.
  3. (Optional) Repeat the above two steps using Visual Studio
  4. Plug in a phone or tablet, enable developer mode, and select it as the target in Xamarin Studio. Now run the program again. The app should run on the device you plugged in.
  5. You’re ready to go!

 

September 9, 2014 at 10:01 pm Leave a comment

Xamarin Android course

You can take this class from anywhere in the world, since it is offered in a hybrid on-line/on-campus format!

Here is the syllabus: CS235AM_Syllabus_Fall_2014

Here is the online course page: CS 235AM: Inter Mobile App Dev:Android

BTW, If you aren’t a programmer and want to learn to create Android apps using a simple drag-and-drop approach, you can take our App Inventor class- CIS125M, Software Tools: Mobile Development.

Here’s a link to the LCC course registration page: http://lanecc.edu/schedule

September 9, 2014 at 8:39 pm Leave a comment

.NET Remoting with Events in VB 2005 and .NET 2.0

I learned how to add events to a remote client by studying the “Chatter” remoting example in .NET Remoting and Event Handling in VB .NET, by Paul Kimmell. I will not attempt to explain the entire “Chatter” code example, since a good explanation is already given in Kimmell’s article, but I do want to point out a few important aspects that weren’t clear to me at first. (more…)

September 5, 2007 at 6:31 pm 1 comment

More on Delegates and Events in VB 2005

In the .NET 2.0 Framework, with Visual Basic 2005, there are a number of ways to define and use delegates, and even more ways to define and use events . This post summarizes these differences. (more…)

August 31, 2007 at 6:21 pm Leave a comment

.NET Remoting: The Simplest Remoting Example

I just read chapter 10, .NET remoting, in Introducing Microsoft .NET 3rd Edition, 2003, by David S. Platt. His explanations are very clear and easy to read, but I had a little trouble compiling and running the sample code. Part of the problem is that the code was written for an earlier version of Visual Studio and the .NET library. I took notes as I upgraded and built this example and I thought I’d share them here. I built this example in Visual Basic 2005 Express SP1. I have upload this project into my Box.net folder on this blog. Even if you don’t have David Platt’s book you can probably get a good idea about how remoting works by looking at my VB2005 version of his example code, reading the introduction below,  and reading the on-line articles listed at the end of the introduction.

(more…)

August 24, 2007 at 10:18 pm 2 comments

Older Posts


Bird’s Bits

Computers, software & the Internet

Feeds


Follow

Get every new post delivered to your Inbox.