Where put files in javafx Mobile

Hi,
I am trying to load some images and sounds in my javafx aplication. In desktop mode, i put the files in C:, like this: file:/C:/fx/ . But when i run the mobile configuration nothing appears. What is the location for the files for i can use them in my emulator?
Best regards

Why don't you just put the images in the root of your source tree and let them be included in the jar....
and use the __DIR__ directive?
[http://java.sun.com/javafx/1.2/docs/api/javafx.scene.image/javafx.scene.image.Image.html|http://java.sun.com/javafx/1.2/docs/api/javafx.scene.image/javafx.scene.image.Image.html]

Similar Messages

  • Where put the JAR File jakarta-regexp-1.3.jar ?

    I'download jakarta-regexp-1.3.jar file from jakarta-apach site for validate a email adress..
    But i did not find any doc to telle me where put this file..
    I put it in the jre subdirectory of my sdk directory but the javac compiler
    do not recognize this part of my code import org.apache.regexp.* ..I try the lib directory of the tomcat and it was same..
    Where should i put this jar file ..
    By the way i 'm coding on linux for jakarta-tomcat server..
    Could some body help me ?

    DON'T CROSS POST:
    http://forum.java.sun.com/thread.jsp?thread=461653&foru
    =33&message=2116135
    http://forum.java.sun.com/thread.jsp?thread=461654&foru
    =45&message=2115945
    http://forum.java.sun.com/thread.jsp?thread=461653&foru
    =33&message=2115943
    http://forum.java.sun.com/thread.jsp?thread=461652&foru
    =1&message=2115941Ooops, didn't see it, ehmmmz
    I re-draw my answer, first learn some posting etiquette, then people might help.

  • Where is /cgi-bin/ and who puts files in it?

    One of my clients is trying to make a form work with /cgi-bin/mailto but I can't figure out:
    1) Where is the global /cgi-bin/ supposed to be?
    2) Who is responsible for putting files in it?
    Thanks!

    If you wan't to make the CGIs work server-wide, the default location is /Library/WebServer/CGI-Executables. The default web server setting already has a ScriptAlias directive pointing any address written as www.example.com/cgi-bin redirect to this directory. The global webmaster... the server administrator is responsible for all CGIs in this directory.
    If you want to let each individual webmasters take care of their own CGIs, each website can override this by creating their own cgi directory within their own web directory. This directory can be named anything (e.g. "/scripts/"). Generic form-to-mail type CGIs are usually placed in the /Library/Web... directory for global usage, but if a script is only used by a single website, it's usually put inside their own web directory. You may want to tweak their httpd.conf file to assign this folder as the ScriptAlias target. When you do this, websites can execute the CGIs with the .cgi extension (i.e. pass the script on to whatever compiler/interpretor, like perl). Otherwise, you'll need to name each script like scriptname.pl or scriptname.c instead of scriptname.cgi.
    Extended Keyboard Server   Mac OS X (10.4.8)  

  • DREAMWEAVER putting files in wrong folder

    Our webhost ATT made a big server switch. I've made all the changes required to point Dreamweaver in the right direction, but the files I try to "put" on our website are going to a hidden folder and not on the active site. I've spent loads of time talking to ATT tech support and they say that the changes need to be made in Dreamweaver. I know enough about Dreamweaver to change and 'put' files on our site. HELP!  This folder has to be updated frequently as we sell tickets for performances online.

    OK, I think that still used the CS4 style menus...
    1. Verify you have your site definition open. From the Files window (F8 if it's not open) in DW, make sure you have the site name showing in the left hand drop down and Local View in the right hand menu at the top. Below those will be your toolbar starting with Connect and ending with Expand. Below that will be all of your site files, which should look something like...
    Where your site should say something like...
    Site - YourAwesomeSite (whatever you named your site in DW)
         -htdocs
              -index.html
              +css
              +fonts
              +pages
              etc...
              etc...
    2. If your site looks like the YourAwesomeSite example above, where everything shows up under the htdocs folder, all you need to do is click and drag the files out of htdocs and drop them on the MyAwesomeSite level. DW will ask you to update links, click Update or Yes. Delete the now empty htdocs folder.
    3. Test the pages
    4. If everything is working in Preview, Go to your settings: Site > Manage Sites > click the site you are working on > Edit
    5. Under the Advanced tab, click Remote Info and make sure /public is in your Host Directory (it might also be called Root Directory or Server Root maybe). If you had to add it, click Apply or Save or Done, whichever one is there. Close the settings window and the Manage Sites Dialogue
    6. Click the Expand button in the Files window. That will make it take up the whole screen and place your remote view on one side and local on the other.
    7. Hit connect. If everything is set up correctly, you should only see the public folder and its contents on the Remote View side. If you see anything else at the top of the file list for remote view, your FTP info is not set up correctly.
    8. If you are seeing the public folder and its contents only, go ahead and click Put to put the entire site to that folder.
    That should do it.

  • Why does Apple not want me to know where my files are?

    There is one aspect that I find absolutely ridiculous and frustrating on Mac-OS. When I'm in Apple applications, it is impossible to find out where the file I'm working on is. For example, I have multiple files in my system, in different directories, lets say direcotories AA and BB and the file is called FooBar.txt. I open one of them in TextEdit. Great. Now I want to know which file I'm editing, AA/FooBar.txt or BB/FooBar.txt.
    Traditionally, I would go to File and do a "Save As" and devine where the file is by where TextEdit thinks I need to save a new version of the file. Unfortunately, this is no longer available in Lion.
    Okay, I understand that Mac is now doing verisions and the "Save As" was a user hack ... but it worked. I have tried to go to the Files->Properties, no luck this is just metadata about the contents of the file entered by the user, not system metadata about where the file is located, its size, owner, etc. I do not want to have to make a Dupicate of the file just to find out where when I do the save its going to put the file. I don't want a duplicate, all I want to know is where is the file I'm currently looking at.
    I know this is all part of the mis-guided Apple idea that I shouldn't care about where my files are stored ala iPad and Apple iCloud and that I can find my files using Finder, but the reality of the situation is ... I do care where my files are stored. The files afterall belong to me not to Apple and Apple does allow me to have a directory tree structure which I choose to use to organize myself.
    Yes, I know that Finder is wonderful and to unsophisticated users, this is all they need. But for those of us who are more sophisticated, we want-to and need-to know where our files are. And, yes, we will have many files with duplicate names.
    As for Finder, I would like to be able to have a column dispolayed that lets me see where the files it found actual are. Then I want to sort on this. As far as I know, the only way to do this is to go to finder, type in the name of the file, then choose the Show all in Finder and then click on each file which then shows me a directory breadcrumbs on the botom of the screen. Again, this might be acceptable to the unsophisticated user, this is very awkward to the sophisticated user. Example, I find a file called xml.config. Great. I now want to not only edit the file but to open up a Terminal in the directoy where I found the file xml.config. Again, I know that a Terminal is not a thing an unsophisticated user wants-to or needs-to do. However, this is a feater of Mac-OS and I want to use it. yes, I can co through the Unix CD command and ultimately get there, but what a pain!!
    So, hopefully, all you very sophisticated users will just point me to the right settings, swtiches and commands to make my life easier or that your designers will try to look at the sophisticated use cases and provide us with new tools, commands and options to make our lives easier. At the present, these frustrations remind me of the Microsoft ... we know beter .. attitude. So please, proove me wrong ;-)

    While most likely not of interest to you, Spotlight can also tell you where the files it finds are located
    Hover the mouse pointer over the name, and press Command-Option and the path to the file will be displayed.
    As for opening a terminal session in the directory where a file is located, there is Applescripts that do just that as well as specific features in Lion/Mountain Lion terminal:
    <http://stackoverflow.com/questions/420456/open-terminal-here-in-mac-os-finder>
    <http://hints.macworld.com/article.php?story=20110729034827358>
    <http://www.macworld.com/article/1047793/folderinterm.html>
    <http://www.macworld.com/article/1161876/open_finder_folder_in_terminal.html>
    <http://www.macobserver.com/tmo/article/os_x_lion_open_a_folders_location_in_term inal>

  • Where to file in Time Capsule

    I've done a time machine backup on my Time Capsule, which shows up as a sparsebundle in my Data file in the Time Capsule.  It shows up when I double click the sparcebundle and Time Machine Backups then shows up under devices.  I'm assuming that is the correct way to look for the backup...
    If I want to then save additional items to the Time Capsule, where do I save them?  In the Data file Or in the Time Capsule file along with the Data file?  My screen shot shows them inside the Data file which is where I assume they should be..?
    Also, if I want to check the size of my Time Capsule, do I Get Info on the Time Capsule or Data?
    Thanks

    I've done a time machine backup on my Time Capsule, which shows up as a sparsebundle in my Data file in the Time Capsule.  It shows up when I double click the sparcebundle and Time Machine Backups then shows up under devices.  I'm assuming that is the correct way to look for the backup...
    To locate files in the backup you use TM.
    See info on restore here.. Q14-17 http://pondini.org/TM/FAQ.html
    You must NOT touch the sparsebundle.. you must NOT add files inside it.. it is owned by TM and you can easily corrupt it if you mess with it.. all files into and out of the TM sparsebundle are controlled via TM.
    You cannot leave the Sparsebundle mounted... that will stop TM working. It will post an error message that the TM sparsebundle is in use.
    If I want to then save additional items to the Time Capsule, where do I save them?  In the Data file Or in the Time Capsule file along with the Data file?  My screen shot shows them inside the Data file which is where I assume they should be..?
    Also, if I want to check the size of my Time Capsule, do I Get Info on the Time Capsule or Data?
    You save it to Data.. although IMHO it is neater to create a folder and put files that belong together in one place.. filing everything under root directory is poor organisation.
    Note.. Time Machine cannot see those files and back them up. If you delete those files from your computer at some point Time Machine will delete the file from the backup.. you will then have only a single copy.. anyway backups and original files on the same disk is pointless.
    You cannot get info on the TC . it will spin fetching forever.
    Data doesn't work... you can get info on folders inside data. Or the sparsebundle.
    At least on Mountain Lion.
    If you want to see total disk usage.. you can find that in Airport Utility or in Time Machine.

  • Where is the storageroot on mobiles?

    Hello
    I`ve written an application (midlet) that loads data from CSV file, converts, etc.
    The problem is, that i don`t know where this file should exist.
    I`ve noticed that in KToolBar it should be placed in classes directory, but i have no idea where i should place it on mobile.
    Here`s the code:
         Class c = this.getClass();
         InputStream is = c.getResourceAsStream("prices.csv");
         StringBuffer str = new StringBuffer();
         byte b[] = new byte[1];
         while ( is.read(b) != -1 ) {
         str.append(new String(b));
    is.close();
    When i pack the files into jar and jad, ktoolbar doesn`t add that file into the archive. So i tried to add it manually into the same directory as jar and jad were but it doesn`t work out. The app starts and ends immediately.
    Please tell me what path i should add to getResourceAsStream and how to place all files by the simpliest way to mobile.

    I`ve noticed that in KToolBar it should be placed in
    classes directory, but i have no idea where i should
    place it on mobile.No it should't.... The classes directory is, well, for classes :)
    You should place it in the res directory, which is used for resources... and then access it with getResourceAsStream("/prices.csv"); When you build your project the file will be automatically packed in the JAR file.
    jc

  • Pdf files in office mobile

    how to view pdf files in office mobile.i tried many times but couldn't succeed.and on syncing which files are shown -c,e or f drive?

    its automatic open when u press,touch the file bro...make sure you have pdf viewer installed,because pdf is defferent with office...for alternative you can download picsel smart office,that can open office and pdf...
    For syncing its depend where drve you save your document,if u use microsoft app office you must select local to be favorite and syn...
    Hope it help u...
    nokia 1208 connecting people

  • I downloaded the new version of itunes and it changed my path. I have over 10,000 songs in 100's of play list. This is the third time it has happened. It is putting file://localhost in front front of the path. Does anyone know why and has a solution   RJ

    I downloaded the new version of itunes and it changed my path. I have over 10,000 songs in 100's of play list. This is the third time it has happened. It is putting file://localhost in front front of the path. Does anyone know why and has a solution   RJ

    Hello there, RJ Quick.
    I've located the following Knowledge Base article that might be the information you're looking for:
    iTunes 11 for Mac: Change where your iTunes files are stored
    http://support.apple.com/kb/PH12165
    The following section may be of help:
    Change where imported files are stored
    Choose iTunes > Preferences and click Advanced.
    Click Change and select a new location for your files.From now on, new songs and other items you import will be stored in the new location. Songs you’ve already imported stay in their current location.To go back to storing imported files in the iTunes folder, choose iTunes > Preferences, click Advanced, and click Reset.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • JavaFX Mobile refuses to run my apps

    I am currently trying to familiarize myself with the JavaFX platform, especially the mobile aspects. I am having trouble with the JavaFX Mobile runtime.
    I am unable to run any apps of my own. I am using the newest NetBeans environment to compile everything and create the jar/jad package. I am able to upload the package to my mobile device, install it without any error, and see it listed in the app list of the JavaFX launcher. However, when I attempt to launch my apps, it appears to be starting normally but nothing ever shows up except the "exit" menu item. I get no errors of any kind, just nada.
    Thinking that I was doing something wrong due to my inexperience with the new scripting language, I downloaded some apps from javafx.com and tried those. They don't work either. However, the four apps that come pre-installed with JavaFX mobile (calculator, tweeter, etc) all work fine. Things I compile with NetBeans work just fine in the emulator, but not on my device in real life.
    Can anyone let me know what is going on? Is there an error log somewhere that I can look at? Thanks for any help.
    Mobile Device: HTC Touch Pro 2
    OS: Windows Mobile 6.1 Professional
    NetBeans: 6.7.1 with all updates
    JavaFX: 1.2 EA2, SJWC 2.2
    -d
    Edited by: metalliqaz on Dec 9, 2009 8:39 AM

    I tested newly released "JavaFX Mobile 1.2 for Windows Mobile" from javafx.com on HTC Diamond together with NetBeans 6.8 with all necessary updates and everything works fine. I believe it should work also on your HTC Touch Pro 2. The problem might be caused by using JavaFX early access, please try with reference release (released last week).
    You can enable logging via Remote Registry Editor or whatever registry editor on windows mobile by setting HKEY_LOCAL_MACHINE\Software\SUN\JVM\LoggingAllowed to value 3.
    Then the log file containing text output is \\\JavaFX\Java\java.txt

  • Deploying JavaFX mobile app on SkyDrive

    Hello,
    I am trying to test a JavaFX mobile app on my phone: LG600G. The phone's CLDC is 1.1 and the MIDP is 2.0, so it can run Java Midlets. Unfortunately, I can't send the .jad file or jnlp file to it across Bluetooth and choose the "install" option. The option isn't available, so I am trying to deploy store the .jad .jnlp and .jar files on my Windows SkyDrive. I can't figure out how to do it correctly though. Could someone tell me what I should point my phone's browser to? Should I point it to the .jnlp file or the jad file? Also, how do I set the codebase of the jnlp file? If it helps, here is [my account:|http://cid-df734c62403d114d.skydrive.live.com/browse.aspx/.Public]
    If someone has done this before, and you have a link to some tutorial, I could use that too!
    Thank-you,
    Vance

    This phone doesn't seem to be powered by Windows Mobile, so JavaFX won't work on it.
    See the answer in [as of 2010, what mobile phones support JavaFX?|http://forums.sun.com/thread.jspa?threadID=5432053] thread.

  • JavaFX mobile execution

    whenever I ran an application in mobile emulator(by selexting run in mobile emulator), I get the following error message
    init:
    deps-jar:
    WARNING: following file/directory does not exist: C:\Users\ramakant\Documents\NetBeansProjects\Testing
    ApplicationMapper: 90 packages, 98 classes visited
    Error preverifying class testing.Main
        VERIFIER ERROR testing/Main.<clinit>()V:
    Cannot find class javafx/scene/effect/Reflection$Intf
    ERROR: preverify execution failed, exit code: 1
    C:\Users\ramakant\Documents\NetBeansProjects\Testing\nbproject\build-impl.xml:143: exec returned: -1
    BUILD FAILED (total time: 2 seconds)in the netbeans output window, I searched the net about it but with no luck, I just reisntalled the application because autoformat option is not working, now that problem is secondary , first I want to fix this execution problem, the programs are running fine in standard execution mode, and I am trying to run this application [http://learnjavafx.typepad.com/weblog/2009/02/a-simple-binding-example-in-javafx-mobile.html|http://learnjavafx.typepad.com/weblog/2009/02/a-simple-binding-example-in-javafx-mobile.html]

    it certainly was not the problem but it helped me to enable execution, I was running a file in mobile platform while the package has desktop profile classes also, your tip helped execution but I still get this warning,
    WARNING: following file/directory does not exist: C:\Users\ramakant\Desktop\JavaGame\Imagix\Mobile
    ApplicationMapper: 3 packages, 3 classes visited
    WARNING: following file/directory does not exist: C:\Users\ramakant\Desktop\JavaGame\Imagix\Mobile
    compile:Can you help me how to remove this warning

  • Using JTWAIN    -   where put JTWAIN.DLL ?

    hi,
    I am trying to use JTwain to acquiring images, and I found that JTwain works easy inside the IDE of Netbens.
    But a problem come about the installation of the dll_, that is used from the library of Asprise JTwain _(file AspriseJTwain.dll)_.
    The documentation of Asprise JTwain says :
    Put AspriseJTwain.dll into your system path, e.g., C:\Windows\System32.Following this suggestion my code work fine, but I need to distribute the program; and for this purpose is not comfortable for me that the installation have to do the copy of the file.dll inside the directory C:\Windows\System32.
    I would ask if (in order to do the installation easier) it is a different place (than  C:\Windows\System32) where put the dll.
    Thank you for any advice..
    tonyMrsangelo
    Regards
    Edited by: user13286583 on Nov 7, 2010 2:29 AM

    Thank you Andrew for you answer,
    I don't need use Java Web Start feature.
    The application runs not in the web, but in a calculator (in stand alone mode).
    How I said, I put the dll inside the package of the class that need acquire the image;
    I think that this is the same that you said:
    “to put the DLL in a Jar” .
    When I put resources into the packages, usually, the IDE of Netbeans handles all automatically
    (make jar files where classes find the resources...), and the jar that is produced execute properly the program.
    But this procedure seem that doesn't work if the resource is a dynamic linked library.
    The reason of this, I think, is because the dll are particular resources that don't follow the same management
    of the resources of java.
    I don't think (and I also hope) that is not my duty (as programmer) to manage the call to the the dll: this duty
    is made in the package (library) of Asprise Jtwan... and my supposition is also confirmed, because the program
    works fine when the dll is put in the directory C:\Windows\System32.
    I think it need to understand better how the JVM uses the work of the Windows XP Operating System.
    Thank you
    regards
    tonyMrsangelo

  • JavaFX mobile (Android/iOS) update?

    Hi all,
    as I am quite desperately eager to start JavaFX mobile development,
    I would like to ask, if somebody has any update on recent status and progress, if any.
    I have found quite a lot of news titles like 'JavaFX for iOS/Android soon!' at the beginning of the year, but not any other update since.
    According to Javaone 2013 Session Updates
    there should have been some very interesting presentations at JavaOne 2013 last week:
    JavaFX on Android: First Insight [BOF7791]
    Build and Debug Your JavaFX Application for the iPad [BOF5517]
    JDK 8 for Oracle ADF Mobile on iOS and Android Devices [CON3783]
    Can anybody point me to some recent information?
    Thank you

    jsmith wrote:
    I am unaware of anybody submitting a commerical iOS app based on JavaFX to the Apple app store.
    I don't think it's JavaFX, but BadLogic Games has a RoboVM based demo game on the Apple app store.  I tried it on an iPad 2 and was very surprised at how responsive it was.  I was expecting noticeable input lag, but there isn't any.
    http://www.badlogicgames.com/wordpress/?p=3193
    I know the politics of getting JavaFX on iOS, Android, and WinRT are complicated, but I'm still hoping Oracle changes their mind.  The idea of Microsoft, Google, and Apple controlling the mobile platforms top to bottom doesn't strike me as something that's going to be good for anyone (else).  I'm rather amazed at the faith everyone is putting the idea that Microsoft, Google, and Apple won't leverage IE, Chrome, and Safari to give their SaaS initiatives the advantage.
    I'd rather hedge my bets with the JVM and Linux than trust 3 companies who have been making obvious moves to close up and control the computing industry.  Honestly, look at the setup.  They all have hardware branches now and they already control the OSs, the native runtimes, the browsers, and the primary distribution channels for their respective platforms.  Oracle should be worried about getting anything on those platforms 5 years from now.
    IMO, they should be pushing ADF and JavaFX on mobile, not trying to choose one or the other.

  • I am connected to my remote server and "put files" but the web page files do not update, whats going on?

    I really can't figure this out:
    So I use a different computer at school for web design, I bought Dreamweaver to work on it at home, I get the files fine from the server that I uploaded at school but then I make changes at home computer and connect and "put" them and I check online and the web page doesn't change one bit.
    I don't have the exact file extensions from the computer at school but when I connect and get I have a similar folder(s) set up and then it downloads them into Dreamweaver file manager box and makes the folders there I downloaded. The site shows up fine in Dreamweaver after I "get" so great I thinking.
    But... not so fast, I change the page in Dreamweaver, preview n a browser and look right on so I "put", connect to server and upload. Then I check online an its still the same I uploaded the CSS and HTML and dependent files by dragging over and also using the up arrow "put" as well but nothing changes on the web page online.
    What is happening here I am so confused?
    Thanks a bunch, I mean I can still preview as I go but I really curious why my "put" files don't change my web page like at all!

    Have you tried refreshing the browser, or deleting the browser cache?

Maybe you are looking for

  • KO8G open work order settlement

    Hi, I am facing an issue with open work order settlement using KO8G or KO88. We are on 6.0 and PSM turned and New GL activated with a document splitting on fund mandatory flag turned on. When open work orders undergo WIP calculation through KKAI, it

  • Having problems with firefox 4 using creloaded (oscommerce cart) it is turning the price weight section etc into a table which can not be edited.

    As above to be honest but the entire section of the top of the product add is uneditable and all information is set to zero. Which means I can no longer add products correctly to my website.

  • CHECKIN_NEW via HTTP

    Hi, I'm trying to push some test documents into our content server and thought I'd be able to use CHECKIN_NEW service via a http call, but I always get a error message saying <h4>Content Server Request Failed</h4> Content item '1000' was not successf

  • Application custom expiration date

    I have a iOS project (deployed as Adhoc) with requirements / restrictions: 1."custom expiration date" : app wouldn't launch after period of time after installation. The requirement "custom expiration date" like usual provision profile, but instead of

  • [PDF] use Adobe Document Services

    Hi, We already discussed about generating PDF (see also this Weblog : /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp) from the current page ([PDF] Print BSP current page) I would like to re-open the subject and asks the qu