Instead of using Strings, try to use StringBuffer. Normally the usage
of StringBuffer's is more efficient than normal Strings.
By the way for analyzing your code to find out where you spend most of
the time, use the traceview tool.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick
Thank you very much!i will try tonight..
Thanks!
On Aug 26, 2009 7:31 PM, Roman ( T-Mobile USA)
roman.baumgaert...@t-mobile.com wrote:
Instead of using Strings, try to use StringBuffer. Normally the usage
of StringBuffer's is more efficient than normal Strings.
By the way for analyzing your
Can you post the code that takes a long time? How long does it take,
for how many strings?
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of
Thank you for reply,,
I want to save the history for my application in a file on sdcard.
First i tried to save it as xml and parse it to load...but these actions
take a lot of time..(almost 8 seconds for 20 strings on a HTC Hero device);
this is the code:
package com.app.lookitup2;
import
4 matches
Mail list logo