Mehmet Ethem SULAN :: Android :: How to Installing Google Android and Eclipse Helios on Ubuntu

0

Res1:http://prntscr.com/in6k  Uygulamalar—>Ubuntu yazılım merkezinden JDK yükleyin.

Helios 32 bit
bunu indirip tardan çıkartın.

1

Res2: http://prntscr.com/in6n eclipse isminde bir dosya oluşur içine girin ve eclipse tıklayın

2

Res3:http://prntscr.com/in6t  Eclipseyi çalıştırın ve android plugini ekleyin(Help—>Install new sofware).

Android plugin:


https://dl-ssl.google.com/android/eclipse/

Eğer yukarıdaki 404 yani not found hatasını veririse aşağıdakini kullanın


http://dl-ssl.google.com/android/eclipse/site.xml

4

Res4: http://prntscr.com/in74

Android SDK’yı indirin ve .tgz den çıkartın.

Android SDK

5

Res 5: http://prntscr.com/in7g Windows—>Preferences—>Android  browser dan indirdiğiniz SDK’yı yolunu gösterin.

6 

Res6: http://prntscr.com/in7t Windows—>Android SDK and AVD Manager tıklayın.

7

Res7: http://prntscr.com/in87 Available Packages ten SDK Platform android api for linux seçin.

8

Res8: http://prntscr.com/in8i Indirdikten sonra  Virtual Device—>New AVD oluşturun.

8_1

Res9: http://prntscr.com/in8r Buraya kadar ki işlemler ayarlamayla ilgiliydi.

 8_2

Res10: http://prntscr.com/in8x Yeni bir android projesini oluşturun. ve isim verin.Paket ismi en az iki kelimeden oluşmalıdır.

9

Res11: http://prntscr.com/in9b Oluşan uygulamada şu kodu yazın.

package ethemsulan.com;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class IlkUygulama extends Activity {
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tx=new TextView(this);
        tx.setText("Hello World");
        setContentView(tx);
    }
}

10

Res12: http://prntscr.com/in9s    Run As—>Run Configurations—>Android Application Browser dan çalıştıracağınız uygulamayı seçin(Bunu her seferde yapmak lazım.Hangi uygulamayı çalıştırıyorsak onu belirtmemiz lazım).

11

Res13:http://prntscr.com/inab  Çıktı şu şekilde olur.

12

Res14: http://prntscr.com/inae       3 adımda gerçekleşiyor.

1.adim: plugin ekleme ve android jdk yolunu belirtme.

2.adim: avd managerdan paltformunuz için android api indirip sanal avd oluşturma.

3.adim:Hangi uygulamayı çalıştırıyorsanız onu belirtme.

Comments

There is one comment for this post.

  1. Mehmet Ethem SULAN :: Android :: Radio Group and Button setOnClickListener() Android Example on Mart 19, 2011 9:02 am

    [...] bir palette gelmiş ve kullanımı basit. Eğer Android kurmasını bilmiyorsanız install google android örneğine bakabilirsiniz.Java addActionListener örneğine bakabilrisiniz. Kullanımı [...]

Write a Comment

Let me know what you think?