1. Përshëndetje dhe mirësevini në forumin e Itshqip.com
    Nëse akoma nuk jeni pjesë e IT komunitetit më të madhë Shqiptarë nga fusha e Teknologjisë Informative, ju ftojmë që të bëheni pjesë e këtij komuniteti që tani duke u regjistruar këtu - procedura është shumë e thjeshtë dhe e lehtë. Gjithashtu ju mund të regjistroheni edhe përmes rrjetit social Facebook, Twitter, Google+.

Ndryshim ne nje aplikacion android.

Tema tek 'Programim' e hapur nga Lodvald, 27 Nëntor 2022.

  1. Lodvald

    Lodvald Anëtar Legjendë

    Postimet:
    2,261
    Pëlqimet:
    628
    Pikë nga trofetë:
    258
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <EditText android:id="@id/etPlaylistUrl" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/pref_general_summary_playlist" android:ems="10" android:inputType="textUri">
                <requestFocus />
            </EditText>
            <ImageButton android:id="@id/ibFolder" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
        <RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <RadioGroup android:orientation="horizontal" android:id="@id/lvPlaylistFormat" android:layout_width="wrap_content" android:layout_height="wrap_content" android:checkedButton="@id/rbM3U" android:layout_toLeftOf="@id/cbVOD" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
                <RadioButton android:id="@id/rbM3U" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/playlist_format_m3u" />
                <RadioButton android:id="@id/rbXSPF" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/playlist_format_xspf" />
            </RadioGroup>
            <CheckBox android:id="@id/cbVOD" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" android:text="@string/playlist_vod" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
        </RelativeLayout>
        <EditText android:id="@id/etName" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/text_playlist_name" android:singleLine="true" />
    </LinearLayout>

    dua te plotesoj url ne nje android apk , qe kur klienti ta instaloje kete apk te jet url e plotesuar.
    ketu posht ku thot URL or file path .

    apliakcioni quhet perfect player . besoi se e kam gjet filen perkates esht ai me lart por nk po di me deklaru ne default value per kete .

    [​IMG]
     
  2. Lodvald

    Lodvald Anëtar Legjendë

    Postimet:
    2,261
    Pëlqimet:
    628
    Pikë nga trofetë:
    258
  3. tupac.al

    tupac.al Anëtar Aktiv

    Postimet:
    419
    Pëlqimet:
    473
    Pikë nga trofetë:
    123
    Nderro vetem text DEFAULT-URL me tenden. Kjo eshte dicka e thjeshte, por varet si e interpreton aplikacioni nga logjika qe ka apliku developeri.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <EditText android:id="@id/etPlaylistUrl" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/pref_general_summary_playlist" android:ems="10" android:inputType="textUri" android:text="DEFAULT-URL">
                <requestFocus />
            </EditText>
            <ImageButton android:id="@id/ibFolder" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
        <RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <RadioGroup android:orientation="horizontal" android:id="@id/lvPlaylistFormat" android:layout_width="wrap_content" android:layout_height="wrap_content" android:checkedButton="@id/rbM3U" android:layout_toLeftOf="@id/cbVOD" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
                <RadioButton android:id="@id/rbM3U" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/playlist_format_m3u" />
                <RadioButton android:id="@id/rbXSPF" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/playlist_format_xspf" />
            </RadioGroup>
            <CheckBox android:id="@id/cbVOD" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" android:text="@string/playlist_vod" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
        </RelativeLayout>
        <EditText android:id="@id/etName" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/text_playlist_name" android:singleLine="true" />
    </LinearLayout>
     
  4. Lodvald

    Lodvald Anëtar Legjendë

    Postimet:
    2,261
    Pëlqimet:
    628
    Pikë nga trofetë:
    258
    e kam ba prov keshtu por nk ben , nk e ruan :(
     
  5. Lodvald

    Lodvald Anëtar Legjendë

    Postimet:
    2,261
    Pëlqimet:
    628
    Pikë nga trofetë:
    258
    mbase sesht ky file pergjegjes per kete pune :(
     

Shpërndaje faqen

Loading...