How convert hand written notes into text notes in Android? - java

I have to develop an Android app that includes French handwriting recognition. The problem is I have no idea where I've to start.
I have installed and run an application called Thulika but it seems that it's designed for emailing and the handwriting option doesn't work.
I've beeng trying to do this for more than a month. If anyone has better and easier solutions to handwriting recognition, feel free to suggest.

If your need is to convert handwriting from a screen (where a user uses a pen or a finger to write letters) then look at http://dev.myscript.com/ .
If you need to recognize handwriting from an image, then I'm afraid state of the art of such technology is still in "stone age". Hopefully in few years after heavy R&D we will see few handwritten SDK's around.

Related

How do I run an apk on J2ME?

Whats up! I just want to ask, but how do I run an .apk file j2me. I know that this question HAS been asked, but I can't seem to find an answer. Also, i'm not asking to run j2me apps on android; there are already tons of emulators. Im asking for apks running on j2me. I also know that they are developed in different VMs. So, is there any way to do that? Also, another side note, how do i resize the screen of an apk file? Thanks!
-Apersonwithalaptop22
(Edited to be easier to be understood)
You don't. A J2ME environment wouldn't have the Android framework. You'd need to write a complete android framework in the j2me language. It's not as simple as just converting dalvik bytecode to jvm bytecode- it's actually providing every single android class in the SDK. It could be done, but it would take one person a few years to do, and some things would never work quite right. Possibly you can find a project that's tried to start that effort, although I would doubt it- android moves relatively rapidly for them to keep up, and j2me is basically dead.
As for resizing the screen of an APK file- you don't. APK files don't have a screen size. Instead the idea is to write a UI that scales.

Write program using a MIDI device in Java

I would like to create a Java program that does simple things to a MIDI device, in this case the Novation Launchpad MK2. It is a grid of 8x8 buttons that can light up. I don't have any experience with using MIDI in Java, and I don't know where to start.
The basic idea is that I want buttons to light up for example when I press them. This means I want to send note and velocity data to the device, but also that pressing a button on the device should send a command to my program. There is documentation on the device on the website of Novation: https://customer.novationmusic.com/support/product-downloads?product=Launchpad.
Is this idea possible, or would it be harder than I imagine it to be? My experience with Java (or programming as a whole) is fairly limited, but I know a good portion of the basics. Anyone an idea on how to do this, how complicated this is and perhaps someone can give me a basic idea how I should go about doing this?
Java have API for your needs. Just learn it.
https://docs.oracle.com/javase/tutorial/sound/accessing-MIDI.html

Finding characteres in a game image using Java

I'm trying to recognize the characters of a game using Java, so I can process them later.
The images look like this:
http://i.imgur.com/GM0XPgO.jpg
I want to recognize, specially, the 3w in the left-bottom, the 214 and 0.13 in the center and the 1m in the right-bottom.
Anyone have any idea?
This question is related to computer vision and I would suggest using this java OCR library from here:
http://ocrsdk.com/documentation/code-samples/
This will help you recognize English text present on image. I'm pretty sure that it will give you major texts from image.
PS: For image processing, using matlab or python would be better as they have good computer vision libraries like "Computer vision Toolbox for Matlab" and "OpenCv for python". Here are some examples for you task using matlab: http://www.mathworks.com/help/vision/ref/ocr.html

The best way to play swf-files (flash) in my android-program?

I have to play flash (swf) in my program when the user clicks on a link. Which is best? Concentrate on android 2.2 and use the Adobe Flash Player, or what do you recommend? I have tested WebView, but can not play swf in the emulator. HTC has a custom flash player but it feel like a limitation.
Some code samples to play swf in android that works for as many users as possible?
Have you considered using Flash to create an AIR app for Android rather than using Java? If you have to download and run external swf files, this seems like a path of least resistance to me. Of course, this requires learning ActionScript, but it's not difficult if you know Java.
It's hard for me to give you a solid recommendation, much like toggy-tog-togs answer. B/c we don't know exactly how many swfs or what kind of swfs you are playing.
I mean, if your application is pretty much just playing swf's and you need a UI to run it, it might be worth looking at Air and Flex.
However, to address that first problem you had. I haven't tested it myself, but I am nearly 100% certain, that your emulator won't play flash content in a webview b/c you don't have flash player installed on the emulators. :-) Android supports Flash content but only after you download and install the player from the App store.
So you might want to try running your emulator and installing the Flash player app. I don't even know if that is possible but you ought to try it out. :-)
By the way, the Android emulator is trash, if you are serious about developing for the Android platform, you really have to pick up a device or two to debug on.
Good luck!
So your using JAVA if you are then it is best to open up the browser that is the easiest but if you are wanting to use it in the application (This is less loading time if it is included in the package) but it costs try using JFlashPlayer (It Costs For the full version) http://www.jpackages.com/jflashplayer/download/ This runs very fast on the android platform. Hope I could help.

Whats the best way to start programming for my non-smartphone?

I have a general old-fashioned phone that has no special app system and uses Java (I assume ME) for the few applications you can use on it.
This is still a decent userbase and I'd like to start programming for this type of phone. I already know basic Java theory and syntax, so.. where do I get started for programming for non-smartphones?
Best programming environment for Java ME IMO is Eclipse with EclipseME. Includes lots of built-in stuff about packaging your midlets etc. The SonyEricsson wireless toolkit is great for PC-based testing and debugging, but don't forget on-device testing!
If you don't know much about Java ME's lifecycle, then get reading as widely as you can, and try lots and lots of examples. Start with the JSR-118 (MIDP2) javadocs; you'll want these open on your desktop at all times while coding.
Don't waste too much time with the form-based user-interface; I recommend either rolling your own using Canvas, or read about LWUIT.
You can do all sorts in Java ME and target a very broad range of handsets. HTTP capability is guaranteed, so you can hook up to a public web service, or create your own using something like Google Appengine.
Finally, you can release your app very easily on somewhere like Get Jar. Don't be put off by those who say "no owners of Java ME handsets want apps", you'll find the most popular user bases on this site will be users in countries such as India and Indonesia.
Good luck!
I would start with a book on J2ME and work from there.
Try Beginning J2ME: From Novice to Professional.
You could also download the J2ME SDK and play around with the example they give.
For tutorials have a look at the stackoverflow question https://stackoverflow.com/questions/584923/do-you-know-a-good-j2me-tutorial as mention in my comment.
I started with writing simple Flashlight application (choose how much seconds screen will remain lit) in NetBeans ME. And other app which I mange was Countdown with some graphics and sound. After that I found limitations too much annoying and now I'm waiting for my Android phone.
in short:
If you want to try it out - you don't need to buy books. There are plenty of tutorials around.
But, if you want to start deep development - don't waste time.

Categories

Resources