|
|
Re: WCF Services [message #869976 is a reply to message #869905] |
Sat, 05 May 2012 11:59 |
|
On 05/04/2012 11:53 AM, Jose Ortega wrote:
> O.K found the solution by doing some internet searching. The code below
> needed to be added to the "onCreate" event.
>
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
>
> //This code needed to be added here.
> StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
> .detectDiskReads() .detectDiskWrites() .detectNetwork() .penaltyLog()
> .build()); }
>
> Hope this helps somebody facing the same issue.
Except that this isn't an Android support forum. Your post would likely
help someone if it were on stackoverflow or one of the Android forums.
|
|
|
Powered by
FUDForum. Page generated in 0.08058 seconds