I have a phone input on my app:
<TextField id="FieldTelefone" class="textArea"></TextField>
I want to creat a telephone mask, preferably with REGEX, but I am having a hard time to do so on appcelerator.
I need it to be:
(xx)_xxxx-xxxx
or
(xx)_xxxx-xxxxx
the brazilian phone numbers pattern.
but I am not being able to do it with only javascript, I could however validate it, could anyone help me ?
This git repo will help you: https://github.com/Nyvra/titanium-appcelerator-fields-mask
You surely have to extend the script, but there you'll see how it works
Related
I have a Requirement where is should show a image where barcode is place in passbook, Is there any way that i could replace barcode with image or remove barcode and make a background image not blurr or place image on back side of passbook ,As per Apple documentation it seems like I can not do it,Still wanted to check if any one can help me in any way that i can reach the requirement .
Thanks in Advance .
Sadly it's not possible to do those things.
However, you could put an image into the strip position of the pass without putting any text over it.
I use this to place a 1D barcode on Passes (makemeapass.azurewebsites.net) and it works quite well.
What are you tying to achieve?
I need some help finding a graphic library for Windows Mobile 6 with a control to answer some quick Yes/No questions.
Something like what's shown here
Also, I need to do something like this.
I don't need to present it the information in the exact same way but that would definitively be a plus.
Thank you very much in advance. Any help will be appreciated.
The way I did it at the end was how josef said, I wrote my own control for the Yes/No answers and I designed a static class to draw over a predefined image with the format already stablished (I just draw the lines indicating what the driving did at a particular time)
I need help with OpenCV to solve the following problem:
I have some pictures of one place
Each photo compare with the first
in the photos except the first I need to draw the frames where there was a change
Can anyone advise me or recommend a prime example?
That sounds like a job for background substraction.
BackgroundSubtractorMOG2 is the class you will probably want.
I have not used it myself, but here is a tutorial
I'm developing a WP7 app that has a lot of math content, and I need to display expressions as images.
The data for these expressions is in the form of strings like this:
"d=\\sqrt{2} \\times a"
"A=a \\times \\frac{\\pi}{4}"
etc.
The goal is to take a string like this, run it through some parser of some sort that then outputs an image of the expression in LateX style.
Does anyone know of some magic code I can include / have a solution?
Much appreciated.
A possible solution without getting Tex to run on windows 7 phone, would be to use a web service.
You would post your equation string to a web service and it would reply with the image data or a url. Example
In the event that tex for windows 7 phone exists, that above mentioned page also links to a script called tex2im which shows how to create an image from tex code.
My customer wants an interesting application. The basic functionality is quote generator. the user writes the best quote he knows, the end result is a nice image of quote. he would like that user can:
- change background color
- change font color
- change font size
- preview function, so the user can see what he made - this can probably be html preview with jquery...
Does anybody knows similar script or see something like this made before? Any tips where i should start? I will defenitly post the code when im done :)
Thank you :)