Problems with Try/Catch blocks

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

Problems with Try/Catch blocks

Postby Dark_Elf » Mon Nov 03, 2008 8:04 pm

Hi all,
I'm having a problem with the elaboration of try/catch blocks.
When I put a try/catch block in my code, its elaboration becomes really slow (I waited even 5 minutes sometimes). What could be the problem? It happened when I updated my SDK from 0.9 to 1.0.

Many thanks :)
Dark_Elf
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 23, 2008 12:26 pm

Top

Postby Dark_Elf » Mon Nov 03, 2008 8:27 pm

Sorry guys, it was not the Try/Catch block, but the Socket connection. However the problem persists :(
Dark_Elf
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 23, 2008 12:26 pm

Postby Dark_Elf » Mon Nov 03, 2008 9:33 pm

Solved!
Sorry guys it was my fault: I put the <uses permission> tag outside the <application> tag in the Manifest.
I put the tag in the right place and it worked :)
Dark_Elf
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 23, 2008 12:26 pm

Postby MrSnowflake » Mon Nov 03, 2008 11:30 pm

It's nice of you to say you found it :) (I'm serious for the record!).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby Dark_Elf » Tue Nov 04, 2008 12:23 pm

What do you mean for record? Do you mean that I found the solution by myself quickly :)?
Dark_Elf
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 23, 2008 12:26 pm

Postby MrSnowflake » Tue Nov 04, 2008 1:02 pm

It was nice of you to say you've found it, so we don't have to waste time on finding a solution, you already found.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Postby Dark_Elf » Tue Nov 04, 2008 3:52 pm

Ahahahah! You're right :D
Dark_Elf
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 23, 2008 12:26 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 11 guests