Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Designing an Animation for loading time of an Activity #5

Open
dhruv2601 opened this issue Oct 8, 2017 · 2 comments
Open

Designing an Animation for loading time of an Activity #5

dhruv2601 opened this issue Oct 8, 2017 · 2 comments

Comments

@dhruv2601
Copy link
Owner

It takes around 15-20 seconds to extract the details from a business card, so the user will naturally prefer to see something creative during that time.
So, the issue is to create an engaging animation or mid-screen that will keep the user busy/interested in the application for that time duration.

Feel free to contribute, continuous support will be given for understanding the code!

@rizal-rovins
Copy link

Could you point out the activity in which the card is scanned?

@dhruv2601
Copy link
Owner Author

In the SaveCardActivity you can see the

    public class extractOCR extends AsyncTask<Void, Void, Void> {
    ProgressDialog pDial = new ProgressDialog(SaveCardActivity.this);

    @Override
    protected void onPreExecute() {
        pDial.setIcon(R.drawable.appicon);
        pDial.setMessage("Extracting Details");
        pDial.setCancelable(false);
        pDial.setTitle("Scanning Card");
        pDial.show();
        super.onPreExecute(); 
       }

Currently here an AlertDialog is present, which should be replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants