Defaults.css in library used in mobile app ignored

Hi
I have 2 libraries:
- library A is a set of universal controls with default skins.
- library B contains more specific components used in few projects. It also contains default skins and defaults.css. This library uses library A.
Problem:
- When I use library A in a desktop application everything works fine.
- When I use library A in a mobile application everything works fine.
- When I use library B in a desktop application everything works fine.
- When I use library B in a mobile application I get a runtime error for the components from library A: "Skin for MyApp0.BlaBla4...MyComponent33 cannot be found.".
In the last case css from library B is used but css from library A is ignored...
If I copy styles from defaults.css(A) to defaults.css(B) I get expected result, but this is not how I want to make it work.
I want the library B to override styles from library A, just like it does in 3rd test case, not replace all stylesheet.
Note that none of the application projects defines another stylesheet.
Any ideas?

After a bit of trial and error I finally got it. To be able to include a defaults.css file via an ant build there are two things you need to include in the build script.
1)  Inside the opening compc tag, you need to define a value for defaults-css-url that is a string containing the absolute path to your defaults.css file.
2)  A nested <include-file> tag with the following arguments: name="defaults.css" path=path to defaults.css
So for example, if your defaults.css file was located in assets/styles the compc segment of the build script would look somethng like this:
<compc output="${Workspace_Path}/MyLib/bin/myLib.swc"
              defaults-css-url="${Workspace_Path}/MyLib/assets/styles/defaults.css" >
     <include-file name="defaults.css" path="${Workspace_Path}/MyLib/assets/styles/defaults.css" />
</compc>

Similar Messages

  • Having trouble scanning my first document using the mobile app.

    Having trouble scanning my first document using the mobile app.

    Sekou1,
    Adobe Reader for iOS is a PDF viewer.  It does not have the capability to scan documents.  You may want to search for scanning apps in the App Store.  Some of them are free and easy to use.

  • Can/how do i make an iTunes library using data (songs, apps, e.t.c.) to my computer.

    Not all my music is on my old computer, and no apps are. This is as I exported the library to my D: drive, added more stuff, while syncing to it, then re-imported it. My iPod is on iOS 4 and want to upgrade to 5, but if I do, then I will lose all my apps, and most of my music. I recently got a new computer with a new iTunes library (empty). Is there any way I can 'make' a new library using my iPod touch data, so I can get iOS 5?

    - Transfer iTunes purchases to the new computer:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music using a third-party program like one of those discussed here:
    Copy music
    - Connect the iPod to the new computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up.
    - Restore the iOd from that backup. This will also update the iPod's iOS.

  • HT1947 After updating My Apple TV to 5.1 I can browse music library using the Remote app on my iPhone and iPad but cannot select a song to play. Is someone else having the same problem?

    I have updated my Apple TV to 5.1. Using the Remote app on my IPhone and iPad I can browse the music library on the Apple TV but I cannot select a song to play. Has someone else the same problem?
    Mats

    I think I found the reason. On my iMac that is hosting the music library a song already was playing. This seems to block out me from selecting another song though my Apple TV.
    Mats

  • Question About what Azure Services I should be using for mobile app with website.

    Hello,
    I am wondering what Azure service would be best for my new application. I need to have an SQL database that I can connect to and modify from both a website and a mobile app preferably WP8 and Android. I was not really understanding whether I would need a
    mobile service or normal SQL database. Which should I use or am I completely off track?
    Thanks,
    Matthias

    Mobile Services uses SQL Database, nothing special on that SQL Database, its just like any other  "normal" SQL Database.
    Mobile Services provides "back-end services" that simplifies accessing SQL Database, Notification services, authentication, etc...
    Let's assume you don't use Mobile Services, to use SQL Database, you would need your app (both mobile and web) to connect to the database. In practice, you will not want to expose your SQL database directly, so you'd end-up writing some kind of a "facade"
    that your app will access instead of directly connecting to the database.
    Instead of writing that "facade", Mobile services provides that for you (you still have to write code though, but less than what you need to write if you're rolling your own).
    Both your web app and mobile apps can share the same SQL database (pay attention to the mobile service schema).
    To help you decide, ask yourself what other features will your mobile app require? Authentication? Notification? etc... are you prepared to write those on your own or use various libraries instead of one?

  • Is the description tag of the app descriptor used in mobile apps?

    Just a simple question. I know the <description> tag of the app descriptor is used in the desktop AIR installer to tell what's the app about, but, is it ever used when compiling for iOS/Android/BB? The description is usually added manually to the App Store / Play Store page, so it would seem as if it's never used.
    I remember a while ago seeing somewhere in Adobe's documentation a table of the descriptor tags which were used on desktop, which on mobile and which on both. Does anyone have the link to that page? I can't seem to find it now.
    Thank you!

    500,000
    http://tech.fortune.cnn.com/2011/05/24/apples-itunes-store-500000-ios-apps-and-c ounting/

  • Attach a custom content type and set as default for picture library using client object model

    Hi,
    How to associate custom content type to a picture libraray and set it as default using the client object model?
    Thanks

    Hello,
    Here you go:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b1de0697-0006-4f89-8909-1b94aa18ad89/how-to-reorder-content-types-in-list-with-client-context
    http://www.niteenbadgujar.com/2013/05/change-default-content-type.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • 2FA for Windows login using Mobile app

    Hi All,
    We are planning to implement additional login security for our domain.
    Present :
    Windows Server 2012 R2
    Active Directory
    800+ users
    Requirement : need to enable additional security (means 2FA) for all users to login to AD and other applications (like Billing, Accounts, etc - Third Party Apps).
    We recommend to use a mobile app to general passcode for 2FA.
    Please advice the best industry standard method and OS/Application requirements.
    Thanks in advance
    Shibu

    Some Microsoft solutions provide 2FA like Microsoft Azure.
    For Windows logon or your applications 2FA, you will need to use third party solutions for 2FA.
    For Windows logon, this is an example of third party solutions you can use: http://2fa.com/2fa-one/
    For your applications, you need to check with their developers if they support 2FA and what are the supported integration products.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Layers while using mobile app?

    If a pdf has layers is it possible to view and select/deselect them while using the mobile app?

    Hi,
    Currently, it is not possible to turn on or off each layer in the Adobe Reader mobile apps (for iOS, Android, Windows Phone).  I am not aware of any other third-party mobile apps that support layers in PDF documents.
    I'd recommend using the desktop version of Adobe Reader on a Mac or Windows computer to view PDF documents with layers.  Sorry for the inconvenience.

  • Mobile App Challenge 6/17/2013 - 7/01/2013

    MOBILE CHALLENGE CONTEST INFORMATION
    This Contest opens on February 11th, 2013 with a new challenge every two weeks until July 31st  2013.
    What is a stream cipher?
    A.     Cipher that encrypts a byte at a time
    B.     Cipher that encrypts a block at a time.
    C.    Stream is not a valid type of cipher
    D.    Cipher that encrypts one bit at a time
    CONTEST RULES: How to Enter
    MOBILE CHALLENGE CONTEST INFORMATION
    Step 1: Download and register on the Cisco Technical Support Mobile App on your mobile device. If you are already a registered member of the    Cisco Technical Support Mobile App, please skip Step 1 and go to Step 2.
    Step 2: To participate in this challenge, Login and go to Browse Communities    under Support Community. Then find Online Tools and Resources >   Cisco  Technical Support Mobile Apps > Mobile Challenge MM/DD/YYYY.    All  challenges will be named Mobile Challenge followed by the start   date.
    Step 3: Post your response to the challenge question using the mobile app by the end date.
    Note:  To post your response, click on Reply from the Action menu. On   iOS, the  Action menu is available from the Action button on the top   right of the  page and on Android the Action overflow in the Action bar   displays the  Reply option.
    The winner will be announced on 6/14/2013.
    JUDGING CRITERIA.
    All  entries marked with correct answers, received during the Mobile    Challenge Period above will be entered into a bi-weekly random drawing    where the winner will be selected by a representative of Sponsor from    among all eligible entries received.  The drawing will be held at the    end of each contest period during the challenge Period.
    The Sponsor’s decision will be final in all matters.  Odds of winning depend on the total number of eligible entries received by the Sponsor.
    For full rules and eligibility please visit the official
    contest rules page.

    Hello
    I has to look his up - Answer D
    Wikipedia states:
    In cryptography
    , a *stream cipher* is a symmetric key
     cipher
     where plaintext digits are combined with apseudorandom
     cipher digit stream (keystream
    ). In a stream cipher each plaintext
     digit
     is encrypted one at a time with the corresponding digit of the keystream, to give a digit of the ciphertext stream. An alternative name is a *state cipher*, as the encryption of each digit is dependent on the current state. In practice, a digit is typically a bit
     and the combining operation an exclusive-or
     (xor).
    Res
    Paul

  • Creating LPN when generated by Oracle Mobile App

    Hi Folks,
    I have a query client is using Oracle Mobile App for PICK CONFIRMING and also for generating LPN. Now to automate the process they want us to write APIs for Load and Drop and for generating LPN and after that SHIP confirming it. Could someone guide me what wms APIs can be used for Load and Drop and generating LPN?
    There are already some wsh and wms APIs for creating and generating LPNs namely WMS_Container_GRP,WMS_Container_PUB
    but they all require container item relationship and there is no Container Item Relationship being setup
    All the Inv Org are  WMS Enabled and I am using r12.
    Thanks

    Hi,
    this can happen if you do not follow one important part of the prerequities:
    >> Customers who are upgrading from 11.1.1.6.x or customers who have already performed an in-place upgrade to 11.1.1.7.131017, ensure that you enable the JBIPS features as described in "Enabling JBIPS Features" in Oracle Fusion Middleware Patching Guide.
    (Applies to the "new" 11.1.1.7.131017 as well es to the "old" 11.1.1.7.1 bundle patches)!
    So check, whether the JBIPS features are enabled. If not, enable them.

  • Will there be mobile Apps for windows 8 / 8RT and Android? And if so, when?

    Does anybody know, if there are plans to bring the new mobile Apps to windows 8 and Android tablets?
    I'm very disappointed of Adobe, that they made them only available for ipad users. A samsung galaxy note or a windows 8 tablet would be much more useful for working with them, because of the pen and the higher computing power.
    I won't subscribe to creative cloud, until I can use the mobile Apps on my microsoft surface RT!
    This whole, 'only iOS Apps' thing is sooo annoying...

    That is a very disappointing answer. So I don't know, if I can use my surface for working, until adobe releases the apps. And if they don't, I suffer.

  • How to implement OData based BASIC Authentication using HTML, JavaScript for Mobile Apps using Apache Cordova/PhoneGap and datajs-1.1.1.js library

    Hello,
    I have an issue with OData based BASIC authentication for iOS App created using HTML, JavaScript, SAP UI5, OData and Apache Cordova/PhoneGap.
    Please check the post here http://scn.sap.com/thread/3527245
    Request you to kindly reply on the above given link.
    Thanks and Regards,
    Suraj Kumar

    Hello Prathik,
    The code which I am using for OData based BASIC Authentication, for my Mobile App is as below.
       var onSuccess = function(data) {
       alert("We are Through"); //Just to check that the OData request was sucessful
       var onError = function(err) {
       switch(err.response.statusCode) {  
       case 403 : {
       window.alert("Error Code - 403, Service unreachable ");
       break;
       case 401 : {
       window.alert("The credentials are incorrect or missing!");
       break;  
    // dataUserName and dataPassword are the two variables, in which I am storing my Username and Password, respectively.
       var connectionRequest = {
       requestUri: "ODATA SERVICE URL GOES HERE/",
       headers: { Authorization : 'Basic ' + Base64.encode(dataUsername + ":" + dataPassword) },
       method: "POST"
       OData.request( connectionRequest, onSuccess, onError);

  • Embedding a font with a library's defaults.css file

    When I add the font-face and font-family declarations to my defaults.css file in my lib, the compiler complains about not being able to find the font.  I've included the font in the lib's assets, so what else do I need to do to make it see it?

    the textfield that has the embedded font should display without problem.
    if you have other textfields that you want to use that font, you must create a textformat instance, assign its font property to match the linkage id of the library font and then you must enable the other textfield's embedFonts property and you must assign the setTextFormat() and/or setNewTextFormat() methods to your other textfields.

  • Flex mobile app - which data grid control to use?

    Hi,
    Trying to build my first Flex mobile app in FlashBuilder 4.6 and I need a grid control to display a 2 dimmensional array of 6 columns x 50 rows.
    The user doesn't don't need to have any interraction with the grid except for scrolling the rows.
    I was looking at using dataGrid component but adobe doesn't recommend it for mobile apps.
    Is there a grid component that is recommended for mobile apps?
    Thanks

    Here it is.
    // Show empty grid to start
    private function initGrid():void
        const dataArray:Array = new Array(1);
        var values:Array = new Array(1);
        values[0] = "";
        dataArray[0] = values;
        grid.dataProvider = new ArrayCollection(dataArray);
    // Build array and feed it to the grid - 50 rows x 9 columns dataGrid (grid)
    protected function FillGrid():void
    var rows:int = 50;
    var columns:int = 9;
    // rows array
    const dataArray:Array = new Array(rows);
    // Get rows
    for(var row:int=0; row<rows; row++)
      const arrLine:Array = [columns+1];
      arrLine[0] = row+1;
      for(var col:int=1; col<columns+1; col++)
       // columns array
       arrLine[col] = Math.floor(Math.random()*10);
      dataArray[row] = arrLine;
    // At this point the multi dimensional array is assembled, now we connect it to the dataGrid
    grid.dataProvider = new ArrayCollection(dataArray);
    <!-- The DataGrid's dataProvider and typicalItem are set at initialize time by the initializeDataProvider method. -->
    <s:Panel id="tablePanel" x="519" top="91" width="470" height="400" color="#827259" fontSize="18" title=".">
    <s:DataGrid id="grid" left="5" right="5" top="5" bottom="5" selectionMode="singleRow" initialize="initGrid()" fontSize="17" >
      <!-- The default item renderer is used by the first 6 columns to display
      the dataProvider item's array element value at col. -->
      <s:itemRenderer>
       <fx:Component>
        <s:DefaultGridItemRenderer>
         <fx:Script>
          <![CDATA[
           override public function prepare(hasBeenRecycled:Boolean):void
            label = data[columnIndex];
          ]]>
         </fx:Script>
        </s:DefaultGridItemRenderer>
       </fx:Component>
      </s:itemRenderer>
      <s:columns>
       <s:ArrayList>
        <!-- Columns inherit the DataGrid's itemRenderer. -->
        <s:GridColumn id="zero"    headerText="N0" width="65" resizable="false"/>
        <s:GridColumn id="one"     headerText="N1" width="45" resizable="false"/>
        <s:GridColumn id="two"     headerText="N2" width="45" resizable="false"/>   
        <s:GridColumn id="three"   headerText="N3" width="45" resizable="false"/>   
        <s:GridColumn id="four"    headerText="N4" width="45" resizable="false"/>
        <s:GridColumn id="five"    headerText="N5" width="45" resizable="false"/>
        <s:GridColumn id="six"     headerText="N6" width="45" resizable="false"/>
        <s:GridColumn id="seven"   headerText="N7" width="45" resizable="false"/>
        <s:GridColumn id="eight"   headerText="N8" width="65" resizable="false"/>
       </s:ArrayList>
      </s:columns>
    </s:DataGrid>
    </s:Panel>       
    Tomexxus

Maybe you are looking for