Let me know how to get screen size of user..

Hi.
I'm going to change a container size in a screen, dynamically.
I want to know that an user's screen is 1024X768 or others..
Let me know how to get screen size of user's computer.
Best Regards.
Kil - Nam.

Look at Re: SAPgui window size (+)
Regards

Similar Messages

  • How to get screen size or user's resolution?

    Hey,
    i want to know how to get the sreensize.
    Incase my program get's bigger then the screen.
    thanks 4 ur help

    Toolkit.getDefaultToolkit().getScreenSize()

  • Let me know how to get a StreamConnection

    I wanna make a StreamConnection to my server. the below is the part of my code.
    When I insert my program to my handset by Infrared. the code happens ConnectionNotFoundException.
    My handset details is O2 network in the UK, pay as you go, Sony Errison, W810i.
    What is the role to connect? Should I set a handset setting up, How? Should I have a monthly contract?
    Please let me know how to get a StreamConnection. Please.
    StreamConnection sock = (StreamConnection) Connector.open ("socket://211.233.14.187:33000", Connector.READ_WRITE);
    Edited by: crony94 on Feb 12, 2008 6:02 AM
    Edited by: crony94 on Feb 12, 2008 6:24 AM

    crony94 wrote:
    I wanna make a StreamConnection to my server. the below is the part of my code.
    When I insert my program to my handset by Infrared. the code happens ConnectionNotFoundException.
    Can you provide a bit of exhaustive stacktrace?
    My handset details is O2 network in the UK, pay as you go, Sony Errison, W810i.
    Do you have data connection in your handset? Are you able to surf internet from the set?
    What is the role to connect? Should I set a handset setting up, How? Should I have a monthly contract?
    Please let me know how to get a StreamConnection. Please.Dint understand what u meant by monthly contract. You should have a working data connection with your subscription to be able to connect to a socket.
    StreamConnection sock = (StreamConnection) Connector.open ("socket://211.233.14.187:33000", Connector.READ_WRITE);
    Is this IP address/port alive?
    Edited by: crony94 on Feb 12, 2008 6:02 AM
    Edited by: crony94 on Feb 12, 2008 6:24 AM

  • I downloaded a cheap PDF editor and it converted all my PDFs to their software. Then when I deleted it, I cannot open them in the Adobe format any longer. Please let me know how to get them back!

    I downloaded a cheap PDF editor and it converted all my PDFs to their software. Then when I deleted it, I cannot open them in the Adobe format any longer. Please let me know how to get them back!

    It's important to understand that when this sort of thing happens files aren't "converted" at all.
    In Windows and Mac, there is just one app (program) that it run when you double click a type of file. There's an app for Word documents (Microsoft Word). There's an app for PDF files. So all that happened is that you installed an app which can open PDF files.
    Nothing changed in the files. You can still open them the traditional way if you forget double click - start the app, use Open from the File menu.

  • Pls. let me know how to get rid off this ribbon?

    Hello
    I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP) When i opened this VISITOR interactive form in a browser, right clicking and checked form
    PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
    When i executed/run this interactive form, am getting a violet colred ribbon on the top of the form, with a text of "Pls fill out the folowing form. You can save data typed into this form" on left corner "
    But, i do not want to get/display/see this violet ribbon on my form, pls. let me know how t get rid off this robbon?

    I bet if you Google "iPhone error code 1611" you'll get a clue as to how to fix your problem

  • HT201210 please let me know how to get past error msg 11 when trying to restore an ipod touch 4th gen

    please let me know how to get past error msg 11 when trying to restore an ipod touch 4th gen

    Is the iPod jailbroken? Googling shows that error 11 appears if it has been jailbroken.

  • Trying to read a file but doesnt know how to get the size of the inputstrem

    hi im trying to read a file in a cel this is my code:
    fconn = (FileConnection)Connector.open("file://localhost/" + actualdir);                     
    InputStream fis = fconn.openInputStream();                                                 
    byte b[] = new byte[1024];                                                                         
    fis.read(b);                         
    fis.close();
    fconn.close();   
    textBox1 = new TextBox("Viendo el Archivo: " + list1.getString(list1.getSelectedIndex()), null, 1024,TextField.ANY | TextField.UNEDITABLE);                       
                              textBox1.setString(new String(b, 0, b.length));                        i dont want to create always an array of bytes of size 1024 instead i wanna know how many bytes does inputstream object has, how can i know that?

    you can either retrieve the whole file at once by determine the file size like:
    fconn = (FileConnection)Connector.open("file://localhost/" + actualdir);
    InputStream fis = fconn.openInputStream();
    byte b[] = new byte[fconn.fileSize()];
    fis.read(b);
    fis.close();
    fconn.close();
    or read every single byte
    fconn = (FileConnection)Connector.open("file://localhost/" + actualdir);
    InputStream fis = fconn.openInputStream();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    int i = fis.read();
    while(i != -1){
    baos.write(i);
    fis.read();
    String content = new String(baos.toByteArray());

  • Greencard application: I need to downsize a pic to 240kb, but it has to be 600 x 600 pixels, and I don't know how to get the size that small whilst retaining those pixel dimensions??? Help!

    Hi! I'm trying to get the correct image size for a pic I need for a Greencard application for the US. My friend took the photo on a DLSR. I set up a Photoshop document measuring 600 x 600 pixels, the size needed by the application document, but I can't get the image smaller than around 550kb. When I "save as JPEG" in Photoshop, no matter how poor the quality slider, the image stays around 1MB. Is there another way to get the image down to 240kb @ 600 x 600 pixels??????

    The file opened and cropped in photoshop was a camera raw file?
    In File>Save for Web pick Jpeg from the drop-down

  • I can not restore my Iphone 4 as an error message keeps coming up with error code 1611 what does this ,=mean and what shoud i do please let me know how to get rid of this and get my phone restored. thank you

    Hi
    My name is Lubna Ruby abd would like help with my IPhone 4, I am unabke to restore my phone as it keeps on coming up with an error message as code 1611,  please help me to solve this error as my phone has gone compleatly blank, if possible please contact me to resolve this matter.
    Thank you

    I bet if you Google "iPhone error code 1611" you'll get a clue as to how to fix your problem

  • Started Preparing SCJP....Let me know how to get Good Score?

    Hi friends im going to prepare for SCJP..... I need many resources and ebooks? I need ur help
    Plz help me.... My Email_ID ( [email protected] )
    Edited by: Samz_Vision on Dec 18, 2009 8:37 AM

    I need ur help
    Plz help me..http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Please let me know how to write the Query to fetch data from tables

    Hi Folks,
    Please let me know how to get the data from  different tables using the functionality SQ03,SQ02  and SQ01 .
    Helpful answers will points awarded.
    Regards,
    Ram.

    Dear Ram,
    Please find the below link which gives in detail with screen shots.
    [SAP Query|http://media.techtarget.com/searchSAP/downloads/Teach_yourself_SAP_C20.pdf#search=%22CREATE%20REPORT%20USING%20SQVI%20%2C%20SAP%22]
    Thanks
    Murtuza

  • Does anyone know how to get my email to download pictures?  I was able to view pictures in my email before I upgraded to iOS 7.  I have allow remote pictures turned on in my settings.

    I was able to view pictures in my email before I upgraded to iOS 7.  I have allow remote pictures turned on in my settings.  I loved Apple until this last upgrade.  It used to be an intuitively designed product.  I hate it now.  If they don't make it easier for older users to use again, this will be the last Apple product I every purchase.

    Welcome to AD!
    I have a regular post for the top 3 or 4 fixes for that 9808 error. Obviously you are going to skip #1, since you've already tried it. Let me know how you get on with the next 2.
    The top 3 fixes to itunes error 9808 seem to be
    1) Go to Start > Control Panel > Internet Options > Advanced, make sure that SSL 3.0 is checked and TLS 1.0 is checked. Also under Security make sure that the “Check for server certificate revocation (requires restart)” is unchecked. Then click ok and fire up iTunes.
    2) The culprit was Norton. The users are set up as Admin and Standard. I have Parental Controls turned on in both Vista as well as Norton. Admin users had no problems connecting to iTunes. Standard users would get the error. I had to go to Norton’s Personal Firewall and add the program “iTunes Helper.exe” and set the option to “Allowed” (”iTunes.exe should already be in the Allowed category.) in order for the standard users to be able to connect.
    3) close iTunes if you have it open right now. Then go to C:/Documents and Settings/username/Local Settings/Application Data/Apple Computer/iTunes. Delete or cut the preferences.xml file which contains your iTunes preferences. Then go to C:/Documents and Settings/username/Application Data/Apple Computer/iTunes and delete or move the preferences.xml file. For Mac users, there is only one file you must delete or move a to a new location and is located at User > Library > Preferences > com.apple.itunes.plist. Restart iTunes and it will recreate those two (or one) files with the default settings. Feel free to set your preferences back to what they were and then connect to the iTunes store and enjoy!
    And #4, see if you can get into the iTS from a different windows admin account on the same PC.

  • How to get the room id & user id in our component

    Hi Experts,
    Collaboration -> Rooms -> Room Directory
    It will show the available rooms
    Select restricted room tab in that.
    That will show the restricted room list, if you are not a member of the room you can request the room by clicking context menu of the room and select the “Request Membership” option. Then it will send the mail to the owner of the room.
    In that UI commend they mapped with the roomid and userid.
    I need to know how to get the room id & user id in our component.
    How to get the Room Id dynamically?
    Can anybody help me for this?
    Helpful answers will appreciate.
    Thanks and Regards,
    Kathiresan R

    Hi Kathiresan,
    you can get the Room ID and the User ID over the API.
    Getting User ID within WebDynpro application:
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    String logonId = user.getUniqueId();
    Getting User ID within custom Portal Component:
    IPortalComponentRequest request = (IPortalComponentRequest) httpRequest;
    IUser user = request.getUser();
    String logonId = user.getUniqueId();
    Getting Room Id of a user who belongs to this room:
    IUser user = request.getUser();
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    IRoom[] myRooms = roomsAPI.getAllRoomsForUser(user);
    String roomId = "";
    for (int i=0; i<myRooms.length; i++) {
      IRoom room = myRooms<i>;
      if (room.getName.equals('nameOfRoomToFind')) {
        roomId = room.getId();
    Greets
    Denis

  • How to get the active application users IP address in R12 by sql command

    Hi ,
    I need to know how to get the active application users IP in R12 by sql command
    in order to kill any session by the IP address ?
    Am working on 12.1.3 Application
    And 11.2.0.3 Oracle Database
    Thanks

    936921 wrote:
    Am still couldn't found the IP address for the connected Application users.
    If there any select statement can help me with that?
    Really? Then how do you explain me finding the following docs from the links I referenced above?
    How To Find The IP Address Of The Client Machine From Where A Particular Forms User Is Connected ? (Doc ID 879092.1)
    How to Track IP Address of the Form Session in Oracle application 11i (Doc ID 878931.1)
    Where to find the Client IP Address for a Client in E-Business Suite? (Doc ID 1258415.1)
    How To Get The terminal ID For The Machine From Which A User Is Logged To E-Business Suite Applications (Doc ID 751658.1)
    Thanks,
    Hussein

  • HT3228 Please let me know how to avoid receiving the spam into my email accounts on the iPad.  It is very annoying! My server puts it in the spam folder...why do I get it on the iPad?    Is it avoidable and how?

    Please let me know how to avoid receiving the spam (from the spam folder on the server) into my email accounts on the iPad.  It is very annoying!
    My server puts it in a spam folder and I do not receive it in the Ms Outlook on my desk computer...why do I get it on the iPad?    Is it avoidable and how?b

    You actually cannot do anything to your ipad when its locked but look at pictures the time and date, you need to restore it, and if it dosent let you restore, good luck chuck Heres how to restore it: Okay, i only know the itunes way soz, lol. Try to connect your ipad to itunes, if it does let you then you should be able to select the device you have in the corner somewhere, once you do that you should see a screen that looks sort of like your ipads setting, you should have a button that says "Restore" click that and your ipad should be restored. If that dosent work you should try going to your regular office depot or something. Good Luck!

Maybe you are looking for

  • T-code MB5B Issue

    Dear All, Im having an issue with MB5B (Stock on Posting Date) The issue is i cannot Sum up for column opening balance or closing balance. In selection screen, I have selected: Valuated Stock Totals only non-hierarchical Then in Output, when i try to

  • Switch to standard time from daylight saving causes error - iOS 7

    Hi there, Today (27-Oct-2013) the time was switched back from daylight saving to standard. When looking my iPhone, I noticed that although the clock correctly displays the current time, the standard weather app still uses the time according to daylig

  • IPad Mini with RD and ipad mini

    hello again... At last i ordered for 32gb ipad mini with retina display. Yet to receive... And there now is a small voice in side my heart which says that price comparison b/w iPad mini with retina display and iPad mini is considerably more. I feel t

  • Best practices question

    I've been starting to work with JDev 9.0.3 and web services, and I can see clearly how to: -- take my existing database information and create a web service for it. I've done this with PL/SQL, and will start trying to do it with BC4J shortly. -- take

  • WLC 5508 - Issue- Will not start NCS

                       After a powerloss and reboot the unit will not start NCS. The running configuration file apears to be intact. Any suggestions would be apreciated. Currently generation failure logs. Thanks in advance John D.