On Sun, Jan 17, 2016 at 8:32 AM, manju bangari <[email protected]> wrote:
> i am developing an app where i needed to generate QR code on click of > button.and i have done it . when i clicked on button next activity open and > QRcode is generated but it is taking time to open the next activity and > displaying qr code. can any body help me. what can i do > What you have to do is determine what is taking up the time between clicking your button and opening the next Activity. Then optimize that so it's faster or, if that's not possible, offload that work to a background thread (using AsyncTask for example) and show some sort of progress indication. ------------------------------------------------------------------------------------------------- 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 [email protected]. To post to this group, send email to [email protected]. 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/CANCScgh3Nz_zKM4ZGcr%3DGF172%3Dh3tPkuWmh8YgzAeZ7kzqV1nQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

