where can i get MIME files for serving blackberry apps? - blackberry

I had deployed my blackberry app and i have two files from deliverables\Web: those are .jad and .cod files. I have uploaded them to my web server.
I searched on more articles and I must install MIME files to web server so a user can download .jad file and setup the app on the device. I tried to solve this issue but i cannot .
So where can i get MIME files and how can I install on windows server?

To serve out BlackBerry apps from your own web server, you'll need to configure the MIME types for jad and cod files on your server.
For Apache's HTTP server, I use these MIME type mappings in my httpd.conf file:
AddType application/vnd.rim.cod cod
AddType text/vnd.sun.j2me.app-descriptor jad
To configure the .jad and .cod file MIME types in IIS, refer to this document. The idea is the same, though. You need to associate text/vnd.sun.j2me.app-descriptor with the .jad file extension (and so on, for the .cod file extension).

Related

Writing to a packaged app folder in Electron

I'm creating a portable Electron app that writes some files to the program folder. It works pretty well when I package it without the --asar option in Electron-packager, which leaves the resources folder with plain html + js files.
Now when I try to compile it with the --asar option, so that it packages the resources folder into one file, I can't access the program directory any more with the following code:
remote.app.getAppPath()
This now returns the path of the asar file, so I can't really write to the application folder any more. Is there any way around this?
No, you cannot modify the asar of a running Electron app. You should be saving your config outside of the asar path.

Apache Tika - all files from directory listed in ArrayList

i need to lists all files with selected type by apache's Tika tool, my target is just to save all .doc, .docx etc files from selected directory to for example ArrayList

Prepros 6 SFTP directory uploaded to wrong path

I have a directory upload issue in Prepros 6.1.1, with SFTP only.
This may be related to that question: Folders uploading in Prepros
The file upload is OK, but Prepros will create directories in the wrong path!
Example
I want to upload new-directory/new-file to /home/myuser/www/:
If new-directory exists on the server ; no problem, the file is uploaded in there.
If I upload a new file in a new directory ;
Prepros will create the directory in /home/myuser/home/myuser/www/new-directory,
then try to upload the file to /home/myuser/www/new-directory which doesn't exists…
Does anyone have found a workaround?
How is your FTP config?
Open FTP Settings and on Remote Path yout insert all the path to the directory you want. For example:
I want to upload a file to my test folder, then, on the remote path field, i will insert
/public_html/test/
This way all the files will be uploaded to this directory

OpenMeetings not loading Office files (pptx, xlsx ...)

I have Apache OpenMeetings installed and functioning properly.
I am not able to upload Office files to Whiteboard.
I succeeded to upload PDF files.
I installed JODconverter and updated the configuration to match the path.
I installed the OpenOffice to the machine adjust the "Path" environment variable and updated the configuration with the full path to the OpenOffice document.
but still not luck.
am i missing anything?
From openmeetings administration panel, update the office.path configuration too. In this configuration, enter the path of your OpenOffice installation. This should fix the issue.

How to secure application source code when using OTA?

I want to distribute my application via OTA. I have PROJECT_NAME.jar file in the same directory with .cod and .jad files in my ftp server. So everyone can reach .jar file. What is the best way to secure this jar?
As Micheal B. wrote as comment, I don't need to put .jar file in OTA installation folder.

Resources