Native interfaces for MIDP applications.

Hi,
I am wondering whether there is any support to access Native applications from a MIDP application. I read somewhere that it is NOT possible in MIDP but may be possible in other profiles.
But there are ways to extend the MIDP to support native interfaces. Does CLDC support Native interfaces at all?
All answers are very much appreciated?
Thanks,
Ganesh.

Hi,
I'm really sorry to say I don't have an answer to your question, actually I'm looking for answer to the exact same question and I haven't been able to find a single encouraging answer.
So the reason I write is to ask you, PLEASE!, if you find an answer reply to this post.
Thanks and luck

Similar Messages

  • Use of Class Vs Interface for defining application constants

    I want to use some constants through out the application. For that I found two ways to do that as given below
    1. We can define constants in a class as
    public class ConstantClass {
    public static final String applConstant = "Some Constant";
    and use it ConstantClass.applConstant whereever needed
    Or
    2. We can define an interface as
    public interface IConstantInterface {
    String applConstant = "Some Constant";
    and use it IConstantInterface.applConstant
    Can you pls explain which is the best method to be used in the application and why?
    Thanks in advance.

    Hmmm - that would imply that if I have a reference a
    static final variable in a 3rd party class, then
    compile my class to a .class file, then the 3rd party
    changes their class file, that my .class file would
    not contain the correct values.Yep, that is what would happen
    I doubt this. I haven't read the compiler specs, but
    my assumption would be that compile time optimizations
    such as this only apply to constants within a single
    .class file.You don't need the compiler specs, you just need a compiler.
    Compile the two classes below, and run Main. Your output should look like:
    3
    Hello
    5
    Hooky
    Then delete the Constants.class file and run Main again and see what happens.
    == Constants.java ==
    public class Constants {
    public static final int INT_CONSTANT = 3;
    public static final String STRING_CONSTANT = "Hello";
    public static int i = 5;
    public static String s = "Hooky";
    == End Constants.java ==
    == Main.java ==
    public class Main {
    public static void main(String[] args) {
    System.out.println(Constants.INT_CONSTANT);
    System.out.println(Constants.STRING_CONSTANT);
    System.out.println(Constants.i);
    System.out.println(Constants.s);
    == End Main.java ==
    In case you are wondering:
    java version "1.4.1_02"
    OS: Solaris 8
    Arch: Sparc
    I get the same thing on windows with 1.4 and 1.3
    and on FreeBSD with diablo jdk 1.3

  • Need HELP for MIDP application.

    i was having problems in row 45-70 and from row 88-105 which im not so sure weither i write it correctly or not.
    i wanted to do an application using MIDP where user can view question and chose the answer using List.
    The question can be get from database and the answer chose are needed to be written in text file.
    ======================================================import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class NotSoSimpleFace extends MIDlet implements CommandListener
      private Display display;
      private Command exit;
      private Command next;
      private Command finish;
      private List list;
      private int QNo=1;
      public NotSoSimpleFace()
        display = Display.getDisplay(this);
      public void startApp()
          Question(QNo);
      public void pauseApp()
      public void destroyApp(boolean unconditional)
         notifyDestroyed();
      public void commandAction(Command command, Displayable Displayable)
        if (command == next)
         boolean choice[] = new boolean[list.size()];
         list.getSelectedFlags(choice);
         for (int x = 0; x < 4; x++)
                 if (choice[x])
                   System.out.println(list.getString(x));
                //Write to Text File in Append Mode
                //..."//root1/answer.txt;append=true", Connector.WRITE
                 OutputConnection connection = (OutputConnection)                    
                 Connector.open("file:///root1/answer.txt; append=true" Connector.WRITE );
                 OutputStream out = connection.openOutputStream();
                 PrintStream output = new PrintStream( out );
                 output.println( "Answer 1 is:" + list.append(x));
                 output.println( "Answer 2 is:" + list.append(x));
                 output.println( "Answer 3 is:" + list.append(x));
                 output.println( "Answer 4 is:" + list.append(x));
                 out.close();
                 connection.close();
                   Alert alert = new Alert("Completed", "Data Written", null, null);
                 alert.setTimeout(Alert.FOREVER);
                 alert.setType(AlertType.ERROR);
                 display.setCurrent(alert);
         QNo+=1;
         if (QNo <= 4) {
              Question(QNo);
         } else {
               destroyApp(true);
        else if (command == exit)
          destroyApp(true);
      private void Question(int no)
                String url = "jdbc:odbc:MyODBC";
             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
             Connection c = DriverManager.getConnection(url,"","");
             Statement s = c.createStatement();
             ResultSet rs = s.executeQuery ("select Question from Question");
             while (rs.next())
              FileOutputStream fout =  new FileOutputStream("sample.txt");
             PrintStream myOutput = new PrintStream(fout);
        list = new List( myOutput.print(rs.getString(1) + "\t") + no, List.MULTIPLE);
        list.append("A", null);
        list.append("B", null);
        list.append("C", null); 
        list.append("D", null); 
        exit = new Command("Exit", Command.EXIT, 1);
        if (no == 4) {
          next = new Command("Finish", Command.EXIT, 2);
        } else {
          next = new Command("Next", Command.EXIT, 2);
        list.addCommand(exit);
        list.addCommand(next);
        list.setCommandListener(this);  
        display.setCurrent(list);
    }

    Ok, I haven't really worked much with files in J2ME and I haven't worked with MIDP 2.0 at all, but I'm fairly certain that there is no JDBC available in CLDC. If you're programming for a mobile phone then you can't use SQL. It's only available for CDC
    You're on the right track with the Connector; explore that further.
    But not every phone has a filesystem; keep that in mind. Some only expose an RMS for data storage to MIDlets.
    Message was edited by:
    nogoodatcoding

  • How to easily develop user interface for MI applications?

    hai,,
    i am using SAP MI 2.5 sp 9 in client machine and my NWDS is of version 2.0.9..
    (smart sync project)
    now i am using html code for UI developments in the generated jsp pages(im using JSP framework.)..
    can i use htmlb in place of html?
    if yes , what should i do?.
    please help me with sufficient help.
    if any examples or whatever please provide me..
    regards
    kishor

    Hi Kishor,
      SAP doesnt support the use of HtmlB for MI 2.5 but techincally you can use them. JSP development is not too bad, soon Web Dynpro development will be available for Mobile Infrastructure and disconnected applications so SAP is improving the UI development. I got a chance to take a peak at one of their applications that uses Web dynpro for MI, Its pretty good. I think this December or this summer we should expect an update on the UI development.
    The following link should also help in <b>answering your question.</b>
    Help for MI API
    Good Luck,
    Wael
    -wael

  • Transducer LVDT interface for medical application

    I am working on a project in miomedical engineering in which i use as a transducer an LVDT for displacement measurements. I would like to ask if i can simply use an ADC circuit to feed the serial port with the measurements or i need to buy the DAQ systems available?
    Also i have a Toshiba e400 PDA with pocket pc os and i want to use it with the new facility of labview7,1. The problem is that it does not have a PCMCIA slot for the NI interface available for PDA. The only port it has is the one for the SD memory, infrared, and the serial to USB. Is there any way i can use this PDA for operation as data loging and graphical representation of te values?
    Thank you
    [email protected]

    Hello,
    To answer your first question, yes you can use the serial port without a DAQ system. You just need to have the proper drivers for what hardware you are using.
    Second, you can use serial, isb, and infrared to communicate between your PDA and hardware. I am including links to our online Knowledge Bases that discuss these options in more detail.
    http://digital.ni.com/public.nsf/websearch/11E3697FAC8A0A3786256D44007911BB?OpenDocument
    http://digital.ni.com/public.nsf/websearch/15987C8CB752EAD786256DC20070B433?OpenDocument
    http://forums.ni.com/ni/board/message?board.id=140&message.id=6288&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=140&message.id=9153&requireLogin=False
    Thanks,
    Caroline
    National Instruments
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • Building and Debugging MIDP applications.

    Hi,
    I have java files(MIDlet) for MIDP applications. I am unable to compile it in JBuilder7.0. Using J2ME -> KToolbar i am able to build the application/project, But i am unable to debug it. Can anybody tell me how can i successfully create/build/debug MIDP applications?
    what are the necessary S/W required??
    Thanks
    Sunil.

    go to
    http://www.borland.com/products/downloads/download_jbuilder.html#
    and download MobileSet and install it.
    then:
    1) install Wireless Toolkit if you dont have it already
    2) start JBuilder
    3) Tools menu -> Configure JDKs
    4) click "New"
    5) set the path to your WTK path (for example c:\wtk20)
    6) click ok
    7) select it as JDK for your project (or as default) using "Project properties" on the project menu
    for JBuilder Personal Edition, there's a trick to make it work - you can replace the included J2SE JDK with MIDP 2.0 and get it working (personal edition doesn't normally have the ability to add new JDKs)
    When you're going to run an application in your project, you'll get the Run window coming up. Do like this
    1) click "New"
    2) pick Type: MIDlet
    3) browse to your main class (extends MIDlet)
    4) optional: pick Build target: <None> if you don't want to run make on the project before each run
    5) click "ok"
    6) now you can run your midlet using the green play button

  • SLD Application Programming Interface for ABAP-Based Systems

    Hi Experts,
    Could you help me to configure the connection between SLD ABAP API and the SLD manually?
    Why we use SLD Application Programming Interface for ABAP-based systems (SLD ABAP API)?
    please help.
    Sushama

    You have to use transaction SLDAPICUST in the business system to define the SLD access data. This data consists of the host and port of the SLD as well as a user and password (PIAPPLUSER, for example). You can use the entries that you maintained on your Integration Server.
    The RFC destinations LCRSAPRFC and SAPSLDAPI are used for the SLD connection. They use the SLD access data maintained with transaction SLDAPICUST. The RFC destination LCRSAPRFC is used to read the exchange profile; SAPSLDAPI is used by the ABAP API.
    The RFC destinations are also used to retrieve the information about where to retrieve the information about where to find the Integration Builder required for the proxy generation. This information is located in the exchange profile.
    You have to create both RFC destinations in your business system. They use the same registered server program, which is defined as part of the RFC engine settings of the J2EE Engine on the Integration Server host. This means that all business systems can use the same server program for their RFC destinations LCRSAPRFC and SAPSLDAPI. This program ID is:
    &#9679;      SAPSLDAPI_UNICODE for Unicode business systems
    &#9679;      SAPSLDAPI_NONUNICODE
    This should help

  • User interface for Application Wizard Questionnaire - Order of Questionnair

    Hi
    Hi We have ECC6, eRecruitment 603 and have a query regarding the user interface for application wizard for the Application HRRCF_A_REF_APPLWIZRAD_EXT, Web dynpro component HRRCF_C_QUESTIONNR_UI. 
    We need to know if it is possible to influence the order in which the questionnaires appear for the user to complete.
    Example:  We have designed the process template to have quesitonnaires in a certain order, Reason for Application first and then Additional Information and then Equal Ops questionnaire.  But when the user applies and clicks on the road map questionnarie they do not appear in this order.
    many thanks
    Julie

    We have found that SAP note 1386825 fixes this issue.  For existing requisitions to pick up the fix they have to be resaved.

  • Integration of Web Interface of a Application in portal for external users

    Hello portal experts,
    our portal can be accessed from the internet (per ISA-Server and https). We have some applications that should be integrated in the portal.
    This application having a web interface that should be used in this context. It's easy to do this for our interal users which could access the web interface of the applications directly.
    But our requirement is to make this application accessible for our external users, too. I have tried a lot with the URL-iView and the server side fetching mode. The first page is shown but with broken images and the buttons are not clickable (Javascript not working).
    Is it possible to use the portal as a kind of proxy that would get the request from the client and forward this to the application in the intranet or is the only way to match our requirement in making the applications accessible directly from the internet? Is there any other solution?
    Best regards
    Florian

    Hi Florian,
    No its not possible to use the SAP Portal as web proxy to your other web-app.
    From my experiance I can tell you to stop searching/trying on the serverside fetching part, it wil not do wat you want.
    There is only one solution direction and that is that you place some kind of reverse proxy in front of your Portal...
    This reverse proxy solution (I keap it abstract as there are multiple solutions for this) should listen on the WWW and translate requests to the right servers.
    For example calls to "/" could be translated to "/irj/portal/" and back
    But also "/yourotherapp" can be translated to "http://yourotherappserver:port/yourotherapp and back
    Resulting in that all calls to http://yourexternalurl/ will go to SAP Portal and all requests to http://yourexternalurl/yourotherapp will go to your other app. When this works you can use the URL or Intergrater iView using the default client side fetching.
    I know that it is possible with Apache as a reverse proxy so I guess (and hope for you) that its also possible with ISA.
    Good luck,
    Benjamin Houttuin

  • Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server

    Hi,
      I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
    Application Module is configured with a Service Interface for ordinary ViewObjects.
    Now I want to create a EAR file of this application to deploy it on the weblogic server.
    But I got an error while deploying it.The error i am getting is shown below.
    ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    I have followed the steps mention in the below link :
    http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
    I'm using Jdeveloper 11.1.2.4 on windows.
    Please suggest what i could be doing wrong.
    Regards,
    Himanshu

    Does the deployment profile include Java EE modules?
    Refer
    Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto…

  • EJB3 - More than one remote interface for Session Bean?

    Hi,
    Is it possible in EJB3 to have more than one remote interface for a SessionBean?
    I have seen it posetd on here that it is possible but never been able to find any other information.
    Using JBoss as my App Server, I have deployed an App, where a SessionBean is defined as implementing 2 interfaces, both of which are annotated using @remote.
    However when I examine the JBoss JMX Console, Global JNDI Namespace only one remote interface is listed, and indeed it is the first one defined in the SessionBean.
    Considering I use a String similar to (MyApp/MyBean/remote) to do the JNDI lookup, this would indicate that it is not possible to have more than one remote interface.
    1. Is this a JBoss specific limitation?
    2. Is there another way of performing the JNDI lookup?
    Thanks,
    Alan.

    Hi,
    Thanks for prompt response! I tried the suggestion in my application, and the output from JBoss JMX Console was
    +- XXXBean (class: org.jnp.interfaces.NamingContext)
      |   |   +- remote (proxy: $Proxy291 implements No ClassLoaders found for: xxx.xxx.xxx.xxx.xxx.Remote1 (no security manager: RMI class loader disabled))Again only displaying the remote interface that is first in the @remote ({ Remote1.class , Remote2.class}) list. This would lead me to believe that JBoss does not support this.
    Can anyone confirm this?
    Alan.

  • Can't sync Digi 002 as an interface for Logic Pro 7

    I discovered Logic about a year after I had already purchased a Digi 002, and have been using it as my interface for Logic Express for about 6 months.  No problems.  I upgraded to Logic Pro 7 last month and now get only garbled sound and the following error message. "Error while trying to synchronize audio and midi.  Sample rate 88215 recognized.  Check conflict between Logic and External Device."
    I am trying to run Logic Pro 7.  I still also use Pro Tools LE version 7.0 which runs fine.  I can play itunes songs, Garage Band, movies, Pro Tools songs, etc., no problem, but not Logic Pro, or Logic Express.
    When I switch to Built In Audio, Logic Pro works fine through the tiny built in speaker, but trying to use the Digi 002 as my interface all the sound comes out garbled.  
    I have been pulling out my hair for weeks.  Any help would be much appreciated.

    Tony P.M. wrote:
    The digi people also recommended buying the update for 7.3 and then updating to 7.3.cs4.  I am going to give that a try.  What does Pro App Support 4.0 do and where do I find it if you think that might help me?
    That is what I'm running, and it works great. Give it a shot. You can do a search on this forum, or on the Apple Support section of the website, and search for that term (Pro Application Support).
    Yes I have learned my lesson with auto update.  Live and learn.
    Yes. Remember, a DAW machine is NOt a regular computer you can do whatever with. Audio software and hardware are finicky creatures that don't play nice if you're messing with their operating system willy-nilly.
    I spoke with the Apple Store people today as well.  They suggest I spend $100 and sign up for one on one support and bring the whole **** set up in to the store and let them work on it. Seeing as how I am using a G5 tower, and we are talking about a digi 002 board, that is going to be alot of fun to lug across the mall.   I am just about that desperate though.  Any thoughts on one on one support in store?
    LOL!!! they just want your money, and will most defniintely screw up your system. They'll update wrong, install stuff you don't want, and re-configure your system to THEIR liking. Stay away from the genius Bar. When it comes to Pro audio, they really know little or nothing. As an example, I went to my local Apple store recently and asked for a copy of Logic Pro. the helpful guy there responded "Logic what? we don't have that kind of software here."
    Thanks for the help.  Again.
    You're welcome. Hopefully soon you'll have it up and running.
    Cheers

  • Issue in the user interface of ICSS application

    Hi Experts,
      Please find the below description of the issue.
      Ours is a migration project of ICSS application from one landscape to another landscape. Both the landscapes are in CRM 7.0 with the same patch levels.
      For this migration we have copied the existing track A to the new track B and mapped to the new CRM 7.0 B system.
      The XCM setting has maintained in the new B system exactly the same way like the A system
      All the related backend code like FMs, Data Dictionary objects etc in CRM 7.0 A system has been moved to the CRM 7.0 B System.
       After this when we tried to run the application B, we are not seeing the same user interface like in application A.
       We are seeing only black font with white background. The color combination, fonts, styles etc like in application A are not visible in application B.
      There are no CSS files in the XCM settings in A system. So I have also not maintained in B system.
      We have not done any changes in the track. So we have not deployed the application.
      I have created the projects for both the tracks A and B and compared the code manually. Everything is same.
      Question:
       Please let me know what needs to be done additionally to get the same user interface.
       Is Shopadmin settings has to be maintained. Is this mandatory.
       Thanks in advance.
    Thanks and Regards,
    Raghu

    Hello Waldemar,
    Thank you for contacting National Instruments. I would like to apologize for the delay in responding to your support request. We have been on holiday for the past few days due to Thanksgiving.
    From the information you have provided here, it sounds like you are on the right track with getting your application up and running with a chinese font interface. I would like to point out an extremely helpful KnowledgeBase that you might use for reference now and any other time you need to localize your user interface:
    http://digital.ni.com/public.nsf/websearch/5987FCAFE3FBE8B98625693B0052EBD9?OpenDocument
    (This KB was written for LabVIEW 6.0, but is still relevant for LabVIEW 7.0.) Based on this document, you only need "an MBCS-enabled operating s
    ystem with an IME for the corresponding language." All 32-bit Windows operating systems are MBCS-enabled. Please see these links from the Microsoft website for more information:
    http://search.microsoft.com/search/results.aspx?View=msdn&st=a&qu=mbcs&c=4&s=2
    You may also find this tutorial describing localization procedures useful:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/6d94f90fc9b93aad862568a7007cd4c0?OpenDocument
    I would recommend that you go ahead and install the Chinese fonts to your OS (if you have not already), and develop your user interface using the new font. This application should have no problem on any other machine with the Chinese font enabled.
    I hope this helps! Let me know if there is anything else I can help with or clarify. Have a great day!
    Liz Fausak
    National Instruments

  • Adobe Acrobat 9 Pro Crashes When Scanning with Canon DR-4010C Native Interface

    When doing a custom scan in Adobe Acrobat Pro 9.2, I need to be able to show the Canon DR-4010C native interface so that it will auto-crop when I am scanning small documents such as receipts, etc.  I have another model scanner that does it automatically (a Canon Dr-2510C) but I need that same functionality when I scan with the 4010.  I can see the setting when I configure Adobe to use the scanner's native interface however when I choose "auto detection" on the size (in the scanner's interface) and press scan, Adobe immediately crashes.  Please help!

    Also, your log says: Acrobat.exe, version: 9.0.0.332
    Looks like you have not updated Acrobat after install. The current version is 9.4.6. Also try updating Acrobat, Help->Check for updates

  • Developing and using Adobe AIR native extensions for Android devices

    I was using this tutorial:
    "Developing and using Adobe AIR native extensions for Android devices"
    http://www.adobe.com/devnet/air/articles/ane-android-devices.html
    When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
    Error occurred while packaging the application:
    aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
    Does anyone know what the issue might be?

    Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.

Maybe you are looking for

  • Preview Etext template in XML Publisher Desktop (Template Builder)

    Is there a way, or are there plans, to be able to preview an eText template using the template builder, in MS Word, like you can with PDF type templates. This is a great feature when creating PDF output and saves a lot of time. It would be great to b

  • /System/Library/Extensions/USBAtTable.kext installation error (Xcode)

    While installing Xcode 3.2 and iPhone SDK 3.1 for Mac OS X 10.6 Snow Leopard, the following error message is shown "/System/Library/Extensions/USBAtTable.kext installation error". Could anyone help. Regards, MKS

  • When should object casting be used?

    Hi, just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve

  • How to deliver BPEL Processes to Customers

    Hi All, When we develop BPEL processes in a Dev environment, we would have used some specific Development environment, details of which would have gone into bpel.xml, also some of the connection-factory location details specific to development would

  • Fixed Top Margin  for Web Report

    Report generated with Htmlcss, we had setup the Top Margin of Page to 0.5 First Page Top Margin is 0.5 but the second page takes the Top Margin more than 0.5 (could be 1"). Any help would be much appreciated. TIA