Application not responding

Put your problem here if it does not fit any of the other categories.

Application not responding

Postby alex2308 » Wed Jul 09, 2008 2:40 pm

hi all

my application has some file I/O operations and once they are called, they take up to 7-8 seconds on my P-M 1,8 GHz. mainly because of the emulator i guess. i did some tests and file i/o operations are VERY slow. anyway, the problem is: android thinks my app crashed and shows up the msgbox asking me to close or wait ("Application not responding" "Force Quit"/"Wait").

how could i solve this? is there any way to tell android to wait a bit longer?

best wishes
alex2308
Developer
Developer
 
Posts: 34
Joined: Wed Jun 11, 2008 1:37 pm

Top

Postby cadlg » Wed Jul 09, 2008 3:05 pm

Hello Alex.

I think you should do all I/O operations in a thread to avoid this message.

Regards,

cadlg
cadlg
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Feb 20, 2008 12:33 am
Location: Guatemala

Postby alex2308 » Wed Jul 09, 2008 5:49 pm

true!

i will try it soon. thanks you
alex2308
Developer
Developer
 
Posts: 34
Joined: Wed Jun 11, 2008 1:37 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher and 16 guests