Project

General

Profile

Bug #456

cann't create new account in STRICTMODE

Added by Anonymous about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
10/31/2012
Due date:
% Done:

0%

Estimated time:
Affected version:
0.1.6
Locale:
Close

Description

cann't open connection on strictMode

GOOGLE suggest:

StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
before open connection:
xmppConnection.connect();

Related issues

Related to Feature #425: Rework the CreateAccount activityClosed2012-04-11

History

#1 Updated by Frédéric Barthéléry about 6 years ago

  • Status changed from New to Resolved
  • Target version set to Dev

The create account activity has been completely rewritten.
Your solution is a work around to disable the strict mode instead of make the process work with it.

#2 Updated by Frédéric Barthéléry almost 6 years ago

  • Status changed from Resolved to Closed

#3 Updated by Frédéric Barthéléry almost 6 years ago

  • Target version changed from Dev to 0.1.8

Also available in: Atom PDF