Files as well as the application deployment

Hi all

I would like to ask: I users of my application set icons for use in lists (the user can choose a clean image and use it for listitem). To allow users to make a selection through FilePicker, I guess that images must be in public directories (shared).

Is a good idea to put these files for example in documents/myappname? And if so, how is it possible to create aliases for this folder in Momentics IDE?

Thank you for any advice or tips.

Ah, ok, I see what you're trying to do.

That's right, your app folder is not accessible for the file selector, because there are / is called outside your sandbox application.

I see two options:
(a) create your own selector, for example with a listview showing all items. It is a bit of overhead, but should not be too complicated
(b) copy all images in the folder or anywhere else outside your sandbox where the selector can access. easier to implement, but the files will stay when your app uninstalls that can be a bad user experience.

Tags: BlackBerry Developers

Similar Questions

  • Do WLST exception like ' target the exception that is thrown when the application deployment: no such file or directory found in the location of the specified application: "all administration server application deployment

    Hi all

    I'm trying to deploy an application to the administrator of the server using WLST and I had followed steps below.

    (1) I ran setDomainEnv.cmd

    It was performed without error.

    (2) connect to the Server Admin

    Connect ('USERNAME', 'PASSWORD', ' t3: / / localhost:7001', adminServerName = "AdminServer")

    (3) to deploy the application

    deploy ('benefits', 'C:\Users\suhas\Desktop\benefits.war' target = 'AdminServer')

    Traceback (innermost last):

    Folder "system <>", line 1, in?

    File '< iostream >", line 246, to deploy

    File "< iostream >", line of 1848, in raiseWLSTException

    WLSTException: Error occurred when executing deploy: target the exception that is thrown when the application deployment: no such file or directory found in the location of the specified application: C:\Users\suhas\Desktoenefits.war : no such file or directory found in the location of the specified application: C:\Users\suhas\Desktoenefits.war

    DumpStack() to view the full stacktrace

    WLS: serverConfig/test_domain / >

    I'm the exception above, I gave the exact war file path while the deploy command of race but represented except the application path refers to a path that does not exist.

    I, e. instead of display C:\Users\suhas\Desktop\benefits.war C:\Users\suhas\Desktoenefits.war appear

    Please help me solve this problem.

    Thank you and best regards,

    Suhas

    You can use the script here

    Automation of the deployment of the application on Oracle Weblogic Server

    Use a backslash instead of the forward slash... and type it instead of copy paste...

  • Exception when you run the application deployed standalone WLS

    When you run the application deployed in a standalone WLS, I get the following exception, and nothing will be displayed in the Explorer. Running-in of jdev/integratedWebLogicServer is however very well. I deployed the application in jdev to the autonomous WLS.
    ]] Root cause of ServletException.
    javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.oracle.pm.eai.supporttool.ui.bean.SupportToolBean'
         at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:192)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:180)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:860)
         at oracle.adfinternal.controller.application.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:112)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:251)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)
    Here are the versions WLS and Jdeveloper, I used.
    WebLogic 10.3.3.0
    JDeveloper 11.1.1.3.0

    Hello

    It seems that there is something wrong with your support of bean is instantiated.
    Check that it is correctly stated in the taskFlow and you have a default constructor in your backing bean.

    Gabriel.

  • How to find the version of the application deployed on wls9 using wlst

    Hello

    How to find the version of the application deployed on wls 9.2 wlst wsing. I know that we can use the Mbean version but I did not give any version while deploying.

    Say I have an application with name test and the path is c:/temp/test1.ear.

    (WHN deploy the app name (test) remains the same, but I could be deployed test1.ear(c:/temp/test1.ear) or test2.ear(c:/temp/test1.ear).

    Is there a way to wlst to know what test1.ear or test2.ear is deployed.

    Thanks in advance
    Neeraj

    Hi Neeraj,

    Here is the code that you had asked for.

    # START OF SCRIPT

    Connect('vasadmin','vaspassword','t3://localhost:7001')
    domainConfig()
    vasApps = cmo.getAppDeployments)

    for app in vasApps:
    vasAppPath = ' / AppDeployments / ' + app.getName)
    CD (vasAppPath)
    print app.getName () + ': the source path is: "+ cmo.getAbsoluteSourcePath)

    # END SCRIPT

    Thank you.

    Naour Vijay.

  • The Application Deployment error

    I am currently using JDev 11.1.2.0.0. When you try to deploy the application, I get the question below. Can someone please suggest.

    < 10 July 2013 10:41:47 AM PDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1373478105591 'for task ' 0'. Error is: "weblogic.application.ModuleException: could not load the webapp:" hdms "" "

    weblogic.application.ModuleException: cannot load the webapp: "hdms.

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.management.DeploymentException: error: unresolved Webapp library makes reference to "[ServletContext@30924772[app:XXXXXXXX module: hdms path: / hdms spec-version: 2.5]", defined in weblogic.xml [Extension name: HDMSSharedLibrary, exact match: false] "

    at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2754)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:415)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:493)

    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)

    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)

    Truncated. check the log file full stacktrace

    >

    < 10 July 2013 10:41:47 AM PDT > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy task for application XXXXXXXX. >

    < 10 July 2013 10:41:47 AM PDT > < WARNING > < hats > < BEA-149078 > < message 149004 track battery

    weblogic.application.ModuleException: cannot load the webapp: "hdms.

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.management.DeploymentException: error: unresolved Webapp library makes reference to "[ServletContext@30924772[app:XXXXXXXX module: hdms path: / hdms spec-version: 2.5]", defined in weblogic.xml [Extension name: HDMSSharedLibrary, exact match: false] "

    at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2754)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:415)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:493)

    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)

    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)

    Truncated. check the log file full stacktrace

    >

    [10: 41:47] undeployment.

    [10: 41:47] - incomplete deployment.

    [10: 41:47] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    # Cannot run application XXXXXX due to the deployment on IntegratedWebLogicServer error.

    [Application XXXXXXX stopped and cancelled Server Instance IntegratedWebLogicServer]

    Hi 933874,.

    Can you please try commenting this line [Extension name: HDMSSharedLibrary, exact match: fake] in weblogic.xml

    Thank you

    Sandeep

  • File/external source for the application config?

    Hello, I need advice.  My application on the device is simple: he composes the function codes to be managed by a server.  Currently, all function codes are hard coded in the application. I would like a way to ensure that these codes can be updated on the fly without having to recompile, re-sign and redistribute the entire application.  What would be the best way to achieve this and what I should look into?

    Edit: Develop for Blackberry Handheld Software 4.1 4.1 JDE for 7000 series.

    This method might have restrictions and is likely to have security in time to invite the first makes an http connection.  A BES admin could restrict the ability to download or add firewall constraints which would limit to this.

    Alternatively, if you want to avoid http and already have a mailing list you could send the configuration go out and have a message sink that updates your config file.  This would require that your application be signed and she also could be limited by a BES or permissions admin and could have a security prompt if a device is configured to request message connections.

    Basically, if you want to get third party data, a BES administrator could restrict.  It is not really a way around that if you want your application to have up-to-date data.

  • The file size increases until the application fails

    Win xp + flash player 8 and flash 8 of what THERE is IS a KIOSK PROJECT, no browser involved.

    Greetings.

    I have a kiosk project that loads external swf very large (200-300 MB) with video integrated in function 'screen saver '. The screen saver charge (and discharge) maybe 3 or 4, and then, on the 5th, the application does not load the SWF file. I also get an "out of virtual memory" message to the taskbar.

    Based on that observation, I began the follow-up of the 'task manager' for 'Util' and found that every time the screensaver Manager, a few hundred MB would be added to the Page file... AND HE LEFT. Thus, with each screen saver successive loading, the PF would get more increasingly broad.

    I think this is the reason for the swf screensaver which stops loading after a certain number of times.

    I've tried the settings of FP in great settings windows, but doesn't seem to help. The swf file stops loading when the PF is about 1.5 to 1.7 GB, even if I set the pf max to 4096 MB.

    Is it then possible to "empty" the PF during the unloading of the extern SWF?

    ADDITIONAL TESTS:

    I did a few tests more. I made a test database movie that loads an external swf, the code below.

    the "loadtest.swf" is a large TIFF on the stage which gives the swf file to a size about 5 MB. Also on this SWF is a button that calls removeScreenSaver() to discharge.

    What I have observed in this test, it's that when the loaded swf file is removed, PART of the memory is cleaned file exchange, but NOT ALL about HER. Therefore, it has the same potential problems.

    This seems to be a pretty huge problem but I got no. chance find all messages or help on this?

    Download a trial version and try it please.

    http://www.Jugglor.com

    Is your main file a file of projection?

    You do not have all of the files inside the exe, you can use the LOCAL %
    to play SWF files.

    Read this
    http://www.FlashJester.com/?section=FAQ&cPath=14_55#395

    Also we recommend that try to reduce the size of your SWF files and test
    If that helps.

    --
    Concerning
    FlashJester support team
    e. - [email protected]
    w. - http://www.flashjester.com

    There is a very fine line between "hobby" and
    "mental illness".

  • How to store/find the application deployed on weblogic Server 10.3.5 log?

    I am able to find the entire sever newspaper under the path [ Insert here the name of... \oracle\wls\user_projects\domains\[domain] \servers\ [here insert the server name] \logs

    But the problem I have is not contains all of the stack that I usually see in Jdeveloper console during the development.

    Yes, where to find the battery or the application logs, not the entire sever exactly like Jdeveloper console, where every thing is shown even the print statements (System.out, print ())?

    One of the reasons could be that a stand alone server normally has the level of different recording then you server shipped.

    Next thing I want to avoid using printing system to log messages. These messages cannot be disabled and fill in the server log, and only that, because they are printed to the system.

    Instead, you need to implement logging ADF. A very good article, which has several parts, can be found at https://blogs.oracle.com/groundside/entry/adventures_in_adf_logging_part

    Timo

  • Exception when running the application deployed on WLS

    Hello everyone.

    I developed an application. When I ran the JDeveloper (jspx page) application, it worked very well. Now, I have another instance WLS in my pc (new_domain). When I deploy my application in this area and of the race, I am getting following error.

    java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: no entry credential Mapper found for user password indirection = shipping_assignment for the data source Connection1

    Should I change to anything\?

    Hello

    Check out this thread.

    What does this message mean?

    Arun-

  • Safari opens the help file for Messages of the application in opening

    I hope someone can help, it's driving me crazy!

    Everytime I open Safari after the reboot, a page opens with the 'Ayuda de messages' text and nothing else. The address in the address bar is ces/es.lproj/index.html file:///Applications/Messages.app/Contents/Resources/iChat.help/Contents/Resour pointing to a help file in the Messages application. I opened the package and I tried to delete this file as an experiment, but he says that it is a system file and cannot be deleted.

    Does anyone know how to find out what is the cause and stop it? And no, my home page is not defined at this address

    Thanks in advance!

    OS X v 10.11.6, Safari 9.1.2, 9.2 Messages

    Quit and restart Safari while holding down the SHIFT key.

    Go?

  • Open a PDF file that comes with the application

    I need to be able to include a handful of pdf with my application that can open the app, or Adobe call. Where should I store these PDF files in my project to be able to access it through adobe? I have to copy the files to the directory shared first? I don't want to do, but if I do, where to keep these PDF files at the start in my project structure to be able to find them in my code?

    You should be able to include them in the public / directory instead of native /, which will make them visible outside your application.

    To do this, when you specify a entry, you can include the public attribute = 'true' and need that to happen.

  • How to get the Types of files - not associated with the applications Adobe CC

    How can I prevent Adobe creative cloud files of type to come in my research.

    I don't know how to use I or PS I accidentally a license and an image that cannot be opened with the help of HAVE or EPS (which makes all this shit even average?)

    I just want some png or JPEG files or any files can be used without having to use adobe software.

    So now I'm forced by Adobe to pay $22.99 per month for access to their software, just so that I can open a picture - what the mini-bars

    I'm not a designer, I can't use these programs, I want just the images that I can use on my site - is it so difficult?

    It is very easy in fact. Just deselect "Vectors" in your search. Which will remove all the .ai files. The rest you can use without any Adobe applications at all.

    And to be sure, every detail of the image indicates the type of file. If she says .ai/.eps you probably don't want to.

  • Run the procedure after the application deployment

    Hi all

    I faced a small question.
    When I deploy my application to another server - it must run a procedure (this means that the procedure must be run once immediately after successful deployment).
    It takes to update some records in the system tables.

    Apex supports characteristic or something like that?

    APEX 4.1

    Thank you

    Published by: Rod 13.05.2013 confidence 0:56

    Cane Trust wrote:

    I faced a small question.
    When I deploy my application to another server - it must run a procedure (this means that the procedure must be run once immediately after successful deployment).
    It takes to update some records in the system tables.

    Apex supports characteristic or something like that?

    APEX 4.1

    How do you deploy your application? The documentation contains all the details of creating a packaged application with all dependencies for database included as items of support. Your procedure must be performed in one of these objects support scripts.

  • not able to connect to the device for the application deployment native bb10


    What operating system do you use?  Have you installed the latest version of BlackBerry link?  You have a firewall or a VPN running that could block the connection?  You are able to connect via WiFi?

  • ADF mobile application deployment: the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I'm getting following error when deploying my first app on the android emulator, please help me solve this problem. The exception log is the:

    [10: 50:12] update Android profile dependencies with FAR profiles created from application projects...

    [10: 50:12]-deployment began.  ----

    [10: 50:12] the target platform's (Android).

    [10: 50:12] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:12] check the State of the Android Debug Bridge server...

    [10: 50:17] Server Android Debug Bridge started.

    [10: 50:17] check a single Android emulator is online and connected to the ADB server...

    [10: 50:17] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:17] analysis of the dependence running...

    [10: 50:17] building...

    [10: 50:17] deployment of 3 profiles...

    [10: 50:17] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [10: 50:18] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [10: 50:18] start preparing the package...

    [10: 50:18] check the Application Controller project exists...

    [10: 50:18] checking dependencies of applications...

    [10: 50:18] Validation of the application XML files...

    [10: 50:18] Validation of the XML files in the ApplicationController project...

    [10: 50:18] Validation of the XML files in the ViewController project...

    [10: 50:18] copy of FARs in the application of the Mobile ADF framework...

    [10: 50:18] far from the source of the copy: ViewController...

    [10: 50:18] copy by far the source: ApplicationController...

    [10: 50:18] copy of model Android...

    [10: 50:48] copy of the framework resource files...

    [10: 50:48] copy of resource files java framework...

    [10: 50:57] copy of the common javascript files...

    [10: 51:02] deployment of counting files...

    [10: 51:02] copy of the application image files...

    [10: 51:02] copy of the ADF Mobile configuration files...

    [10: 51:02] .adf files...

    [10: 51:03] copy of file security related to the application of the Mobile ADF framework...

    [10: 51:03] Creation of preferences Android XML files...

    [10: 51:03] creating AndroidManifest.xml file...

    [10: 51:03] Creation of unsigned Android application file...

    [10: 51:31] compile the file of the Android resource identifier...

    [10: 51:33] create file classes.dex Android since the class files...

    [10: 51:33] update of Android application file not signed with content file and .adf DEX...

    [10: 51:33] Server Android Debug bridge closure...

    [10: 51:33] undeployment.

    [10: 51:33] - incomplete deployment.

    [10: 51:33] the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Hello

    I found the answer to this error, it's like actually had reinstalled Studio Android, whereby a new directory has been created with the software, called SDK as sdk1. And in my tools-> preferences, path of the plate-shape and tools platform was given as the sdk (old directory). Now, I've updated the path in the new directory as sdk1 and it works fine.

    Best regards,

    Julien

Maybe you are looking for