24MB in RAW folder -- when running showing "INSTALL_FAILED_INSUFFICIENT_STORAGE"

by Nithin » Tue, 10 Mar 2009 13:06:23 GMT


Sponsored Links
 Hi,

We have 10 mp4 files, total size is about 24MB. We put all in RAW
folder and tried to run, but its showing "insufficient storage". What
is the solution for this, please guide me in this ?? Whether we can
put these files in SDCard or anywhere else ??

Thanks
Nithin
--~--~---------~--~----~------------~-------~--~----~



24MB in RAW folder -- when running showing "INSTALL_FAILED_INSUFFICIENT_STORAGE"

by MrSnowflake » Wed, 11 Mar 2009 21:29:29 GMT


 I don't think you can put them on the SD by installation. I think you
have to make an 'installer' which downloads the mp4 files from the web
and saves them to sd.



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


Sponsored Links


24MB in RAW folder -- when running showing "INSTALL_FAILED_INSUFFICIENT_STORAGE"

by Nithin » Fri, 13 Mar 2009 12:38:28 GMT


 Thanks Snowflake..

I want to look into installer...

Thanks
Nithin




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



Other Threads

1. Saving ArrayList to .txt file

Hi,

I am trying to save an array list to a .txt file below is the code I
am using, which runs without error but when I try to go to Astro file
manager and browse the data folder there is nothing there.

String filename = stationname.getText().toString() +
System.currentTimeMillis();

        FileOutputStream fos = openFileOutput(filename,Context.MODE_PRIVATE);
        ObjectOutputStream out = new ObjectOutputStream(fos);
        out.writeObject(report); //Report is the ArrayList that holds each of
my station Reports.
        out.close();

Any advice would be greatly appreciated.

Thanks for your time,

Tommy

-- 

2. ListView items cut off in 1.5, but not 1.6+

Hi folks,

I have the following layout which defines a "cell" for my list view.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@+id/CellRLayout"
  android:background="@drawable/cellselector"
  android:minHeight="44dp">
        <ImageView android:id="@+id/CellImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_marginLeft="4dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true" android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"/>
        <TextView android:id="@+id/TextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:textColor="#000000"
android:layout_gravity="left|center_vertical"
android:layout_marginLeft="4dp" android:layout_marginRight="4dp"
android:layout_centerVertical="true" android:layout_toRightOf="@+id/
CellImageView" android:layout_toLeftOf="@+id/CellAccessoryView"
android:typeface="normal"/>
        <ImageView android:id="@+id/CellAccessoryView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:background="@drawable/
arrow" android:layout_alignParentRight="true"
android:layout_centerVertical="true" android:layout_marginRight="8dp"/
</RelativeLayout>

So the cell is an image on the left side, some text, and then on the
right side a small arrow.  They're all set to center vertically.

On 1.6 or higher these cells show up perfectly.  On the emulator built
with 1.5 though the two images and text are cut in half vertically.
It looks like it would look if their "origin" was moved to the center
of their view rather than the top left of their view.

Can anyone tell me what I might have configured incorrectly to cause
this?

I create the cells in the getView() method for my custom adapter.  I
inflate them like this:

LayoutInflater inflater = getLayoutInflater();
row = inflater.inflate(R.layout.mycell, parent, false);

I then make use of the wrapper concept, and set the appropriate image
and text for the cell (also done in getView() before returning the
view).

Thanks,

Robert Hawkey

-- 

3. Transparent Text Field?

4. Changing Launch activity seems to not work on Update

5. Changing Launch activity seems to not work on Update

6. hw home screen works.?

7. How to push a screen to background, without destroying the Surface?