How to Implement Share Button On Toolbar in Android Studio | ShareAppAndroid | Android Coding
Вставка
- Опубліковано 19 вер 2024
- Share Application Tutorial : In This Video, You Will Learn How to Share App in Android Studio..
You can Share Your App Via Shareit,Whatsapp,Email and other Sharing Appliction.
All Files :
1) activity_main.xml 2) MainActivity.java
3) menu.xml
Table Of Content :
0:09 - Project Creation
0:35 - XML Code
2:43 - Java Code
6:38 - Output
Presented By : Android Coding
Download Apk Link :
drive.google.c...
All My App Links :
1) QR Scanner App : bit.ly/ScannerA...
2) Colors Code App : bit.ly/ColorsCode
3) Age Calculator App : bit.ly/AndroidA...
Enjoy & Stay Connected With Us!
► Subscribe To Android Coding : bit.ly/UA-cam-...
► Like Us On Facebook : bit.ly/Facebook...
► Follow Us On Instagram : bit.ly/Instagra...
► Follow Us On Twitter : bit.ly/Twitter-...
#ShareAppAndroid #AndroidTutorial #12H1r
also if we change some line with
Intent intent = new Intent(Intent.ACTION_SEND);
String shareBody = "Here is the share content body";
intent.setType("text/plain");
intent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Try subject");
intent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
(not using file , only text, ) it work because file permission not needed.
Thank you so much! I was stuck on this for so long and your code helped me out!!!!
Thanks Bro, My app was Crashing before I implemented this . Thankyou very much bruh!
Thank you very much, your code really helped me a lot. App was crashing before using this code.
Thank you so much sir. This is Amazing.....😍😍😍
Welcome
Kindly share your source code please if it has worked for you
Great
Thanks
Thank you for a ❤️
@@AndroidCoding Welcome
Thanks for your video
Welcome
Helpful Video..may god bless you
Thanks a lot.
@@AndroidCoding welcome....I follow your video tutorial every time
can i get your facebook ID
Thanx vai it really works
Welcome
Thanks a lot sir
Welcome
App crashes when click on share. wot working
nice ved,
so the vedio is about sharing your app's apk right!!
its very useful thanks for for ur information
Welcome
when i click on share the app is stopped
why did they like and not respond lol
Thanks Man
Welcome
App crashes when click on share.Not working dear !!
help me please
How to add a share icon to an image
Please note that I have five classes and in each class five pictures
I would like a single share icon to add it to all existing images to be shared
thank you very much
share intent not work android 9,10,11 version what i do
Not working in my app.
can you plz give me the rough idea about your java code a little explanation
Explaination of This video java coding or all video
@@AndroidCoding only java coding
hi my friend, i dont know if is possible but i would like to do a share button in products, when u click the share button you share that product, no the app. and the other person click the link and go to that product that is in your app. Is that possible?? The brand Mango do it in its app.... i dont know how to do it.... any help is welcome
Plz make navigation bar on another way like
On navigation drawer
I want to add "About Us" and when user click on "About Us" it should open some text and that text should write on html file by creating html file on android and,, it shouldn't redirect to other website so the user can read "About Us " without redirecting to the other website.
Hope you have understand plz make video on thid🙏🙏🙏🙏🙏🙏🙏
Using your code the apps doing has stopped?
Properly Initialize xml variable in java with findviewbyid.
@@AndroidCoding in main activity???? but mainActivity has already an xml file (homepage) !!!!!! i still have some prob please help
whether this command other people will be able to know about the application that we made
Hello sir, i have implemented the code and it is successfully running but only on AVD, not on mobile Device. App is crashing when pressing share in mobile. Do help me in this
Same issue with notification code as well
not working .....
west time ..........
Apk stopped when click on share why???
Try this :
ApplicationInfo api = getApplicationContext().getApplicationInfo();
String apkpath = api.sourceDir;
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("application/vnd.android.package-archive");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(apkpath)));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(Intent.createChooser(intent, "Share Via"));
@@AndroidCoding still not working
@@AndroidCoding still force close
This code will work inside activity only
Why app is crash
What app or software you use to create your channel icon?
Not working.App Crashes when click on Share
Why It's throwing FileUriExposedException?
Please help bro...
Same with me
fking crashes app..:(
Add this :
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
dont work followed all tutorial 100% same and like 10 or more errors ...
Android studio da yaptığım örneklere kanalımdan erişebilirsiniz.
not working
Add this line :
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
@@AndroidCoding not work
which video editing software you are using?
Filmora S/W
@@AndroidCoding and how you crate thumbnail?
Using Photoshop
stackoverflow.com/questions/42251634/android-os-fileuriexposedexception-file-jpg-exposed-beyond-app-through-clipdata if uri error occured...........welcome in advance
How to create share image mr?
api problem
Thank you so much bro.can u tell me how to reduce images size in mb in my pics app
post source code
Video is a source code.
@@AndroidCoding bhaigan'
share me source code
It`s not working