How to get to know the current selected service?

Can anyone tell me how to get the current selected service in MHP? I tried to find one but no result. Can javax.tv.media.MediaSelectControl.getCurrentSelection() gives me the answer?

servicecontext.getService()

Similar Messages

  • How to get to know the size of the biggest file in ContentServer

    Dear colleagues!
    Does anybody knows how to get to know the size of the biggest file in the ContentServer?
    Vladimir
    Edited by: Vladimir Pavlovsky on Mar 2, 2010 11:11 AM

    Vladimir Pavlovsky wrote:>
    > Dear colleagues!
    > Does anybody knows how to get to know the size of the biggest file in the ContentServer?
    Hi Vladimir,
    I assume you want to know the size of the biggest file stored in the content server don't you?
    This information is available through the content server API layer only - so better open this question in the knowlegde management forum.
    regards,
    Lars

  • How to get cwd of the current process in the kernel in Solaris 8

    Hi, everyone
    Does any one know how to get the path name of the current working directory of the current process in the kernel in Solaris8 ?
    I searched the forum and got some related links, but none of them gives a clear solution.
    Sample code can help a lot!
    Thank you!

    NiuLin wrote:
    Thanks for the reply.
    What the user structure contains is the vnode pointer of the cwd, but I want go get the pathname of it, like /export/home/abc/.First, all you can get is a path name - there can be more than one. And then there's the problem of determining the path name you want if the process is running under chroot.
    Assuming you don't have to deal with those, there's this thread:
    http://forum.java.sun.com/thread.jspa?threadID=5084620&messageID=9298124
    Of course, that thread doesn't say how to do that. But it appears to be part of Solaris 10.
    I once had to solve this same problem for a Linux kernel module I wrote, so I know it's theoretically possible. But I also know it's not as simple as it seems it should be, and any results you do get are not guaranteed to be unique and, IIRC, not even correct in some cases.
    Sorry I can't be more specific than that right now.

  • How to get week of the current month

    Hi all,
    Is there any way to find out week of the current month.
    Please help..

    Do not confuse date format and the parameter in the file NqsConfig.ini
    http://gerardnico.com/wiki/dat/obiee/bi_server/nqsconfig
    As say in the previous link, you must check in the NqsCOnfig.ini file that you have this line
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;because the cast function take it as format to discover the day, month and year.
    Besides, the functions WEEK_OF_YEAR AND MONTH don't care about the date format, they only need a date.
    Check here this article :
    http://gerardnico.com/wiki/ide/toad/toad_date_format
    To see that the date format is much more a question of rendering (for OBIEE, Toad or SqlPlus) than of data.
    Verify your NqsConfig.ini and give a try.
    Success
    Nico

  • How to get name of the current localization language?

    Hello!
    How can i get value of Setting->General->International->Language?
    TIA

    Hi, not tested but from apple docs:
    NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];
    NSArray* languages = [defs objectForKey:@"AppleLanguages"];
    NSString* preferredLang = [languages objectAtIndex:0];
    You should also take a look at:
    http://developer.apple.com/iphone/library/documentation/MacOSX/Conceptual/BPInte rnational/Articles/ChoosingLocalizations.html

  • I have lost my i phone5 how i get to know the location

    Please help me to find my i phone5

    iCloud: Find My iPhone
    iCloud: Find My iPhone overview
    iCloud: Set up Find My iPhone

  • How to get the current selected value of a combo box or a option button?

    Hello All,
    I want to catch the current selected value of a combo box and also of a option button and want save it into different variables in my code. These option button and combo box are in a SAP business one form which I have created through VB dot.net coding.
    But I don't know how to do that, can any one send any example code for this.
    Regards,
    Sudeshna.

    Hi Sudesha,
    If you want to get the selected values you can do it as follows: The Combo Box value you can get from the combo box. If you want to get it on the change event, you must make sure that you check when BeforeAction = False. If you want to get an Option Button value you should check the value in the data source attached to the option button.
            Dim oForm As SAPbouiCOM.Form
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oData As SAPbouiCOM.UserDataSource
            oForm = oApplication.Forms.Item("MyForm")
            oCombo = oForm.Items.Item("myComboUID")
            oApplication.MessageBox(oCombo.Selected.Value)
            oData = oForm.DataSources.UserDataSources.Item("MyDataSourceName")
            oApplication.MessageBox(oData.ValueEx)
    Hope it helps,
    Adele

  • How to get the current selected column and row

    Hi,
    A difficult one, how do i know which column (and row would also be nice) of a JTable is selected?
    e.g.
    I have a JButton which is called "Edit" when i select a cell in the JTable and click the button "Edit" a new window must be visible as a form where the user can edit the a part of a row.
    Then the column which was selected in the JTable must be given (so i need to know current column) and then i want the TextField (the one needed to be edited) be active with requestFocus(). So it would be
    pricetextfield.requestFocus();
    Problem now is that i have to click every time in the window the JTextField which was selected in the JTable. I have chosen for this way of editing because my application is multi-user and it would be too difficult for me when everybody did editing directly (catch signals, reload data, etc.).
    My question is how do I know the current column and the current row in a JTable?

    I'm not sure what your mean by the "current" row or column, but the following utility methods return
    which row and column have focus within the JTable.
    public static int getFocusRow(JTable table) {
        return table.getSelectionModel().getLeadSelectionIndex();
    public static int getFocusColumn(JTable table) {
        return table.getColumnModel().getSelectionModel().getLeadSelectionIndex();
    }

  • JTree: How to get the currently selected node

    How do I get the currently selected node in JTree?
    getLastSelectedPathComponent() this method always return the last selected node and not the current one.
    Thanks in advance
    Sachin

    Use
    TreePath selectedPath = tree.getSelectionPath()If your tree allows multiple selections, use
    TreePath [] selectedPaths = tree.getSelectionPaths() this will return an array of all selected tree paths.
    Once you get the tree path, call the treePath.getLastPathComponent(). this should tell you the currently selected node.
    Hope this helps
    Sai Pullabhotla

  • Need help on how to specify the current select row in a View Object

    Hi,
    I have a ADF table on my page, when I was selecting the rows in this table, I want the set and get methods in the ViewRowImpl class to do some customized actions. I found out that each time regardless the row I select in the table, the viewrowimpl class will always return the data in the first row, I tried to use getCurrentRow in VO row impl. but still, gets the first row.
    Does anyone know how to get the selected row value in the View Object, or View Row Impl rather???
    Thanks!

    Hi,
    you can call a method exposed by the AM and pass teh rowKey of the selected row as an argument. When you configure the exposed AM method in the pageDef (creating a method binding) the argument is shown in a dialog from where you can use EL like #{bindings.iteratorName.currentRow.rowKey} to access the current selected row.
    Frank

  • How to know the current tab

    Hi everyone,
    Does annyone knows if there is an indicator that indicate you the current tab where you are working in?
    I want my BSP to do different action depending on wich tab the user is in.
    I'm working in the BSP CRMD_BUS2000126 for the activities.
    Thanks!

    This is probably a question better suited to the BSP forum.  I also noticed that your application name starts with CRM.  I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
    First I use the phtmlb:containerTabStrip to create my tabstrip.  I use an application class attribute to store my selectedIndex (the current selected Tab).
    <phtmlb:containerTabStrip id                    = "TabStrip15"
                              collapsed             = "FALSE"
                              collapsible           = "FALSE"
                              firstVisibleItemIndex = "1"
                              hasContentConnector   = "TRUE"
                              maxVisibleItems       = "5"
                              onCollapse            = "myCollapse"
                              scrollableItems       = "TRUE"
                              selectedIndex         = "<%= application->SELECTED_date2       %>" >
    Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
    data: event_id type string.
      event_id = event.
      if htmlb_event is not initial.
        event_id = htmlb_event->id.
      endif.
      data: model type ref to zcl_bsp_m_eqi_selection.
      data: appl type ref to zcl_eq_bsp_eqi.
    ****Get a pointer to the Model Object.
      model ?= get_model( 'MS' ).
    ****Get a Pointer to the application Object
      appl ?= application.
      if event_id cs 'tabstrip15'.
        data: event1 type ref to if_htmlb_data.
        event1 = cl_htmlb_manager=>get_event_ex( request ).
        if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
          appl->selected_date2 = event1->event_server_name.
        endif.
      endif.

  • I can't get the row number of the current selection

    Hi all,
    How can I get the row number of a selection if I don't know the range selected? I need it to store in variable.
    I've tried in many ways, but unsuccesfully.
    Thank's in advance.

    If you already know the document's name, the sheet's name and the table's name, the easy way is :
    --Here you may replace the three values by the current ones
    set dName to 1
    set sName to 1
    set tName to 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    tell first cell of the selection range to set {rowNum1, columnNum1} to {address of its row, address of its column}
    tell last cell of the selection range to set {rowNum2, columnNum2} to {address of its row, address of its column}
    end tell
    Yvan KOENIG (VALLAURIS, France) mercredi 9 février 2011 17:22:21

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • How do I change the password in iPhone without knowing the current PW?

    I synced my iPhone 4S and know my access password very well, yet the phone tells me it's wrong. I have no access to my data and can't make phone calls as the access is denied.
    How can I retrieve control over my phone again? Is there a way to change the pw without knowing the current one?
       ---- HELP!!!

    LOST PASSCODE
    You may be able to reset the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    Otherwise read this
    If that doesn’t work  you will need to perform a factory restore to remove it. Or read:
    Enter Wrong passcode
    http://support.apple.com/kb/ht1212

  • Get the currently selected entry point

    Hello,
    I developed an content iview, where i have to find out which entry point is currently selected in the navigation.
    Anyone an idea how to do this?
    Thanks and Regards
    Robert

    Hi Robert,
    Using the breadcrumb you can get the navigation of the current selection...
    Try out this blog
    EFP: Working with the New Taglibs - Part 2
    -Aarthi

Maybe you are looking for

  • How many PCs can I install Captivate 6.0 on if I purchase a single license?

    I can't find this information anywhere. My two coworkers and I have Captivate 5 and want to upgrade to 6, but we are not sure if we can use the same license key for all three of our PCs. Does anyone have this info? Thanks Meg

  • Acrobat X Pro.  How to get tab to show up in Microsoft Office ribbon?

    Acrobat X Pro.  How to get tab to show up in Microsoft Office ribbon?

  • Adobe Reader Mobile Android Update for DRM pdfs?

    I have had a variety of Samsung Galaxy tablets since 2011, and since then I have been waiting...and waiting...AND WAITING for a solution to this ebook pdf issue. Is there (or will there ever be) an update coming soon which will allow tablets and mobi

  • Production Order User Status

    Dear Experts, I have created User Status with T-Code BS02 and assigned to the production Order. With the User Status I am blocking the GR, if confirmation is not carried out. Everything is working fine along the process. System is blocking the GR if

  • Any good APEX training class in NJ?

    Hi, I'm a newbie to APEX. I'm at the point that I think I could use some serious APEX training. what's your thought on APEX training? Did you folks just pick it up by yourself? How? BTW, the thousands of pages of User Manual/Advanced Tutorial do NOT