Takes too long to build libwebcore.so.

by Tomei Ningen » Fri, 23 Apr 2010 08:06:05 GMT


Sponsored Links
 If I just change one line in WebView.cpp and do a

   mmm external/webkit

It takes almost 3 minutes on a fast quad-core Xeon. Most of the time
is spent linking libwebcore.so

Is there a way to speed up the linking process. This is just for
development so I am willing to give up optimization.

Thanks

-- 



Other Threads

1. error - ANR in com.sent.mail (com.sent.mail/.SentMail) with keyDispatchingTimedOut

Hey,
I'm trying to send a Email, thrugh the GMailSende, but I'm getting
error like...
Can any one describe me what is ANR, how to read the /data/anr/
trace.txt file.


10-13 13:56:19.624: ERROR/ActivityManager(59): ANR in com.sent.mail
(com.sent.mail/.SentMail)
10-13 13:56:19.624: ERROR/ActivityManager(59): Reason:
keyDispatchingTimedOut
10-13 13:56:19.624: ERROR/ActivityManager(59): Load: 0.37 / 0.15 /
0.14
10-13 13:56:19.624: ERROR/ActivityManager(59): CPU usage from 214673ms
to 34ms ago:
10-13 13:56:19.624: ERROR/ActivityManager(59):   system_server: 2% =
1% user + 0% kernel / faults: 2235 minor 32 major
10-13 13:56:19.624: ERROR/ActivityManager(59):   logcat: 0% = 0% user
+ 0% kernel / faults: 176 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   ndroid.launcher: 0% =
0% user + 0% kernel / faults: 913 minor 2 major
10-13 13:56:19.624: ERROR/ActivityManager(59):   adbd: 0% = 0% user +
0% kernel / faults: 23 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   m.android.phone: 0% =
0% user + 0% kernel / faults: 270 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   events/0: 0% = 0%
user + 0% kernel
10-13 13:56:19.624: ERROR/ActivityManager(59):   ronsoft.openwnn: 0% =
0% user + 0% kernel / faults: 252 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   .quicksearchbox: 0% =
0% user + 0% kernel / faults: 199 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   rild: 0% = 0% user +
0% kernel / faults: 29 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   zygote: 0% = 0% user
+ 0% kernel / faults: 123 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   id.defcontainer: 0% =
0% user + 0% kernel / faults: 125 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   android.protips: 0% =
0% user + 0% kernel / faults: 123 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   m.android.email: 0% =
0% user + 0% kernel / faults: 170 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   com.sybase.mo: 0% =
0% user + 0% kernel / faults: 173 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   sh: 0% = 0% user + 0%
kernel / faults: 117 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   zygote: 0% = 0% user
+ 0% kernel / faults: 169 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   com.svox.pico: 0% =
0% user + 0% kernel / faults: 123 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   d.process.acore: 0% =
0% user + 0% kernel / faults: 127 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):   android.browser: 0% =
0% user + 0% kernel / faults: 174 minor
10-13 13:56:19.624: ERROR/ActivityManager(59):  +com.sent.mail: 0% =
0% user + 0% kernel
10-13 13:56:19.624: ERROR/ActivityManager(59):  +com.sent.mail: 0% =
0% user + 0% kernel
10-13 13:56:19.624: ERROR/ActivityManager(59): TOTAL: 4% = 2% user +
1% kernel + 0% iowait + 0% irq + 0% softirq
10-13 13:56:19.764: DEBUG/dalvikvm(59): GC_FOR_MALLOC freed 3497
objects / 733040 bytes in 107ms
10-13 13:56:19.844: DEBUG/dalvikvm(59): GC_FOR_MALLOC freed 335
objects / 345000 bytes in 84ms

-- 

2. using long touch to set a seekbar

I have an app that uses seekbars with buttons on either side for fine
adjustments. Right now I use simple onclick events for the buttons,
every click changes the seekbar 1 unit.

What I would like to do is use a long press to quickly scroll, so if a
user holds down a button for say 800 millis it will start adding ten
units per second.

What I'm thinking my approach should be is to use onKeyDown and
onKeyUp events, but is there a better way? OnLongClickListener won't
work as far as I can tell because it doesn't detect key-up.

Is my approach correct?

Thanks!
-BB

-- 

3. getdeviceid() causing invocation target exception

4. Proxy related code changes needed in Apps

5. Dell Streak

6. Amazon | xxx - Business Opportunity

7. Routing audio to bluetooth earpiece...again.