How to set Css in mobile device + OS  using Flex 4.5 Mobile

Hi,
how to set Css for mobile device + OS
is it possible
@media (device : "IPAD") and (application-dpi: 160) and (os-platform: "IOS") { }
Can anyone help to me.

BorderContainer wont resize if the fixed width is specified, if u want to give some minimum width you can use minWidth . Give  Width = "100%", now it will get Resizing capabilities

Similar Messages

  • How to set resize effect for border container using flex 4 or 4.5

    Hi friends,
    resize effect works fine for one control (image). if want to same for custom comp, then is not working.
    below is the code is in custom comp,
    <?xml version="1.0" encoding="utf-8"?>
    <s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" width="200"
             xmlns:s="library://ns.adobe.com/flex/spark" horizontalAlign="left" verticalAlign="bottom"
             xmlns:mx="library://ns.adobe.com/flex/mx"  xmlns:parsley="http://www.spicefactory.org/parsley"
             xmlns:general="com.presentation.components.general.*">
        <fx:Declarations>
            <parsley:Configure/>
        </fx:Declarations>
        <s:BorderContainer id="bcMain" backgroundColor="#f4f4f4" borderColor="#CDC7C7" borderStyle="solid" borderVisible="true" width="100%">
            <s:layout>
                <s:VerticalLayout horizontalAlign="left" verticalAlign="middle" paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5"/>
            </s:layout>
            <s:HGroup id="hg1" horizontalAlign="left" verticalAlign="middle" width="100%" gap="5"
                      buttonMode="true" useHandCursor="true" >
                <s:Image id="img1" source="@Embed(source='assets/flex.png" width="15" height="17" cachePolicy="on" cacheAsBitmap="true"/>
                <s:Label text="label 1" textAlign="center"/>
            </s:HGroup>
            <mx:HRule width="100%"/>
            <s:HGroup horizontalAlign="left" verticalAlign="middle" width="100%" gap="10">
                <s:BorderContainer id="bc1" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img2" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 2" textAlign="center"/>
                </s:BorderContainer>
                <s:BorderContainer id="bc2" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img3" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 3" textAlign="center"/>
                </s:BorderContainer>
                <s:BorderContainer id="bc3" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img4" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 4" textAlign="center"/>
                </s:BorderContainer>
            </s:HGroup>
        </s:BorderContainer>
    </s:VGroup>
    I followed how resize effects works for image control,
    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"  duration="2000"/>
            <mx:Resize id="contract" target="{img}" widthTo="30" heightTo="60"  duration="2000"/>
    <s:Panel title="Resize Effect Example" width="100%" height="100%">
            <s:VGroup width="100%" height="200" horizontalAlign="left" verticalAlign="bottom">           
                <mx:Image id="img" source="@Embed(source='assets/05_ipad.png')" width="10" height="10"/>
                <mx:Button label="Expand" click="expand.end(); expand.play();"/>
                <mx:Button label="Contract" click="contract.end(); contract.play();"/>
            </s:VGroup>
        </s:Panel>
    Please help me.

    BorderContainer wont resize if the fixed width is specified, if u want to give some minimum width you can use minWidth . Give  Width = "100%", now it will get Resizing capabilities

  • When connecting to Synch how do I fix "The iphone cannot be used because thr Apple Mobile device service is not started"

    When connecting to Synch how do I fix "The iphone cannot be used because thr Apple Mobile device service is not started"

    Refer to this article to restart AMDS:
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/TS1567

  • How to set up the output device in output determinatin with customer master

    Hi,
    I am doing the output determination using customer master and not conditions technique.  Can anybody please let me know how to set up the output device . I have done the following:
    1)  assigned output determination procedure DB00001 to acct group 0001
    2)  added output type BA00 to customer master documents tab with print as the medium.
    3)  On creating a sales order and changing it its giving the message
    BA00     515     No printer defined for output BA00
    Please provide me with some suggestions , how to resolve this issue.
    thanx
    Jayant

    1. tcode V/30 -> check BA00 type -> goto  "print" tab -> what's set in the "print param." field?
    2. IMG ->SD -> basic functions -> output control -> define print parameters -> V1 output -> for BA00 output type -> Assign a default printer. This is related with the "print param." set in step 1.
    For example: if "print parame." is set to '1' in V/30, then the default printer is assigned to sales organization.
    You can check F4 search help on the "print param." field (in V/30) to see what options you have.
    If you want to specify printer by customer account, you may need to use userexit.
    Edited by: Harry Wu on Jun 23, 2010 9:18 AM

  • HT2534 I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    Follow the steps on this page when creating a new account http://support.apple.com/kb/HT2534
    e.g. if using a computer's iTunes : https://discussions.apple.com/message/24321860
    If you've already created an account and are being prompted to review it when trying to see it then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054

  • How to set CSS

    Hello every body
    we can use html in swing components is there any way to set css on html which we use in side the swing components.
    zerocool

    Well, the easiest way is to include it in your html, just like you were writing for a web page.
    I.e. ,
    JLabel l = new JLabel("<html><p style=\"font-family='Verdana'; font-size='18pt'>18 Point Verdana</p></html>");

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • Apple mobile device service uses too much cpu time

    Apple mobile device service uses too much cpu time, from 88% to 99% of the CPU time.

    The best way to fix this is to completely remove all aspects of iTunes then reinstall. Step by step directions are on this article. Good luck
    http://support.apple.com/kb/HT1925?viewlocale=en_US

  • I have changed my Apple ID on my iPad, but my iPhone keeps popping up with the old ID.....how do I get all my devices to use the same ID?

    How can I get all my devices to use the same Apple ID?

    Different services on your iOS device (iMessage, Facetime, iCloud, iTunes and App Store) can be signed into with an Apple ID of your choice. Make sure you verify the settings for each device and that you are signed in to each service with the correct Apple ID.
    I'll do an example for iMessage:
    1) Go to settings on your iOS device
    2) Select "Messages"
    3) Select "Send & Receive"
    4) At the very top you will see "Apple ID", by selecting your Apple ID, you will now have the option to sign out of messages with the current Apple ID, and sign in with the new one.
    The steps for changing your Apple ID for other services will be very similar.
    tHIS SHOULD BE VERY HELPFUL TOO YOU.

  • How to set value for trim and bleed using jsx script?

    I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
    Following is the code I am trying with:
    var _saveName = new File ( root_path +_strFileName+".pdf");
        var _saveOpts = new PDFSaveOptions();
        _saveOpts.printerResolution = 300; 
        var bleedarray = new Array();
         bleedarray[0] =9.00;
         bleedarray[1]=9.00;
         bleedarray[2]=9.00;
         bleedarray[3]=9.00;    
        _saveOpts.bleedOffsetRect = bleedarray;

    I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
    var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
    Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds.

  • How to set request number of info package using start routine

    Hi All,
    I have a specific requirement in which I need to upload only selective request nos from PSA to DSO.
    Any one can suggest how to set request number of info package using start routine or any other mode so that only selective request should proceed using DTP?
    Thanks
    Sangita

    You'll probably want to do this in a start routine.  It is probably not advisable to hard-code the technical name of the InfoPak.  They seem to remain the same upon transport, unlike DTP technical names which are locally generated.
    I would do a SQL select like this in a start routine, and then filter based on the results of the SQL.  You'll probably want to sort the results by date and time, both descending.  Or do a MAX in the SQL.
    Please let me know if this isn't clear.
    select q~rnr q~logdpid q~tdatum q~tuzeit
    from rsreqdone as q
      inner join rsldpio as p
        on p~logdpid = q~logdpid
    where p~objvers = 'A'
    and p~logdpid like 'ZPAK%'
    and p~source = 'your data source'

  • 'itunes requires a new version of apple mobile device support please uninstall both apple mobile device support nd intunes then install itunes again'

    im trying to sync music from itunes to my iphone from the computer and everytime i go to plug it in a box comes up and says 'itunes requires a new version of apple mobile device support. please unistall both apple mobile device support and intunes. then install itunes again' i have tried installing itunes many times but this keeps popping up. i dont know what i need to do or what im doing wrong??

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • How to set default value of a table using sequence number

    Dear all,
    Does any body know that how to set default value of a table
    using sequence number.
    But I don't want to use trigger to do that.
    Please help!!!!
    Eldon

    Andrew is essentially correct. You can get around the trigger,
    but not the sequence, if (and this may be a very big if) you can
    guarantee that every time an insert is done into the table, from
    whatever source, the statement looks something like
    INSERT INTO tbl VALUES (sequence.nextval,other_columns_values)

  • How to set a default output device for FAX outputs

    Hi Experts,
    Business requires to set a default output device for fax outputs ( Medium as 2 Fax medium ).
    as fas as print output ( medium as 1 print medium ) is considered we can maintain output device in condition record--> communication
    I tried maintaining output device in VP01 for my condition type based on sales org but it did not worked.
    Can you please suggest ways to achieve default output device for fax outputs.
    Thanks,

    Well, obvious solution would be to either update user profiles or change the output from 'process immediately' to 'process by a background job'. Then create a generic user ID with any fax number desired and use that user ID to process the output through the background job.
    This is not really an SD question, so if this simple option doesn't work for you, I'd suggest to discuss other custom solution with your ABAP / Basis team.

Maybe you are looking for

  • PDF documents stored in R/3 and viewed and printed through MSS

    Hello, We are having a requirement to store documents (like performance reviews or resumes) in pdf format in SAP. The documents need to be visible and printable in MSS. I started doing some investigation and I know that the business object has to be

  • How to stop transaction

    function Trigger_CheckOldPassword(&$tNG) { return Trigger_UpdatePassword_CheckOldPassword($tNG); This is check old password function in ADDT, I want to know what it return to break the transaction, because sometimes I want to do some check through cu

  • Default method - how to pass value to method container?

    Hello, I am dealing with a hyperlink in 'Objects and Attachements' section of the workitem.When i click on the link, the default method of the business object gets called automatically. My question is: How to pass values to the default method (i.e. m

  • IPod Touch (4) does not automatically fetch email

    My iPod Touch 4 does not fetch email unless I force it to. Push is off and my mail accounts are all working (MobileMe & Gmail). I've tried everything and the device just sits there, even though it is set to fetch new emails every 15 minutes. Any idea

  • Bought a GC from iTunes US for Canadian Friend?

    Hi guys, I bought an iTunes email GC for a friend of mine in Canada, and she is unable to redeem it. How can I make this work for her? I am quite frustrated. I bought it with my US account. If she is unable to redeem it, how do I get my money back?