Şimdi Ara

adres yerine google maps konumu kullanma??

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
1 Misafir - 1 Masaüstü
5 sn
3
Cevap
0
Favori
340
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Merhabalar , cep telefonu için uygulama yazıyorum. Şöyle bir sıkıntım var .Kullanıcı form doldururken adres yazması yerine konum bilgisini eklemesini istiyorum.Formu doldurduktan sonra da tamam butonuna bastığında mail olarak gönderilmesini gerekli. Konum bilgisini nasıl ekleyeceğim ? Bu bilgileri mail adresimde görebilecek miyim?



    < Bu mesaj bu kişi tarafından değiştirildi dimo -- 6 Mart 2015; 8:59:28 >



  • selam dimo, cevap biraz geç olacak ama :)

    konum bilgisinden adrese mi ulaşmak istiyorsun?
    konum bilgisi tek başına sana kullanıcının enlem ve boylam değerlerini verir. bu bilgileri maps.google da aratarak konumu görebilirsin.



    < Bu mesaj bu kişi tarafından değiştirildi phurba -- 16 Nisan 2015; 10:31:15 >
  • Öncelikle hızlıca cevap verdiğiniz için teşekkür ederim. Verdiğiniz kodu İmage button için değiştirdim ve borderless yaptım. Kod aşağıdadır
    <?xml version="1.0" encoding="utf-8"?> 
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="16dp" >

    <LinearLayout
    android:layout_above="@+id/socialMediaButtons"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" >

    <LinearLayout

    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="2"
    android:orientation="horizontal" >

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:layout_gravity="center_vertical" />

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="8dp"
    android:layout_weight="1" />
    </LinearLayout>

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="2"
    android:orientation="horizontal" >

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1" />

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="8dp"
    android:layout_weight="1" />
    </LinearLayout>

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="2"
    android:orientation="horizontal" >

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1" />

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="8dp"
    android:layout_weight="1" />
    </LinearLayout>

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="2"
    android:orientation="horizontal" >

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1" />

    <ImageButton
    android:src="@drawable/buton"
    style="?android:attr/borderlessButtonStyle"
    android:id="@+id/btn8"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="8dp"
    android:layout_weight="1" />
    </LinearLayout>
    </LinearLayout>

    <LinearLayout
    android:id="@+id/socialMediaButtons"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_centerHorizontal="true"
    android:gravity="center"
    android:orientation="horizontal" >

    <Button
    android:id="@+id/btnFb"
    android:layout_width="50dp"
    android:layout_height="50dp"
    android:layout_weight="1" />

    <Button
    android:id="@+id/btnTw"
    android:layout_width="50dp"
    android:layout_height="50dp"
    android:layout_marginLeft="8dp"
    android:layout_weight="1" />
    </LinearLayout>

    </RelativeLayout>


    Android Studio da tasarım ekranında butonlar ortaya yakın bir yerde başlamasını ve en alta kadar gitmesini istiyorum.Design ekranında herşey normal gözükürken. Virtual Machine çalıştırdığımda ekranı kaplıyor nerdeyse Resim 1 Menüyü hazırlarken kullandığım buton Resim2 Olmasını istediğim şekli Resim3




  • Yapay Zeka’dan İlgili Konular
    Daha Fazla Göster
    
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.