not able to play file when set data source to the sdcard file

by Marco Nelissen » Tue, 14 Apr 2009 01:01:11 GMT


Sponsored Links
 


The sd card image needs to be a FAT filesystem image, not an ISO image.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. EditText size and virtual keyboard

Hi all.

I am creating a application based on a RelativeLayout.
I am using some EditText to enter some data.
In particular, one of those EditText occupied the place left
by the other components using layout_below and layout_above
attributes.
The problem is that when I enter this specific EditText instance, the
virtual keyboard
shows up, but my EditText becomes invisible.
I tried a few things like adding the minLines and/or minHeight
attributes  on the EditText instance
to try to make sure that a minimum should be visible but it still
becomes invisible.
Funny thing is that other EditText placed just using layout_below are
displaying ok.

You can find below a simple layout allowing to reproduce the problem
easily.

Any help would be appreciated.

Regards.
Olivier.


<RelativeLayout
        android:id="@+id/RelativeLayout01"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:padding="10dip" android:isScrollContainer="true">

        <TextView
                android:id="@+id/subjecttv"
        android:layout_width="fill_parent"
        android:layout_height="260dip"
        android:layout_alignParentTop="true"
        android:text="@string/email_subject"/>

    <Button
        android:id="@+id/send"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_marginLeft="10dip"
        android:text="@string/email_send"
android:drawableLeft="@drawable/mail_send32_32"/>


    <EditText
        android:id="@+id/content"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:minHeight="50dip"
        android:layout_below="@id/subjecttv"
        android:layout_above="@id/send"
        android:background="@android:drawable/editbox_background"
        android:scrollbars="vertical"
        android:gravity="top" android:isScrollContainer="true"
android:minLines="4">
    </EditText>


</RelativeLayout>

--~--~---------~--~----~------------~-------~--~----~

2. raw pcm

Hello,
I need to implement an audio buffer of 2mins duration. which remmebers
only the past 2 mins of audio from the mic. I understand that this is
possible with AudioRecord, but then would it be possivble to conver
this raw PCM data to 3GPP?
Pls help.
Thanks

--~--~---------~--~----~------------~-------~--~----~

3. Cant create tabbed activity.

4. when I click the listview item,and the hint light can focus

5. Contacts GroupU v1.18 is available - easily manage your contacts

6. How to rotate the screen by code ?

7. Listen to Camera Events