Interfacing with C API/SDK and other questions

Please be patient with me, I am new at Java and J2me....
1. What are the limitations in using J2me v 2 in writing apps (non games for a mobile device?
2. Can J2me interface with C APIs/SDKs Is there a JNI for J2me?
3. What Functions are available for J2me. I saw some infor. in the forum about API for SMS.
Thanks

Thanks for the reply, I looked at the site, but could not find information with regards to interfacing with C, i.e. for example JNI for J2ME. Can you point me to the specific section or sections. Best regards

Similar Messages

  • ALV with dropdown in column and other questions

    hi,
    I created an editable alv with configuration model via external context mapping.
    now I have a column which contains strings and my aim is to show this whole column as a dropdownlist. the possible values of this dropdown are fetched in a database table at  runtime and each cell in this column got its own selected value in this dropdownlist.
    changes of the selected values should be written in the database table in a later step.
    1. what changes do I have to do?
    should I remove my external mapping concerning the alv and use the setData method? or what is the easiest way to get my dropdownlist in this column instead of normal text (string) ?
    2. should I choose dropdownbykey or by index?
       I suppose I have to change the context when changing the selected value in the dropdownlist and the read out the changed context element and update my database table?
    3. how could I access rows (= tuples) in an alv?
    4. how can I avoid that a row could be deleted, inserted or added with the normal functions of the alv?

    Hi Thorsten,
    If the possible list of values in the dropdown is different for each row, you need a drop down by index. Else this can be done using a dropdown by key itself.
    The only change that you need to do is create a cell editor of type dropdown for that particular column and configure your ALV model.
    The sample code for changing the cell editor would be:
        l_alv_model = l_ref_interfacecontroller->get_model( ).
      DATA:
         lr_column_settings TYPE REF TO if_salv_wd_column_settings,
         lr_column type ref to CL_SALV_WD_COLUMN.
         lr_dropdown TYPE REF TO CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
      lr_column_settings ?= l_alv_model.
      lr_column = lr_column_settings->get_column( <column name> ).
      CREATE OBJECT lr_dropdown EXPORTING 
      SELECTED_KEY_FIELDNAME= '<fieldname>'
      lr_column->set_cell_editor( lr_dropdown ).
    Here, you can substitute the field name with your field name that has to be displayed as a dropdown.
    The dropdown list can be populated in the wddoinit method by attaching a value set to the attribute in the context node info. Everything else will be like you do in a normal table. You can so a get_static_attributes of your elements and persist in tables. Whenever you change the selected value, the context will be updated immediately. You can have a user defined function like 'Save' or something where you can just read the context and process the data.
    If you do not want to display any of the normal functions, you can do the following:
    data: lt_functions type SALV_WD_T_FUNCTION_STD_REF,
            ls_function type SALV_WD_s_FUNCTION_STD_REF.
    lt_functions = l_alv_model->if_salv_wd_function_settings~get_functions_std( ).
    loop at lt_functions into ls_function.
    ls_function-r_function->set_visible( CL_WD_UIELEMENT=>E_VISIBLE-NONE ).
    endloop.
    The above code will hide all the standard functions. If you want to hide specific ones, do a get_function(id) and set_visible.
    Hope this helps.
    Regards
    Nithya

  • HT1553 I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error...

    I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error... Help!!

    If you have installed a new hard drive , you will need to have formatted it in Disk Utility correctly. This may explain your problem.
    Boot  into your 10.6 Install disk again at the top menubar > Utilities > select Disk utility and in there select your new hard drive, and select the tab Erase and choose to make the format as  Mac OS Extended Journaled. When that is finished look in the main window to make sure that the partition map scheme says GUID Partition Table.
    Now go to the Restore tab and reinstall from your backup.

  • When I turn on my MacBook Pro I get a grey screen with a folder icon and a question mark. I can't the computer to boot up.

    What do I do when I power up the computer and get a grey screen with a folder icon and a question mark?

    vickyfromosseo wrote:
    What do I do when I power up the computer and get a grey screen with a folder icon and a question mark?
    Read this: A flashing question mark or globe appears when you start your Mac

  • What does it mean when you computer crashes and when you turn it back on it shows you a blank blue screen with a little folder and a question mark in the middle?

    What does it mean when you computer crashes and when you turn it back on it shows you a blank blue screen with a little folder and a question mark in the middle? It's a old imac from 1997.

    I don't have original discs that it came with.
    Then you still can use the second option with the keyboard combo I posted, called "resetting the PRAM."
    Also when you way hold the c key down do you mean turn computer off and turn back on holding the c key?
    Yes, or you can simply restart. As you don't have the CDs, this isn't on the plate any more.
    The internal backup battery is not expensive and, in most iMacs is user-replacable. If yours has a tray-loading optical drive like this one:
    it takes a major teardown to replace the internal battery. If this is the case, you'd be better off to leave the computer plugged in all the time; that eliminates the main reason for having a working battery.
    If it has a slot-loading optical drive like this one:
    things are much easier. The battery is visible through the RAM access door on the bottom of the computer case. The manual:
    http://manuals.info.apple.com/en_US/iMacG3_2000UserManual.PDF
    has sketches of how to access the RAM and therefore the backup battery. Unfortunately, the pdf on the manual goes up sideways on-screen and the RAM instructions are pretty deep into the manual. It's probably easier to scroll (for a while) to the section on adding RAM and print the applicable pages.
    When you work on the battery, some sort of non-conductive pliers or large tweezer or forceps help unless you have tiny fingers. Make sure to note the polarity of the old battery and install the new one in the same orientation.
    The battery itself is readily available. If price is no oblect, you can get it for a small rasom from Radio Shack Store ("Tandy" outside the US) as part number 23-026.
    Online, they are dirt-cheap even after adding shipping. I buy backup batteries form this outfit:
    3.6v Newer Technology Lithium 1/2 AA PRAM Computer Clock Battery

  • Interfacing with Solaris IP/ICMP and ARP

    Hi,
    I am writing a sample driver that interfaces with Solaris IP, ARP and ICMP.
    1. I want to get the routing table information from IP from kernel. Is it possible via some standard interfacing?
    2. I want to get the ARP entries from ARP cache or send arp requests .
    3. I want the ICMP module to generate some error messages
    Can these be achieved from the kernel?
    Any info in this topic would be of great help.
    Thanks,
    Amudha

    What was the solution?
    I am trying to intercept arp send/replies
    on the standard ethernet driver. Is this possible?
    Perhaps you can help me with some code.

  • In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to him.

    In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to such person, but the only one shows up is the birthday. How to be able to show all those dates linked to people in the agenda in the iCal?
    Thanks

    Hi,
    I sugggest you try my application, Dates to iCal. It is shareware with a 2 week trial period.
    Dates to iCal 2 is a replacement for Apple's birthday calendar for iCal. It has a range of features to allow the user to choose what, and what not, to sync to iCal from Address Book.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal 2 can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. This application also allows for the titles of the events sent to iCal to be modified to the user's preference.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Trying to download songs on iTunes and it's asking for "my 1st car I owned" and other questions that I never answered. It won't let me download anything til I answer them. Can you help me?

    Trying to download songs on iTunes and it's asking for "my 1st car I owned" and other questions that I never answered. It won't let me download anything til I answer them. Can you help me?

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (94816)

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). I can't figure out how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). Whenever I try to use a tool,  a blue box appears around the line and I have to double click it to manipulate it, which opens just that line in a semi burred screen where all the other objects are semi-grey in the background. I can manipulate this line in this screen but nothing else at that time which I could do about 5 minutes ago. For exampe, I no longer can join up 2 lines drawn by the line tool together. For some reason this started randomly (probably due to a accidental shortcut combination) and I just can't put it back to what it used to be. I have inserted a video hopefully showing what I mean. Any help would be appreciated.

    Thank you - Just what I needed

  • What can I change to gain access to my work vpn.  I can access with my MacBook Air and other routers.  Can use my ipad and this time capsule to successfully access the VPN.

    What can I change to gain access to my work vpn.  I can access with my MacBook Air and other routers.  Can use my ipad and this time capsule to successfully access the VPN.

    You need to give us a lot more info.
    I presume the MBA and the TC are the combo that doesn't work, although you don't clearly state that.
    If the ipad and TC work.. are you sure the ipad is connected via the TC and not 3G network?
    If it is then the TC itself is fine and the issue might be setup on the MBA.. although if the MBA works with other routers.. that rather confuses the matter.
    You need to actually tell us how the TC is setup in the network. What kind of broadband modem you have and what kind of vpn you are using.

  • Any known issues with Essbase 64 bit and other components as 32 bit

    Hi Everyone,
    Are there any known issues with 64 bit Essbase and other components (Planning, EAS, Provider services, EAS, Workspace and Reporting) in 32 bit?
    Version is EPM 11.1.1.3
    The reason for choosing ESSBASE 64 bit is of course performance. We decided to stick to 32 bit for the web applications due to some known issues and bitter experiences in past in this version with 64 bit web deployments.
    OS is Windows 2003 Server (64 bit for the ESSBASE server and 32/64 bit for the application server)
    Thanks,
    Sayantan

    Hyperion 32-bit Web Apps are fully compatible with Essbase 64-bit. Same with 32-bit Essbase client.

  • Why I had no problems with the VZW employees and other people have?

    I think that most people who cannot resolve problems with the VZW have an attitude problem.
    Wise saying:  you can get more with honey than with vinegar.
    Since I “upgraded” my old Samsung Sway to a new Samsung Intensity III, in the past three weeks I spent many hours dealing with the VZW store employees, customer service reps, and tech support people. The phone was replaced two times, and I had no problem getting the replacements.
    The third phone did not working how I expected.
    Today I called VZW customer service and said I don’t need anymore trouble shooting and I wanted find a resolution, which will be satisfactory to both of us. After a short conversation with a customer service rep, I was connected with a tech support. I told him that I don’t need any more trouble shooting on the Samsung Intensity III because I already spent HOURS doing that on three devices.
    We spoke about what the VZW could offer me, about replacements with different phones, etc. Our conversation ended with me offering the resolution that could satisfy me, which was to keep this phone and my account will be credited for the $30.00 “upgrade” fee and I will buy Samsung Sway on eBay. NO PROBLEM. 
    My account was credited and I was advise about the ESN number and activation.
    Why I had no problems with the VZW employees and other people have? The answer is simple. I did not have attitude when I was spoke to them.
    So if you want the problem to be resolved, put your anger in you pocket before you start the conversation. You can say that you are angry, frustrated, etc like I did, but add that you understand that this is not their fault that the manufactures makes a crap phones.

    Yes, you are right. I lost my upgrade. Also, it’s true that I could buy the phone on eBay… if I knew then what I know now. In the past, I never had problem with any of my phones. Doing an upgrade with the VZW was a normal thing for me. I didn’t expect that Samsung Intensity III would be a junk phone.  My last upgrade was 4 years ago. I had $50.00 ‘new every two’ credit on my account, which was used for an upgrade.  I lost the $50.00 credit paying for Samsung Intensity III. Sometimes we learn from our mistakes or from a bad experience. Three weeks ago I did not know that I could buy a phone on eBay and activate with VZW without paying $30.00.
    Samsung Sway is coming from …eBay – keep your fingers crossed for me.

  • Do I need to uninstall programs with a Mac? and more questions.

    Aloha all,
    I am about 3 days old with my new Macbook. I love it and am almost completely sold to Macs forever. This thing is wonderful.
    However, I still dont know all the answers yet and need some help.
    I tried to download the Microsoft video player to view a vid online. It never installed properly for some reason, and I just want to know if it even is still on my HD. Do I have to uninstall things like you do on Windows? Where do I go and how do I do this?
    Also, I downloaded the newest version of itunes today, yet in my applications folder there is still one itunes icon and a white HD looking icon that says itune 6.0.5. Is that normal?
    Hope that made sense.
    Thanks for you help in advance.

    I tried to download the Microsoft video player to
    view a vid online. It never installed properly for
    some reason,
    You might want to use Flip4Mac instead.
    If you are downloading Windows Media Player you will also need to download Stuffit Expander as Microsoft have used Stuffit to compress the installation file and Tiger now no longer comes with Stuffit.
    Once you have expanded the .sit file you can then run the Windows Media Player installer.
    VLC which is a universal binary
    http://www.videolan.org/vlc/download-macosx.html
    Flip4Mac allows you to play Windows Media files through Quicktime, however it is not a universal binary so
    a) you have to run the installer app through Rosetta to install Flip4Mac
    b) Quicktime also has to run through Rosetta to play Windows Media files with Flip4Mac
    c) Safari (and other browsers) need to run through Rosetta to play embedded Windows Media files on webpages
    and I just want to know if it even is
    still on my HD.
    Probably.
    Do I have to uninstall things like
    you do on Windows? Where do I go and how do I do
    this?
    Depends on the application.
    Some have uninstallers (similar to Windows).
    Others can be simply dragged to the trash.
    Also, I downloaded the newest version of itunes
    today, yet in my applications folder there is still
    one itunes icon and a white HD looking icon that says
    itune 6.0.5. Is that normal?
    Yes. That is a mounted disk image. You can safely drag it to the trash.
    Hope that made sense.
    ditto
    iFelix

  • Which one to use - Customer Interface or TCA APIs? And why?

    Hi,
    Please let me know the answer for the following questions. I have a legacy system in 11.0.3 (which does not have the TCA architecture) and the customers have to be moved to R12. I could get the details in different flat files for the import from source system. Which is the approach I should use?
    1) What does customer interface does NOT do which the TCA APIs can do?
    2) Doesn’t the customer interface use the TCA API within it?
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?
    Highly appreciate the help.
    Thanks,
    Dinesh

    Hello Dinesh,
    To answer your questions below:
    user3331828 wrote:
    1) What does customer interface does NOT do which the TCA APIs can do?The Customer Interface tables do the same things that TCA API does.
    user3331828 wrote:
    2) Doesn’t the customer interface use the TCA API within it?I have never been able to open a Spawned program to see which packages are used. Not sure if it uses the same API packages.
    user3331828 wrote:
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?Customer interface might be easier than the to implement than the use of API..
    For customer interface, just right a program to validate the source data and insert into open interface table, submit the import program and view output for errors. Much easy to maintain than API.
    API need a certain level of programming and you will need to investigate for all the flow of creating a customer and their corresponding create procedure to call..
    Hope this help,
    Vik

  • Troubles with E4200. Forwarding and other.

    Have problems after the auto update(it goes 2.0.37 firmware on linksys e4200) from the router web-inerface.
    I can't forward rdp to an inner server (no telnet connection to this port at all on a real ip, telnet to 80 is ok). So i have some questions:
    0. How to know my serial and version of my router(1 or 2) if i can't take it in my hands now(it works in our new office far from here)
    1. How to open linksys .CFG file to check and correct my cofig ?(because in notepad++ i cant open it )
    2. When i do port forwarding(single port forwarding) for rdp from 3389 to 3389 on the local ip, i have to do port triggering on the same port, or not ?(of course rdp is open on my server and i check - it is works good in my inner network)
    And when at all i have to do port triggering ?
      I have some problems with sip: i have done single port forwarding to my sip gate, and although port triggering there. So i could not hear my opponent when i call(he hear me normal), till i have disabled port triggering. I cant stand what this option done phisically ? As i said before, after updating firmware sip forwarding doesn't work, like a rdp, remote connection to router and others. I know how to do it on MS ISA server, but here is no different inbound and outbound connections options.
    3. How to connect through telnet to check config manually, and where to find manual about console commands ?
    4. I have ip cams(rvi) and they have web-interface to watch them through web-brouser(it running some activex component under IE), so to forward them i have to forward 3 ports: control port on 30001, rtsp port on 554, and http(i change it to 5555). Hot to forward them correcly, because it didn't work even on my previous firmware ?
    5. Maybe some another options block my connections ?
    6. If it is firmware bug, where to find stable firmware(what version) to downgrade it ?
    All the week trying to config it, but cant stand how to do it((. Need help.
    Thank you for help and excuse me for my bad english.

    Try port range forwarding instead(you can also try Single Port Forwarding) instead of using port trigerring. You also need to assign a static ip address to the device where you will open that port(e.g game console or ip camera). Open those ports on the router's ui and check uncheck "filter annonymous internet requests"(you can find that under security then firewall if you are using cisco connect cloud). Check if if the port is open by using this link:http://ping.eu/port-chk/.

Maybe you are looking for

  • Airplay mirroring on Mac Mini (late 2012) doesn't work, extended display does...

    Airplay mirroring on Mac Mini (late 2012) doesn't work, extended display does... What's going wrong here? Details: OS X Yosemite 10.10 Apple TV 3rd generation, version 7.0 Switching Airplay on on Mac Mini works. It goes automatically on extended disp

  • New Feature in Cp 3?

    On this web page ( http://www.adobe.com/products/captivate/productinfo/upgrade/) I saw that Cp3 has a new feature: "Easily synchronize audio with slides and timed objects with real-time preview" Can anyone tell me how to access this in Cp3? I don't s

  • Can I get an FFT from this?

    I am doing DAQ uaing AI S-scan.vi and wanted to know if I can take the output from it and make a power specturm. I know I can do it using AI Continuous input.vi, but the input from that is buffered so it comes out in chunks and so S-scan is preferabl

  • Cmd+M open online help instead of minimize in dock

    Hi, At work we just change computers and now, for and unknown reason, when I do "command+M" in Acrobat 9 Pro with an open document, it opens the online help instead of minimizing the document in the dock. I don't know if it changes something, but we

  • Give the read only access to user on Apps Schemas!

    Hi, How we can create the database user and give the access on APPS schemas(INV, PO etc). Please assist me. Thanks, Faziarain