How to connect NFC in J2ME emulator

1 down vote favorite
1
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

Just to clarify - in the USA, ATT/3G (GSM) models need a micro-SIM; Verizon (CDMA) models don't
In other countries, the great bulk of providers use GSM (and so will need a micro-SIM). CDMA tends to be concentrated in Asia (there's no hard and fast rule)
I don't know whether any CDMA providers outside the USA support the iPhone yet.

Similar Messages

  • How to call j2me emulator instance from a java program?

    hi,
    how to call j2me emulator instance from a java program?
    i tried public void startApp(){
    try{
    platformRequest("tel:+5550000");
    }catch(Exception e){
    e.printStackTrace();
    from a j2me midlet itself,
    but it gave illegal access exception.
    do i need any hardware phone connected to my pc?
    please help.

    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    import java.util.*;
    public class OpenExplorer{
    public static void main(String args[]){
         new OpenExplorer();
    public OpenExplorer(){
         try{
         String command = "explorer C:";
         // or String command = "cmd /c explorer C:";
         Runtime runtime = Runtime.getRuntime();
         Process process = runtime.exec(command);
         int exitVal = process.waitFor();
         System.out.println("Exit Value: " + exitVal);
         } catch(Exception e){
         e.printStackTrace();
    }

  • How to quit the J2ME emulator when running from a batch?

    I am launching the J2me emulator from a batch file in order to run unit tests (J2meUnit). I am using "emulator.exe -classpath ... -Xdevice:mediaControlSkin -Xdomain@trusted com.mydomain.TestMyMidlet".
    This works fine, and some of the tests even pass (;-)) but after the last one the emulator sits there waiting for me to shut it down, which would get a little tiresome at 4.00am every morning when the rest of the automated unit tests run ;-) How should I terminate it please? I tried to call destroyApp(true) after the last test but got "java.lang.SecurityException: Application not authorized to access the restricted API". What am I missing please? Thanks for any ideas...

    You can extend j2meunit.midletui.TestRunner (which you are probably already doing),
    copy-and-paste the start method from the source package, then change the end to look like this:
                                  System.out.println("Exception while running test: " + e);
                             e.printStackTrace();
    // start change
                   finally
                             notifyDestroyed();
    // end change
              }.start();
         }In other words, when all the tests are done, notify the application manager that you're all done. (destroyApp is what the app manager calls, notifyDestroyed is what you call)
    On the same topic (risking modestly hijacking the thread here) I'd like to ask if anyone knows how to just run some class inside a J2ME VM without having to pop up the UI.
    I know there is a j2meunit.textui.TestRunner, but I haven't figured out any way to get a command-line KVM without an UI at all. AWT throws exceptions when no X server is running (or you unset $DISPLAY). Of course, everything runs fine (except that you can't specify an exit code, which gives you some more hoops to jump through with ant), but I don't think an unit test should need an X server running / should pop up a window for half a second.

  • How to connect database(MSAccess ) in j2me

    hi,
    i'm new to j2me. can anyone tell me how to connect MsAccess database with the j2me.and also whether it is possible to connect or else we have to use some other database such as Mysql or oracle.
    thanx a lot in advance
    regards
    laxmi

    Not directly. Please use the search, was already asked numerous times!

  • How to connect j2me to sip server

    Hi friends ...
    I am new to this topic and i just want to know how to connect a real sip server with the j2me application .
    I tried using the GoSIP demo given in wtk2.5 . its working fine with local SIP proxy and registrar given in that .
    But i want to connect to a real SIP Server. Even i have a registered sip number.
    Can any one please help me how to sort out this problem as i am very new to this topic. Is there any source given for this ??? If so please tell me ...
    Thanks in advance ......

    is it possible to make
    voice calls from the GoSIP example given in the
    wtk2.5 demo examples ?
    Probably not. Have you tried?
    I have a sip account and i just want to know how to
    register my sip account with the sip server using a
    j2me application .
    Change the SipHeader and / or SipAddress
    What are the changes to be made in the GoSIP example
    to connect to a real sip server and not to the sip
    proxy server
    See above
    and what are the syntax to be changed
    in it ????
    Syntax is a property of the programming language, not the application.
    And one question mark is enough to pose a question, 4 is overkill and perceived as rudeness.
    Please help me in solving out this problem ....
    What have you done to help yourself?
    Read the javadoc for jsr-180
    http://www.forum.nokia.com/document/Java_ME_Developers_Library_v2/GUID-2508C2ED-C0BE-4512-9302-6805AB7ACB0E/index.html
    Introduction to the SIP API for Java ME
    http://dev2dev.bea.com/lpt/a/565
    A presentation on the architecture and capabilites of SIP
    http://phoenix.labri.fr/documentation/sip/Documentation/Papers/Programming_SIP/Presentation/Jain/SIP_for_J2ME.pdf
    Thanks in advance ....
    If you're looking to solve a need by cut-n-paste programming sans understanding, you're unlikely to get it here.
    Increase your level of understanding, experiment with your codes and post back when you have a specific issue.
    Good luck, Darryl

  • How to use the Google Android Emulator in Flash Builder on Windows 7?

    I want to try out Flash Builder to create an app, but I cannot find out how to use the Google Android Emulator in Flash Builder. The simulators in Flash Builder work, and the android emulator is installed correctly and can run. I just can't seem to connect them. How do I do that?

    Hi Pahup,
    Thank you for your reply!!
    I adapted an Android App using Flash CC on a Mac. I already published this App for the Apple App Store. When I published the App for Android I chose Air 3.7.xxx for Android. I also created the p12 certificate using Flash CC in the publishing settigns for Android. So my App is theoretically finished and ready for Upload.
    When I went to the Google Play Store Developer Console I had the options to
    1.) Upload APK
    or
    2.) Prepare Store Entry
    ...so I prepared the Store entry first. When I go to "APK"-Tab in the console it looks like this:
    ... it says "Upload APK" and the Button below "Get Licence Key". When I click on the license Key Button it looks like this:
    So I think I should enter this RSA-Key somehow into my App BEFORE uploading it to the Google Play Store. This is recommended when an Ap is set to be paid. My Application is set to paid.
    I did not use any kind of licensing API (until now - cause I don´t know how and what it is for)
    This is all new to me. It is the first App I want to bringt to the Android market. I really hoped it would be as easy as getting an app into the Apple App Store. I found so many step by step instructions for dummies on "How to get an Flash iOS App into the App Store plus creating all the certificates needed", so I thought it would be the same for Android. But there is no help at all at the moment. I am totally confused.
    So any help, hint or instrusction would be great!!
    By the way - this is the App I want to get into the Google Play Store

  • How to connect and query the sql database in mobile application

    Hello,
    Can any one say how to connect the sql database from the j2me application.
    I have got some info that only through servlet or jsp only we can connect the database and from their we should get the info or query in mobile application.
    Is it true? and can i have any sample codes or white paper or guildlines.
    It would be more useful form my project.
    Thanks in advance.
    regards,
    sara

    Hi David,
    According to your description, when you add Windows Azure Mobile Services to a Window Phone 8 app, then store app data in the new mobile service. I recommend you post the related question on the Windows Azure Mobile Services Forums at
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=azuremobile .It is appropriate and more experts will assist you.
    In addition, there are the details about creating a Windows Phone app connected to your mobile service.
    http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-wp8/
    http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-data-wp8/
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Displaying Devanagari Unicode in J2ME Emulator

    Hello,
    I know that Java products support Unicode.
    Recently I was working in J2ME and was trying to display my Nepali, Devanagari, characters on it but to no avail. I could only see the common square box on the emulator. Does anyone know how to display Devanagari fonts on the J2ME emulator? I would be glad to receive the reply and be very thankful.
    Thank you.
    Dilip

    Mobile-Freak
    Welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem. This question was asked nearly 5 years ago.
    I'm locking this thread now.
    db

  • FTP connection possible with J2ME?

    Hi all,
    Does anybody if it is possible to make an FTP connection for a J2ME midlet (like you would make an http connection). If so, how can I do this and where could I find some information about this?
    Kind regards

    In MIDP 1.0, only HTTP support is required. With only HTTP, you could set up a custom proxy (which could be a Java servlet, CGI script, etc.) that does FTP on behalf of the client. So the client would make an HTTP request to, say, http://www.example.com/ftpProxy?url=ftp%3A%2F%2Fftp.example.com%2Ffoo%2Fbar, and the server-side ftpProxy program would fetch and return the specified FTP URL.
    Some phones support raw sockets, in which case a proxy wouldn't be needed and you could implement FTP yourself (by reading the appropriate RFC). But this wouldn't be very portable as there are J2ME MIDP phones that only support HTTP.

  • Can a j2me emulator work with a real bluetooth adaptor?

    Can a j2me emulator work with a real bluetooth adaptor?
    Currently I need to work on a project that will need bluetooth and a SE P910i phone.
    But the phone is not available to me at all times.
    So, I am wondering if it is possible to have the emulator connect to a real bluetooth adaptor that is connected to the computer and communicate with other bluetooth phones....
    Any help is very much appreciated :)

    I have not found a solution to it. And I concluded that it cannot be done.
    Bluetooth, on the emulator is emulated too. so if your program needs to test on 2 phones, then you can just open up 2 emulators and they will be able to find each other in their emulated world.
    Try with the bluetooth demo that comes with J2ME. I cannot get to see any pictures when I run them on real phones but it worked flawlessly on emulators......

  • How to connect my friends apple notebook through video call

    HOW TO CONNECT TO A FRIEND WHO IS USING APPLE NOTEBOOK FROM MY IMAC SUGGEST ME WAITING FOR A SOLUTION FROM APPLE TEAM SUPPORT

    Hi,
    Typing in all upper case is regarded and shouting here.
    Presumably as you have posted in the OS X 10.7.x (Lion) area you are running this version of the OS on your iMac.
    This will have iChat 6 on it.
    This can use AIM, Jabber and Yahoo IDs within the app.
    Apple IDS ending in @mac.com and iCloud issued @me.com and @icloud.com are also Valid AIM Screen Names.
    If you use Googlemail and Enable "talk" in the products there you can then use your Google Mail ID as a Jabber ID (although it has it's own Add Account option in iChat)
    Facebook has an option to Enable "Chat" which will give you a Chat ID variant on your name there and this can be used in iChat (or Messages) as a Jabber ID.
    The Yahoo Account will only do Text chats.
    It also has to be an actual ID registered at Yahoo.
    Chats are then AIM to AIM or Jabber to Jabber or Yahoo to Yahoo.
    So your Buddy will also need a suitable ID or Screen Name  for the relevant service.
    8:16 pm      Sunday; January 19, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How to connect sound or audio to my tv using hdmi adapter. I tried to connect thru sound settings but my tv is not found.

    how to connect sound to my tv set using hdmi adapter. Im using 2009 macbook pro 13". I went to sound settings then output and it shows internal speaker built- in, it wont locate my tv set. pls. help, thanks

    You probably can't because it looks like your MacBook Pro is too old to carry audio over HDMI. You will need to run a separate audio cable from the audio out port on the MacBook Pro to the audio in port on the TV.
    Check your MacBook Pro model year against the list in this Apple tech note:
    About Mini DisplayPort to HDMI adapters
    Learn about the Mini DisplayPort in the latest Mac models that enables audio and video output for DisplayPort and HDMI.

  • I need to know how to connect my macbook to the tv

    I ordered the mini dvi adapter for my macbook 13in and obviously it connects to the computer but i have no idea how it connects to the tv. Where does it go? and do i need something else to help connect it to the tv? I am really confused please help.

    Yep, Apple makes adaptors to go from the mini DVI on the macbook to almost any type of input that you TV will have. First check the back of your tube to find out what kind of input it has, and order the appropriate adaptor.
    Luck
    E

  • How to connect a Sony Bravia TV to the internet through your Airport network

    Since it took me a lot of time to figure out how to connect my Sony Bravia TV to the internet through my Airport network, I better share how to do it. Hopefully saving others a lot of time.
    My 32EX600 Sony Bravia TV is Ethernet connected to my Mac Mini, which is part of my Airport network, together with another Mac, an Airport Extreme Base Station and an ADSL modem/router. Moreover, the Mac Mini is connected to the TV by HDMI.
    Whatever I tried in the TV’s Wired Network Set-up (Auto, or Manual with manual IP, Subnet Mask, Default Gateway and DNS IPs), I couldn’t get it right. Cable Connection and Local Access were mostly OK, Internet Access always Failed.
    The solution lies in the Sharing panel of the System Preferences of the Mac Mini. In the Internet Sharing item of that panel, you should choose to “share your internet connection from WiFi to computers (the TV in this case) using Ethernet“, and NOT (as I had chosen before and seemed so obvious) “share your internet connection from Airport to computers using Ethernet“. After that change, the Bravia Network Set-up, using the Wired and Auto options, flawlessly connected to the internet. No expensive (Sony) WiFi USB dongle needed.

    I have now had a detailed reply from Sony Europe and the way to do this is to:
    1.       Press Home on the TV Setup
    2.       Use the right and left arrow to select Setting.
    3.       Use the up and down to select Network, press Enter.
    4.       Select Network Setup.
    5.       Select Wireless setup.
    6.       Select Scan
    7.       Select your network
    8.       A new screen will appear asking for entering the security key.
    9.       Enter your WPA2 key.
    10.   Select Enter.
    11.   It will take you back to the same screen asking for entering the
    security key.
    12.   Press the right arrow.
    13.   Select Auto.
    14.   Press the right arrow.
    15.   Select Save and connect.
    These instructions are not the same as shown on the TV but they worked fine for me so they may help others with a similar problem.

  • How to connect my Mac book Pro to a TV

    How to connect my MacBook Pro to the TV using HDTV cable

    I am assuming your TV has HDMI connector.
    In that case, if your MacBook is the retina-one, you have HDMI connector there too. All you need is HDMI cable to connect teh two.
    If your MacBook has thunderbolt port instead, you need Mini DisplayPort to HDMI adapter and HDMI cable.
    Hope this makes sense.

Maybe you are looking for