Giter Site home page Giter Site logo

sendemailanimation's Introduction

Send Email Animation

This is a small attempt to attract users when they are using in app feature to send out an email. The usage of this repo serves the purpose like contacting the support desk, inviting another user over email or any other form of email based features.

Why to use?
  • An user having used multiple applications is bored to see the traditional loading indicator, would always prefer to see something new and providing such user experience helps to retain users.

  • There are cases where users may not like the idea of taking them to email client app(passing an SEND_TO action intent) since the users do not like to promote an app feature from his direct email account.

  • More often users do not return to the origin application that took him to email client app as they become busy reading the other emails - leads to fall in user engagement.

How to Use?

Very simple - Have a button in your activity and click listener to call the following call:

startActivity(new Intent(YourActivity.this,EnvelopeActivity.class));

The above will take the user to email client app for sending out an email. (I suggest not to use this because of last two reasons mentioned in 'Why to use' section.)

For handling the emails within the app:

startActivityForResult(new Intent(YourActivity.this,EnvelopeActivity.class), SOME_INTENT_REQUEST_CODE);

Have overriding onActivityResult in your calling activity to get the email subject and message part that you can use in your own app. (Refer MainActivity.java to check how to do that)

Note: Email subject and message field validations are not done, it is left to your choice of handling and you are free to edit the source.

How it looks?

sendemailanimation

LICENSE:

You are free to use, copy, edit and the repo is provided under MIT LICENSE

sendemailanimation's People

Contributors

sharish avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.