Android :: Application Requiring Large Data Files

Jun 10, 2009

I am working on an android app that needs to act on a few data files totaling around 30MB. I put together a test and the emulator failed with OutOfDiskSpace. Debugging on a device failed with even a smaller data size. After reading through the google groups, it appears that the application size limit isn't stated anywhere and nobody from google has been forthcoming with specifics about this. Given that there are iPhone apps that are over 100MB in size, putting such a small limit on Android apps seems weird, except just for the fact that you have a relatively small amount of total available app storage space (< 100MB).What techniques do you use to deal with this limit? If you have an app that needs more than 10MB, do you put it on a web server and deal with downloading it the first time? If so, how do you handle access control so that only your app can get the data?

Android :: Application Requiring Large Data Files


Android :: Any Application For Handling Large PDF Files?

Jul 20, 2010

I am looking for an application that can handle large PDF files smoothly. I have tried adobe reader, pdf viewer and RepliGo. They were not very impressive, therefore I have come here for suggestions. Repligo reader I think was better out of the three but I couldn't view a PDF file that had scanned images on it. Was hoping someone could recommend an app that could handle large PDFs and PDFs that contained scanned images.

View 2 Replies View Related

Android :: Large Screen On 1.6 - All XML Files Of Layouts In Layout-large Can't Load

Oct 23, 2009

I want make it support multiple screens(small,normal and large).I am 100% sure the all of layouts are working perfectly now, but large screen,the problem is that all XML files of layouts in layout-large can't load,The platform always load default XML file(these are under layout folder) at large screen environment.

View 4 Replies View Related

Android :: One Application Requiring Another / Service?

Mar 24, 2009

I'm writing an app that needs one or more applications/services that are distributed with their own seperate apk file. I'm writing a user-app that allows the user to upload pics using a service. The service can be used by multiple user-apps, not just mine. I'd like to have the service being installed in its own apk, instead of bundling it with each user-app. Has anyone had experience with this scenario? What is the best scenario i should implement so that the user downloads the service that the user-app needs? Can be this be done automatically (that would be best)? If not, in your opinion, what would be the most user-friendly way for doing so?

View 4 Replies View Related

Android :: Approach To Cache Large Amount Of Textual And Audio Data / In Android Application

Jul 13, 2010

We are supposed to cache textual and audio data in our application until device is booted or maximum of two days, whichever happens earlier. To get a perspective on data to be cached, note that we are to store about 200 text headers containing around 10 fields, each of length 30 bytes and about 20 sound files each about a minute long.We are getting the textual data by parsing XMLs and then we keep them in ArrayLists. The sound files are directly written inside the app storage using File I/O (and not on SDcard or Apps Cache directory).This application is to be run on devices running Android 1.5 or later.I understand, and please correct me if I am wrong, that we can cache the files either on SDcard or inside the application or inside applications Cache directory.

View 2 Replies View Related

Android :: Prevent Application Requiring LED Or Camera Flash From Android Marketplace

Mar 11, 2010

Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a camera flash /LED? Typical apps are ones which make the phone act like a torchlight in dark. I have seen a tag which prevents apps requiring auto focus in a camera from appearing in the marketplace. Just looking to find out if there is something similar for camera flash.

View 2 Replies View Related

Android :: Create Files Hierarchy '/data/data/pkg/files' Directory

Dec 11, 2009

I try to create 'foo/bar.txt' in Android's /data/data/pkg/files directory.

It seems to be a contradiction in docs:

To write to a file, call Context.openFileOutput() with the name and path.

http://developer.android.com/guide/topics/data/data-storage.html#files

The name of the file to open; can not contain path separators.

[url]

And when I call

this.openFileOutput("foo/bar.txt", Context.MODE_PRIVATE);

exception is thrown:

java.lang.IllegalArgumentException: File foo/bar.txt contains a path separator

So how do I create file in subfolder?

View 2 Replies View Related

Android :: Avoiding Compression On Large Files

Sep 29, 2010

Apparently you can't have a file in "assets" larger than 1MB (except for certain file types) because it's considered too large to uncompress. But I'm finding mixed info about how to circumvent this limitation. Some say that you can put the files in "raw" and avoid the limitation but others say that files in "raw" are compressed too.And there's the -0 aapt option that can be used to turn off compression for certain file types, but there's no way to specify aapt options in Carbide. I realize that I can break the file into pieces, but that's error- prone on both ends.And using one of the known uncompressed file types not only confuses things but also runs the risk that the Android PTB will decide to start compressing that file type.

View 6 Replies View Related

Android :: Upload Large Files On Web Server

Jul 30, 2010

I want to upload files on a web server in my android app.Currently i am able to upload files around 5mb from the device but more than this gives a outofmemory exception and also makes app very unstable.i am looking for a method using which we can upload the data in the app background plus of bigger size.

View 4 Replies View Related

Android :: App To Zoom In On Large Image Files?

May 1, 2010

I'm using the stock Android 2.1 gallery to view images. I have a large JPG image (approx 7000x7000 pixels) of bicycle route map for my city. I tried zooming and scrolling with the gallery image viewer, but it cannot zoom in close enough to read the map detail.

Is there a better image viewer app out there that is good for zooming and scrolling large JPG images?

I would like to use Google maps, but the bicycle route mode still does not work in the Android app.

View 2 Replies View Related

Android : How Can I Download Large Files On Incredible?

Jul 14, 2010

I've tried downloading/transferring several files to my incredible over 3g. Tried downloading a couple times through the stock browser and also i've tried downloading through dropbox but every time the download gets randomly interrupted sometime between when 20mb - 100mb is done. I am not getting any calls or texts or anything that would interrupt it - it seems like the phone is going to sleep in the middle of the download or something. The files I am trying to transfer are approx 200mb .MP4 files and .MP3 files. Anyone know how to fix this problem and/or know of an app that will let you download or transfer large files from my home computer or from HTTP through my web host? On my BB Storm I had to use opera browser to download large files so maybe a different browser would work?

View 1 Replies View Related

Android :: Eclipse Fails To Build Workspace On Large Files?

Jul 9, 2010

i have a severe problem with eclipse, where i need to compile a somewhat larger class. by "larger" i mean, the class has about 5000 lines of code... problem is that on saving this project, eclipse takes several seconds (30-40) to "build the workspace". to be exact, it says "50%" and keeps saying that for 30-40 seconds. then, it breaks with the following error:

[console]:
[2010-07-09 15:28:39 - Dex Loader] Unable to execute dex: null
[2010-07-09 15:28:39 - myProject] Conversion to Dalvik format failed: Unable to execute dex: null
[problems window]:

Conversion to Dalvik format failed: Unable to execute dex: null this error is reproducible and keeps popping up until i comment out several thousands LOC, so that the file still has this 5k LOC, but ~2000 of them are comments. THEN it works...

i know that 5000 LOC are no really good programming style, but i need to do it this way for now ... (i have to write this much records to a sqlite database and since sqlite doesnt feature multiple sql-queries in one rawQuery-command i have to execute a single rawQuery() for each and every data record i need to push into the db.... - until i write a file reader to read this data from a file (that needs verification etc)), i'm stuck with this solution...)

View 1 Replies View Related

Android :: Include Large Videos Files In Droid Applications?

Jul 2, 2010

I was wondering if the Android had any limitations that would prevent 300+ MB's worth of videos to be included in the application?

Currently, I have several iPhone apps that do this, and due to demand, I am looking at the possibility of porting them over to the Android.

View 3 Replies View Related

Android :: Best Approach To Transfer Large Video Files Into Byte Array?

Apr 8, 2010

Please could anyone suggest an approach for transferring a >2MB video from a ContentResolver into a Bytestream, without running out of memory?
See question: http://stackoverflow.com/questions/2599305/android-outofmemoryerror-w...

Here's the current code, which throws an OutOfMemoryError on the byteBuffer.write(buffer, 0, len) line when transferring large videos:

// get bytestream to upload videoByteArray = getBytesFromFile(cR, fileUriString);
public static byte[] getBytesFromFile(ContentResolver cR, String fileUriString) throws IOException { Uri tempuri = Uri.parse(fileUriString);
InputStream is = cR.openInputStream(tempuri);
byte[] b3 = readBytes(is); is.close(); return b3;
}

View 18 Replies View Related

Make Large Library Of Files Available Through App?

Jun 21, 2012

I'm looking to make a large library of files available through an app. (nearly a 3gb folder and growing.

User would download the APP and then have access to an ever growing library of files they can then choose to download whatever they want from it.

Can this be done by a simple RSS reader?

I don't want the files available to anyone without the app installed. It would only be a text list of the files, clickable to download.

View 1 Replies View Related

Android :: Large Data File / How To Deal With It?

Dec 10, 2009

My application needs to intensively manipulate (read-write) on some structured text data.The size of the data is significant 1Mb. And there is initial data available for the user to start with.My idea is to put this data as a file in the .apk. Then, on initial application launch to read this data and populate Android SQLite database with it. Then just work with this database. But after the database is populated the data file is no longer needed. And I'd like to remove it to free some memory. Alternate approach is to work with this data file instead of SQLite database. But I assume SQLite would work a magnitude faster then i/o on my data file..

View 16 Replies View Related

Android :: Deploy Large DB With APK To Import Data?

Jan 21, 2009

My application may consist og 100Kb code and 800 Kb Database content. If I include a datafile with the 800Kb data and import it into an SQLite database under the initial run of the applcation, I cannot delete the data file afterwards and my application will take up 800 Kb unnecessarily. Is there a better way to include/import my data....? (I want my application to not depend on being online after download - so the data should be downloaded with the application.

View 14 Replies View Related

General :: How To Download Large Files By Phone

May 12, 2012

How to download large files over 100MB by phone.

View 9 Replies View Related

Android :: How To Pass Large Amount Of Data During StartActivityForResult

Nov 3, 2009

From one activity, I want to pass a lot of data (about 1MB of Strings).I tried sticking it in Intent.putExtra(ArrayList<String>), but if I put in too much data, I get "FAILED BINDER TRANSACTION".What's the easiest way? I don't want to publish a service, or use the file system. I really want a pipe that can write data from one end and read it from the other end. I can handle the case where the starter Activity dies while the "startee" activity is trying to read from the pipe.

View 6 Replies View Related

Android :: Inserting Large Volumes Of Data Into SQLite

Sep 2, 2009

I need to insert approximately one million rows of data (spread over 4 tables) - each row has one or two numeric fields, and two or three text fields (normally quite short). Single-column indexes on all the fields. After doing some tests on the emulator with a small test set, I extrapolated (assuming the last row will be inserted with a similar speed to the first row) my results to figure out that this would take about 15 hours (I have a Core 2 Duo running Vista). However, then I tried running the small test set on my Hero and I was surprised to see it run more than four times faster. I would guess it would take about 3 hours on the Hero. Alternatively, I could make the pre-populated database available as a download on the first run but this is likely to be a 120MB download. I have a few questions I'm hoping someone can help me with: 1. SQLite performance on the actual device being 4-5 times faster compared to the emulator - is this normal/expected? 2. Do the figures above generally sound fast/slow/normal (sorry this is so vague)? 3. From a user perspective - would it be best to provide a 120MB download or a 3 hour "first-time initialisation" step (plus 6MB download)?

View 14 Replies View Related

Android :: SQLite Handle Large Amount Of Data?

Jun 26, 2010

I will be making a mobile application in Android. My application is like Google Map's Get Direction feature, but a lot more complex, so I need to store data about points in the map. So I'm worried that SQLite may not be able to handle these large amount of data(or considering the limited storage of the phone). I have no background in SQLite so please bear with me.

View 3 Replies View Related

Sprint HTC Hero :: Problems Sending Large Files

Dec 22, 2009

I've been havng trouble emailing pictures with my HTC hero ("unable to send mail" notices) and wonder if others have had similar experiences. The problem seems to be worse with anything greater than the lowest resolution. Even 400kbyte pictures are a problem. I assume this is just a file transfer problem, not a camera app problem (the app from which the file is mailed). Mails w/o attachments go thru 100% of the time.

I spoke with someone at sprint today, and the first thing they told me was that I need to have at least three bars of signal strength, then I was told that higher resolution pictures can't be sent from the hero.

Given that Sprint does not have more that two bars in most of northern new jersey, this is a bit of a problem. If this is true, I don't think they should be calling this a data service.

For the most part, internet browsing and even video like youtube and TED work fine, and most the time I can get an EVDO connection.

Playing with it a bit, it looks to me like the issue is maintaining a solid data link to upload the file. I'd expect better with a TCP/IP connection, as I've had some experience designing that sort of thing. Late at night, if I get two bars and set the phone down so the signal strength does not waver, I can generally send even a 5 mpixel picture that's nearly 1000k.

I've tried this with the mail set to allow up to 1000k transfers and with no limit on transfer size, and that has no effect.

Some specific questions I have are:

1) Are others having this problem?

2) Anybody have a solution?

3) Anybody notice if it's network congestion related?

4) Anybody know anything about messing with the TCP/IP settings like timeouts and retrys to hold a connection on a spotty rf network?

View 2 Replies View Related

Android :: Binding List Views To Large Data Sets

Feb 1, 2010

I need to be able to scroll through a list with (up to) 20K rows, backed by a cursor on a read-only db. Testing 20K rows on a G1, the query takes approx .02s regardless of table size, while binding the adapter to the list takes 4.5s. Note that this is before the view calls used in rendering. What makes the binding delay more troublesome is that it blocks the UI thread, and is incurred on every rotate. Combine these, and doing a rotate just after starting the bind results in a delay up to 9s.

I tried lazy loading with a base adapter, but that hits the same delay in the underlying cursor.getCount(), and the overall user experience isn't ideal. I also considered using an ArrayAdapter, adding synthesized objects from the cursor rows, but then I'd incur the overhead of creating up to 20K objects (not to mention the additional memory requirements).

View 18 Replies View Related

Samsung Captivate :: Enable Uploading Of Large Files With 3g Instead Of Wifi

Jul 26, 2010

I want to be able to upload my large 100mb recorded hd video to youtube via carrier's 3g connection instead of wifi when I don't have wifi available. It pops up with a message saying you must be connected to wifi in order to upload large files. Anybody know how to enable this feature?

View 1 Replies View Related

Android :: Java.lang.OutOfMemoryError When Download Large Data From Website

May 30, 2010

when i download large data from website, i got this error information:

I/global (20094): Default buffer size used in BufferedInputStream constructor.
It would be better to be explicit if an 8k buffer is required.
D/dalvikvm(20094): GC freed 6153 objects / 3650840 bytes in 335ms
I/dalvikvm-heap(20094): Forcing collection of SoftReferences for 3599051-byte al
location
D/dalvikvm(20094): GC freed 320 objects / 11400 bytes in 144ms
E/dalvikvm-heap(20094): Out of memory on a 3599051-byte allocation.
I/dalvikvm(20094): "Thread-9" prio=5 tid=17 RUNNABLE
I/dalvikvm(20094): | group="main" sCount=0 dsCount=0 s=0 obj=0x439b9480
I/dalvikvm(20094): | sysTid=25762 nice=0 sched=0/0 handle=4065496

View 1 Replies View Related

Media :: Upload Large Video Files To Facebook From Original Droid

Nov 3, 2010

I Have some long videos (2-5 minutes). I have tried sending them through email, and tried uploading them directly to facebook. When I try this it says the file size is too large. How can I get them to facebook?

View 3 Replies View Related

General :: Battery Life Would Be Affected By Playing Large Music Files?

Mar 23, 2012

I've been watching my battery life recently as I hate my phone dying during the middle of the day and was wondering if battery life would be affected by playing large music files?

I listen to spotify quite a bit and haven't really noticed my battery severely affected by playing music for a long time but this week I was listening to a podcast which was 160MB (2Hr music podcast if you were wondering) and my battery life plummeted. This would also correlate then to why my battery life plummets when listening to other large podcasts.

View 4 Replies View Related

Android :: Large File Upload Application

Mar 16, 2010

I need to send files as large as 80 MB, but usually in the 15-25 MB several times every day. I use YouSendit, Megaupload and the like on my laptop. Would be a HUGE help if I could simultaneously upload from my Android phone. It has to be able to handle a folder. Basically, a folder full of pictures.

View 1 Replies View Related

Android :: Samsung Galaxy Tab Not A Large Screen From Application

Oct 5, 2010

I have layout issues in my application on Samsung Galaxy Tab. It has a 7" TFT display with 1024x600 resolution.

Galaxy Tab prefers images in "res/drawable-hdpi" to the ones in "res/ drawable". That is understandable. However resources in "res/layout" are used instead of the ones in "res/ layout-large". Does it have a logical explanation? Or what am I doing wrong?

What is a large screen for Android?

CODE:.......................

View 10 Replies View Related

Android :: Way To Deploy Large Database With Droid Application

Feb 11, 2010

I am in need to write an application for Android devices that needs to access a large (~200MB) database.
What would be the best way to do this? Can I just stick the database in the assets folder? I have read of various limitations that apply to the entire application size and to individual resources within, especially on some devices... What are exactly these limits?

Is there any way to do this apart from a post-installation download from an external server?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved