Skip to content

This Android project is a tutorial covering various functionalities such as implicit and explicit intents, launching the camera to capture an image, ViewModel usage, and basic UI components.

Notifications You must be signed in to change notification settings

Avishka777/Intents-Mobile-Application

Repository files navigation

Intents Using In Moblie Application

This Android project is a tutorial covering various functionalities such as implicit and explicit intents, launching the camera to capture an image, ViewModel usage, and basic UI components.

Features

  • MainActivity: This activity displays a simple UI with a TextView showing a count and a Button to increment the count using a ViewModel.
  • MainActivityData: ViewModel class to handle the count logic.
  • HomeActivity: This activity serves as the launcher activity and contains buttons to demonstrate different functionalities.
  • Button 2: Launches MainActivity.
  • Button 3: Opens the dialer with a predefined number.
  • Button 4: Sends an SMS with a predefined number and message.
  • Button 5: Opens a web page (Facebook in this case) in a web browser.
  • Button 6: Launches an email intent with predefined email address, subject, and body.
  • Button 7: Launches the camera to capture an image and displays the captured image in an ImageView.

Usage

Clone the project and run it on an Android device or emulator to explore the implemented functionalities.

Installation

To run this application on your Android device, follow these steps:

  1. Clone this repository to your local machine
  2. Open the project in Android Studio.
  3. Build and run the project on an Android emulator or a physical device.

Contributing

Contributions are welcome! If you find any bugs or want to add new features, please feel free to submit a pull request.

Acknowledgements

This project is developed as a part of a tutorial series.

About

This Android project is a tutorial covering various functionalities such as implicit and explicit intents, launching the camera to capture an image, ViewModel usage, and basic UI components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages