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.

Android :: Avoiding compression on large files


Android :: Avoiding Image Compression On Some 3G Networks

Jul 3, 2010

I want to download an image from the 'net and set it as the users background. This works great over wi-fi, and some 3G networks, but others (T-Mobile UK, for sure) seem to compress the images before sending them. This effect is noticeable when using the browser, too - however, if you long press on an image and save it, when viewing in the gallery it is either not compressed at all, or substantially less so. I want to be able to do this in my own app.I assume it has something to do with the HTTP headers, but of the ones I've modified, none has made a difference.

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 :: 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 :: 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 :: 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?

View 2 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

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

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

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

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 :: Android Pdf Reader For Large Files - Like Goodreader

Oct 2, 2010

I've had a look at the existing PDF readers,

I've tried Repligo which amazingly doesn't seem to allow full screen, and also seems a little - blurry? At least it remembers what page I'm at.

The Adobe reader seems to render oddly when I zoom in - doesn't remember where I am in huge files when I close the program, and is generally really short on options.

I'm used to Goodreader on the iphone - that had cropping, you could lock your zoom level so you could freely scroll around without having to readjust for columns - it was just really good. Is there anything like that?

View 8 Replies View Related

Android :: How To Disable Asset Compression In Eclipse Builds?

Sep 12, 2010

Does anyone know how to disable asset compression in eclipse builds? In other words, how to cause the -0 flag to be set on aapt?This is in order to put in a >1MB asset file, which requires compression to be turned off.

View 4 Replies View Related

Android :: Save Bitmap As JPEG - Always With Low Compression Level

Aug 19, 2009

I am trying to save a bitmap in a JPEG format, and i can see that the image is always stored with a lower quality even if i give the compression level as 100, however for PNG it is working fine. Similarly during Media.insert() or getContentResolver().insert() the image is stored with a lesser quality, I can see in that the compression level is 50 in the Media.java, however I tried to create my own method for the same function with quality 100.

View 3 Replies View Related

Android :: Media Insert Image Locked To Heavy Compression

Jun 20, 2010

So from what I can tell Media.insert Image is locked to heavy compression on all images. This includes when passing in the path to a photo in the filesystem. As a test I used a 3000x2000 pixel jpg which had been previously saved at maximum quality and was ~6MB. After passing the path to Media.insert Image, the resultant copy (still 3000x2000) is 623KB. I passed in another copy of the 3000x2000 image, this one compressed down to 393KB. After Media.insert Image, the image filesize is 492KB. I'm wondering if there's a way to specify the compression when images are saved by insert Image. I'm also wondering why this is recompressing jpgs, rather than simply copying them into DCIM. A side-effect of opening and re-compressing these images is that it imposes a rather low VM cap on what insert Image can handle. I'm getting out-of-memory errors when trying to pass the path of a 10 megapixel image.

View 5 Replies View Related

HTC Incredible :: Mms Compression Fix

Oct 28, 2010

First i want to say im running the Redemptive rEVOlution rom and i dont know if this will work on roms with the incredible framework, i think it might.I installed a zip from Calkulin over on the xda evo forum for a compression fix for mms. If the pic is not over the size limit, it wont be compressed anymore. I have just sent about ten pics in a row ranging from 550kb up to 1.1mb and they all went through without compressing! I take no credit for the mod. All credit goes to calkulin over at xda.I found it very annoying that every pic would get compressed. Glad to find a fix for that. BIG. THANKS TO CALKULIN FOR THIS.Now when it does compress a message thats over the size limit, its still" over" compressing it. My limit is 1.2m and if the file is 1.3, it compress' to 44kb...What the hell? Just have to find out how to fix the over compression issue and im happier then a pig in shit.

View 1 Replies View Related

Android :: Avoiding Activity Stack Overflow

Sep 17, 2009

I have the following situation. I have a task with the following activity stack -- A - B - C I have a menu item that allows me to start activity D; so my activity stack looks like this -- A - B - C - D Then I could select a menu item that allows me to start an activity C, which would cause my activity stack to look like this: A - B - C - D - C Then I could go back (via the menu item) to activity D, making my activity stack look like this: A - B - C - D - C - D Doing this a few more times, it would wind up looking like this -- A - B - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D This seems kinda stupid to me. I'd like it to simply re-use an activity, or pop the activity below to be on top (which goes against the nature of a "stack"). So, what I mean is if I had this activity stack: A - B - C - D And I started activity C (from the menu), I would get: A - B - D - C And if I then started activity D (from the menu), I would get: A - B - C - D Is there a way to do this without keeping some global list of activities and doing gross things to them to reorder them?

View 3 Replies View Related

Android :: Avoiding Softinput Specifically In One Activity?

Sep 29, 2009

I want to avoid softinput specifically in one activity in a very specific case.

When i *long press "menu" button *softkeypad is coming irrespective of the activity.

How can i avoid this? i have tried "stateAlwaysHidden" etc for that activity. But did it work.

Al other cases ok. Just this case* long press "menu" button*.

View 6 Replies View Related

Android :: Does Use Of A Remote Service Help Avoiding GC Lags

May 18, 2010

Since yesterday I got an idea running around my mind but I donīt know first if it would work, and then how "hack" it would be.

People who develop audio processing/recording/playback apps for Android know how hard it is to maintain GC away from our critical paths: playing and recording audio. Processing must be as optimized as possible not only to save battery and use less CPU, but also not to create new objects/allocate new memory spaces ... this all to avoid GC at all cost. Well, we have knowledge and this we can handle (mostly). But what about all the other processing that happens from and for user interaction? Media players display images, some apps display ads, ... and sometimes we have to avoid releasing features to the users just to maintain our critical paths free from GC.

Yesterday I stumbled upon an article about remote services and this led me to a doubt: if they can run as a different process, would a GC call from my activity impact the performance of my remote service? I really donīt know how GC works on the Dalvik so this may be a dumb question. If so, I apologize.

You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 4 Replies View Related

Android :: Avoiding Spam In Standard Mail App

Sep 4, 2010

I have a HTC desire and have my hotmail set up in the standard mail app. i have noticed that some of the mail that lands in the junk mail folder on hotmail itself goes straight into me inbox on my phone. can i avoid this at all?

View 3 Replies View Related

Android :: Avoiding WiFi Charges For Yahoo & AIM

May 6, 2010

I'm traveling to the Bahamas. Does anyone know if i can you my wifi to avoid charges for instant messenger like yahoo and aim and sending and receiving text messages and which app to download for it?

View 2 Replies View Related

HTC Desire :: MMS Photo Compression

Aug 17, 2010

When I try to send a photo by MMS the phone compresses the image to 8kb when it can send up to 300kb, obviously the image quality is rubbish then.

View 1 Replies View Related

HTC EVO 4G :: Mms / Picture Mail Compression

Jun 30, 2010

Does anyone know how to reduce the photo compression the evo applies when sending a picturemail/mms?I use it rarely, but I had to send a photo someone and my evo auto-compressed it to like 18kb - which is a bit excessive since it destroyed the relevant details in the photo. I ended up just emailing the thing but was wondering if there was something I missed here.

View 5 Replies View Related

General :: What Is The Best Compression Level For APK

Jan 31, 2013

What is the best compression level for APK??

and what are the advantages and disadvantages of it?

View 2 Replies View Related







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