-
-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App is blocking the UI and crashing in android 6.0 and below #51
Comments
@stealthcopter any workaround possible.. ?? |
@stealthcopter your help is appreciated |
1 similar comment
@stealthcopter your help is appreciated |
@nikhilgarg89 Use the following method to run on the Ui thread inside
|
@lcabrales I have tried your solution by adding new Handler into my PortScan() function, however it still blocked my Progress Dialog and hang. Is there any ways to prevent this blocking of Progress Dialog? You may refer more details of my issues here: #58 Thanks. |
Any clues on solving this issue? Thanks. |
I've just tested the sample app on android 6.0 and I'm not having any UI blocking issues. What device are you using? Try lowering the thread count in case your device is using maximum CPU and causing an actual hang. @jerrychong25 please post your full example with ProgressDialog and I'll run some tests on it to find out what's going on. Thanks |
App is blocking the UI and crashing in android 6.0 and below when i am doing subnet devices. this is reproducible in sample code.
The text was updated successfully, but these errors were encountered: