On Thu, Jun 9, 2011 at 2:54 AM, srikanth vikkurty srikant...@gmail.comwrote:
This process works faster on most of the devices except Samsung Galaxy S.
Could anyone suggest an alternative for overcoming
the same.
You should not be counting on some network operation to operate quickly on
any
The Galaxy S has a really clever storage chip, which, combined with its
clever file system, can be up to 10-30 times slower than a previous
generation phone (e.g. Motorola Milestone). Those numbers are based on
application-specific benchmarks I've done with SQLite.
So, if you're saving your data
If you're writing files to the disk (such as writing to a database) make
sure you do it in batches and set a large buffer size (i.e use the buffered
stream classes.)
If you are properly doing it in the background run some tests and determine
what exactly takes the longest.
If it's the network
I have designed an application in which before application launches,
it has to parse the response obtained for a http request and store it
in data base. This process works faster on most of the devices except
Samsung Galaxy S. Could anyone suggest an alternative for overcoming
the same.
--
You
4 matches
Mail list logo