On Wed, Feb 10, 2016 at 7:08 AM, Akash Paul <akashpaul0...@gmail.com> wrote:
> 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; > } > } > > No, it's not. You're catching that exception. Your title is this: *Cant create handler inside thread that has not called looper.prepare() exception being thrown* Where is *that* exception being thrown? Do you understand how to use a debugger? ------------------------------------------------------------------------------------------------- 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/CANCScgj89R9Sey7pm4yrZA0xa%2BpKksYbeSk-nTnuOvhd9Ny4Tw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.