In this article, I will try to explain how to update Facebook user wall with image. For this post request, firstly you have to create a Facebook App and select how your app integrates with Facebook. You can create a new app

Continue reading »

Tagged with:
 

There are samples for StackView Widget but there is not non-widget version. In this tutorial, a non-widget sample for StackView will be explained.

Continue reading »

Tagged with:
 

As known, android is based on Linux kernel however in this article, we wont deal with kernel. We will try to discover android initialization (particularly zygote)  step by step after the kernel is done.

  • init,  source can be found in /system/core/init/init.c, is started first after the kernel finished his job.(init’s pid is 1)
  • init process parces the init.rc file which has a specific format called the Android Init Language and sets up the system according to init.rc. There is a readme file that gives information about Android Init Language in the /system/core/init folder. Services are started and system properties are set according to init.rc file.  Also zygote, java and native services started.
  • This is the line about zygote in init.rc file

service zygote /system/bin/app_process -Xzygote /system/bin –zygote –start-system-server

  • “app_process” source code can be found in “frameworks/cmds/app_process/app_main.cpp”.  ”app_process” calls the static main function in ZygoteInit.java class(frameworks/core/java/com/android/internal/os/)

runtime.start(“com.android.internal.os.ZygoteInit”, startSystemServer);

  • ZygoteInit.java’s static main function starts the system server by calling “startSystemServer()” function if proper parameters given. Then “startSystemServer()” calls the static main function of SystemServer.java class(frameworks/base/services/java/com/android/server).
  • SystemServer.java’s static main function firstly call native “init1()” function. “init1()” is defined in “android_servers” library function and “init1()” is registered in “frameworks/base/services/jni/com_android_server_SystemServer.cpp” to call “system_init()”
  • “system_init()”  is defined in “/frameworks/base/cmds/system_server/library/system_init.cpp”. In “system_init()” function, native services(SurfaceFlinger, AudioFlinger, Camera, MediaPlayer),  Androidruntime is started and “init2()” function in SystemServer.java is called.
  • “init2()” function creates a thread that starts all critical services(PowerManager, ActivityManager, Battery, Vibrator,Connectivity, etc.). Lastly “ActivityManagerService”’s “systemReady()” function is called to run third party code.

Ahmet Oguz Mermerkaya - Olcay Ay

Tagged with:
 

Android Developer Days is an organization that people, interested in Android and mobile technologies, get together and share their knowledge and experiences. Android Developer Days will take place in METU Cultural and Convetion Center in Ankara, Turkey on May 21 / 22 . There will be parallel sessions in two halls and one workshop hall in the organization.

In Android Developer Days, there will be presentations, tutorials and workshops. If you want to share your knowledge and experience about the subjects below, we are inviting you to share them in Android Developer Days. Moreover we appreciate all different ideas and papers beyond subjects below. More information is available on web site

Continue reading »

 

In this document we will try explain how to build a custom android device. We used Ice Cream Sandwich ( 4.0.3 ) for this tutorial. We assume that you already download the latest version of android.

0. Create a working directory ics and download the latest source code to this directory. If you don’t know how to do that please check this page.

1. First of all we need a vendor directory in the ics directory. If it doesn’t exists in the source directory you have to make it manually.

droidos@ubuntu:~$ cd ics/

droidos@ubuntu:~/ics$

droidos@ubuntu:~/ics$ mkdir vendor

Continue reading »

This extension is a kind of mashup (Wikipedia Mashup). If you have an WordPress based website and you want an extension for your web site, you can start to use this extension after doing necessary changes in settings. The key feature is that, we used “JSON API” WordPress plugin. This plugin allows you to get WordPress content JSON format. This extension gets JSON data from your WordPress website with the help of JSON API plugin and manipulates raw data with jQuery.

Please follow link to download extension files: Gtug Ankara Google Chrome Extension Files

Please follow link to install extension: Ankara Gtug Chrome Extension

If you want to use this extension, you need to do some changes, please follow directions:

Continue reading »

Tagged with:
 

Firstly, let me say that this document is an abstract information which is available in pdk documents. Secondly, you may want to look at the post that tells how to build Android source code.  And now, we can start, at a first glance to Android source codes, we see that applications, libraries, components in framework have Android.mk files in their specific directories. These Android.mk files defines how to build that source code. There are well defined specific rules for Android.mk files. Let me summarize them.

Continue reading »

Tagged with:
 

makefile is very important topic in software development. If you don’t use any IDE like Eclipse,
NetBeans, QT, Visual Studio ..etc, you should know how to create and edit makefiles. Even if
you use an ide that create and modify makefiles automatically for you, you can be sure that one
day you will need these informations.

makefile is a very comprehensive topic. I tried to mentioned about only important part of the
makefiles. I tried summarize the hot topics as far as i can. I started from how to generate
executable and object files from source codes. After than i try to explain what’s a makefile and
why we need makefiles with very simple projects. I hope this tutorial will be helpful for all you.

Continue reading »

Tagged with:
 

118 Andro makes you easily access yellow and white pages for landlines in Turkey.  In other words, people’s and companies’ landline numbers can be queried by 118 Andro.  118 Andro can be downloaded from Android Market

Continue reading »

Tagged with:
 
IT Security Student Community in Kadir Has University organized an Android programming seminar on December, 8 in Cibali Lounge. Speaker was  Ahmet Oguz MERMERKAYA one of member of Ankara GTUG.

http://www.facebook.com/events/190509481036147/

Tagged with: