How to get the Mobile information by using J2ME application

hi all,
I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
platform...null
encoding...ISO-8859-1
configuration...CLDC-1.0
profile...MIDP-2.0
locale...null
fileconnection...1.0
comport...null
hostname...iwmc-07
sms...null
smartcard...null
location version...null
sip version...null
m3gversion...null
mms...null
videocapture...false
videoencoding...null
snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
audioencoding...null
supaudcap...false
suprecod...false
supmixing...false
mediaversion...1.1
streamcont...null
I want to know these are the only variables or is there are lot...
Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
Can anybody tell me that way and also the package to get the information
thanks in advance
lakshman

hi all,
I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
And I have the following warning...
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
thanks in advance

Similar Messages

  • How to get the log information when using a class?

    Hi All,
    I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    class LogClass {
        private static final Log LOG = LogFactory.getLog(AClass.class);
        public void logit(){
            LOG.debug("This is the debugging log.");
    public class AClass{
        public static void main(String[] args) {
            LogClass l=new LogClass();
            l.logit();
    }But this way, I do not get the log information from the class LogClass. Could anybody please help?
    Many thanks.

    jschell wrote:
    jverd wrote:
    ...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
    1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
    2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
    3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
    4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
    5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
    Since the OP seems to have vanished, we may never know.

  • I tunes has stopped working in windows 7 and I don't know how to get the crash information that everyone else seems to get to know what the cause is....any help?  I have a toshiba windows 7 computer.

    I have a toshiba computer and it is windows 7, recently after I installed imatch everytime I open itunes I get the message 'i tunes has stopped working' and windows cannot find a solution and has to close.  There is no solution and I don't know how to get the crash information on my computer....can anyone help as I want to finish downloading all my songs to match to be available on my mac products.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • How to get the source code of a PRT application in the portal

    Hi!
    Does anybody know how to get the source code of a PRT application in the portal?
    Thanks in advance,
    Celso

    Celso,
    If its Java-based code have a look at the properties of an iView that belongs to the application in question and copy the value of the Code Link parameter e.g. 'com.sap.pct.hcm.rc_vacancyrequestov.default'.
    Search the Portal installation directory under /j233/cluster/server/ for a .par.bak file of the same name, removing .default from the codelink parameter
    e.g. com.sap.pct.hcm.rc_vacancyrequestov.par.bak
    Copt this locally and import into Netweaver Developer Studio. You will have to decompilte the class files with a decompiler such as DJ Decompiler or Cavaj (search with Google).
    Cheers,
    Steve

  • How to get the copyright information for an image?

    How would I get the copyright data from an image in the DAM?

    Assuming you are using image component[1] on a page and copyright is a string.    As a sample you could use [2] to get the copyright information.  I am not well versed with the API as there might be an better option to implement. But this just gives you an idea for the information you were looking for.
    [1] /libs/foundation/components/image/image.jsp
    [2]
    Node refNode = resource.getResourceResolver().getResource(ResourceUtil.getValueMap(resource).get("fileRe ference","")).adaptTo(Node.class);
    String copyRight = refNode.getNode("jcr:content/metadata").getProperty("dc:rights").getString() ;

  • Quick question: How to get the scrolled page number using af:table

    Hi,
    When using range paging on scrolled table, how to get the current scrolled page number(1,2,3...), for example when moving the table vertical scroll bar forward or backward, is there any method in ViewObjectImpl class that I can use to get such information? I have seen the method scrollToRangePage(int i), but when scrolled ("Fetching data..."), it doesn't not get into this method. So it is wrong usage for this method, right?
    Thanks

    Didn't you just ask that question in this thread?: How to catch the page number when using scroll table in ADF 11g?
    A bit of patience might be in order.
    CM.

  • IPhone SDK: UIWebView - How to get the anchor information from  URLRequs

    I was planning to use the UIWebView but i am stumped now.
    When the user clicks on a hyperlink, the web view delegate shouldStartLoadWithRequest is called and it does not contain the anchor information.
    For e.g. if the href is say #01_02. This to a normal browser is a local anchor. The URL in the NSURLRequest contains just the file name information not the anchor.
    In my particular case a anchor can be some other view of the topic which i will generate and keep it ready for the browser at this point. But since i don't get the anchor information it just shows the current page.
    Is there a way to get the original value encoded in the HREF?
    Thanks in advance,
    -TRS

    I may not have understood your question but if you want to pull out the anchor information out of a request, have you tried the fragment property of the NSURL object?
    // request is type (NSURLRequest *); within shouldStartLoadWithRequest
    NSString *fragment = \[\[request URL\] fragment\];
    Usually this will have the anchor without the #, in your case 01_02.

  • How to get the spool information for a job

    Hi,
    After a job is run, how to get the spool inforamtion. which API can be used.?
    Thanks in advance.
    Johnney.

    Hi,
    thanks for your reply.
    My requirement is as followings.
    1. Report Z_REPORT_TEST
    EXPORT RUNUUID = '****************' TO MEMORY ID sy-repid.
    2. In Funciton Module Z_FM_test
                create a job(Z_JOB_TEST) to run report 'Z_REPORT_TEST'.
                after the job is run successfully.
                question is
                how to get the RUNUUID exported from the report ????
    Thanks & Best Regards,
    Johnney.

  • [CS2]How to get the Image Width & Height using JS (ILLUSTRATOR CS2)

    Hi,
    How to get the Image width & height of an Image using javascript .Im using Illustrator CS2.
    Any sample code
    Regards
    MyRiaz

    you can reference the dimensions of a loading image (or swf)
    by referencing the target movieclip's dimensions AFTER loading is
    complete. ie, use preloader code or the onLoadInit() method of a
    moviecliploader listener.

  • How to get the line information when double click the ALV line?

    LOOP AT it_outr.
        AT END OF vornr.
          REFRESH it_out.
          CLEAR it_out.
          LOOP AT it_outt WHERE nplnr = it_outr-nplnr
                            AND vornr = it_outr-vornr.
            MOVE-CORRESPONDING it_outt TO it_out.
            APPEND it_out.
          ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = g_repid
          i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS'
          i_callback_user_command  = 'HANDLE_EVENT_USER_COMMAND'
          is_layout                = ls_layo
          it_fieldcat              = lt_fcat
          it_events                = lt_evts1
          is_print                 = ls_prnt
        TABLES
          t_outtab                 = it_out
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
        ENDAT.
    When we double click a field, how do we get the line information with the field?
    READ TABLE it_out INDEX rs_selfield-tabindex. is not worked, because the table it_out is changing.

    hi
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = SY-REPID
    *   I_CALLBACK_PF_STATUS_SET          = ' '
         *I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'*
    *    I_CALLBACK_TOP_OF_PAGE            = ''
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
       I_BACKGROUND_ID                   = 'ALV_BACKGROUND'
    *   I_GRID_TITLE                      =
    *   I_GRID_SETTINGS                   =
         IS_LAYOUT                          = LAYOUT
         IT_FIELDCAT                        = RT_FIELDCAT
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
    *   IT_SORT                           =
    *   IT_FILTER                         =  'X'
    *   IS_SEL_HIDE                       =
         I_DEFAULT                         = 'X'
         I_SAVE                            = 'A'
         IS_VARIANT                        = G_VARIANT
         IT_EVENTS                         = XT_EVENT
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = IT_FINAL
       EXCEPTIONS
         PROGRAM_ERROR                     = 1
         OTHERS                            = 2
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CASE U_UCOMM.
        WHEN '&IC1'.
          READ TABLE IT_FINAL INDEX US_SELFIELD-TABINDEX INTO WA_FINAL.
          CHECK SY-SUBRC EQ 0.
          CASE US_SELFIELD-FIELDNAME.
            WHEN 'VBELN'.
              SET PARAMETER ID: 'VF' FIELD WA_FINAL-VBELN.
              CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
          ENDCASE.
          ENDCASE.
    regard,
    nawa

  • How to get the update file without using Nokia Sof...

    The network connection is unreliable and downloading the firmware update using PC Suite for my Nokia E90 proves difficult. Does anyone know how I can get the firmware version 300.34.84?
    The trouble is Nokia's Software Updater does not accommodate any slight interruption to the connection during the update process. I will update this discussion with what version of PC Suite I have once I get that info.
    Any help is kindly appreciated

    In fact, it is not Possible to get the update file without using Nokia Software Updater or you should search the net to find the update files in another place and even you get them, you can not use them with NSU.
    You can Update your Device with:
    1 - NSU (Nokia Software Update)
    2 - FOTA (Firmware Over The Air) for FP2 devices ONLY.
    3 - Nokia Care Center
    there is not other way to upgrade.
    Hope useful for u.
    regards
    Nokia N79 4GB
    SW Version: 32.001 RM-348 MEA

  • How to get the files' information?

    I' d want to get the files' information in the action, such
    as the .avi or .flv information about their duration and the
    default image,
    please help, thanks.

    Hi,
    You could use Oracle workflow builder to do thar....
    Regards,
    Luiz

  • Regarding: How to get the Tax Breakup  Amount using SDK

    Hai Friends,
                   I created one saled order . I have given Tax code (Service) then it show total  amout of tax is 370.80. when i click the link button of Tax Amount field  from sales order then it show  the  Tax Breakup Details in Separate Screen of SAP. That screen Contain following Details.
    From Caption is : Define Tax Amount  Distribution
          Type               Tax Parameter Code         Tax Parameter Name                Rate            Duty         Tax Amount        Base Amount
          Service           Service                            Service Tax                               12                                 360.00
          Cess_ST        Cess_ST                          Education Cess for Sevice          2                                     7.20
          HSCess_ST   HSC_ST                            HSCee for Service                      1                                     1.00
                  My Doupt is :
                           How do i get the Service tax Breakup value from above grid.
                           How to get the Tax Breakup value from that SAP Screen, is it any help in SDK.
    Please Help Me.
    Regards,
    K Sakthivel
    Edited by: ksakthivel on Dec 7, 2011 10:41 AM
    Edited by: ksakthivel on Dec 7, 2011 10:53 AM
    Edited by: ksakthivel on Dec 7, 2011 10:54 AM

    Hai Friends,
                   I created one saled order . I have given Tax code (Service) then it show total  amout of tax is 370.80. when i click the link button of Tax Amount field  from sales order then it show  the  Tax Breakup Details in Separate Screen of SAP. That screen Contain following Details.
    From Caption is : Define Tax Amount  Distribution
          Type               Tax Parameter Code         Tax Parameter Name                Rate            Duty         Tax Amount        Base Amount
          Service           Service                            Service Tax                               12                                 360.00
          Cess_ST        Cess_ST                          Education Cess for Sevice          2                                     7.20
          HSCess_ST   HSC_ST                            HSCee for Service                      1                                     1.00
                  My Doupt is :
                           How do i get the Service tax Breakup value from above grid.
                           How to get the Tax Breakup value from that SAP Screen, is it any help in SDK.
    Please Help Me.
    Regards,
    K Sakthivel
    Edited by: ksakthivel on Dec 7, 2011 10:41 AM
    Edited by: ksakthivel on Dec 7, 2011 10:53 AM
    Edited by: ksakthivel on Dec 7, 2011 10:54 AM

  • How to get the list of only installed bundled application on mac os X through programmatically???

    how to get the list of only installed bundled software on mac os X through programmatically???

    I think what you get is below;
    App Store
    Calculator
    Calendar
    Contacts
    Dashboard
    Dictionary
    DVD Player
    FaceTime
    Font Book
    Game Center
    Image Capture
    iTunes
    Launchpad
    Mail
    Messages
    Notes
    Photo Booth
    Preview
    QuickTime Player
    Reminders
    Safari
    Stickies
    System Preferences
    TextEdit
    Time Machine
    Twitter
    Activity Monitor
    AppleScript Editor
    Audio MIDI Setup
    Bluetooth File Exchange
    Boot Camp Assistant
    ColorSync Utility
    Console
    DigitalColor Meter
    Disk Utility
    Grab
    Grapher
    Keychain Access
    Migration Assistant
    Network Utility
    RAID Utility
    System Information
    Terminal
    VoiceOver Utility
    X11
    XQuartz
    Note if you buy a new Mac with ML preinstalled the list may be larger.

  • How to get the system time in a Swing application ?

    I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!

    Check this link, I hope it helps
    http://202.71.136.142:8080/globalleafs/Swing/View.jsp?slno=22&tbl=0

Maybe you are looking for

  • New iPod touch. email not working

    I can't get my email to work on my new iPod touch 5.....Any suggestions would be appreciated Thanks

  • How do i get devices to show up in the Finder?

    i have no indication that devices are plugged into any usb ports.. its driving me crazy because this thing is brand new. no flash drives no hard drives no mouses.. please help!

  • FCC parameters for  header and item

    Dear All, I am working on a File to RFC scenario. The file has the PO deatils from which Salesorder has to be created in R/3. Am using the BAPI BAPI_SALESORDER_CREATEFROMDAT1 to create salesorders. I have tested the scenario with XML message - it is

  • Suddenly can't click and drag within my playlists

    I can drag songs or podcasts to my playlist, but cannot organize them once they are in there. Also, previously I could drag them in a particular order, and achieve the desired result but that is no longer the case. Thanks for your consideration.

  • ConnectionRunTimeException problem on JMS Application

    Hi guys i am developing a JMS application based on durable publish/subscribe model on netbeans 5.0 running Sun Java App Server 8.0 .I have defined a Connector resource of resource type TopicConnectionFactory and a Destination resource of resource typ