Adding options to mobile gallery? - android

Can we add any other extra options like set wallpaper or add any extra button to action bar for mobile gallery programmatically in android. In my application i have a grid View with num of images taken from mobile gallery.
When grid view item click it directly navigate to image location which is mobile gallery. I have done this using concept MediaScannerConnection.
Now I want to add extra option to mobile built in gallery.
Is there any possible ways to do this?
Thank you and sorry for my English.

You can use Image to set wallpaper. Similarly the image can be used as "set contact pic" or "set as app icon", then you will select the app you want to change its icon. change icon of any app and use ur own icon search this in google u have to write code for this..but this is hard...

Related

Adding image in a text field in flutter

I want to add images in a text field/text form field in flutter. Whenever the user clicks the first button in the bottom navigation bar, the app will ask to pick an image and the image will display in the text field.
Like this:-
How Can I add one? (I am not talking about emoji)
ANY HELP OR IDEA WOULD BE APPRECIATED.
You can use RichTextEditor using rich_text_view plugin to support stylized text. Another option here is by using flutter_markdown to render images from Markdown.

Capture part of text from image and highlight captured text

I am new to android. My challenge is to create an application which captures part of text from image and highlight captured text.
Ex:
Right now getting below result by using sample
But i need result as
highlight phone number, email and website and need to capture those fields from image. Is it possible to navigate website when user click on highlighted part of website?
Please help me. Thanks in advance.
If you are using the above library
then you will get below function in CaptureActivity
boolean handleOcrDecode(OcrResult ocrResult) {}
in this function you can filter the text that you want from overall text.
After filtering the data show custom dailog with mobile number and email.
And make it email clickable so it will redirect the user to website.

showing text and image both while displaying list of applications in android

i want to create a home screen application where the applications looks like carousel , and i am able to do it . The problem i am facing is that in my application only the applications icon are getting displayed the text is missing in it , where as my requirement is that i want to both the icon and text to be displayed together.
my application displays same as the above showing image.
i want text to be combined with it as above image.
please help me.
Thanks
datta
So the simplest thing to do would be to create a Compound Control. This compound control would essentially be a LinearLayout with both and ImageView and a TextView in it. Then, where ever you use a CarouselImageView in your code, just use your new compound control instead.

How to set selected effect when click on any image button same as iphone?

I have one screen with some image buttons and image view. when user click on these buttons or image view i need to show selected effect not replace any image instead of these. only selected dark shade effect on button or imageview same as iphone. How it's possible ?
i have not any selected image source , i checked these code ...
http://developer.android.com/reference/android/widget/ImageButton.html
But here we set another image on pressed event.
Anyone know any property of android to directly set select dark shadow
effect without image ?
Please anyone suggest how its possible ?
Thanks
you can use setAlpha method of imageView class to do this.
imgView.setAlpha(90);
http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList
Thats the link for adding images to show different state of buttons. You create a xml file for this and set this file as the background for the button.

Android: How to change a button so that it has a graphic image embedded on it

I have a program that I'm writing in Android using Eclipse. It has an array of buttons (4x4).
I would like to have the buttons contain a user defined image (perhaps some filled circles).
How do I go about doing this?
Thanks
Mike
http://developer.android.com/resources/tutorials/views/hello-formstuff.html#CustomButton
Should be straight forward enough to follow.. if the image is chosen by the uesr, you will just have to change the image path on a button press or something similar

Categories

Resources