Embarcadero Deployment manager puts android assets in wrong remote path - android-notifications

I am trying to deploy a mp3 file within a C++Builder android Project using Deployment Manager. Was trying to give a scheduled TNotification a specific sound.
I tried to set Remote Path to assets\ in Deployment manager, but the mp3 file was positioned in /storage/emulated/0/android/data/com.embarcadero.myproject1/files/ on the android device... I expected it to be in /storage/emulated/0/Documents/
Is there a setting somewhere changing the assets directory ?
Or is this a bug in XE8, and I have to copy the file in my program to the correct destination?

Related

How to deploy Javafx desktop application with Hsqldb

I've completed a Java project with Hsqldb, the application works fine on my local machine, this is intended to be used as a standalone desktop application on the Windows platform. Please could you suggest any references/documentation on how to go about the deployment processes. Thanks in advance.
For deploying an embedded HSQLDB database, the only thing that can be different on the target is the location of the database files.
You define the directory where files are stored and it should be a writable directory. In this case, define the path and use it as an absolute path (which includes the drive name if any) to connect to HSQLDB.
You can also define the database connection URL to contain the user home directory path. This allows storing the database is a subdirectory of the user's home directory. See http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#dpc_variables_url

Cannot Find Application Mobilefirst

I have deployed the war file project in context path /example
. Also i have uploaded the .wlapp and adapter in worklight console.
Where do point my application Build path to work in different server?
Should i point to /example war file path?
This is my reference on:
http://www-01.ibm.com/support/knowledgecenter/SSHSCD_6.3.0/com.ibm.worklight.deploy.doc/devref/t_transporting_the_app.html
To change the context root when building for a remote server, you need to right-click the application folder and select Run As > Build Setting and Remote Target.
In the window that will be displayed you need to set the remote server's server details. So those would be: protocol://host-or-ip:port/your-context-root.
Sounds like you should replace "your-context-root" with your own.
I have solved the problem. When war file project is installed it will became an runtime in IBM MobileFirst Platform Operations Console .
So you need to choose that runtime install .wlapp and .adapter in runtime like /example.
IBM MobileFirst Platform Operations Console
---->goofo(war file)
----->adapter
----->wlapp
---->test(war file)
----->adapter
----->wlapp

"Cannot read configuration file" when running ASP.NET app

I recently decided to move all my VS projects to a dropbox folder so i don't have to carry my USB drive around all the time. I just copied all contents into the dropbox folder but when I run one of my ASP.NET projects, I get an HTTP error 500.19:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070003
Config Error Cannot read configuration file
Config File \?\I:\Documents\Schule\Praktikum\IHK-Projekt\WerIstWo\WerIstWo\web.config
I think it still looks for the config file in my usb drive, which I assigned the drive letter I:. How do I change this so it will my local the Dropbox directory with drive letter C:? What happens if I install Dropbox on another machine on D: drive? Will I get the same error?
Thanks for any help!

Debugger not active when compile with maven

here is my question :
When I build my swf by FlashBuilder, my debugger is active (access via context menu), and I got my logs in the flashlogs.txt.
BUT when I build my swf with maven (flexmojos-maven-plugin), even if I put <debug>true</debug> in the configuration, I hadn't any logs and can't active the debug in the flash application.
Any idea why ?
Informations :
I need to be able to access the debugger and have the trace in the flashlogs.txt without compiling and launching via FlashBuilder.
=> It's for some tester who don't have to access to the sources, just launching the application and testing it
Once you built your swf with Maven, you need to deploy it on your web server.
Example: c:\java\tomcat\webapps\myapp (depending of your back-end)
Then in Flash Builder, in the Flex Build Path configuration for your project, you have to set the output folder to the target folder where you have your web server pick up the SWF you are building.
Set the Output folder URL to point to the context that launches the SWF and you should be good to go.
Example: http://localhost:8080/myapp
And of course be sure to compile with debug mode ;)

Is there a better way to work with Flex Builder and the AMF Gateway?

I'm using Flex Builder 3 to connect to a bunch of back-end code via the AMF gateway. Another developer packaged up all the AMF Gateway code into a war file. Here's my development process:
Deploy most recent AMF-gateway.war file into local jboss server
War file gets unpacked into [jboss]/server/tmp/deploy/tmp23241AMF-gateway-exp.war/
Run Flex Builder. Point application project at AMF Gateway tmp folder in 3 places (Flex server root folder, Flex build output folder, Flex compiler 'additional arguments' (pointing to location of services-config.xml).
This setup means that whenever you start a debug session in Flex Builder, it dumps working versions of the files into the AMF-gateway folder on the jboss server (which is aliased as /AMF-gateway). The thing is, every time I restart jboss or deploy an updated AMF-gateway.war file, it gets unpacked into a new temp folder with a new name, and I need to change all the references in the Flex project. This happens several times a day, and it's annoying. Can I streamline this configuration? I tried using an alias to that folder -- figuring I could script the change -- but Flex Builder didn't seem to like it.
If I remember correctly, you can create a directory in JBoss that the server will treat as an exploded war file. I don't have a copy of JBoss handy to check, but I remember creating a directory such as "context-name.war" and being able to develop against that. So instead of copying your packaged .war file to the deploy directory, you could unzip it directly to that directory. If I remember correctly JBoss will monitor the web.xml file for changes and if it's overwritten it will redeploy the context.
Instead of using an XML approach: (i.e. SOAP/WSDL/REST), try using AMF to port to a different gateway such as C# to the database directly.
http://specialmoves.com/labs/code/flash-data-transfer-using-fluorinefx

Resources