Quantcast
Channel: BTSoru.com - Bilisim ve Yazilim Teknolojileri Soru/Cevap Platformu - latest questions
Viewing all articles
Browse latest Browse all 4270

Android Dokunmatik Ekran Oluşturma

$
0
0

private String TAG = GestureActivity.class.getSimpleName(); float initialX, initialY;

@Override
public boolean onTouchEvent(MotionEvent event) {
    //mGestureDetector.onTouchEvent(event);

    int action = event.getActionMasked();

    switch (action) {

        case MotionEvent.ACTION_DOWN:
            initialX = event.getX();
            initialY = event.getY();
            AllocationAdapter imageView = null;

            imageView.setX((int) initialX);

            imageView.setY((int) initialY);

            Log.d(TAG, "Action was DOWN");
            break;
    }

    return super.onTouchEvent(event);
}

Arkadaşlar bu kodu yazdım ama çalıştırınca duruyor program neden yanlış mı?


Viewing all articles
Browse latest Browse all 4270

Trending Articles


BBasTTuuHHaaNN


Korunma zirhi


Sübhanallahi milel mizan


gaipten altın ve para getirmek için


9999 Adet innâ fetahnâ leke fethan mubinâ


Cin çağırma


İrsali hatif


Ya Cebbar;Yâ Cebbar c.c:Dilediğini zorla yaptırmaya


Karia Suresi ile Celb


Ve huvel kaviyyul azîz


Havasta Açık Kapalı Günler


Taslit ve Darp


Musallat için


Cinleri Kovma Babı


Muhabbet Ve Cimaya Kuvvet


Hizbul Vikâye (Koruyucu Dua) Ruhsal Yükselme ve Korunmak


SCCM 2012 Client Installation issue


Karanfil ve Surei İhlas ile CELB


Şura Suresi 19. Ayet Mucizesi


Sıkıntıyı gideren Ismi Celil duası