Android :: Extracting Zip To SD Card Very Slow - Optimize Performance?
Oct 20, 2010
my app downloads a zip with about 350 files. A mix of JPG and HTML files. The function i wrote to do it works just fine but the unzipping takes for ever. At first i thought the reason might be that writing to the sd-card is slow. but when i unzip the same zip with an other app on my phone it works much faster. is there anything that i could do to optimize it?
here is the code:.................
View 1 Replies
Aug 23, 2010
I want to do optimization of my android application.
Can anyone please tell what are different ways to optimize code and performance in android?
I gone through one tool i.e. Zipalign: an Easy Optimization.
Any other tools available?
View 3 Replies
View Related
Jul 24, 2009
In my application ,am work with a large database.Nearly 75000 records present in a table(totally 6 tables are there).i want to get a data from three different table at a time.i completed that.but the search process was slow.how can i optimize the searching process?
View 3 Replies
View Related
Nov 18, 2010
Just rooted my Droid 1 2.2 BGR22D but now what? Where do i get free apps? How can i custom my phone and optimize my performance without burning the think out? and what is the purpose of rooting my droid? I catch on to things pretty dam quick so i just need a jump start.
View 1 Replies
View Related
Feb 22, 2010
I just installed the latest version of Eclipse IDE for Java Developers together with the ADT plugin on my Mac (2.8 GHz, 4 GB Ram).
- Opening new files from the package explorer.
For example, opening a layout xml file takes 1-2sec- And the mouse pointer changes.
- Switching between tabs
- Resizing views in the workspace
The performance rapidly decreases when I open more files. Are all of you developing under these circumstances? How can I speed up eclipse?
View 4 Replies
View Related
Jun 1, 2010
I am facing the following problem: I have a big list of street names(~2000 entries), which is stored as a variable. I have an AutoCompleteTextView which should complete the names. The process takes really long time(approx. 2 - 3 seconds) to complete the suggestion. Is there any way to speed this up? I am pasting my code, if this is necessary:The getStreetsData() method simply returns the static list of the names.
View 2 Replies
View Related
Sep 29, 2010
A while back I mentioned that running the imported p2p codebase I have on the emulator (on a fairly powerful laptop with plenty of mem and a fast processor) was pretty slow. I blamed all that on the codebase and in fact I was able to profile it and make it much lighter. Well still the overall app performance is slow --- and I am finding that most apps I run on the emulator are fairly slow. Is this a common trend? I do expect emulators, who are by no means a real device, to have such processing delays but are they in general this slow? Any metrics or any other feedback from anyone that depict the factor of slowdowns you would expect on an emulator vs the real device? I know a lot of this are machine dependent as well but consider an idle powerful machine. And regarding memory - I am loading Eclipse with close to 1G to be able to run the emulator and its basic services - is that normal?
View 3 Replies
View Related
Sep 16, 2009
I want to make a tile based game for android. At the moment I am drawing each tile as a separate bitmap. I have a big for loop that reads from a string and draws different tiles depending on what character it finds to draw the level. I have allowed the user to scroll the screen using scrolling gestures. However the game is too slow. It takes a long time to update the screen after the user scrolls. I presume this is because it has to draw each tile's bitmap individually. What would be a faster way to draw the level? I was thinking I could merge all the tiles into one bitmap. But I don't know how to do this.
Anyway here is my code so you can see the problem:
package org.example.tutorial2d;
import android.app.Activity;
import android.os.Bundle;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.GestureDetector.OnGestureListener;
import org.example.tutorial2d.Panel;
public class Tutorial2D extends Activity implements OnGestureListener {
GestureDetector gestureScanner; Panel main;
/** Called when the activity is first created. */
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
gestureScanner = new GestureDetector(this);
//requestWindowFeature(Window.FEATURE_NO_TITLE);
main = new Panel(this); setContentView(main); }
@Override public boolean onTouchEvent(MotionEvent me) {
return gestureScanner.onTouchEvent(me); }
@Override public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
main.handleScroll(distanceX,distanceY); return true; }
@Override public boolean onDown(MotionEvent e) { return true;
} @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { return true;
} @Override public void onLongPress(MotionEvent e){
} @Override public void onShowPress(MotionEvent e) {
} @Override public boolean onSingleTapUp(MotionEvent e) { return true; } }
And the class that does all the work:
package org.example.tutorial2d;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.View;
import org.example.tutorial2d.Point;
public class Panel extends View {
private int scrollX = 0; private int scrollY = 0;
public Panel(Context context) { super(context);
} @Override public void onDraw(Canvas canvas) {
/*Bitmap scratch; //Drawable scratch;
//scratch = getContext().getResources().getDrawable(
// R.drawable.icon); canvas.drawColor(Color.BLACK);
//scratch.draw(canvas); int origin = 0;
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.horizontal5);
canvas.drawBitmap(scratch, origin, origin, null);
int width = scratch.getWidth(); int height = scratch.getHeight();
scratch = BitmapFactory.decodeResource(getResources(), R.drawable.room4entrynesw3x3);
canvas.drawBitmap(scratch, origin + width, origin - 32, null);
[Code]
View 3 Replies
View Related
Mar 18, 2010
Just got my N1 upgraded to unlimited web use through 3. Had to set up the APN. Did that in work and looked forward to `consuming` on the train journey home.
How cheesed off was I when I got diddly squat in the way of speed and function from the network?!
Endomondo - did not work, no maps
Google maps - never registered my position
Web - realllly slow to load anything
GPS tester - only found one or 2 satellites nd never made proper contact
Anyone else got an N1 with Three? Performace pants? Any other networks just as bad?
View 10 Replies
View Related
Nov 8, 2009
i placed some new apps to my sd card from my pc i have a file manager app and need to know how to extract it and where to put it on the phone
View 3 Replies
View Related
Oct 26, 2010
I'm rooted running CM6, have been for awhile. I was just recently installing last.fm and I guess I pressed something that caused my phone to slow way down, pretty much froze up, so I rebooted it. It booted all the way up and then rebooted itself again and now it won't go passed the white htc screen.
View 2 Replies
View Related
Nov 29, 2010
i've found that my x10 really disappointed me even after updated.. still alot of bugs! and so slow~==... that really irritates me alot... SE pls do something to improve the phone as i can see the specification of this phone is really good just that the software sucks. and this phone is not cheap at all. cost me almost like the price of an iphone
View 3 Replies
View Related
Mar 25, 2010
So I downloaded a couple different colors of the Nexus style Live wallpapers, and I want to install them with the Cyanogen 5.0.5 i am running. Is there a certain way to do this or is it as simple as putting the files on the sd card and extracting the .zip?
View 3 Replies
View Related
Sep 16, 2013
I have upgraded my Galaxy Grand Duos I-9082 from Jelly bean 4.1.2 to 4.2.2 and the phone hangs randomly. on 4.1.2 it was working truly commendable.
View 24 Replies
View Related
Oct 17, 2010
I am running eclipse on my windows 7 machine, 6bit with 6gb ram and core 2 duo. I am currently running Eclipse 3.6 and android 2.2 SDK. I am running jdk 1.6. I am noticing that when coding and the context popups to list methods of a class, it hangs Eclipse for up to 15 seconds. This is very frustrating. One thing to note, when Eclipse hangs, my processor is maxed out, and is being worked by a java process. So its doing something whatever it is. But frequently everytime I finish an object with a period and the context box pops up, its becoming too painful to work with.
I changed some settings in the Eclipse.ini file such as:
-Xms1024m
-Xmx1024m
--launcher.XXMaxPermSize 512m
View 2 Replies
View Related
Oct 10, 2009
I was reading a while back someone's topic about if a microSD card can enhance the performance of HTC Hero. I'd love to look it up but I cant, this site isn't going well lately, and I'd have to reload each page 20times to get to actual topic.
View 8 Replies
View Related
Oct 7, 2009
I have seen some threads and articles on a few sites talking about the advantages of a better than stock mSD card for the Hero having a drastic effect on its performance. I have see others stating that a Class 4 or even Class 6 card on the Euro HTC Hero has improved performance by 400%. Now while I know "400%" is a little out there and even sounds exaggerated, I am curious what this group of people has seen or heard. Does a better MicroSD card improve overall performance?
View 13 Replies
View Related
May 23, 2010
I'm looking into writing an Android game, tough I don't curerntly own an Android device. For those of you who own a device, how does the performance on the emulator relate to real device performance? I'm especially interested in graphics related tasks.This obviously depends on both the machine running the emulator, and the specific device in question, but I'm talking rough numbers here.This question is a duplicate, but since that post is heavily outdated, I figured it's irrelevant by now.
View 3 Replies
View Related
Nov 12, 2013
I received my brand new SM-P605 (Galaxy Note 10.1 2014 Edition) about a week ago. I updated its firmware a couple time. Now its at PDA - P605XXUBMJ9 Everything was working perfectly fine until I put an SD Card (SanDisk Ultra microSDXC UHS-I class 10) into the tablet.
Since then, the tablet takes about two or three seconds to wake up from sleep (time from pressing the power/home button until the screen turns on). This problem goes away when I remove the SD card.
Questions:Is this normal? What I can do to make my Android 4.3 tablet wake up any faster when I am using an SD card? Should I be using a different type/kind of microSD card?
View 1 Replies
View Related
Feb 20, 2010
Motorola CLIQ Over-the-Air Update
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
February 19 Update
The over-the-air update for the Motorola CLIQ has been delayed to the week of February 22. An updated article will be available once a date has been determined.
On February 18, Motorola will begin sending over-the-air (OTA) software updates to Motorola CLIQ customers. The software update will improve device performance and resolve several known issues.
Improved Performance:
Improved battery life
Improved software performance and stability
Improved widget response
Decreased Force Close error messages
New Manage SIM Card application
Support of .WMA and .WAV media files
Removal of the imeem mobile application
Known Issues Resolved:
Accessories & Bluetooth
Error: 'Unable to pair' or 'Unable to connect to device'
Call functions
Can activate other functions while listening to visual voicemail
Call not ended by pressing the End key
Speakerphone turns on unexpectedly when answer incoming call
Plays ringtone or vibrates while on an active call
Unable to answer incoming call using �Slide to answer� feature
Accidentally opens Dialer or makes outbound while holding device
Device hardware (battery, keys, power, screen)
Battery indicator may not display accurate battery power
Call not eded by pressing the End key
Touch screen issues
Cannot answer incoming call using the Slide to answer feature
Incorrect keys registered using on-screen keyboard
Touch display appears to have �dead spots� that are unresponsive
Accidentally selects item when trying to flick through screens or menus
Messaging
Wrong message deleted
Phone may reset when turning Wi-Fi off in area with no Wi-Fi coverage
Customers can manually download the OTA on demand by going to Settings > About Phone > System Updates. Customers do not need to wait for a notification message to download.
Action Steps
Be aware of the fixes and enhancements included in the Motorola CLIQ update.
If customers are experiencing any Known Issue that will be resolved by the software update:
Do not file a handset exchange
Advise customers that the issue will be resolved by a software update on February 18.
Important Rebate Changes
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
Customers eligible for rebates as part of new activations or upgrades must be advised they will receive their rebates in the form of a prepaid Visa card.
When customers take advantage of our new Early Upgrade or Early Upgrade Plus options, they are not eligible for upgrade rebate cards. These new upgrade options allow customers to take advantage of upgrades sooner and provide an instant discount, instead of having to wait for rebate cards.
To be eligible for an upgrade rebate card, customers must meet upgrade eligibility requirements.
Current, 1-year contracts: 11 or more active months since last discounted handset purchase.
Current, 2-year contracts: 22 or more active months since last discounted handset purchase.
Rebates on eligible purchases require contract extensions and a $9.99 or higher Data/Messaging feature.
Valid only on FlexPay plans with 1 or 2-year contracts.
Not valid for Even More Plus plans.
Active Months: The number of months in which the account has been in good standing and during which service has not been suspended.
Action Steps
Inform customers that Early Upgrade and Early Upgrade Plus are not eligible for upgrade rebate cards.
Advise customers eligible for rebates that they will receive their rebates in the form of a prepaid Visa card.
"With the purchase of your new handset, you can submit a rebate form to receive your rebate. The rebate will be in the form of a prepaid Visa card that can be used anywhere Visa is accepted. See the rebate form for additional details."
Trackball Replacement Program
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
On February 24, T-Mobile will launch a Trackball Replacement program for BlackBerry Pearl 8100/8120 and BlackBerry Curve 8320 customers that are having trackball issues. This program will be available in T-Mobile retail stores only at this time.
Action Step
Refer customers to a T-Mobile retail store after February 24 for further assistance if they come in to your location looking to complete a trackball replacement.
First Connect for Dealers
[Retail Partner Sales]
First Connect for Dealers is an exciting class designed to help on-board and prepare Retail Partners to successfully sell T-Mobile products and services and provide differentiated customer experiences. This four hour class is conducted via the T-Mobile Live Virtual Classroom and covers the following:
Welcome to T-Mobile
Who is T-Mobile?
PCC
Differentiated Handsets
Differentiated Rate Plans
Service Excellence / Selling Skills
Tools and Resources
Customer On-Boarding
The attached flyer contains dates and times for these calls as well as registration details. ADRs should educate their locations about these calls and encourage them to attend.
To successfully be able to attend the training sessions, Retail Partners should have the following:
Computers with high speed Internet connections
The ability to play and hear video segments on the computer using speakers or headset
The use of a fully charged mobile phone to hear the audio portion of the conference call
Printer access to print Participant Workbook.
Action Steps
Share the attached flyer with your locations and encourage them to attend one of the scheduled calls.
View 1 Replies
View Related
Sep 19, 2010
Didn't have a problem with this before on my EVO and can't recall any settings I might have changed to cause this problem but when I choose the "Disk Drive" connection for "Connect to PC" it takes a long while (minute or so) for the drive to mount. I have the default connection to "Charge Only" but when connected to my computer and I choose the "Disk Drive" option the mount is SLOW. It SEEMS to get a bit quicker if I RE-choose "Charge Only" and then go back to "Disk Drive" to mount the SD card, however, like I said above, it is MUCH SLOWER than before. I used to choose the Disk Drive option and the mount would occur RIGHT AWAY. But not it is slow.
I have installed various apps over the weeks but only recently experienced this slowness. I recall some information about USB debugging conflicting with the SD mount but that option is turned OFF on my phone. Anyone know of any apps that might be known to conflict with the SD mount?
View 10 Replies
View Related
Jan 21, 2010
i just got an eris, and the music player on it doesnt seem too bad at all. i'd like to put all my music from my ipod onto it, to essentially replace my ipod. it is about 5GB of music. will that slow down my eris, putting all that music on my 8GB SD card?
View 4 Replies
View Related
Oct 3, 2009
I changed my memory card from 2GB to 8GB SDHC card, after that my phones acting kinda slow.
View 12 Replies
View Related
Aug 30, 2010
since I upgraded to froyo and rooted it takes up to 10 minutes to see my sd card on my PC. Sometimes it seems like it drags down my PC. I did also upgrade my card to a 32 gb which could be the problem or did I not format it correctly be the problem. Tia
View 1 Replies
View Related
Oct 29, 2011
When I boot up my Nexus One, it takes <Sandlot>FOR-EVV-ERRR</Sandlot> to mount my SD card. I've got most of my apps on that card, so it's super annoying!
Like I've said, I've got a bunch of apps (40?) loaded on to this card, a few documents, 4 CDs... random stuff. I haven't formatted the card in a looong time... nor have I wiped the phone in a loooong time. I am a crackflasher - I flash a new ROM every day, but I VERY RARELY have issues, so that's why I haven't wiped in so long. I would be happy to just mount the SD manually through the terminal when I need it to.
The phone is a Nexus One. I'm running a CM7.1(or whatever it is) based ROM and kernel. The SD card is the 16gig one that came with the phone.
What's the terminal command to mount the SD card to the phone? So the ROM can access it?
View 7 Replies
View Related
Apr 24, 2009
I am trying to optimize the following code...
View 6 Replies
View Related
Oct 1, 2010
So with the last few ROMs I've had installed, I've tried moving apps to the sdcard. I figured it would be a good thing, even if I wasn't running out of room. Every time I move more than just a few apps to the sdcard, my whole phone starts getting laggy. I just moved all of my apps back to phone and the "lagginess" is gone. I currently have UD8.0 installed, but it has behaved this way with LFY and Pete's BB ROMs as well. So it doesn't seem to be a ROM related.
View 7 Replies
View Related
Aug 3, 2009
I'd like to extract classes.dex from an APK file. I've tried using aapt, but I can't see an option for extracting the files. When I run the aapt tool without options it prints out the list, dump, package, remove, add and version commands, but it doesn't seem to me like any of them extracts files. Could someone please tell me which options I would have to use to do it?
View 3 Replies
View Related
Jul 20, 2010
anyone knows how to extract zip files/tgz files in Android? i tried Astro File Manager but it does not work.
View 5 Replies
View Related
Jul 23, 2010
I'm developing an application that tracks the user's current position and stores it into a SQLite database. Everything works fine, but now I have the problem when querying the database for a track with more than 1000 records it takes nearly 1.5 minutes. On my Desktop it just takes 1 second. I know it's a query with many subselects but I wasn't able to get the right result another way. In my opinion this belongs to the aggregate functions like avg() and sum().
Here's my query:.................
View 3 Replies
View Related