Fetching Texting and numbers from Image Clicked in Android - android

I am trying to click a image from camera and then trying to get the text and numbers within the image and display in textview in android. I am confused about how to achieve this through my Java code. Does anyone had a similar problem and knows how to solve it? I would be grateful if somebody could help me!Thanks in advance.

If I understood your question correctly you want to get text from an image. You can see this

Related

Android Appium: Find element ID of an error?

I am doing research in Appium for a few days and get stuck in getting ID.
For some elements which always appear on screen, there may have no problem to get the ID by iuautomatorviewer. However, for some elements which only appear on screen for error notification like an image below and I cannot get an ID of the red circle in the image
Is there any way to get the ID of the red circle?
Thank you in advance!
P/s: I am using Meowchat for practicing only. Thank to Meowchat
i am afraid you cannot, it just a componentDrawable of TextView, not a view .
if you really want to control it , use getCompoundDrawables from EditText, it will help you .
or you can implement yourself Error Notification,make the red circle a view.
Use xpath to find elements.
driver.findElement(By.xpath("//android.widget.EditText[#resource-id='com.minus.android:id/username']");
driver.sendKeys("Username you want to enter");

Strange behaviour when using search view in android

i've successfully implemented a searchView in a listView in android, but what i see now is something strange, i don't know if it's normal or just something i wrote wrong.
when some text is entered app opens this black layout with the text i'm searching, it's cool but i don't know how to handle with that...
anyone can help me?
thanks guys :)

Multiple images in edit text Android

I am trying to replicate the text message application of Android Application, where the requirement is to send multiple images in one message.
I am able to put one image in edit text field. However, I am not sure how we can put multiple images in edit text?
If it is not possible, what is the another way to do it?
Someone has mentioned in following link that need to use relative layout with gallery and textview.
How do I insert multiple image in Edit Text in android
Can anyone help me on this?
Thank you in advance.
You can use a
LayerDrawable
It is a Drawable that manages an array of other Drawables. These are drawn in array order, so the element with the largest index will be drawn on top.

How to add image multiple times in a layout?

I am new to this site. I am developing an application on Basic maths for Children .
In that app first i am showing simple calculator . Now I want to insert an image according to
the 1st of times, in next row image according to 2nd number . So like that I want to show as image wise also Basic Mathematics .
I am not getting how to do that can any one know how to do that or else give me some links to study
Please see the following links
http://developer.android.com/guide/topics/ui/overview.html
http://www.vogella.com/tutorials.html
Prevent asking questions repetively,
given the solution here :)
How to show same image multiple time in row?

display ServiceMark on android

I want to display the ServiceMark (SM) symbol in my application. I use its unicode value "\u2120" in my textview to do this, but it appears as a box on the emulator.
Is there any other solution to get this working?
Any help is appreciated.
Thanks..
Use superscript:
textView.setText(Html.fromHtml("Foobar<sup>SM</sup>"));

Categories

Resources