Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

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

$
0
0

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.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>