Archive for the ‘Android’ Category

Is one off the best times to start with the Cross Platform APP if you are a .Net core developer or if you need to build LOB or cross platform apps.

Not only the Mono touch had become a Framework with full support to all the Mobile challenges today, but also is one-off the few platform that allow us to have full integrated a continuous development test and deliver system

 

xamarindev

If this is all new for you take a look at the follow links to learn what’s happening in Xamarin Devop’s field:

https://msdn.microsoft.com/magazine/mt767694

http://bit.ly/2cJG195

For these days Xamarin is also asking his experts to take development message and to share their knowledge around the world in a coordinated by Xamarin world wide event.

You can see when is your city time at:

https://www.xamarin.com/dev-days

In Portugal, Lisbon is the hoster for the event and i will had the pleasure to speak about Xamarin Forms,a technology that have been one excellent tools in my freeller live and in some apps i had launch in the past and had been also a important tool on the company where i work.

Here you have the direct link to the event

https://ti.to/xamarin/dev-days-lisbon

if you are in Lisbon don’t louse your chance to have the afternoon hands lab with some off the market experts in corss platform development field.

 

Advertisements

Many people frequently ask me what the steps to put your android environment quickly running, it looks like the documentation isn’t clear enough and the books don’t go to the detail we need to quickly start developing. Since today someone had start building an enviroment and ask me for help online, for some moments i remember the kick in the ass that was to do this the first time i need this, so i decided to share a step by step tutorial about how to start your engines in android development

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ811ym0tjkzWeJ8Bmh8eZCkizNr-vDf2x2_-Pehg1k_foqJngM

Get the Java Development Kit

First thing you need to get is the Java Development Kit.  This is available on the Sun Microsystems website.  You are going to be looking for Java Standard Edition JDK 5 or 6 and on the site you will be able to find installation info for your particular OS.  Click this link to get the Java Development Kit.  You will probably see two options for the standard edition: “JDK” & “JRE”.  Ultimately, you need both but you may already have the Java Runtime (JRE) on your machine as this is what is used to run Java code for applets and such.  Just try to install them both.

Once you click on either the “JDK” or “JRE” button, you will be prompted to accept the Terms of Use and then a list of links are made available for downloading of installer files (executables).  Find the one appropriate for your OS, download and then run it.

Get the Eclipse IDE

Your actual code for your Android application can be written in the free Eclipse IDE.  Download Eclipse for Java EE Developers here.

Note that Eclipse does not come with an installer.  You will be downloading a zip folder which will need to be unzipped and placed into your preferred directory.  There will be a readme file in the zip folder for your particular OS.  For my particular Windows installation, I just placed the “eclipse” root folder contained in the zip I downloaded on my C drive (C:\eclipse) and then opened the folder and right-clicked on the eclipse application file to send a shortcut to my desktop so I could launch eclipse from there.

Install the Android SDK

The Android software development kit is available for free download here.  This SDK includes Android application framework classes, documentation, tools, etc.  You have the option of downloading a zip file or an installer (exe file).  I recommend the installer, it’s much easier.  Just download it, double-click it and then follow the wizard.

NOTE: If you are running the SDK on a Windows machine then you have one more step before the SDK is ready to go.  You need to update the PATH variable in your Windows system variables.  Here are the steps (may vary slightly from version to version of Windows):

1- Right-click on “Computer” and then click “Properties”.

2- Click “Advanced System Settings” and then select the “Advanced” tab.

3- Click the “Environment Variables” button.

4- In the “System Variables” section, look for a variable named “Path” and double-click it.

5- In the “Variable Value” textbox, go to the end of the string and add a semicolon followed by the path to your Android tools folder (example: “C:\Program Files (x86)\Android\android-sdk-windows\tools”).

6- Click “OK” three times to exit all of the Windows system dialogs.

Install and configure the Android Plug-in for Eclipse

The Android plug-in for Elcipse integrates the Android tools into the Eclipse IDE seamlessly.  In order to install this plug-in, you are going to have to run an Eclipse update.  The steps to do this will vary depending on the version of Eclipse that you have so if you get lost, visit the this page on the Android Developer website.  Here are the steps you need to follow for Eclipse version 3.5 (Galileo):

1- Launch Eclipse.  NOTE: The first time you launch Eclipse, you will get a dialog asking for the location of your default workspace (example: “C:\Users\Matt Cashatt\workspace”).  This is where all of your Android projects will be stored.  So just set the location that you want, check the box by “Set this location as default. . .” and click “OK”.

2- Go to “Help” in the toolbar and then select “Install New Software”.

3- You will probably already be in a screen titled “Available Software”, but if not, select the “Available Software”.  Now click the “Add” button.

4- Add the remote site “https://dl-ssl.google.com/android/eclipse/”.  If this site fails, then just drop the “s” from http and try again.  You can name the site whatever you want.  I named mine “AndroidSDK”.

5- If everything went ok, Eclipse should have found “Developer Tools” on the remote site and listed it for you with a checkbox.  Check the “Developer Tools” and “NDK plugin”box.

6- Click “Next” and then follow the instructions for installing the tools.  At the end, accept the license and terms and then click “Finish”.

7- After the software update is complete, re-start Eclipse for the changes to take effect.

Update Eclipse Preferences to point to the Android SDK

Phew!  Almost done.  The last step is to point the Eclipse IDE to the Android SDK:

1- Launch Eclipse.

2- Click “Window” , then “Preferences”.

3- Select “Android” in the tree on your left and you will then see “Android Preferences” on your right.  Now point to the file path of your Android SDK Installation (example: “C:\Program Files (x86)\Android\android-sdk-windows”).  If you now see a bunch of target SDK versions listed, then you did everything correctly and Eclipse has found the SDK.  If this is not the case, then check your file path.

Foot note:

If you need a quick start to the platform you can use my slides deck avaible on slideshare

credits of this post go to Matt Cashatt who had help me start in the past

Last week i had spent a couple of nights teaching Android 4 development at The OpenSoft Developer’s Unit. For the second time this year i had the pleasure to share some of my technological knowledge with this team. The first session was about some of the most in vogue HTML 5 features and the web offline storage, this time was about Android development.

devand

Is always a great challenge to train a development team made of senior developers and high level architects, that have the mission to start a Android cross device app in the next month.

Was very good to give the quick start to the engines of this international development team. Hope to see your work done soon folks. The slides of this workshop are available at y slideshare and the hands on labs on my git.

ps: by the way before this session i had deliver this workshop 3 times,the first was at Innovagency the software development Companywhere i am CTO, then was at NHK a small technology education school, and them at LX factory to a independent Freelancer’s group.