I try to run my P2P NFC project in nokia 6212 emulator. but the application is not showing on the emulator screen.
so, my question is it is possible to create an application for nokia6212. if it does then kindly inform me the steps.
actually, m running my p2p java projects in eclipse. Please help me
Thanks
The answer: Yes.
Take a look at this example.
All needed steps, including code examples, getting started, tutorials, etc.. are here.
Related
I need some help with connecting hte Clarifai API into my android app. It's for a uni project where we tests different image recognition softwares. All it needs to do is take a picture on the phone and then run recognition on the pituces (which will be buildings).
I have no idea how to do this which is why i'm throwing this hail mary in the hope that someone would help me. I've put what i have in a drive here: https://drive.google.com/drive/folders/1LH79C0JtpBBpAMdKqNjKfYfj3KTvLgAh?usp=sharing
How can I solve this?
To use the Clarifai API on Android, you should use the Clarifai API Java client. Alternatively, if you wish not to install the library, you can do REST and execute HTTP requests directly using JSON. See the developer's guide for examples.
Note: There's also an Android SDK in works, which is beta at the time of this writing. See here on how to join the beta program.
I am trying to building a LAN messenger application in android.
I searching on internet for reference project but while reading their code i am not able to understand what actually going on.
Can anyone help me or point me to some other good resources that can help me in my project will be great.
It is enough for me if some one told me key points(what are the things required for this kind of project) and just give me little push so that i can start.
An idea would be to use the open source Alljoyn framework to exchange messages on the LAN. There is also a chat example that you can download, run and examine.
More info here:
https://allseenalliance.org/framework/documentation/develop/run-sample-apps/chat
I was trying to run an application on my phone, when I got this error:
"This application caused an error and may not function correctly.
java.lang.NoClassDefFound
Error:
com/nokia/mid/ui/lcdui/DisplayStateListener"
Can anyone tell me how can I fix this error?
I am a noob to Java and I have just started learning it at my school. Basically, I am working to make an application compatible with my phone. I will be really grateful to you if you could guide me on how can I proceed.
Here is the link to the file: http://msoft9.com/site_down-java-apps.xhtml?get-file=1648
It looks like the application is using the socalled NokiaUI API.
This is a rather old API developed by Nokia containing User-Interface functionality for various things, such as keeping the screen alive or making the MIDlet use the whole screen (FullScreen). It was developed in the MIDP1.0 days before things like FullScreen became possible in MIDP2.0
I'm guessing that DisplayStateListener is a class in NokiaUI.
Your phone apparently doesn't support NokiaUI. Not all phones does. It is supported by other brands than Nokia though. I know that Sony Ericsson phones support the NokiaUI API.
Even today NokiaUI is still used by JavaME developers, because it is (surprisingly/sadly) still the only way to keep the screen alive. But mostly you won't notice it is used, because developers naturally use a try/catch block to utilize it.
That's obviously not what the developers has done in your case.
But you can probably find another version of the MIDlet that doesn't use NokiaUI.
More about NokiaUI API:
http://developer.nokia.com/community/wiki/Nokia_UI_API
how to do the connection for NFC in j2me emulator.
If anyone has already work on this project kindly help me to figure out the problem,
and please shared me if you have any demo code related to this project.
Thanks
The NFC J2ME implementation is JSR-257 Contactless Communication API. I suppose you are using WTK 2.5.2_01.
From that link you can see that there are ~20 modules supported out-of-the-box, but not the JSR-257, so you'll have to load it in the emulator.
This answer has a command line solution, but there should be the possibility to load it from the Netbeans GUI.
Try the Nokia 6212 NFC emulator. I've developed with it on Windows Vista. Seems to work on Windows 7 too... http://developer.nokia.com/info/sw.nokia.com/id/5bcaee40-d2b2-4595-b5b5-4833d6a4cda1/S40_Nokia_6212_NFC_SDK.html
Well i `ve made an app using java me and as graphics i used lwuit library which i added into the midlet`s jar. On Nokia it runs smooth and i wanted to port it to android. So i found out about microemulator http://microemu.blogspot.ro/2008/11/running-java-me-applications-on-android.html and i followed those steps and i got the apk. However when i run it into the Android Emulator it closes at start. I don`t know what may be the problem because i was able to convert the demo jar app into apk and it ran succesfuly.
Any ideas on what should i do?
I suggest you port your application to Codename One which should be pretty simple. It has proper Android support which will make your application look and act native on Android.