"Sebaik-baik waktumu adalah kapan engkau menyadari kekuranganmu, dan engkau pun kembali mengakui kerendahanmu."

Android

 ◊  Native C Application @ Android

Pre:

Building native now is pretty easy, no need to build the android source like before, as google already provide the ndk that gives us a handy tool to go.

I'm using to do this android-ndk-r5-linux-x86.tar.bz2 in my case.

This is the path i use:

source code: /home/dd/android/dev/native
android ndk: /home/dd/android/android-ndk-r5
android sdk: /home/dd/android/android-sdk-linux_86

Do The Story:

Create the initial code named /home/dd/android/dev/native/test.c:

#include  <stdio.h>// printf

 ◊  Mirror android to local git server

Pre:

I'm assuming you already familiar with how gitosis & git working, read my page @ http://www.bekatul.info/content/git-gitosis if you're still out of it.

Setup Do:

1. (mirror-user) Create the android mirror:

$ cd /path/to/local/mirror
$ wget http://android.git.kernel.org/repo
$ chmod +x ./repo

Check out the master branch:

 ◊  Defining Android

Android Platform:

It is the definition of -> "mkdir /android_platform; cd android_platform; repo init -u git://android.git.kernel.org/platform/manifest.git; repo sync; make"

Android Kernel:

It is the definition of -> "mkdir android_kernel; cd android_kernel; repo init -u git://android.git.kernel.org/kernel/common.git; repo sync; export ARCH=arm; make menuconfig; make ARCH arm CROSS_COMPILE=/android_platform/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-"

Or one shot only -> "mkdir android_kernel; git clone git://android.git.kernel.org/kernel/common.git /android_kernel; cd /android_kernel; export ARCH=arm; make menuconfig; make ARCH arm CROSS_COMPILE=/android_platform/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-"

 ◊  Android Native libc Bionic library

Google developed a custom library for the C compiler (libc) called Bionic. This was necessary for three main reasons:

  • License: they wanted to keep GPL out of user-space. Bionic code uses the BSD license.

"Bekatul Port" Personal Enterprise Number (PEN) registered @ IANA OID

ASN.1 Notation: {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 30347}

Dot Notation: 1.3.6.1.4.1.1.30347

IRI Notation: oid:/ISO/Identified-Organization/6/1/4/1/30347

Syndicate content


View Stat Counter