Blackberry controls and midlets

Midlet meets blackberry let the battle for who can use the escape key begin!
If you're having trouble mapping keys from the blackberry to your midlet..this will definitely help you!
in this post I go over: Adding menu items to the blackberry menu, and gaining access to undetected keys such as the Escape Key.
First of all, that **** menu how do I add stuff to it?
Well...that in itself is a hastle but lemme just say, that menu
is in a nutshell a CommandListener. Same freakin menu. Later on in this post I show how to map the escape key..and i'm guessing pretty much every other key...of course
the only key I ever had a problem with was the EscapeKey/HangUpKey
Anyways if you want that BlackBerry Menu Code here
* MIDletDemo.java
* Copyright © 1998-2008 Research In Motion Ltd.
* Note: For the sake of simplicity, this sample application may not leverage
* resource bundles and resource strings.  However, it is STRONGLY recommended
* that application developers make use of the localization features available
* within the BlackBerry development platform to ensure a seamless application
* experience across a variety of languages and geographies.  For more information
* on localizing your application, please refer to the BlackBerry Java Development
* Environment Development Guide associated with this release.
import java.util.*;
import java.io.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.lang.*;
* An Example MIDlet.
* The application must extend the MIDlet class to allow the application management
* software to control the MIDlet.
public class MIDletDemo extends MIDlet implements CommandListener
    private Alert _alert;
    private int _time;
    private Form _form;
    private myCanvas customCanvas;
    private Display _display;
    private UpdateThread _updateThread;
     * The thread that updates the explosion dialog box.
    private class UpdateThread extends Thread
        private boolean _disarmed;
        public void run()
            _disarmed = false;
            int i = _time;
            while (i > 0 && !_disarmed)
                try
                    _alert.setString(Integer.toString(i));
                    synchronized(this)
                            this.wait(1000);
                    System.out.println("timeout in:" +i);
                catch(InterruptedException e)
                    System.out.println("MyMidlet: Exception: " + e);
                i--;
            if(!_disarmed)
                _alert.setString("BOOM");
        void disarm()
            _disarmed = true;
     * Thread that pops up the program's main dialog box.
    private class GoCommand extends Command implements Runnable
        private GoCommand(String label, int type, int priority)
            super(label, type, priority);
        public void run()
            _alert.setString(Integer.toString(_time));
            _alert.setTimeout(_time * 1000 + 5000);
            _updateThread = new UpdateThread();
            _updateThread.start();
            _display.setCurrent(_alert, _form);
     * <p>The default constructor. Creates a simple screen and a command with an alert
     * dialog box which pops up when the command is selected.
    public MIDletDemo()
        _alert = new Alert("The Thermonuclear Device has been activated!\nTo disarm the device, dismiss this Alert.\nDevice will detonate in:");
        _alert.setCommandListener(this);
        _time = 10;
        // Create a simple screen.
        _form = new Form("Thermo-Nuclear Event");
      _form.append("Choose 'Go' from the menu.");
     customCanvas = new myCanvas();
        _display = Display.getDisplay(this);
        // Add our command.
        //_form.addCommand(new GoCommand("Go", Command.SCREEN, 1));
customCanvas.addCommand(new GoCommand("Go", Command.SCREEN, 1));
customCanvas.setCommandListener(this);
        //_form.setCommandListener(this);
        _display.setCurrent(customCanvas);
    //_display.setCurrent(_form);
    public void commandAction(Command c, Displayable s)
        if ( c instanceof Runnable )
            ((Runnable)c).run();
        if( c == Alert.DISMISS_COMMAND )
            _updateThread.disarm();
        _display.setCurrent(playerGUI);
     * <p>Signals the MIDlet that it has entered the Active state.
    public void startApp()
        // Not implemented.
     * <p>Signals the MIDlet to stop and enter the Pause state.
    public void pauseApp()
        // Not implemented.
     * <p>Signals the MIDlet to terminate and enter the Destroyed state.
     * @param unconditional When set to true, the MIDlet must cleanup and release all
     * resources. Otherwise, the MIDlet may throw a MIDletStateChangeException to
     * indicate it does not want to be destroyed at this time.
    public void destroyApp(boolean unconditional)
        // Not implemented.
}now keep in mind, I took this from a nice little example MIDlet called DemoMidlet inside the BlackBerry JDE
so it's not like they didn't make an effort. I mean I pretty much took it out of their examples located in
C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\samples\com\rim\samples\device\midletdemo
but lets face it...some of us like to use the Canvas Class...so showing us how to use it with a Form not exactly helpful.
All I did was the same thing it's just I made a canvas, and implemented the CommandListener, then swapped their form for my canvas.
It freaking worked like a charm. I mean I didn't really use that alert stuff...as it wasn't necessary, but it's a nice demo to learn from.
Part 2: The Escape Key!
The first and only problem I noticed when porting over to the blackberry was the lack of certain keys
that I truly enjoy and need. I guess blackberry decided to just not implement them
into the MIDlet canvas class?
I mean they did a great job at figuring out how to map the entire qwerty keyboard, but when it comes to the Escape Key
good luck!
So after tearing my hair out I found a solution...which i'm guessing everyone else also found but i'm posting this
cuz well..what if you're tearing your hair out right now...calm down take a deep breaths this is currently working on the BB 9000
jde emulator.
First of all I know this sucks but if you want to use that lovely escape key you're going to have to implement the BB KeyListener.
I know WTF MAN!? "first i code the whole thing using keylistener/commandlistener now I gotta use some stupid BB KEYLISTENER!?...just who does blackberry think they are?"
well heres the thing, I tore my hair out for like 12 hours straight trying to get around this...but after giving it a rest it's not such a big deal.
Steps
1) you have to grab the blackberry net_rim_api, and add it to your wireless toolkit.
the path is:
C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\lib\net_rim_api.jar
what I did was copied the file and pasted it into
C:\WTK2.5.1\lib\ext
once you have that inside your ext folder in your project settings you can enable the external package, this way you can build
using the RIM API.
in case you wanta take a glance at that headache it's : http://www.blackberry.com/developers/docs/4.5.0api/index.html
to enable it simply open up wtk, go to project/settings/External API's and check it off...take note that the wtk 2.5 generally comes with
Nokia SNAP Mobile API so i'm guessing it's a normal thing to do with MIDlets. Also if you check off Bundle..that's not too good it includes the API
with your package...which is really only helpful if you're trying to include some of that junk which really isn't necessary as the reason we're doing this in the first
place is cuz blackberry wanted to be cool and have their own proprietary keys....
Anyways check that off and continue to step 2.
Implementing Key Listener with the Canvas Class! :-)
2) This part is so easy...
import java.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import net.rim.device.api.system.*;
public class myCanvas extends Canvas implements CommandListener,KeyListener{
String thekey = "no key pressed yet";
  public myCanvas() {
Application.getApplication().addKeyListener(this);
public void paint(Graphics g){
g.setColor(255,255,255);
g.fillRect(0,0,500,500);
g.setColor(0,0,0);
g.drawString(thekey,0,0,Graphics.TOP|Graphics.LEFT);
public boolean keyDown(int keycode, int time)
                thekey = String.valueOf(keycode);
                repaint();
            return false;
        public boolean keyRepeat(int keycode, int time)
             return false;
        public boolean keyStatus(int keycode, int time)
              return false;
        public boolean keyUp(int keycode, int time)
               return false;
  public boolean keyChar(char key, int status, int time) {
      if (key == Characters.ESCAPE)
         return false;
public void commandAction(Command c, Displayable s)
  ///YOU DON'T NEED THIS! I just left it here, in case you wanted to also use the blackberry menu to do stuff...in this case
//well the command is shown...and it calls the run method of the class you add the command to. My previous example
// used the command GO, and i made a private class...so this would cause the run method to execute when the user hits enter on go.     
     // if ( c instanceof Runnable )
          //  ((Runnable)c).run();
}i'm gonne be honest with you, the function public boolean keyChar()
I don't know if that actually works...I just don't want to recompile without it cuz I just got over this headache..so I left it there.
According to most people you use that to check if the key == Characters.ESCAPE and if it does then you do some stuff.
Also you don't need the command listener, I just left it in there because well..if you're like me and you use the blackberry menu, you're pretty much
going to use the CommandListener on your canvas to check to see if the user hit enter on a menu item.
The function that matters here, is the same function Midlet coders are used to.
instead of keyPressed it's simply keyDown
so basically you're importing the package
import net.rim.device.api.system.*;
which allows you to implement blackberry's keyListener which gives you access to all the keys vs. a limited amount of them.
now blackberry went all out as you can see. You have to have keyDown, keyUp, keyRepeated...it's kinda rediculous.
but no worries, as long as you make sure that Display.setCurrent(yourcanvas);
or you use one of those to give the canvas control...you'll be fine.
It works because in the method for creating myCanvas()
or whatever canvas you'll be using, it calls Application.getApplication.addKeyListener(this);
and that little command gives your canvas the ability to listen for blackberry keys such as escape.
the current code will start displaying the keycodes for each key...and apparently keys such as ESCAPE
can be labeled properly. I love this because I can map the hang up call key to destroy my midlet, or even the escape key.
Unfortunately every keycode displayed is in like unicode or some stupid format, so that's my guess as to why the Escape key is not detected by the normal
canvas keyPressed method.
Anyways you're done this should work...now if you're having trouble using canvas and you're like "but I don't use canvas" idk man...
I use canvas...cuz I think programs should look cool. I'm sure this works without the canvas...on a form or something.
But don't be fooled, you're not limited to KeyListener, you can also use TrackWheelEvent and all kinds of stuff. So just like the choices for CommandListener vs. keyPressed
Blackberry has other choices as well.
And they said merging the API's was a bad idea...shucks, how else are we supposed to use the freaking escape key.
--JavaLover53
P.S. I marked this as a question cuz I want people to really take a look at this. Make some comments, I love this forum
and I really feel that this topic is not covered on the internet. A lot of naysayers, and when I found the solution I was like "that's it"
"that's all I had to do?" "well then wheres the freaking tutorial!
seriously people had me thinking I had to extend the blackberry UI when this is all I had to do..such an easy task
that other people claim is ridiculously hard.
Go ahead make your comments, lemme know if you know something I don't, i'm here to learn! :-)

good writeup, however i found this only working when you're not running fullscreen

Similar Messages

  • Must-know BlackBerry Z10 and BlackBerry 10 tips and tricks

    Check out the following must-know BlackBerry Z10 and BlackBerry 10 tips and tricks to get the most out of your new BlackBerry 10 smartphone.
    1) BlackBerry 10's Built-In Screen Shot Feature
    Capturing a screen shot on a BlackBerry 10 device is simple. Just hold both the volume up and volume down keys simultaneously for a couple of seconds until you hear a shutter sound. Screen shots are saved to your BlackBerry 10 camera gallery.
    2) Volume Up/Down Keys as Media Controls
    You can use your BlackBerry 10 device's volume up and volume down keys to skip through songs in your music librery. To enable this feature, open your BlackBerry 10 Settings by dragging down from the top of your display while on your Active Frames screen or a home screen panel. Choose Settings from the dropdown menu and click System Volume. On the following page, slide the Music Shortcuts button to the On position.
    3) Volume Up/Down Keys and the BlackBerry 10 Camera
    You simply tap your BlackBerry Z10's display with the camera or video camera open to snap an image or start recording a video clip. But it's sometimes easier to use the volume keys. Just tap the volume up or volume down keys with the camera open to snap and image. And you can also use these keys to start and stop video capture when your camera's video mode is enabled.
    4) Instantly Launch Voice Control
    The BlackBerry Z10 can initiate lots of different actions based on voice commands thanks to its Voice Control app. And you can instantly launch Voice Control by holding your device's mute key for a couple of seconds.
    5) Launch BlackBerry Camera from Lock Screen
    BlackBerry 10 lets you quickly launch your camera application from its lock screen, a feature that can be valuable when you want to take spur-of-the-moment shots. A camera icon appears in the bottom-right corner of the locked display screen, and you can hold it for a couple of seconds to launch the camera app.
    6) Advanced BlackBerry Hub Inbox Controls
    The BlackBerry Hub is the central inbox for all of you various BlackBerry 10 application notifications and messages. You can access basic Hub controls by clicking the Menu key at the bottom right of your Hub screen. (The Menu key looks like three dots stacked on top of each other.) But you can also access some advanced BlackBerry Hub controls from the date bars that appear in the inbox stream at the start of each new day.
    Just hold a finger on a date bar to bring up controls that let you skip to the start of the past day, the start of the next day, jump to the top of the BlackBerry Hub, jump to the bottom of your BlackBerry Hub or mark all prior messages as read.
    7) Speedy BlackBerry 10 Navigation
    The BlackBerry 10 OS can be broken down into three main components: The BlackBerry Hub; the Active Frames screen; and your application panels. You can do navigation through these components using a basic set of swipes and gestures. But you can also use the tiny slider tray that appears at the bottom of the Active Frames screen and all of your home panels. Just tap a specific panel in the slide to navigate directly to that panel without scrolling. Touch the Active Frames square, which is composed of four smaller squares, to jump directly to your active apps page. Or tap the Hub button, which looks like three horizontal lines on top of each other, to navigate right to the Hub.
    8) See Your Battery Life Status as a Percentage
    The BlackBerry 10 OS does not currently allow you to set your battery-status indicator to show a specific percentage, only a battery icon. But you can check your device's hardware settings for a more specific battery status. Just open your device's Settings by sliding down from the top of your Active Frames or application-panel screen and choose Settings from the dropdown menu. Then click About. On the following screen, change the Category menu from General to Hardware. You'll see a battery percentage listed in the Hardware information.
    9) BlackBerry 10 Boot Status as a Percentage
    Whenever you restart or power up your BlackBerry 10 devices, a BlackBerry logo appears with a status bar that encircles it. The status bar shows you start-up progress, but you can also view that progress as a percentage number. Just hold your finger anywhere on the BlackBerry logo and a progress percentage appears.
    10) BlackBerry Z10 Keyboard Tips, Tricks and Shortcuts
    You can type special characters using the BlackBerry 10 virtual keyboard by holding your finger on top of a letter with associated special characters (e, a, i, o, u, y, etc.), and then sliding your finger over to the character of your choice.
    Quickly sliding your finger downward from the top of your keyboard to its bottom cycles through the number and character screens so you don't have to tap the number/character screens button, which can slow down typing.
    And you can delete an entire word instead of just individual letters by swiping leftward from the backspace key toward the center of your keyboard.
    Click Her to know more

    This could of been posted by JSanders already in his thread!
    Want to contract me? You can follow me on Twitter @RobGambino
    Be sure to click Like! for those who have helped you.
    Click Accept as Solution for posts that have solved your issue(s)!

  • Nightmare with Blackberry Desktop and 8100 !!!

    Hello,
    I have been struggling since 2 full days in order to setup the synchronisation between my 8100 and the Blackberry Desktop Software working ... without success !
    First, I have to say that this was working some weeks ago.
    I was first with the Device Manager from Orange (fr) and the installation file : 8100M_PBr4.2.0_rel79_PL2.2.0.39_A4.2.0.67_Orange_FR.exe
    and the Blackberry Desktop Software was the 7.1 version. So with this configuration, no UBS was recognized.
    I tried to come back to an earlier version of BDS (4.5 multilingal). The USB connexion was OK and I was able to make a backup, but as I am using Outlook 2010, whan I tried to setup the synchronisation of the different applications (calendar, adress book, tasks), I got the following message : no available message store => nightmare !!!
    If somebody has an idea, that will be great.
    Thanks

    Hi and Welcome to the Community!
    I suggest this thread:
    http://supportforums.blackberry.com/t5/Desktop-Software-for-PC/Cleanly-quot-Starting-Over-quot-with-...
    It starts with a process for cleanly starting over, and there is some discussion, and there is also a post (15) with links to older Desktop Software versions, if those are needed. Note that this is not, by any means, guaranteed to work...but it has worked for many to resolve issues they are having.
    Also, here is the list of troubleshooting articles...hopefully something will be useful:
    http://supportforums.blackberry.com/t5/BlackBerry-Desktop-Software/Tips-for-getting-BlackBerry-Deskt...
    KB10144 How to force the detection of the BlackBerry smartphone using Application Loader
    KB28457 BlackBerry Desktop Software is unable to detect the BlackBerry Smartphone due to administrative permissions
    KB28458 BlackBerry Desktop Software is unable to detect the BlackBerry Smartphone when user account control is enabled
    KB28459 BlackBerry Desktop Software is unable to detect the BlackBerry Smartphone when a full version of Roxio® Media Manager is installed 
    KB28456 BlackBerry Desktop Software is unable to detect the BlackBerry Smartphone when USB selective suspend setting is enabled
    KB28444 The BlackBerry smartphone is not detected by BlackBerry Desktop Software when connected by USB to a USB hub or a docking station
    KB28443 BlackBerry Desktop Software cannot detect the BlackBerry smartphone when it is connected via USB
    KB02640 Troubleshooting USB connections
    KB15486 Top 10 BlackBerry smartphone and BlackBerry Desktop Manager troubleshooting tips
    KB00125BlackBerry Desktop Software cannot detect the BlackBerry smartphone
    KB11439 BlackBerry Desktop Software does not detect the BlackBerry smartphone when it is connected
    KB00019 No PIN displayed in BlackBerry Desktop Redirector
    KB10938 "USB charging current is insufficient" appears on the BlackBerry smartphone
    KB01451 How to turn on advanced synchronization logging if a wired synchronization fails
    KB19717 The BlackBerry smartphone is not detected as a USB Mass Storage Device when connected to a computer
    KB16310 Media Transfer Protocol and the BlackBerry Storm smartphone
    http://supportforums.blackberry.com/t5/BlackBerry-Desktop-Software/Desktop-Manager-quot-disconnected...
    Also, check that you are using only root USB ports...no hubs (sometimes the front-side ports are hubs...use a rear USB port). And make sure to try disabling USB power management in your system configuration (Device Manager).
    Also check on conflicting software...it has been reported that the software package NTI Shadow&Ninja can cause a conflict; removing them and reinstalling the BB desktop software allows it to install correctly.
    Apologies in advance if this is redundant -- there's no way to be sure if you've already seen and tried these. Also apologies if any are not presently available...RIM takes them up and down at will as they revise things.
    Hopefully something there is helpful!
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.,

    Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.

    Absolutely!
    Install Splashtop2 on the PC and enable it to be controlled or ran from iPad or Reflection to simply allow iPad to serve as PC unwired monitor. With Splashtop and an Apple TV connected, you use the smartboard as usual, yet the PC and iPad can see the same content. The impaired child can even interact with the Smart Board via the iPad as if he were writing directly on the big screen. Erasing functions can be done by touching the Smart Board manual controls. Several variables are in play that cause this lack of functionality:
        Apple won't permit PC software that infringes its proprietary apps.
        Smart Board companies refuse to develop iPad apps because they feel threatened and are being replaced by iPads
        School districts think Apple TV is meant for copyright infringement and could expose them to safe harbor lawsuits
        Network administrators make it impossible to login Apple TVs because they don't want the streaming occurring
        Classrooms are not able to keep up with the technology of using the iPad
        Clicker companies refuse to play with iPad because they see it as a potential threat to their core business clients
        Apple is not working as hard as it could to exploit its capabilities in education, thus losing money in iPad sales
    The bottom line is that we educators and technology developers are hurting our childern with petty conflicts.

  • Remote Control and Remote View Problem

    Hi,
    I work at a High School running Netware 6.0 SP5 and Zen works 4.01 ir7.
    Remote Control and Remote View works great but I noticed one problem.
    We have a logo of the school that is forced down on to the desktop when a
    user logs in through group policies. This logo works perfect for the
    desktop wall paper and loads every time a user logs in.
    When I Remote Control or Remote View a computer the users desktop wall
    paper turns from the logo being forced down through group policies to the
    desktop to a blue desktop wall paper.
    I would prefer the desktop wall paper staying the schools logo when I
    Remote Control or Remote View because if the desktop wall paper changes to
    the blue color I mentioned above when I Remote Control or Remote View the
    users computer, they will know that someone is taking over their computer
    which sometimes we dont want them knowing.
    We have Windows 98SE computer running Novell Client 3.4 and we have some
    computers running Windows XP Professional SP1 and Windows XP Professional
    SP2 both running Novell Client 4.91 SP2.
    The Remote Control and Remote View problem of the desktop wall paper
    changing on the users computer occurs on all operating systems mentioned
    above.
    Is there a solution to my above problem? When Remote Controlling and
    Remote Viewing someone's computer I don't want the desktop wall paper to
    change.
    Thanks!

    Bpilon,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to check if a user has clicked on a digital control and changed its value?

    Greetings !!!
    I am looking for a simple way (without using Windows messages)of knowing if an user has clicked on a digital control and changed its value.
    I have tried the key focus property; but I have to click twice to make it work.
    If somebody knows a better solution; please let me know.
    Thank you in advance for your help

    If you just want to know if the value has changed you can put it in a while loop and use shift registers to see if the value has changed.
    Brian
    Attachments:
    Changed.vi ‏22 KB

  • Cisco Phone Control and Presence 8.6.1.1185 with IBM Lotus Notes 8.5.2 (Integrated Sametime Client 8.0.2) - No presence status visible

    Hi community,
    I am trying to integrate Cisco Unified Presence 8.6.1.10000-34 with IBM Lotus Notes 8.5.2 with the integrated Sametime Client version 8.0.2 via the Cisco Plugins 8.6.1.1185.
    Phone control is working fine, whereas the presence status is not shown (= no handset symbol next to the Sametime user). When I look in the preferences of the plugin, I can see that the plugin has connected successfully to the CUCM (8.6.2.20000-2),whereas the connection to the CUPS has not been established.
    The user id as well as the password are all the same on all systems. Here is a description of what I have configured via the ciscocfg.exe tool:
    Feature Control:
    - Enable Phone Status -> checked
    - Enable Dial Using Cisco IP Communicator -> unchecked (not required)
    - Enable Control Desk Phone -> checked
    - Default Mode -> Control Desk Phone
    Control Desk Phone Settings:
    - Voicemail Pilot Number -> left blank (no voicemail)
    - Cisco Unified Communications Manager
         - Servers -> IP address of CUCM
         - Read Only -> unchecked
         - Use as Default CUCM -> checked
         - Synchronize Credentials -> checked
              - Use Sametime Credentials -> checked
    Use Secure Connection: -> not required
    LDAP Phone Attributes: -> not required
    Phone Status Settings:
    - Cisco Unified Presence Servers -> IP address of CUPS
    - Read Only -> unchecked
    - Synchronize Credentials -> checked
         - Use Sametime Credentials -> checked
    - Sametime User ID Mapping
         - Use Business Card Attribute -> MailAddress
         - Remove Domain -> checked
    - Display Off-Hook Status Only -> unchecked
    At the moment I don't see an error in the configuration, but maybe I am wrong. Could anyone please tell me what the error could be?
    Thanks a lot in advance!
    Kind regards,
    Igor

    Hi all,
    here are some additions to my above post:
    Servers and clients used:
    1x CUCM 8.6.2.20000-2
    1x CUPS 8.6.1.10000-34
    1x IBM Lotus Domino Messaging Express Server 8.5.2
    1x Sametime Entry Server 8.5.2 (on top of the Domino server)
    2x IBM Lotus Notes 8.5.2 with integrated Sametime 8.0.2
    2x Cisco Phone Control and Presence with Lotus Sametime (PCAP) 8.6.1.1185
    2x Cisco Unified Personal Communicator 8.5.5.19839
    Setup:
    - CUCM, CUPS and CUPC are working fine, i.e. Desk Phone control via CUPC, as well as availability and presence status are working without issues
    - IBM Lotus Domino server is the LDAP Directory, the Sametime Entry Server is installed on top of the Domino server and uses the Domino Directory
    - User ID and password on CUCM/CUPS match the ShortName field and password in Domino
    - The PCAP plug-in has been manually deployed to both Notes clients with the following configuration:
         - Enable Phone Status -> active
         - Desk Phone Control -> active
         - no credential synchronization for CUCM and CUPS, i.e. every user must fill the user details himself
         - Sametime User ID Mapping is implemented via the LDAP Attribute uid (which is equal to the user id in CUCM)
         - LDAP configuration filled in with details of the Domino server
    Phone Control is working fine, also the connection to the LDAP server (Domino) is fine. However, when I type in the credentials for the CUPS server login, I can see (in Troubleshooting pane) that the user (pparker) is connected to the CUPS server for a short period of time and then gets disconnected. After that no connection is possible to the CUPS server, i.e. status is always disconnected.
    I have collected the Tomcat (EPASSoap00010.log and security00010.log) logs via RTMT and compared them to the logs from the PCAP plugin. The relevant time period is from 15:14 to 15:17. In the Tomcat logs I can see that the authentication is successful (see attached files), however in the log of PCAP plugin I can see the following messages:
    2012/02/03 15:14:35.281 WARNUNG Credential is rejected. Nothing to retry ::class.method=com.cisco.sametime.phonestatus.cup.CUPPresenceWatcher.answerChallenge() ::thread=CT_CALLBACK.1 ::loggername=com.cisco.sametime.phonestatus.cup
    2012/02/03 15:14:35.281 WARNUNG #### Connection rejected presence server ::class.method=com.cisco.sametime.phonestatus.cup.CUPPresenceWatcher.onPresenceServerConnectionRejected() ::thread=CT_CALLBACK.1 ::loggername=com.cisco.sametime.phonestatus.cup
    2012/02/03 15:14:35.281 WARNUNG Credential is rejected. Nothing to retry ::class.method=com.cisco.sametime.phonestatus.cup.CUPPresenceWatcher.answerChallenge() ::thread=CT_CALLBACK.2 ::loggername=com.cisco.sametime.phonestatus.cup
    2012/02/03 15:14:35.281 WARNUNG #### Connection rejected presence server ::class.method=com.cisco.sametime.phonestatus.cup.CUPPresenceWatcher.onPresenceServerConnectionRejected() ::thread=CT_CALLBACK.2 ::loggername=com.cisco.sametime.phonestatus.cup
    I don't understand why the connection is rejected although the Sametime Internal ID and CUPS User ID match. Does anyone know what the issue could be?
    All posts are very much appreciated!
    Thanks a lot in advance!
    Kind regards,
    Igor

  • Locked Out of Blackberry ID and password Please Please Help

    I updated my blackberry messenger and its asking me for my id and password I have tried doing another ID but its not letting me do anything now my messenger has gone and I have tried accessing my app word but it keeps saying that I am locked out for security reasons so there is no way I can access bbm or my app world  could somebody help me please. HELP!!!!!!!!!!

    I have the same problem.. When I enter my blackberry ID it says that it is not associated with my phone, so i cant use bbm now after the update

  • Which infocube should I use for Controlling and Inventory?

    Hi all,
    I have several questions regarding Controlling and Supply chain management infocubes:
    1. We need cost reports for the material ledger in order to meet the Brazilian compliance. I have found two infocubes:
    •CO-PC: Cost Object Controlling (0PC_C01)
    •CO-PC: Actual Costing / Material Ledger – Costs (0COPC_C02)
    What Infocube will help me to create a query that will meet our requirements? Which one is better?
    2.  We need a cost Center summary report, Expenses analysis, by product, cost center, business unit, region, plant, etc. and Expenses period comparison report. Which infocube will provide me that information for those reports, the CO-OM-CCA: Statistical Key Figures (0CCA_C03) or CO-OM-CCA: Costs and Allocations (0CCA_C11)?
    3. What infocube will be needed to generate an inventory report (raw material, semi and finished goods)? Is it the Material Stocks/Movements (as of 3.0B) 0IC_C03?
    Can I get an inventory report from the Purchasing data (0PUR_C01) infocube?
    Thanks a lot
    Vic

    Hi
    1)you need to check the requiered characteristics are available or not from these data sources which supply data to the above said cubes,,2
    2)0CCA_C11
    3)0IC_C03
    You cann't get the inventory report from the purchasing data(purchasing data always talks about the vendor supplying inventory,it never talks about the production inventory)
    Hope it helps
    Thanks
    Teja

  • How do I click on a cell in a table control, and display the value in a string?

    What I would like to do is to click on a cell in a table control, and have the value of the cell be displayed in a string indicator. What ever cell I click on, I would like the value to be displayed in the indicator.
    Thank you!
    Solved!
    Go to Solution.

    ... or
    Event >>> ouse down for table.
    Use Coords" to feed invoke node "point To Row Column" and returned "Cell Postion" can be unbundled to produce the row and column tht can be used to index out the value.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • With snow leopard, basic keyboard functions like double clicking on a desktop item now require me to hold control and then click on the track pad.  I'm trying to recall, I seem to remember Leopard allowing you to double click items to open them?

    I notice in iPhoto that if I used to be able to single/double click on a photo to view it but now if I click CONTROL and then the TRACK PAD, the options don't allow me to open JUST that photo in nearly full page format.  Any suggestions?

    "nearly full page" means that I used to be able to double click on a photo in iPhoto, and it would open up to a full image within iPhoto itself.  Now, there is absolutely no option to enlarge a photo unless you go to slideshow - no option to double click or side click or Control+click or Command+click or anything at all.  The small white arrow at the bottom right corner of every photo gives you options, but none are options that include enlarging a photo to see it bigger.  And no, you cannot double click it at all to even open it up in any other app unless you click/drag onto desktop and then open in Photoshop, or equivalent app. Yes, checked TP preferences.  No, it doesn't help.

  • How do I use hotmail via Blackberry services and not via phone network so not using up my data?

    Hi,
    I have a new Blackberry 9360 and am having trouble with it. They said in the shop that I can access my yahoo mail without using up my 250mb of internet data, so can access it using the Blackberry services rather than the internet. I can't work out how to do this and can only seem to use the email through the internet where the messages come into my 'Messages' on the 'Home' screen, therefore I'm using up my data every time I open an email message when it comes in.
    Can anyone please help me as I'm wishing I could go back to Nokia at the mo!
    Many thanks.

    Hi, thanks for your reply.
    They gave me the impresssion in the shop that I could access my existing yahoo hotmail, send and receive messages on it for free via the BlackBerry services and not use up my data allowance and they didn't mean the Blackberry email which is a different thing. Have they misled me with this?
    Many thanks for any advice.

  • HT4352 How can I get Home Sharing turned on my Apple TV if I have lost my remote control and my remote apps on my ipad and iphone can not get access to my apple tv, only my itunes.

    How can I get Home Sharing turned on my Apple TV if I have lost my remote control and my remote apps on my ipad and iphone can not get access to my apple tv, only my itunes.

    You can't, you will need to get a new remote.

  • I have one blackberry id and two blackberry's but can only receive e-mails on one device!

    Hi all,
    I have a problem! I have one blackberry id and two blackberry. I have given my old blackberry to my wife.
    I have just setup my new phone but whilst setting up my e-mails on my new phone we have noticed that the e-mails have been transferred to my new phone but have stopped working on my old phone.
    The odd thing is my wife had a previous blackberry and we were able to both get the company e-mails on each phone.
    The message that appears when e-mails have been transferred to the new phone is there is another device registered to this blackberry id and only one device can receive e-mail.
    How can I unregistered my old phone from the blackberry id and re-register it under my wife's details and hopefully receive the e-mails on both phones?
    Please help as its vital for the business.
    Cheers Nick

    Hi woodbe and welcome to the BlackBerry Support Community Forums!
    The BlackBerry ID is only designed to work on one device at a time. Your wife can sign up for a new BlackBerry ID by going to www.blackberry.com/blackberryid.  Also, to receive email on her device, she will have to have a BlackBerry data plan configured with your wireless network provider as well.
    To change the BlackBerry ID on her device, you can back it up using the BlackBerry Desktop Software, then perform a security wipe from Options>Security.  Upon the reboot, sign in with the new BlackBerry ID, then you can restore the data using the BlackBerry Desktop Software again.
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to insert row in table control and save the data in tables

    Hi,
    I have one table control i am displaying data into table control ,
    my problem is : i want to display data into read mode in table control.
    but when i click on insert button on the same screen i want one blank line should inserted into table control , then i want to insert some data into table control on that row , when i click the save button . the new data inserted into the table control is insert that data into ztable ,
    please give me solution
    main problen is  how can know inserted line in table control and pass that data into ztable.

    Hi,
    Follow the below logic,
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0001.
      MODULE POPULATE_TABLE_CONTROL. --> Get the data from table store in 
                                                                          ITAB
      LOOP AT GT_CTRL_LP_D516 INTO GS_WA_CTRL_LP_D516
           WITH CONTROL CTRL_LP_D516
           CURSOR CTRL_LP_D516-CURRENT_LINE.
      The following module moves data to control
        MODULE MOVE_TO_CONTROL.--> Move data from ITAB to table control
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT GT_CTRL_LP_D516.
      ENDLOOP.
      MODULE EXIT AT EXIT-COMMAND.
      MODULE USER_COMMAND_0001.  --> Here you have to take out the values from table control and update database table
    Reward points if helpful.
    Thanks and regards,
    Mallareddy Rayapureddy,
    Munich, Germany.

Maybe you are looking for