here is the area in which the exception is being thrown : private class Connection extends AsyncTask{ @Override protected Object doInBackground(Object[] objects){ try{ PostData(R.id.fullscreen_content, 3); } catch(IOException exception){ exception.printStackTrace(); } return null; } }
On Monday, February 8, 2016 at 10:12:16 PM UTC, TreKing wrote: > > > On Sat, Feb 6, 2016 at 10:09 AM, Akash Paul <akashp...@gmail.com > <javascript:>> wrote: > >> However i know the data is being sent or posted but the UI thread does >> not like the way i have done things can anyone advise please? > > > What is "the UI thread does not like the way i have done things" supposed > to mean? > > Your title indicates an exception is being thrown. Where? By what line of > code? > > P.S. - Your naming strategy for methods and variables violate numerous > Java conventions. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/042a6f93-20cb-4c11-8e20-8b62c97d1875%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.