Hi,i use html,css,js write air app,when adt command support apk?

my app can run in windows xp,and i want it run in android too;
now is:error 304,initial window content is invalid

its the same
SW01#show sdm prefer
The current template is "desktop default" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
  number of unicast mac addresses:                  6K
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    8K
    number of directly-connected IPv4 hosts:        6K
    number of indirect IPv4 routes:                 2K
  number of IPv4 policy based routing aces:         0
  number of IPv4/MAC qos aces:                      0.5K
  number of IPv4/MAC security aces:                 1K
thxs

Similar Messages

  • How do I use transparent=true in my Air app but still displaying swf ?

    How do I use transparent=true in my Air app but still displaying swf's files ?
    The thing is that I created a customized chrome, and looks nice when it is transparent cause seems to be floating, it works as a browser, but the problem is that when I navigate with it into a page wich contains embedded youtube videos, as in example, or any other swf file... it just doesn't show...
    Any help ? thanks in advance,

    Contact iTunes Support: http://www.apple.com/support/itunes/contact/

  • I use chrome on my iPad Air. When I open the ipad it often flashes a page that I had viewed for a second or two and then it is gone. How can I prevent this?

    I use chrome on my iPad Air. When I open the ipad it often flashes a page that I had viewed for a second or two and then it is gone. How can I prevent this?

    I don't know if you can prevent it at all. The same ting happens to me in other apps - not just web browsers. I realize that since it's a web browser, there might be something that you don't want someone else to see if they use your iPad, so If it bothers you that much, close Chrome when you are done with it.
    Double tap the home button to bring put the multitasking display. Find the Chrome app preview window and drag it up off the screen to close it.

  • Overlapping Buttons in Firefox - Using HTML/CSS - Works in IE6

    I have html that is being ingnored. Here is the snippet:
    <pre><nowiki><%}else{%>
    <DIV> <div style="float:right> <DIV CLASS="smallbuttons">
    <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
    <TR>
    <TD>
    <input type="image" src="Images/Save.gif" style="cursor: hand" alt="Save data">
    <img src="Images/Cancel.gif" style="cursor: hand" alt="Reset form values" onClick="javascript:reset()">
    </TD>
    <TD align="RIGHT">
    <input type="button" name="E-Mail Notification" value="E-Mail" onClick="javascript:popemail();">
    <input type="button" name="Help" value="Help" onClick="javascript:help();">
    <img src="Images/Reviewnotes.gif" style="cursor: hand" alt="Create or read review notes for this component" border="0" onClick="javascript:reviewnotes();">
    <img src="Images/Comments.gif" style="cursor: hand" alt="Create or read comments for this component" border="0" onClick="javascript:comments();">
    <img src="Images/Reports.gif" style="cursor: hand" alt="Go to report page" border="0" onClick="javascript:goto('ReportSelection.jsp?selectedyear=<%=request.getParameter("year") %>&selectedcountry=<%=request.getParameter("country") %>&selectedle=<%=request.getParameter("le")%>&selectedbu=<%=request.getParameter("bu")%>')">
    <img src="Images/Home.gif" style="cursor: hand" alt="Go to ITRP home" border="0" onClick="javascript:home();">
    <img src="Images/Divisions.gif" style="cursor: hand" alt="Go to business unit home" border="0" onClick="javascript:buhome();">
    </TD>
    </TR>
    </TABLE>
    </DIV> </DIV> </DIV>
    <%}%>
    </nowiki></pre>
    It's using the css Below:
    <pre><nowiki>TD {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size : 12px;
    color : 330033;
    .number{
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-align: right;
    .smallbuttons
    position: absolute;
    top: 92px;
    float:right;
    left: 10px;
    .regular{
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;
    }</nowiki></pre>
    But the buttons overlap the text. I'm trying to shift the buttons from email etc to the right. Any ideas would be appreciated. This issue causes the text that in IE a row lower to shift up and the buttons overlapp.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25<br />

  • Passing Variable to air app when launch using Badger

    Hi all,
    I am going to desperately to develop my application. Hope someone can help me........
    I am using badger for air which I get it here http://www.adobe.com/devnet/air/articles/badger_for_air_apps.html and it launch my app correctly, but I can't pass any variable into my app when launch.
    I have read the instruction and adding some code like this :
    on index.html(show my badge installer):
        var so = new SWFObject("AIRInstallBadge.swf", "", "215", "180", "9.0.115", "#000000");
            so.addVariable("airversion", "1.5");
            so.addVariable("appname", "Secure%205");
            so.addVariable("appurl", "http://localhost/testing/source/secure5.air");
            so.addVariable("appid", "examples.html.HelloWorld");
            so.addVariable("pubid", "B71ED76ECC937067D72BB9A0CDB516D1A8F43A9E.1");
            so.addVariable("arguments", "launch from browser");// this is my code
            so.addVariable("appversion", "0.1");
            so.write("flashcontent");
    on index.html(my initial content) :
    var urlMonitor;
    var urlReq;
    var invokeEvent;
    var applicationID = "myappid";
    var publisherID = "mypubid";
    var applauncarg;
    //var admin="admin";
    function doWindow()
    var options = new air.NativeWindowInitOptions();
    options.transparent = false;
    options.systemChrome = air.NativeWindowSystemChrome.STANDARD;
    options.minimizable = false;
    options.maximizable = false;
    options.resizable=false;
    var windowBounds = new air.Rectangle(0,0,air.Capabilities.screenResolutionX,air.Capabilities.screenResolutionY);
    var urlreq="http://www.example.com";
    var newHTMLLoader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
    newHTMLLoader.load(new air.URLRequest(applauncharg));
    newHTMLLoader.stage.nativeWindow.alwaysInFront = true;
    newHTMLLoader.stage.nativeWindow.addEventListener(air.NativeWindowBoundsEvent.MOVE,handlem ove);
    newHTMLLoader.stage.nativeWindow.addEventListener(air.Event.CLOSE,onCloseCommand);
    urlMonitor = new air.URLMonitor(new air.URLRequest("http://www.example.com"));
    urlMonitor.addEventListener(air.StatusEvent.STATUS, onStatusChange);
    urlMonitor.start();
    air.NativeApplication.nativeApplication.addEventListener(air.InvokeEvent.INVOKE, onInvoke);
    //urlReq=new air.URLRequestDefaults.manageCookies = true;
    function handlemove()
    newHTMLLoader.stage.nativeWindow.x=0;
    newHTMLLoader.stage.nativeWindow.y=0;
    function onCloseCommand(exitingEvent) {
    var winClosingEvent;
    for (var i = 0; i < air.NativeApplication.nativeApplication.openedWindows.length; i++) {
    var win = air.NativeApplication.nativeApplication.openedWindows[i];
    winClosingEvent = new air.Event(air.Event.CLOSING,false,true);
    win.dispatchEvent(winClosingEvent);
    if (!winClosingEvent.isDefaultPrevented()) {
    win.close();
    } else {
    exitingEvent.preventDefault();
    if (!exitingEvent.isDefaultPrevented()) {
    //perform cleanup
    function onInvoke(e)
    //apparg=event.applauncharg.toString();
    //alert ('oK'+apparg);
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    //air.Introspector.Console.log( applauncarg );
    alert (applauncarg);

    sory, there is mistake here......
    the question isn't finish yet.
    function onInvoke(e)
    //my code
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    alert (applauncarg);//just to make sure the variable had been sent correctly
    My application running smoothly but there is no alert that show applauncharg variable.
    then I am trying to know if invoke event run correctly or not by adding code
    alert ("OK");
    and it works, so there is no problem with the event listener.
    does any one know if I missing something or any thing wrong with my code?
    sory, there is mistake here......
    the question isn't finish yet.
    function onInvoke(e)
    //my code
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    alert (applauncarg);//just to make sure the variable had been sent correctly
    I have get the answer. If someone need the source code, just Pm me and I'll give you my Source to help you.
    The first is to make sure that your action scipt code can handle the argument that passed by javascript.
    Make attention between invoke event and browser invoke event! it is almost same but they are different.
    If you type browser invoke event, it seems browser invokeevent doesn't recognized, but it works.
    The second is my mistake on source code. onInvokeevent shold be like this :
    function onInvoke(e)
    //my code
    applauncarg = .arguments;
    alert (applauncarg);
    -closed-

  • Flash performance inside mx:HTML in a Flex AIR app

    Hi. I'm new to AIR development and after doing some basic tutorials I thought I'd make a little stream player app.
    The amount of tutorials on the web made me choose Flex / Flash Builder over HTML & JavaScript. When I built the player in Flex I saw performance was terrible when out of focus, I would say it drops to 3 fps if not less. Surprisingly when I downloaded someone else's similar app, his didn't have that problem. On closer inspection - he made it in HTML & JavaScript and HTML AIR apps dont suffer from the same problem.
    Is there a fix for this Flex performance problem?
    I've made a video demonstrating the difference between Flex & HTML for your convenience: http://www.youtube.com/watch?v=OU2mfELhSC4.

    Sure.
    1.
    Windows 7 Ultimate, 64bit, build 7600.
    Adobe AIR 2.0.3.13070.
    Unfortunately I only have machines with the exact same OS install at my disposal right now but I'll ask some people to test it on their boxes.
    2. http://pastebin.com/AsdmD3Yb
    When I point the mx:HTML to a youtube url instead of ustream.html the fps drops around to around 5 to 10. That's a lot more fps than when using ustream. Might be a clue to whats happening.

  • HT1689 I bought an app on my iphone, and want to use it on my MacBook Air.  When I click on the icon on the MacBook, it won't open.  Do I have to buy the same app again for my MacBook Air?

    I bought a real estate app on my iphone.  I want to use it on my MacBook Air because of the larger screen.  I see the icon in my Itunes account, and when I click it to open it, it won't do anything.  Do I have to purchase the app again to use on my MacBook Air.  Thanks!

    The app you got only works with iPhones, iPods touch and iPads, but not with Macs. That's because Macs use a different operating system that requires different applications, so you have to purchase the application for the Mac

  • Using air app when not active

    Does anyone know how to maximize an air app without clicking on it?
    I will try to explain this but it is hard so bear with me?
    I want an air app that will be minized to the system tray to open when the user highlights text in a desktop application and the presses a certain keyboard command. The keyboard commant would be something like ctrl + t.
    Once the event is trigger I want that text to be sent to a text box in the air app from there it will be translated.
    The reason I want to do this is that I want an app that uses google translate api to translate any selectable text that may be on the screen.
    I have the translator already finished. I just want to add the feature explained above but I am not sure where to start.

    Thanks kglad.com. I will try this and see if it works. Can you check my code a bit to see if it's right?
    var continueFile:File = new File(File.applicationStorageDirectory.resolvePath("savedgames/continueGames.txt").nativePath.toString());
    Does this look right to work across all desktop OS?

  • Use Bridge DOM from an AIR app-

    Hi all,
    A customer of mine wishes to have a widget to help their users deal with XMP metadata. However they don't want them to use bridge because the principe is to make the tasks as easy as possible.
    But bridge has a convenient library to edit XMP so my ambition is to find a way to get access to Bridge DOM from outside.
    Unfortunately, I can't see much workarounds. No command line, using #target bridge generates a prompt, applescript provides a do javascript" but only with strings and my first attemps scared me a bit ( working alternatively without reasons).
    So question is, do you know if it's possible to run js script for bridge from outside BRIDGE ?
    TIA Loic

    Hi Mark,
    Paul's input is great and I tried this way. The problem was to run js code from the air app. Thanks to NativeProcess, I know I can execute Applescript code. But XMPLib is js only (unless I am wrong but the bridge sdk doesn't look to offer other languages). So even then, I saw that Brigde Applescript dictionnary exposed a do javascript command. So finally it should have been trivious (yet tricky) to run the needed js code. But, as there is always a but, the code execution is working only half the time. Sometimes it's working, sometimes it raises an applescript event error. Nothing that I could use eyes closed :S
    I will have a look at the Photoshop GUIless that you are speaking about. However I have no experience or Photoshop's action manager code but not knowing is an occasion to learn something I guess
    Anyway customer accepted to constrain their users to use Bridge GUI so finally, it's easing the whole project. I am thinking about either an extension or a tabbedPanel in scriptUI.
    TabbedPanel has my preference but I need to experience more about dealing with the workspace. I am afraid I am thinking out loud here
    In any cases, thanks again to both of you for your insights
    Loic

  • Why won't the flash player work in the html loader in my  air app

    Air is very new to me.  I am working on a desktop app that has an html loader in which can only go to
    certain web pages.  If the url contains any flash content on the page, the html loader will not show it.  Why is this?
    Any help on this subject would be greatly appreciated..

    Have you try with <mx:HTML>
    Sincerely,
    Michael
    El 12/05/2009, a las 17:06, dbn2d <[email protected]> escribió:
    >
    Air is very new to me.  I am working on a desktop app that has an 
    html loader in which can only go to
    certain web pages.  If the url contains any flash content on the 
    page, the html loader will not show it.  Why is this?
    Any help on this subject would be greatly appreciated..
    >

  • Use jQuery Scrollbar (Slider) in AIR App

    I built a simple blog reader that combines Spry's data
    handling and a one-off jQuery custom scrollbar. In my browser, it
    works brilliantly, but when I package it up in AIR, it appears that
    the custom scrollbars which jQuery creates are overwritten/disabled
    by AIR's scrollbars.
    Any ideas on this? FYI, I am a horrible AIR noob, so feel
    free to gently instruct me on what I am doing wrong and how I can
    remedy this issue.
    THanks to all!
    Joel Watson

    Sorry to bump this, but does anyone have any ideas on this?
    Thanks!
    Joel

  • How do I use my appleid for getting free apps when it says i have to register a credit card or prepaid when i dont have access to them?

    I dont understand

    Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • I can only use the internet (and web-related apps) when I'm connected to wifi.

    When I try to use the 3G, it says I'm not subscribed to a cellular data plan, which is clearly not true because I'm paying ridiculous amounts of money for it. This means I cannot use the maps feature, which is half the reason I bought the thing. There have also been synching issues with email (which cost me a really good job), and it will not allow me to set up voicemail (when I try to, it says "cannot connect"). My friend that works at Sprint says that the problem is with the phone, and there is nothing they can do at the Sprint store. Help?

    Reset your network settings.
    Settings>General>Reset>Reset network settings
    If that doesn't work contact your carrier.

  • HTML window in AIR app can't open new window

    Hi, By allowing HTML content to be displayed inside our AIR app it's possible for our partner organization to write their own custom features hosted on HTML pages at their site, but for their content to appear integrated seamlessly within our AIR app's container so that it looks like it belongs there...
    We've successfully got an HTML window within our AIR app that navigates to content in a sub-folder on a web-hosted domain. Content displays correctly and hyperlinks function within the HTML window as we'd expect apart from three scenarios that appear to be manifestations of the same problem:
    A hyperlink on a page shown in-app with a link to a PDF stored on the web server has no action
    A hyperlink on a page shown in-app with a link to a video file stored on the web server has no action
    A hyperlink on a page shown in-app with a link to another site (target="_blank" parameter) has no action
    All three hyperlink scenarios work as we'd wish if we navigate to the page in a standard browser.
    How can we code the HTML so that we can display selected content in an HTML window inside the AIR app; but have selected hyperlinks invoke the user's standard web browser, or launch Adobe Reader, or play a video file etc?
    Note, we understand how to do those things within AIR itself, but can't figure out how to achieve this from inside the HTML window in the app.

    Hello,
    As to "_blank" links:
    this is long-standing lacking feature - as there is no introspection of event of such type - so it goes and could not be prevented. One could either handle all navigation with system browser (all links open in system external browser) or handle them in embedded browser - similar issue is bugging people using phoneGab with jQueryMobile - application eats all external links or none at all). There are solution for that including runtime introspection of DOM object to retrieve all anchor (a) tags in rendered document and attach custom click handler via host object like on complete:
    var document:Object = html.htmlLoader.window.document;
    if(!document && !document.hasOwnProperty("getElementsByTagName")) return;
    var linksArray:Object = document.getElementsByTagName("a");
    if(!linksArray) return;
    var a:Object = null;
    for(var i:Number = 0; i < linksArray.length; i++)
         a = linksArray[i];
         if(a)
              a.onclick = function(event:Object):Boolean
                   if(event.target.hasOwnProperty("href") && event.target.hasOwnProperty("target"))
                        if(event.target.target != "_blank") return true;
                        flash.net.navigateToURL(new URLRequest(event.target.href));
                   return false;
    but if you have control on what content is provided you could take care of handling links depending on runtime feature detection that way in javascript:
    <script type="text/javascript">
         function handleClick(a)
              if(!window.runtime) return true;
              if(a.hasAttribute("target") && a.getAttribute("target") == "_blank")
                   var href = a.getAttribute("href");
                   var req = new window.runtime.flash.net.URLRequest(href);
                   if(req) window.runtime.flash.net.navigateToURL(req);
              return false;
    </script>
    <a     href="http://www.bbc.co.uk/" target="_blank" onclick="handleClick(this);">BBC</a>
    <br />
    <a href="http://www.google.com/" onclick="handleClick(this);">Google</a>
    (above could be scripted globally with help of jQuery for example for all links without much coding).
    In 2.7 there is new event introduced to help with introspection so one could prevent event if link is internal and do whatever is expected in application:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    If you post some details on how PDF and video content is expected to be shown in html I'm sure someone would share some hints as well,
    regards,
    Peter Blazejewicz

  • Html + css editor

    I am a java programmer who was told to design a jsp page using html + css.
    i dont know css. is there a free WYSIWYG editor out there which takes into an account your css files and lets you use it somehow to make what you need.
    keep in mind that when i look at the css style sheet i cant "imagine" how any of the stuffs in there would looks, and i dont know which divs must be inside other divs.

    As long as you are able to get away with writing "dirty code" it isn't too much of a pain. When I am knocking a random page up I use 2 methods
    1) Set the style for a tag using clas="..."
    2) Set the style by adding the tag in your css
    The first option allows you to tightly control what style gets applied where. The second option is for global setting of styles. By putting a <style> tag in your header you will find you are very quickly able to change and test your style changes. I am currently, at home, learning php with MySql served from apache. All I have to do is edit my css file in notepad, hit F5 on my browser and voil�, I can see the changes. I can develop my style sheets very quickly with this method. I prefer not to use graphic tools because of all the unnecessary tags they create.
    Ted.

Maybe you are looking for