1. #1
    Ext User
    Join Date
    Nov 2009
    Posts
    77
    Vote Rating
    0
    saadkhan is on a distinguished road

      0  

    Default How to show notification in simple EXTJS application?

    How to show notification in simple EXTJS application?


    I have a simple website built on using Extjs.... wanted to show notifications on some events so I thought of using AIR in my app. But I dont know how to add AIR functionality to my app, what should be installed and what things will i need to change etc?
    Can anyone guide me pleasssseeeee!!!!!

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Location
    Maryville, IL, US
    Posts
    288
    Vote Rating
    0
    httpdotcom is on a distinguished road

      0  

    Default


    AIR is a client downloaded application. Meaning, your entire application would have to be downloaded by the client to execute as an AIR app (among numerous other changes).
    If you just want to throw up some notifications in the web browser (from the bottom right corner, similar to a computer notification event), look @ Ext.ux.Notification.

  3. #3
    Ext User
    Join Date
    Nov 2009
    Posts
    77
    Vote Rating
    0
    saadkhan is on a distinguished road

      0  

    Default


    But I wanted to use its music player as well....Is not there any way to use AIR components as well in my existing app?

  4. #4
    Sencha User
    Join Date
    Jan 2008
    Location
    Maryville, IL, US
    Posts
    288
    Vote Rating
    0
    httpdotcom is on a distinguished road

      0  

    Default


    ExtJS (or ExtGXT) and ExtAir are totally separate libraries. I imagine an Air application (residing on a consumer's PC) could reach out to a web application (via Ajax; this is a W.A.G.), but inherent browser security policies would prevent the opposite.

  5. #5
    Ext User
    Join Date
    Nov 2009
    Posts
    77
    Vote Rating
    0
    saadkhan is on a distinguished road

      0  

    Default


    So in short, you mean its not possible?

  6. #6
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    I am interested in this as well. I have a web based application I am building in EXTJS. In it I write data to a database. I want to make a 2nd application in air that can check to see if the data was retrieved and display the notification message in case my user is not logged into the web application.

    If I can use my air application to check a remote sql database and it can notify the desktop then this should work.

    Marty

  7. #7
    Sencha User
    Join Date
    Jan 2008
    Location
    Maryville, IL, US
    Posts
    288
    Vote Rating
    0
    httpdotcom is on a distinguished road

      0  

    Default


    Quote Originally Posted by moegal View Post
    I am interested in this as well. I have a web based application I am building in EXTJS. In it I write data to a database. I want to make a 2nd application in air that can check to see if the data was retrieved and display the notification message in case my user is not logged into the web application.
    Did you mean "received" instead of "retrieved"? If something is posted in the web app, why not just display back to the user the success/failure result? Or are you referring to some sort of post-processing of a user's request ("your package has finally been shipped" kind of thing)?

    If they aren't logged into your web app, what guarantee is there that they are running the ExtAIR app on their desktop? If they are going to be using the ExtAIR app on their desktop, and it can communicate with a remote DB, why not just program all the functionality into the AIR app?

  8. #8
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    good questions.

    received.

    Application is already written as web app. so converting the entire thing to air is not in the current plan. If the web app for example is open but the browser is not focused, an alert or message may not be seen.

    We would like to have the air app load on OS start-up. Then we can send messages to the air application if the browser is not open or has lost focus.

    Thanks,
    Marty

  9. #9
    Sencha User Mjollnir26's Avatar
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    152
    Vote Rating
    0
    Mjollnir26 is on a distinguished road

      0  

    Default


    If displaying OS Notifications from a Webpage is the main reason why you would use Adobe Air,
    i'd recommend taking a look at GROWL and the companion JS Lib Growl.js
    http://ajaxian.com/archives/growls-f...tification-api

  10. #10
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    thanks, I will look

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar