Empty HTML page after OTA install on Symbian - symbian

I have some quite nasty issue I couldn't solve so far.
Whenever I do installation of Symbian application on Nokia platform, the browser loads blank HTML page, and needs to be closed manually.
It doesn't happens on WAP push installations - only on direct link installations via the browser.
It happens on installations both from JAD and JAR.
I tried specifying manifest entries, etc... - nothing helped.
Any idea how to prevent this blank page, as it confusing the users?
Thanks in advance.

You should make sure that the content types of the downloaded files are correct:
For .jad, the content type should be text/vnd.sun.j2me.app-descriptor
For .jar, the content type should be application/java-archive
Setting the content type according to a file's extension is usually something you configure in your HTTP server.

Related

In Hippocms site view in cms differs from live site

The problem is that site view in cms differs from live site itself.
In cms edit mode I've deleted component from container inside page, saved, then published changes. Publish done successfully without any errors and site view in cms looks correctly, i.e. without that component that was removed. But this component still appears in live site.
I can easily fix this problem by removing this component in console. In cms console it can be seen that preview and working configuration differs.
But why this type of desynchronization happens? And what can I do to prevent this kind of problems?
This type of desynchronization happens rarely, but this problem may be very critical in production.
I am using Hippo CMS 10.1.0 Community Edition
If Your configuraton have been resynchronized, good way is to remove whole preview node. This node will be reconstructed from Your live node when You enter in CMS and turn on edit Mode.

TinyMCE link browser throws connection issue

I am using TinyMCE with Modx Revo (2.1.3). When I want to add an internal file (say a PDF) via a link, I highlight the text, click the chain link icon and then the browse icon. However, instead of showing a list of existing files on my server I get a server connection error message.
I have tried this on multiple browsers and machines and get the same results.
Does anyone know if there is a file path or any permission I need to change to get this working?
I rescently had some troubles with the tinymce file browser complaining about lack of access while the regular modx explorer worked fine. The problem was a domain plugin changing contexts on pageload, changing from "mgr" to "web".
Make sure you dont have any plugins doing something similar, and that you dont have any context settings with weird site_url settings or something like that.

How to Handle URL Link Tap Events using PSPDFKit for Titanium

I am using the PSPDFKit Module (v2.8) for Titanium Mobile (3.0.2GA) to both display cloud based and local PDF files within my App. The module works a treat (great job by the developer), however I've run into a problem.
Some of the PDF files have links to external websites within them, and when they are tapped I am getting a No system handler registered warning. I've checked the documentation and forums / google and cannot seem to located how these events should be handled.
Does anyone have any idea – any help would be appreciated!
Now external links are supported, so this might be a bug. In older releases there was an issue where URLs like "Http" or "hTTp" (note the uppercase) weren't properly detected. That's all fixed in the later releases (2.12 and up). Please update and let me know if this is fixed or if you're still seeing problems. Thanks!

One Click install for Safari Extensions

When a user downloads a plugin firefox (for example) the plugin installation begins as soon as the download has completed.
Is it possible to achieve the same thing in safari? i.e. user clicks link to download plugin, once it has downloaded it automatically begins the installation.
I don't think this is possible to do on any other domain except extensions.apple.com.
I've done some extensive testing on this and the safari.installExtension() method is only present if the domain matches extensions.apple.com (probably controlled by the browser, similar to how certain Chrome APIs only shows up inside of extensions themselves).
I tested this theory by going to the JS file itself and opening the JS console:
https://extensions.apple.com/home/scripts/extensionInstall.js
After that JS file has loaded, type typeof(safari.installExtension) in the JS console and it should return "function". Notice that it exists on a non-HTML page, meaning it's being provided by the browser (since this script doesn't execute, nor has the code in it to provide this method).
I tried doing this on other sites and it doesn't exist: "undefined".
I also had a crazy thought that it just needs extensions as the subdomain, so I tested it on http://extensions.joomla.org too, no dice. I can't seem to find an extensions sub-domain that's SSL though. That may work, but I seriously doubt it as the method appears to be regulated to only show up when on Apple's specific extensions sub-domain.
No solution for that here, but maybe this can help?
In apple extension gallery at https://extensions.apple.com the extensions do install in one click, and i wanted to achieve the same in a website of mine, so i went and checked their JS source code.
A javascript file there defines a "ExtensionOneClick" Object (https://extensions.apple.com/home/scripts/extensions.js).
A method is dedicated to installing extensions:
// href : path to the extension ".safariextz" file
// id : com.whatever.myextension-<safaridevelopper10charsid>
safari.installExtension(id, href);
I tried to replicate this on my website, but i get "safari is undefined", so I guess a site specific hack in Safari is helping here?

How do you test your blackberry application on the device?

This may sound very noobish, but I can't seem to get my app to my blackberry.
I was trying to follow the beginning blackberry development book's guide, but maybe I just missed the point somewhere.
For remote download, Is it really as simple as drop the COD and JAD files in the same folder on your server then just navigate to the URL with your device's browser? The book says it should prompt a download screen, but all I get is a page full of cryptic characters.
My app is a simple slideshow. Uses no signed things and is not MDS enabled. Did I forget something?
Any help would be appreciated.
Thanks
The easiest way to do it during development is to use javaloader:
javaloader.exe -u load myapp.cod
Where "myapp.cod" is the single COD file generated by the rapc compiler (and optionally signed if required).
If you do want to install it "OTA" (over the air) from your webserver, make sure you are deploying the JAD file and individual COD files (if it's a large app). Also make sure that your webserver MIME types are set properly for the .jad and .cod file extensions.
You could true bluetooth the COD and JAD files to your blackberry