Project

General

Profile

Bug #456

cann't create new account in STRICTMODE

Added by Anonymous almost 12 years ago. Updated over 11 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 activityClosedFrédéric Barthéléry04/11/2012

Actions
#1

Updated by Frédéric Barthéléry almost 12 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 over 11 years ago

  • Status changed from Resolved to Closed
#3

Updated by Frédéric Barthéléry over 11 years ago

  • Target version changed from Dev to 0.1.8

Also available in: Atom PDF