Browser object in a desktop application

i wantto add a browser object in my APP beacuse iwant to d/l site to and
parse some data from them!
how can i do this?
thnaks in advabnce
peleg

If you don't need to display the site and you want only to download it and process it in the background you can use HttpClient: http://jakarta.apache.org/commons/httpclient/

Similar Messages

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

  • Trouble logging in to desktop application

    Hi,
    I've been a user of Adobe story since the first couple of weeks of it's free trial a year back, but I'm having trouble logging into the desktop application now. Whenever I try to sign in, it gives me the "signing in..." window, but then the window closes and it leaves me on the first page with only two options "learn more" or "sign in."
    Another discussion thread told me to delete the "PrivateEncryptedDatak" keychain from the keychain access application, but that didn't help. I also tried deleting the files in the ELS of the AIR application library (aka just moving them so I could return them in case this didn't solve the problem), and that just prompted me to upgrade my account. After putting the files back into the ELS of the AIR application library, it didn't prompt me to upgrade my account but the previous problem remained.
    I was able to log into the desktop application about 2-3 weeks ago, no problem. I am still able to log onto the application through the browser without a problem either - except for that it doesn't have the changes I made to my scripts 2-3 weeks ago.
    Any help?
    Thanks,
    Michael

    Thanks for your help! I'll go ahead and try that.
    A couple of questions first:
    "Rename/Delete your local DB (keep a copy of it, this is your data you will need to restore it) ( It can be found at OSX:  /Users/username/Library/Preferences/ com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 If Libraryfolder in not visible then follow the steps listed on this page (http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion /) to reach to library folder)"
    There is also a com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1.plist file. Should I delete this too or just the com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 folder?
    "Ideally now AIR application is only for the subscribed users but in case it was already being used that user should be able to use it in offline mode. If none of these solutions work out we can help you extract your data from your local DB."
    -Does this mean that I will no longer be able to use the desktop application online? A friend of mine who started using the adobe story with me around the same time (a year ago when adobe was only offering story for free) and he is still able to use his desktop application online. If I can only use the desktop application offline, how will it ever sync with the browser version?
    Thanks!

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • Opening a new URL in an existing browser window from a Java application

    I've tried one of the many codes to open a new browser window and it works, but I need something else.
    Is there any way to open a new URL on the same window on a Java desktop application? (Changing the URL on the current browser window without opening a new one, I mean).

    You can do that by using an add-on such as:
    * NewTabURL - https://addons.mozilla.org/firefox/addon/newtaburl
    * New Tab Homepage - https://addons.mozilla.org/firefox/addon/new-tab-homepage
    Another way of opening the home page in a new tab is to middle click on the home button in the navigation toolbar.

  • Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications

    Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications        
    One of our Managers encounters the error 'A problem occurred while accessing the Office document cache.  Do you want to repair this problem?'
    Then When he says yes it give a warning that the cache will be backed up and replaced
    Then it says 'A new office document Cache has been created...'
    Then it loads this cache with an error
    Then After all that the next time he tries to open the document it says  is encountered "Sorry, we couldn't open 'URL."
    We have Reinstalled office 2013 on the users PC repaired the cache numerous times
    Followed -  http://office.microsoft.com/en-gb/word-help/manually-rename-the-office-document-cache-HA101848838.aspx
    Updated Lync to 2013 leaving Access as the only office 2010 application (required for legacy systems access)
    Repair installed office 2010 and office 2013 again
    The SharePoint site has been added to the trusted sites list and the set up assistant run from office 365
    And the issue remains the Same all other users including some who also have Access 2010 for legacy systems access have no Issues OS is windows 7 32 Bit browser is IE 9
    Office 365 said
    Reply by Rachel Zhang MSFT Support
    Hi Alex,
    From your description, I notice that the issue is related to Office client. We would like to help you, but I’m sorry that our forum does not focus on this scenario and has limited resources regarding it. However, we have a dedicated support forum where
    the support engineers will help you with the issues about Office client:
    Microsoft Office Community:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release?tm=1365567547805
    Feel free to sign in to the Office community and click Participate->Ask a Question to post the question with the relevant information.
    Microsoft Office Community:  
    Feel free to sign in to the Office community and click to post the question with the relevant information.
    Office team said
    Hello Alex,
    Thank you for posting your query in Microsoft Office Community.

    Check if other excel works fine
    Do you have any script\macro in excel file
    Check if all application pool on all servers are running
    both office and IE should be same build (64 or 32 bit)
    what is the error message in ULS log and Event viewer
    If this helped you resolve your issue, please mark it Answered

  • Cannot download Adobe Story Desktop Application

    Hello, and thank you in advanced. I'm getting started in writing and was thrilled to find Adobe Story, so much so I upgraded to Adobe Story Plus along with the Creative Cloud. Then, a desktop applocation? The one thing that was missing!
    So, when I go to download the Desktop Application I am prompted that I will need to install Adobe Air as well, as it is required for the installation. I have Adobe Air but I hit install anyways. It completes the progress bar and then switches to a dialoge stating: A download error occured. Try to download again?
    In response I try multiple times more. Sometimes it doesn't even complete the progress bar and just skips to the failure notification. I've uninstalled and reinstalled Adobe Air. I've logged in and logged out. I've waited several days between my attempts and I always get the same result.
    If there's anything you guys can do it will be greatly appreciated. Thank you so much!

    Hi,
    There is an issue with Adobe AIR installation with Chrome browser.
    Can you please try with some other browser, say firefox/safari
    Thanks
    Rohit
    Adobe Story Team

  • How to create Remote Desktop Application in C# or port it from HTML5/JS project ?

    Hi
    How can create Remote Desktop Application in C# template ? I were searching on google but not found example or API for this.
    If can, please suggest for me some solution, example and document.
    And I have JavaScript project template Remote Desktop Application. Can i port it to c# ? Or use Webview to show it ?
    I were create demo use webview to show it but it not run. Maybe i do some mistake or can't be do it.
    Thanks.

    I have no other options.  We already provide the RDP plug-in for JavaScript. I'm not sure what else is needed for this.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with
    undefined objects and unknown namespaces.
    My project needs work with C# Windows Store. So I need RDP on C#, not JS. If we don't support C#, do we have a RDP spec on Windows 8.1 so that we can follow that spec to implement with native code to support RDP?

  • Data storage io techniques for ordinary desktop applications needed

    hello everyone.
    i'm writing an offline tool for a mmo game (eve online) which is planned to be a useful help in analyzing economics in that game for maximizing the player's efficiency in making money.
    i intend to implement algorithms who need a set of pre-defined values of specific object types, e.g. ores, minerals and spaceships. so it's logical that i must add these values stored in some file.
    my first idea was to implement some script files for storing these values. this solution would make the tool read these files in and generate objects from the scripts on each start-up of the application.
    unfortunately it's possible that the number of object values will exceed to an amount too big for a quick and user-friendly start of the tool and too small for a full-fledged database. so the basic problem/question is: how can i avoid an annoying start-up time caused by reading in large files and generating objects all the time?
    probably some of you might point to the ObjectInputStream which might be a lot faster for creating objects from file data. Of course, this makes sense since these objects never change. but this solution would have 3 main contras:
    a) if i had to change values of a pre-defined object, a script file would make changes much easier than a object file.
    b) in my opinion, it's not really the oop way to store 20-50 objects in different object files, although they are instances of the same class. it's much more "elegant" just to store the pure values and let a method read in the values and generate a bunch of instances of a class.
    c) the user would not be able to change the values on his own. a simple script language would give the user more freedom in customizing the application for his needs, e.g. a new game patch changes the values of special minera types.
    oh, if you try to guess the data structs that organize the objects in runtime: i tend to use simple lists or search trees.
    so, does anyone know a good alternative way for providing a semi-large amount of pre-defined object values to an offline desktop application?
    thx.

    I don't think the amount of data could possibly be so much that load time would be an issue. If you are talking about the amount of work you need to do to build classes for all the different types of data, you could instead save the data as XML files, and then use a technology like JAXB to automatically build the classes for you. These classes know how to read and write the data based on some XML Schema.

  • How to disable auto header and footer from firefox desktop Application

    I build a Firefox desktop application for my company. i need to print some page from that application using JS window.print(). It Works Perfectly in my application. But the problem is when it printing my document it prints a header and a footer automatically. I Want to remove this. I can remove this on Firefox browser , but i cant remove this on my application. Please Somebody Help Me.
    here is my application link: https://marketplace.firefox.com/app/hmspro
    User Login : admin / Password: 123
    if you want to get into printing page navigate invoice > paid invoice > print button.
    I also tryed from about:config and disable all default header footer. but it wont worked.

    Hi saaiful,
    Thank you for posting your question. window. will print header and footer.
    Here are some solutions I found after researching your issue:
    *[http://forums.mozillazine.org/viewtopic.php?f=12&t=216810]
    *[http://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print]
    *[http://www.dreamincode.net/forums/topic/22598-using-windowprint-without-printing-header-and-footer/]
    *take a screenshot and create a page that is printable [http://www.webdeveloper.com/forum/showthread.php?210947-Using-window-print-without-printing-header-and-footer]
    *Target to another window then print: [http://www.liferay.com/community/forums/-/message_boards/view_message/3401817]
    Hope this helps.

  • OLE Objects - Can I open a browser object within my forms

    Hi There! My company use forms on the web. Now i'm trying to open, using OLE, a browser object in the same window of the forms so that users can navigate at the same time that they use the forms without changing the window/application. Has any one tried this ? Any help,ideas,documents,etc would be great ! Thanks in advance!

    Uninstall the '''''Ask Toolbar'''''. It can cause problems opening new tabs.
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *http://kb.mozillazine.org/Uninstalling_toolbars
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • HOW TO WRITE A DESKTOP APPLICATION IN JAVA

    Hi guys
    I am new to JAVA.Doing my garduation.
    I want to write a desktop application in java, not browser based applet based.
    I am stuck at some points
    1)like how can i make the application run like the same way we run an .exe file
    2)about the database connection
    "For example, what are the issues in running a
    Java application from a local C: drive on an Intel PC
    that needs to access a local database or Excel file? "
    Please guide me
    Thanks
    Tinu Joseph

    Hi guys
    I am new to JAVA.Doing my garduation.
    I want to write a desktop application in java, not
    browser based applet based.
    I am stuck at some pointsLike how to write Java properly at all?
    1)like how can i make the application run like the
    same way we run an .exe fileWrite a .bat or .cmd file and have it start your Java app. Or Google for tools to create .exe for you.
    2)about the database connection
    "For example, what are the issues in running a
    Java application from a local C: drive on an Intel PC
    that needs to access a local database or Excel file?
    "Better learn JDBC. Google for "JDBC tutorial".
    %

  • Should EntityManaer be Closed in a Desktop Application Environment

    Hi All,
    I'm developing a desktop application with persistence api to connection to database. The application consists of two simple classes Order and Customer, where Customer is used as a field in Order. There is a ManyToOne relationship from Order to Customer and a OneToMany relationship from Customer to Order.
    I have another class DBManager for managing all the database activities. All the methods in the class will create an entityManager and close the entityManager once they finish their own operation. An example method is as following:
    public void addOrder(Order order) throws Exception
            try {
                entityManager = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT).createEntityManager();
                entityManager.getTransaction().begin();           
                entityManager.persist(order);
                entityManager.getTransaction().commit();
            } finally {
                if (entityManager.isOpen())
                    entityManager.close();
        }As all entity instances will become detached once the entity manager is close. If I execute the above method, I'll receive an error saying that "Cannot persist detached object.", where the object refers to the Customer object stored in the Order.
    I found that there are two ways to fix this problem, I can either merge the Customer object back to the context as following:
    public void addOrder(Order order) throws Exception
            try {
                entityManager = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT).createEntityManager();
                entityManager.getTransaction().begin();
                order.setCustomer(entityManager.merge(order.getCustomer()));
                entityManager.persist(order);
                entityManager.getTransaction().commit();
            } finally {
                if (entityManager.isOpen())
                    entityManager.close();
        }or I can leave the entityManager unclosed after any operation as following:
    public void addOrder(Order order) throws Exception
                entityManager = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT).createEntityManager();
                entityManager.getTransaction().begin();           
                entityManager.persist(order);
                entityManager.getTransaction().commit();
        }Both ways would work but I'm not sure which one is the best practice to handle the situation. I know that in EJB environment the entityManager should never be closed, but according to article http://java.sun.com/developer/technicalArticles/J2SE/Desktop/persistenceapi/, entityManager should always be closed when it is no longer needed. I'm therefore very confused about which way to go. Can anyone please give me some advice on that?
    Thanks in advance. You help would be greatly appreciated.
    Edited by: EWL on Feb 18, 2008 4:37 PM

    There are a couple of combining usage issues that are providing the problem. The issue is not specifically with you closing the EM but that combined with your usage of the persist() api. This test case would have the same issue in an EJB environment even if you were not closing the EM.
    When using the persist() api you are depending on the behaviour that managed objects are ignored by the persist when infact you should be using multiple APIs depending on the state of the Entities that your application is interacting with.
    The best approach is to interact with the EM within your application code. This allows you to share the same EM across all of a particular business call or logical application transaction. This could be wrapped within a DBManager but you would need to expose the concept of transactions to the application. This ensures you can track the lifecycle state of the Entities involved while allowing you to easily manage the EM resource.
    If your architecture requires the DBManager pattern you have developed then you should only use persist() on Entities that you know to be new and merge() otherwise. In the example you have provided you could simply swap out persist() for merge() in your addOrder method (without the additional customer merge) and the code should work as you expect allowing you to close the EM.
    You will need to close() or clear() the EM at some point within your application. Otherwise you are sure to run out of memory.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What data binding framework to use for EJB(JPA) - Swing desktop application

    Hi!
    I am developing EJB server application which mostly uses the same entities and session EJB's both for web and for desktop user interface. While JSF is working nicely, I am stuck with necessity to make decision with data binding framework to use for desktop application - I investigated:
    - JSR295 reference impementation at java.net (beans binding)
    - Eclipse JFace
    - JSR295 implementation at kenai.com (better beans binding)
    - JGoodies binding
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?

    user454720 wrote:
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?No, not really. I create them sometimes but they are service tools, not part of the main application framework. Generally you keep everything on the server, web based - this keeps it secure, accessible and contained. With all the web 2.0 javascript toolkits available nowadays you can go quite far creating a desktop experience in a browser, with limitations.

  • Flash Desktop Application - how to update?

    Hi all,
    I'm trying to put together a flash desktop application. I
    want it show each of my .swf's i created, per month ( i.e. january
    month plays 1.swf, february plays 2.swf, march plays 3.swf etc.)
    how can i code the flash to update automatically or would i
    have to use some external codes to accomplish this?
    is it even possible to update if it's a desktop application?
    any help would be greatly appreciated :)
    thanks !

    quote:
    Another question - what program are you using to publish the
    file as a standalone application that users can download? It seems
    that publishing the flash file as a projector (.exe) file only
    makes it open in flash player
    was that a dumb question?
    I'm using Flash 8. As long as the user has Flash installed in
    their browser than using the .exe file on the computer has no
    issues. I believe that the reason the .exe file is larger than the
    .swf is that it contains the necessary information to run the .exe
    file whether Flash is installed on the computer or not. I haven't
    tested that out yet though.
    Adobe's Air actually allows you to install the application. I
    haven't been able to play with that as of yet, but I have seen some
    people using it and a demo of it.
    *Edit*
    I just tested the application I have out on a computer
    without Flash on it, and it worked fine. So, the reason the .exe
    files are so large is because they contain all the requirements to
    run a Flash app.

Maybe you are looking for

  • My iMac will not boot up from the Leopard upgrade disk nor will it eject it.

    My iMac is very slow and sluggish.  Followed online instructions to use the Disk Utility to run repair.  After doing so it told to reboot my system from the install disk and then run the Disk Uitility to run repair from it.  I put in my Leopard upgra

  • How to improve custom protocol speed?

    Hi I used RMI to get an array of shorts from server. Then I thought that using RMI for transferring arrays of primitives is not a good idea, that is why I decided to create my own protocol for transferring data. The other goal to implement my own pro

  • Issue in using ATRV () Function

    Hi All, I have a FOX Code in which i am trying to populate 0PROFIT_CTR which is the attribute of the master data, YCSTATMCG. I tried to use the ATRV Function, but it doesnt seem to be working. My code is as below: DATA V_ATCP TYPE YCSTATMCG. DATA V_P

  • Keyfigures through RRI?

    Hi, I am invoking a Web dynpro screen from BEx report using RRI. The screen need to be populated with selected values from BEx report. The characteristic values are getting populated, but not keyfigures. Can you please suggest on the feasibility of p

  • Threading/concurrency not working in Chrome with Pepper plugin.

    Is this an Adobe or Google issue?