My application might be doing too much work on the main thread?

You must Login before you can answer or comment on any questions.

ok I have reached my final alternative, I have tried my very best trying to resolve this issue almost 3 - 4 hours, I would like to know why my application isn't cooperating with me? I have made a simple application which uses a button that is meant to open a new window but the compiler is telling me: (sample of the console message)

[ERROR][TiApplication(  600)] (KrollRuntimeThread) [1335,1335] APP PROXY: ti.modules.titanium.app.AppModule@412710f8
[WARN][V8Object(  600)] Runtime disposed, cannot set property 'userAgent'
[INFO][ActivityManager(  145)] START {cmp=com.DigClock/org.appcelerator.titanium.TiActivity (has extras) u=0} from pid 600
[INFO][Choreographer(  246)] Skipped 406 frames!  The application may be doing too much work on its main thread.
[INFO][dalvikvm-heap(  600)] Grow heap (frag case) to 8.674MB for 614416-byte allocation
[INFO][dalvikvm-heap(  600)] Grow heap (frag case) to 9.992MB for 1382416-byte allocation
[INFO][TiRootActivity(  600)] (main) [0,0] checkpoint, on root activity resume. activity = com.DigClock.DigclockActivity@41251168
[WARN][ActivityManager(  145)] Activity pause timeout for ActivityRecord{41400ac0 com.DigClock/.DigclockActivity}
[INFO][Choreographer(  600)] Skipped 73 frames!  The application may be doing too much work on its main thread.
[INFO][ActivityManager(  145)] Displayed com.DigClock/org.appcelerator.titanium.TiActivity: +3s257ms (total +9s315ms)
[WARN][MediaProvider(  493)] no database for scanned volume external
[WARN][MediaScanner(  493)] Error opening directory '/mnt/sdcard/.android_secure/', skipping: Permission denied.
[WARN][TiAnalyticsSvc(  600)] (Thread-66) [24778,27962] Analytics Service Started
[INFO][TiAnalyticsSvc(  600)] (Thread-66) [96,28058] Sending 1 analytics events.
[WARN][TiAnalyticsSvc(  600)] (Thread-66) [2944,31002] Stopping Analytics Service
[ERROR][ThrottleService(  145)] problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
if you would like to see my full code just let me know, the button doesn't work it simply does nothing.

— asked 7 months ago by abcdefg sadfdsds
3 Comments
  • I have found someone to help me please ignore this thank-you.

    — commented 7 months ago by abcdefg sadfdsds

  • I would recommend not posting with an account using a clearly false identity.

    Also, I would recommend reading the "Ask your own question" link in the right column before posting another question.

    — commented 7 months ago by Shannon Hicks

  • what does it matter if I use a fake identity I came here to develop applications, you don't need to know anything about me.

    — commented 7 months ago by abcdefg sadfdsds

Your Answer

Think you can help? Login to answer this question!