Welcome to Android application development! If you're new to Android app development, this where you should begin.

Download Android Studio

Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging. On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine as server-side components.

Download http://developer.android.com/sdk/installing/studio.html

This download includes:

  • Android Studio early access preview
  • All the Android SDK Tools to design, test, debug, and profile your app
  • The latest Android platform to compile your app
  • The latest Android system image to run your app in the emulator

Now start Android studio

Download SDK

SDK Manager

click on “SDK Manager”, this open the following windows, select at least the latest version of

  • Android SDK Tools
  • Android SDK Build-Tools
  • Android 4.4.2 (API 19)

The more you download the better, (so you can support more device, it will just take more disk and take longer to download)

download in SDK Manager

Create a new Project

Create a new project

createANewProjectInAndroidStudio

Click Next and Finish, after some seconds the project will be created

Click now startEmulatorInAndroidStudio, the emulator will start

defineEmulatorInAndroidStudio

Click OK, be patient, your Hello World app will appear

Push your app to Google Play Store

In order to push this Application (*.apk) to Google Play Store, it has to be signed and zip aligned,

Hit CTRL-SHIF-A and type “sign” and select “Generate Signed APK…”

GenerateSignedAPK

Click OK to continue

signAPKContinue

hit “Create new…”

createNewAPK

then fill up the form

fillUpTheForm

Note the location, password and alias you have chosen

Now in your module helloworld/build.graddle add the following in android {} so it look like. Use for storeFile, storePassword, keyAlias and keyPassword the values entered in previous screen.

Note also “zipAlign true”

apply plugin: 'android'

android {
    compileSdkVersion 19
    buildToolsVersion "19.0.1"

    defaultConfig {
        minSdkVersion 9
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }

    signingConfigs {
        myConfig {
            storeFile file("C:\\Android\\keystore.jks")
            storePassword "abced"
            keyAlias "android"
            keyPassword "abced"
        }
    }

    buildTypes {
        release {
            runProguard true
            zipAlign true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
            signingConfig signingConfigs.myConfig
        }
    }

}

dependencies {
    compile 'com.android.support:appcompat-v7:+'
}

Click on the right corner on Gradle Tab

graddle

and then double click on “assemble”, 3 apk will be create in helloworld/build/apk/

  • helloworld-debug-unaligned.apk
  • helloworld-release.apk
  • helloworld-release-unaligned.apk

Go now to the developer console https://play.google.com/apps/publish/ and create or reuse one of your Google account

You can now upload the file helloworld-release.apk to the shop and start using it.

That was the easy part, so now happy coding!

Move now to more advanced topics by visiting http://developer.android.com/training/basics/firstapp/index.html

You might like also

ALPINE-HACK19--4 –-5-October-2019-300x250.jpg" width="300px" height="250px" alt="ALPINE-HACK19 4 – 5 October, 2019" title="ALPINE-HACK19 4 – 5 October, 2019"/>
ALPINE-HACK19 4 – 5 October, 2019
On October 4th and 5th, the AlpineHack19 will be held, a blockchain-themed hackathon. The opportunity to bring together software developers, hackers, information technology enthusiasts and SMEs to showcase their know-how. The aim for the participants is to develop a functioning open-source software or hardware prototype – solutions that eliminate real problems, for real companies. Blockchain Technology will be the center of all predefined challenges. 24 hours of Innovation, personal development and lots of fun. I will be there as hackathon mentor …
20 Days ago
CryptoMountain Rocks in Sion 3-5 october 2019
CryptoMountain Rocks is a platform for Blockchainers from the Crypto Valley and beyond that offers a very inter-active conference with presentations, panels and talks battles. I will be there 3 days as a speaker and hackathon mentor. The event discusses latest Blockchain applications and talks about the impact of the new token economy on the way we do business. In parallel there will be the first CryptoMountain Rocks ALPINE-HACK19 covering themes such as Agriculture, Energy and Supply Chain. …
20 Days ago
A git workflow that is easy and scale for product development
There are numerous GIT workflow floating around like Centralized Workflow, Gitflow, Forking flow and Feature Branch Workflow Over the last 10 years, I have followed this really simple workflow, similar to the forking flow. it allow Parallel Development, features branches can be merged to any release branches or ideally Master Collaboration Feature branches also make it easier for two or more developers to collaborate on the same feature We consider Master the stable version of the product, this branch should be deployed automatically using …
44 Days ago
Using free Cloudflare for CDN and DDoS protection
Cloudflare, Inc. is an American web infrastructure and website security company, providing content delivery network services, DDoS mitigation, Internet security, and distributed domain name server services.  It will cost you 0$ (DDOS, CDN) to 20$ or more and offer you the following advantages DDoS is short for Distributed Denial of Service. DDoSis a type of DOS attack where multiple compromised systems, which are often infected with a Trojan, are used to target a single system causing a Denial of Service …
44 Days ago
Add Docker container logs in Splunk
With Splunk You will be able to optimize container usage by monitoring CPU, memory, disk and network performance metrics from your containers. Pay only for what you need by managing resources and measuring the impact on service reliability and container resource requirements. Get a complete overview of Kubernetes and OpenShift Environments Correlate performance metrics, container logs and OpenShift/Kubernetes configuration and metadata for a better understanding of how your infrastructure is performing and how hosted applications are behaving. …
44 Days ago
Installing latest Splunk in 5 minutes using Docker
From 0 to Splunk in 5 minutes using Docker and Compose Splunk is an American multinational corporation headquartered in San Francisco, California, which produces software for searching, monitoring, and analyzing machine-generated big data, via a web-style interface. Docker is an open source software platform to create, deploy and manage virtualized application containers on a common operating system (OS), with an ecosystem of allied tools.  Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services. Then, with …
44 Days ago
Explore 142 Initial Exchange Offering  (IEO) by category, year and country
IEO is currently the most popular fundraising trend in the crypto industry. As the name suggests, Initial Exchange Offering is conducted over the crypto trading platform and exchanges. So unlike ICOs wherein crypto projects directly approach investors, IEOs involve a third-party in the form of crypto exchanges. …
138 Days ago
Security Token Offering (STO) statistics
Security token offering (STO) is a type of fundraising that is performed with a company offering tokenized securities. The defining feature of security token offerings is in its definition. Stocks, bonds and managed property trusts are another examples of securities. …
139 Days ago
systematization of knowledge within major blockchain protocols or consensus
Alexis Gauba presented a systematization of knowledge within major blockchain protocols or consensus, addresses the common challenges …
217 Days ago
Stablecoins: Crypto's Holy Grail or Fools’ Errand? by Dr Garrick Hileman
I was attending the interesting LECTURE "Stablecoins: Crypto's Holy Grail or Fools’ Errand?" by Dr Garrick Hileman - Head of reseach at Blockchain - London School of Economics - United Kingdom at hashtagETH hashtagZurich and here is a copy of the slides Introducing: 2019 State of Stablecoins The 2019 report builds on its predecessor to provide an updated and expanded look at the current state of the stablecoin market - a space where we expect to see significant innovation in …
217 Days ago