Emulating different mobile screen sizes in netbeans ?

Hi , I've tried messing around in emulator settings, but can't find a way to set the screen size so I can test my app on different conifigurations... can anyone help ?

This is very easy in netbeans, right click your project, then go to properties, then go to abilities, here you will see a table with column name 'ability' and 'value' . There you will find two parameters named 'ScreenWidth' and 'SreenHeight'. Change these two values as you wish . You r done :)
Enjoy netbeans

Similar Messages

  • Most efficient way to handle Image sizes with respect to Mobile Screen Size

    Hi all,
    I and trying to find the best possible way to manage Images with respect to the size of mobile screen.
    If I have an image that is best fit on mobile screen size (176 x 144) then how can I make it best fit for (128 x 128) screen size ?
    rizzz86

    Hey Rizzz86,
    You could also scale down a higher resolution image to fit smaller screens, however you will find that resizing by factors other than 2, 4, 8 is harder to achieve with a decent quality and much slower on lower spec devices.
    You could also display 128x128 image centered on 176 x 144 screen with black borders around it.
    It will look not that bad (i.e. borders of 24 pixels top and bottom and 8 pixels left and right) and will cost you nothing in terms of space or processing.
    In the end having an image in 3 different sizes will not increase the MIDlet size by much, unless you are having tens of such images (for example custom UI elements).
    Best solution is to have a bit of both I think. Personally I use scaling down by factors that are powers of 2 and displaying with the black borders.
    Daniel

  • Mobile Screen size

    Is there any way to detect the mobile screen size of a device.  I know you can get the pixel capability but some phones now have HD screens with similar pixel capacity to tablets.  My galaxy nexus is displaying the tablet version but I would rather it do the phone version.  Not sure if there is any physical size we can pull to make a more intelligent decision on which layout to show.

    The Capabilities class provides properties that describe the screen.  I've used the dpi to help make things look correctly on these different highres smaller screens.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html
    Greg

  • How do you hide elements for mobile screen sizes?

    I've built an interactive Edge page that is 1200 pixels wide. I'm working on making things responsive, and I would like to hide elements when the browser hits a mobile screen size - similar to adding a media query and setting an element to display:none at 450px or similar. How can I do this within Edge?
    If this is not possible within the interface, can I add my own media queries to the css to do this?
    Thanks.

    Hi ,
    Check out this forum post : Hide Elements with Screen Size CSS style sheets?. Might be helpful.
    Thanks and Regards,
    Sudeshna Sarkar

  • ITS mobile - Screen size on mobile device is too small

    Hi,
    I'm not able to change the screen size of my ITS Mobile application.
    If somebody can help me ...
    Here are the data:
    Internet service parameters
    ~DYNPRO_COMPRESSION : 1
    ~GENERATEDDYNPRO : 0
    ~ITSMOBILE : 1
    ~ITSMOBILEELEMFACTOR : 9
    ~ITSMOBILEELEMUNITS : px
    ~SOURCES : ZSAPLOG_MOBILE,ITSGENMOBILE4
    ~THEME : 99
    ~TRANSACTION : ZSAPLOG_MOBILE
    Internet service templatesGenerating style: MOBILE4 (Mobile Device (No HTML tables))
    ICF service - GUI Configuration
    ~THEME : 99
    ~TRANSACTION : ZSAPLOG_MOBILE
    ~ITSMOBILE : 1
    ~SOURCES : ZSAPLOG,ITSGENMOBILE4
    ~ITSMOBILEELEMFACTOR : 9
    ~ITSMOBILEELEMUNITS : px
    ~POPUPS : 1
    ~SHOW_SYSTEM_MODAL : 1
    ~STYLE : DHTML
    LRFMDscreen size is set to 16x20ITS
    Versions
    SAP_BASIS : SAPKB73108
    SAP NETWEAVER : SAP EHP3 FOR 7.0
    Mobile device
    Model : PIDION HM50 E
    CPU : Samsung Electronics(R) S5PV210
    OS : WEHH 6.5 Professional
    VER : Windows CE 5.2.29077
    Thanks for your help
    Philippe

    Perhaps an option to set the default font for discussion threads in the user preferences would be the best idea. One would think however that the Jive developers would have come up with something like that already.
    For what it's worth:
    http://www.w3.org/QA/Tips/font-size
    Do not specify the font-size in pt, or other absolute length units for screen stylesheets. They render inconsistently across platforms and can't be resized by the User Agent (e.g browser). Keep the usage of such units for styling on media with fixed and known physical properties (e.g print).
    Once again, I wonder about Jive development. Anyway, 10 pt is not best practice. It's standard for printed media, but not for screens. A search in Google shows that most recommend 16 pixels or more. Not sure what this is in points. I think 10 points is about 12 pixels, depending on screen dpi/ppi. I cannot imagine how tiny 10 pt must look on any of the high resolution Retina displays, which have twice or more density than conventional 72 dpi.

  • ITS Mobile screen sizes too small on iPhone device

    Hi Everybody,
    I am facing the some problems relating to screen sizes on iphone mobile. The ITS service and the templates were working fine at the desktop level..But, in iPhone,screen sizes are too small to view.We need to zoom it and enter.I have tried with screen format 16X20 and 16X20ITS.
    Can any body provide the solution to fix the problem?
    Regards,
    Mahesh

    You must have a very high resolution screen, also called HiDpi.
    If you have Photoshop CC 2014, you can go to Edit > Preferences > Experimental Features and checkmark "Scale UI 200%"
    If you have CC, CS6, or below, there is no way to scale the UI as of yet. There may not be. These products are no longer being updated.
    At best I can recommend reducing the resolution down to around 1400 px horizontal. That's not the native resolution and defeats the purpose of having a Hidpi screen.
    So only thing left aside from returning the laptop, is to work with a large external monitor, or for $10/monthly, join the Photography Plan and you can use CC 2014 and the 200% UI.

  • 7.1: set Screen Size of PDA Emulator

    We are developing a 7.1 PDA Mobile App using a client device with a bigger screen (VGA) than the emulator by default opens up with.
    Is there a setting (eg. in MI\settings\core.properties) to define the screen size?
    Thanks, Andre

    Hi Sivakumar,
    thanks for checking and letting me know.
    In the meantime I installed a software to control windows: Autohotkey. The little script below resizes the window and enters my user id and password. It is one click only if you have a link in the QuickLaunch Tray.
    Cheers, Andre
    WinWait, SAP NetWeaver Mobile,
    IfWinNotActive, SAP NetWeaver Mobile, , WinActivate, SAP NetWeaver Mobile,
    WinWaitActive, SAP NetWeaver Mobile,
    WinGetPos X, Y, W, H
    WinMove SAP NetWeaver Mobile,,X, Y, 800, 400
    MouseClick, left,  483,  78
    Sleep, 100
    Send, userid{TAB}password
    MouseClick, left,  36,  34
    Sleep, 100

  • Getting Mobile Device (Correct) Screen Size

    I have some confusion over getting the screen size of a mobile device. I measured the following:
    var hsa:AlertObject = new AlertObject();
    hsa.alertMessage = "screen w:" +  this.stage.fullScreenWidth + "  h:" + this.stage.fullScreenHeight + "\n" +
                        "capscreen w: " + capmc.width + " h:" + capmc.height + "\n" +                    
                        "capabilites w: " + Capabilities.screenResolutionX + " h: " + Capabilities.screenResolutionY;
    hsa.open(this, false);
    I ran this on an iPod touch 4 which has a resolution of 960 X 640. The above code gives me:
    screen = 480 X 320
    capscreen (a movie clip I load that is scaled to the full screen and is displaying properly) = 1548.85 X 677 (I presume the original dimensions my designer gave the SWF).
    Capabilities = 480 X 320
    Note that 480 X 320 is precisely half of the actual screen dimensions of an iPod Touch 4. Can someone please tell me why. And, given that capscreen is displaying (properly) at the time I take these measurements and display results, why is capscreen reporting larger than the actual dimensions of the device? Also, my app orrientation is landscape only and yet the dimensions I'm getting are that width is < height which means the device is reporting in portrait mode.
    If I just need to check for iOS and then double dimensions, that's fine. But, I don't want to do that for this iPod Touch test to find it works differently on other iOS devices.
    I know that all of my screens are on the stage, BTW. I know this because I get the AlertObject to show me alerts by pressing one of the buttons of a loaded screen I am measuring - and the button is not enabled until all SWF's are finished loading and being added to stage.

    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="NewCappoCamera" actionBarVisible="false" xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
    private function loadSWF():void {
    pictureButtons.load();
    pictureButtons.content.addEventListener(Event.ADDED, loadComplete);
    //initCamera();
    private var mc:MovieClip;
    private var hasBeenInit:Boolean = false;
    private function loadComplete(event:Event):void{
    event.target.removeEventListener(Event.ADDED, loadComplete);
    if(event.target is MovieClip && mc == null) {
    mc = MovieClip(event.target);
    mc.play();
    if(event.target.name == "acceptPicBtn") {
    acceptButton = SimpleButton(event.target);
    acceptButton.enabled = false;
    else if(event.target.name == "retakePicBtn") {
    retakeButton = SimpleButton(event.target);
    retakeButton.addEventListener(MouseEvent.CLICK, retakeClicked);
    retakeButton.enabled = false;
    else if(event.target.name == "takePicBtn") {
    cameraButton = SimpleButton(event.target);
    cameraButton.addEventListener(MouseEvent.CLICK, cameraButtonPressed);
    if(cameraButton != null && acceptButton != null
    && retakeButton != null && cameraButton != null && mc != null && !hasBeenInit) {
    mc.stop();
    pictureButtons.endEffectsStarted();
    hasBeenInit = true;
    initCamera();
    //private var numTimes:uint = 0;
    private function initCamera():void {
    cameraButton.visible = true;
    cameraButton.enabled = true;
    acceptButton.enabled = false;
    retakeButton.enabled = false;
    acceptButton.visible = false;
    retakeButton.visible = false;
    //front camera loads if they have one and it's an iOS device.
    var a:Array = Camera.names;
    var camName:String = "";
    var isAndroid:Boolean = false;
    for(var i:uint = 0; i < a.length; i++) {
    camName = a[i];
    if(camName.indexOf("Front") != -1) {
    break;
    //test if android as right now only the back camera
    ///works on that platform.
    if(Capabilities.version.indexOf('AND') != -1) {
    this.camera = Camera.getCamera();
    isAndroid = true;
    else if(camName.indexOf("Front") != -1 &&
    !isAndroid) {
    this.camera = Camera.getCamera("1");
    else {
    this.camera = Camera.getCamera();
    if(!Camera.isSupported) {
    //todo
    if(camera.muted) {
    //todo
    //following works on droid but is not working in iPod...
    //camera.setMode(
    //pictureButtons.contentWidth + this.width,
    //pictureButtons.contentHeight + this.height, 30, true);
    //the code below works on both platforms.
    var ch:Number = Capabilities.screenResolutionY;
    var cw:Number = Capabilities.screenResolutionX;
    var vidh:Number = ch;
    var vidw:Number = cw;
    if(ch > cw) {
    //in this case, the device must be registering in the portrait mode
    //multiply eveything by 2 and switch orrientation...
    vidw = ch * 2;
    vidh = cw * 2;
    camera.setMode(vidw, vidh, 30, false);
    //android dimensions have to be doubled no matter what
    else if(!(ch < cw) && isAndroid) {
    vidw = cw * 2;
    vidh = ch * 2;
    camera.setMode(vidw, vidh, 30, false);
    else {
    //otherwise, everything should already be double and there's no need to switch
    //width and height like there is above.
    //need to test that this remains the case with ipod but can't seem to get ipod
    //orientation to report other than "rotatedRight" no matter how the device is held.
    camera.setMode(vidw, vidh, 30);
    vidComponent.height = vidh;
    vidComponent.width = vidw;
    this.video = new Video();
    video.width = vidComponent.width;
    video.height = vidComponent.height;
    video.attachCamera(camera);
    vidComponent.addChild(video);
    vidComponent.visible = true;
    ]]>
    </fx:Script>
    <mx:UIComponent id="vidComponent" x="0" y="0" width="100%" height="100%"/>
        <s:Image id="capturedImage" x="0" y="0"
                 width="100%" height="100%"
                 visible="false"/>
        <s:SWFLoader
            id="pictureButtons"
            x="0" y="0"
            width="100%" height="100%"
            scaleContent="true"
            source="@Embed('assets/SignUpPicButtons.swf')"
            creationComplete="{loadSWF()}" autoLoad="false"
            />   
        <s:SWFLoader
            id="busyLoader"
            x="0" y="0"
            width="100%" height="100%"
            scaleContent="true"
            source="@Embed('assets/CheckingSWF.swf')"
            autoLoad="false"
            />
        <s:SWFLoader
            id="invisibleBusy"
            x="0" y="0"
            width="100%" height="100%"
            scaleContent="true"
            source="@Embed('assets/InvCheckingSWF.swf')"
            autoLoad="false"
            />
    </s:View>
    Let me know if you want the SWF's required to run this code.

  • OA Framework page (custom) does not shrink to mobile device screen size.

    Hi,
    OA Framework page (custom page) using IE6 had application disconnection problem.
    So using IE6.1 beta/IE6.5 for OA Framework page (custom page) does not shrink/fit to the mobile device screen size. Means user have to scroll to the right/bottom every time. IE is set as a Mobile device (and not the desktop).
    We have tried using following Meta Tag (with different content values) to inform the browser that this is a mobile device. But this has not worked.
    pageContext.putMetaTag("MOBILEOPTIMIZED","<META name=\"MobileOptimized\" content=\"176\">");
    How we can fix this issue?
    Thanks in advance.
    Nilesh

    Hi,
    What you are trying to do, I could not understand.
    Apps Schema has all synonyms for almost all the objects in other schema if you will not specify any schema name the it will synonyms created in apps. For not using mention like this shema_name.object_name then it will fetch data from mentioned schema.
    Regards,
    Reetesh Sharma

  • How to show different size of custom fonts on different mobiles

    I am currently working on a J2ME project on which we are using low level API. We want to display custom fonts on mobiles and we want to show different size of fonts according tot he resolution and screen density of mobile screen resolution is provide by J2ME but screen density is not provided is there any way to calculate screen density using WURLF, Or any other third party api or JSR.

    See RAS samples [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]. Look for "NET-CS2003_RAS-Managed_BE115_Add_Image" or "NET-VB2003_RAS-Managed_BE115_Add_Image-From-File".
    Ludek

  • Adjust front panel to screen size and re-position objects on different systems automatically

    Hello, i have designed a vi that contains 5 led's placed at the 4 corners and center of the front panel which occupies the entire screen. However, this vi is to be used on different systems having different screen sizes. But on every screen, i'll need the front panel size = screen size and the led's to  be placed to the centers and corner of this new screen size automatically without any manual operations and positioning bieng done every time. Will the resize option perform this task completely or do i have to go for some other techniques?
    Solved!
    Go to Solution.

    As far as I know, what you want is not easy to do but it is doable but you have to programmatically do it (no Labview setting). Here is an example for only 2 LEDs but I suppose that you will be able to make it work for your other LEDs.
    This VI maximizes the front panel and then positions the 2 LEDs in the center and top right corner upon running. The LEDs are positioned according to their own top left  corners, not according to their centers.
    Marc Dubois
    HaroTek LLC
    www.harotek.com
    Attachments:
    Position LEDs.vi ‏14 KB

  • Scaling front panel objects for different screen sizes

    Hi,
    Can anybody help me of designing Vi for different screen sizes. I have designed a VI for a monitor of small size and lower resolution but when I open the same Vi on a different monitor,objects are not aligned properly. The properties which I have changed are
    Window appearence->Default
    Window Size -> Panel size 0,0   & Tick marked options of Maintain propotions for different monitors and scale all objects 
    Window Run Time position-> Maximum
    Regards
    Imran
    Solved!
    Go to Solution.

    Imran,
    I can't solve your problem entirely.  However when I have to write a program that will be deployed on a variety of monitor sizes, I tend to set the size of the Front Panel to suit the smallest monitor, and then remove the ability of the user to resize it.
    Also, set it to run in the centred position.
    See attachments.
    Many Thanks,
    Dan
    Dan
    CLD
    Attachments:
    Customize Window Appearance.JPG ‏44 KB
    VI Properties.JPG ‏29 KB

  • Resizable page for different screen sizes but with static image content. Shall I use media query?

    I’m making a page that has of mostly image content. It’s a large circle in the middle so I want it to be centered vertically and horizontally. I also want it to stay centered and resized proportionally for different screen sizes. I’ve read about media query but it seems to me that the elements just become fluid. Can I make the elements stay in place using the media query?
    I’m working in Dreamweaver CS5.5

    Here's the code I'm working with now, I've taken away the things that I don't really understand.
    It's working but I guess it won't hold when I start with the media queries.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head><style type="text/css">
    body {}
    div {
       font: 12px Arial;
    span.bold { font-weight: bold; }
    #the-circle {
      height: 960px;
    width:960px;
    margin-left:650px;
    margin: 0px 10px 0px 10px;
    margin-left:650px;
    .link-row {
    position:absolute;
    width: 960px;
    height: 74px;
    top: 130px;
    left:660px;
    .link-row-2 {
       position: absolute;
       width: 960px;
       height: 74px;
       top: 300px;
       left:660px;
    .link-row-left {
    float: left;
    .link-row-right {
    float: right;
    .link-row-right {
    float: right;
    .link-row-right {
    float: right;
    </style></head>
    <body>
    <br /><br />
    <div id="the-circle">
    <img src="ACE Test/Logo-DW.png" width="960" height="960" />
    </div>
    <div class="link-row">
    <div class="link-row-left"><img src="ACE Fotografier EP och Video/Logo/Wix ACE Logo.png" width="111" height="74" /></div>
    </div>
    <div class="link-row-2">
    <div class="link-row-right"><img src="ACE Fotografier EP och Video/Logo/Wix ACE Logo.png" width="111" height="74" /></div>
    </div>
    </body></html>

  • How to handle different screen sizes?

    Hi,
    I have a couple of 2D 180X180 png images. I used them for splash screen, backgrounds etc etc. How do i ensure that my splash screen and background (using these fixed-sized images) can cover the device's displayable area? For example, if a device is 200X200, how do i stretch my 180X180 images?
    I'm currently using lcdui's Image class to display the images, and there isn't any method that i could use to scale the images for different device sizes. :-(
    Thanks for any help!! :-)

    The way this is usually handled is with different versions containing graphics fro different screen sizes.
    You can resize images using MIDP 2.0, but this method is a memory hog, and with an image as big as 180x180 there is a big risk of running out of memory during the process.
    Or you can work out a way so that the screen resolotion doesn't affect you. Like centering the image over a background of the same color as the image's background, using tiles to create the background, etc.
    shmoove

  • Splash Screen Size for Mobile

    Hello:
    Anyone knows the suggested size for a mobile splash screen. I am experimenting development using "Burrito".
    Thanks for any help.

    hi
    canvas.getWidth() for getting width of the screen.
    canvas.getHeight() for height.
    but u have to sure that if u are using canvas.setFullScreenMode(true) for using fullscreen (also command area) then write this getwidth() and getHeight() after writing setFullScreenMode()
    Note : there is some devices like motorola a1000 and e1000 like not giving actual screen size if u are using setFullScreenSize(true) , they are giving only actual screen size (without command area).
    hope u get the answer from this ..
    regards
    Akash kumar
    Indiagames Ltd
    India.
    [email protected]

Maybe you are looking for

  • Getting error while writing JUnit test case for RestFul Services

    Hi All, I have written Restful services in Netbean 6.8. It's running well...no issues. {color:#0000ff}While writing JUnit test cases for them, I am getting following error: {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginSer

  • Switch off the automatic update of profit centers on the Balance Sheet acco

    Dear all, In CO I am using only CCA and PCA. But I don't want to have the profit center updated on the balance sheet items. For example I have it activated for all the automatical BS postings from MM I need it only for the PL accounts. How can I swit

  • 1:n mapping in ccBPM fails !!

    Hi We have requirement to split a message(a master structure that has data for multiple IDOCS of multiple IDOC Types) into 'n' IDOCs using multi-mapping. The mapping program works fine in Message Mapping & Interface Mapping test tabs. We see 1 messag

  • The declaration of the type of this expression is incompleteor malformed

    error 320 at line 22 column 14 the declaration of the type of this expression is incompleteor malformed error 0 at line 22,column 4 statement ignored DECLARE      v_value VARCHAR2(50);      v_prod_id varchar2(100);      v_prod_name VARCHAR2(100); BEG

  • Cannot view html images from only one sender

    I have the option set to view remote HTML images. I have junk filtering turned off. I have reset my junk mail filters just in case that was the issue. There is email from one sender that is a problem. Instead of images I get the blue squares with que