A leading digital platform to offer engaging shopping experience to users
A mobile app to digitalise & expand KFC’s digital footprint
The MIT Innovation award-winning app withh $52 million funding reshaping the employment lanscape.
A transforming ERP solution for the world’s largest furniture retailer
A refined UX strategy for Domino's to increase their conversion rate by 23%
A SaaS-based financial literacy and smart money management platform for kids
Hiring Fintech Software Developers – A Step-by-Step Process and Costs
How AI in Stock Trading will Transform Markets
How AI is Proving as a Game Changer in Manufacturing – Use Cases and Examples
How data mining helps in business intelligence
Why your enterprise business needs an IT strategy
What entrepreneurs need to know about Conversational AI
Healthcare App Development Guide – Use Cases, Costs, Trends & More
The Ultimate iOS App Development Guide for Business
The Definitive Guide to Flutter App Development
The Definitive Guide to Enterprise Digital Transformation
The Ultimate Guide to Software Development
Cloud Computing – An Ultimate Guide for Businesses
Appinventiv Wins Deloitte Fast 50 India 2023 Award
Clutch Names Appinventiv The Top Fintech App Development Agency
Appinventiv Ranked Top 2 in the List of Most Promising Mobile Application Solution Providers – 2018 by CIO Review
ShifaCare Wins ‘Top 50 Healthcare Companies’ Award at IFAH Dubai
Clutch Names Appinventiv a Top Mobile Development Agency for Startups
Appinventiv Named ‘The Top App Developer’ by Clutch
Android Developers have earned $80 billion to date from Google Play
Here’s All the New Features of Android O Announced by Google
Wireframes and How they Affect the Mobile App Development Industry
How We Align Lean Principles in Our Software Development Process
How Mobile Solutions Empowering Manufacturing Industries
How Much Does Anonymous Social Media App Development Cost?
Make a new Android Project named Camera App
Include the following permissions in Manifest.xml file :
Make the Layout File activity_main.xml:
MainActivity.java file
Initialize the request, the constants and view:
private static final int IMAGE_REQUEST_CODE=1;
private static final String IMAGE_DIRECTORY_NAME = “Hello Camera”;
private Uri fileUri;
private ImageView img;
private Button clk= (Button) findViewById(R.id.button1);
Method to capture the Image:
private void captureImage() {
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
startActivityForResult(intent, IMAGE_REQUEST_CODE);
}
Method OnActivityResult:
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// if the result is capturing Image
if (requestCode == CAMERA_CAPTURE_IMAGE_REQUEST_CODE) {
if (resultCode == RESULT_OK) {
previewCapturedImage();
} else if (resultCode == RESULT_CANCELED) {
Toast.makeText(getApplicationContext(),
“User cancelled image capture”, Toast.LENGTH_SHORT)
.show();
} else {
// failed to capture image
Toast.makeText(getApplicationContext(),
“Sorry! Failed to capture image”, Toast.LENGTH_SHORT)
.show();
}
}
}
Display Picture
BitmapFactory is a class for images which is used to display the picture on the screen.
private void previewCapturedImage() {
// bimatp factory
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = 8;
final Bitmap bitmap = BitmapFactory.decodeFile(fileUri.getPath(),
options);
imgPreview.setImageBitmap(bitmap);
}
B-25, Sector 58,
Noida- 201301,
Delhi - NCR, India
Suite 3810, Bankers Hall West,
888 - 3rd Street Sw
Calgary Alberta
1600+ transformation engineers delivered
3000+ game-changing products.
We chose Appinventiv to build our financial literacy and money management app from start to finish. From the first call, we were very impressed with Appinventiv’s professionalism, expertise, and commitment to delivering top-notch results.
It has been a pleasure working with Appinventiv. The team is not only extremely versatile and competent but also very professional, courteous, and responsive. We certainly plan to continue working with Appinventiv for an indefinite period.
We took a big leap of faith with Appinventiv who helped us translate our vision into reality with the perfectly comprehensive Edamama eCommerce solution. We are counting to get Edamama to launch on time and within budget, while rolling out the next phase of the platform with Appinventiv.
I just want to take a moment to thank the entire Appinventiv team for your incredible support. We truly appreciate everything you've done, and we're excited to continue working together as we grow here at KODA
After researching numerous companies, we finally found Appinventiv, and it was the best decision we could have made. They successfully addressed the challenges with our existing app and provided solutions that exceeded our expectations.
We approached Appinventiv with a clear vision to build a robust and future-ready platform that could seamlessly integrate with the busy lifestyle of our customers while uplifting their overall experience and giving us a competitive edge.
1600+ transformation engineers delivered
3000+ game-changing products.
Connect with our consultation experts to get:
Insights specific to your business needs
Roadmap to overcome your challenges
Opportunities to scale your business in this niche.