I am interested to develop hbbtv apps and I am desperate to know how to run and test an full hbbtv application package, in this context a videoplayer having multiple html pages , using Firefox's plugin FireHBBTV. I have pretty much searched for it all over Net but couldn't find one!
You have to install an http server to serve a files, then it's opening from url address. If you are trying to open first time you can open http://itv.mit-xperts.com/hbbtvtest/ which is like demo page of hbbtv features (not all could work).
Related
I got a problematic assignment from my employers.
I was given the task of developing simple software that will run strictly on Google Chrome,
without attempting to connect to the web (Security reasons).
I know flutter development and I feel comfortable with the sdk.
How should I develop a web app that can be deployed using a usb stick?
Looks like PWA can be an option, but the documentation is lacking in detail.
The system does not have the ability to run a local web server.
The Flutter app must be able to work with JS libraries, I intend to use jsQR.
service workers and indexedDB could help you for develop offline route app and offline api.
mdn docs for service workers
I'm not sure that this will fit your particular case: you say that the system can't run a local webserver, but what if you provide the webserver along with your software?
I just discovered get_server: you can find it here. It aims to allow developers to host their own HTTP server by using only flutter, without resorting to external tools or other coding/scripting languages. It allows also (and that's the relevant part) to wrap your flutter web app and make it run on local network.
For now I only tried with a very simple example, but it seems to be working. These are the steps I took:
create a new flutter project: since I needed the webserver to run on Windows, I had to get flutter ready for that (see here for help)
add get_server to the new pubspec.yaml
run flutter build web on your flutter web project, and copy the build/web output
folder in the root folder of the new project (I renamed the folder while copying since flutter might change the content of the web folder)
delete all the content of lib/main.dart
paste this (this the actual content of main.dart)
import 'package:get_server/get_server.dart' as gs;
void main() {
gs.runApp(
gs.GetServerApp(home: gs.FolderWidget('folderName')),
);
}
folderName is the name of the renamed folder containing the flutter web app build.
I ran this on Windows 'device' from AndroidStudio, and my original flutter web app was reachable at localhost:8080 (for now I just used the default options of get_server). I also got the webserver (empty) GUI as a white window: I guess that can be useful for some information regarding the server itself, although, if that windows closes, localhost:8080 becomes unavailable.
But, once released, you should be able to just run the executable from the USB stick, and then connect to it with Chrome.
PS: after some time using GetServer, I had to switch to other packages because of not-so-good docs and support. Now I'm using shelf, but also Alfred is a notable mention.
Good evening everyone
I would like to deploy a web application (WebForm) developed with VS2017 locally on IIS but the css and javascript files are not linked.
I developed under VS2017, everything works perfectly well, but there I have no idea where the problem may come from.
Thank you very much for your help!
224/5000
Hi;
I solved the problem by activating "Static Content" in Windows Features ==> Internet Information Service ==>. World Wide Web Service ==> Common HTTP Features ==> Static Content.
thank you for all
Static content Steps
Using Developer Tools in most browsers (hit f12 when the page is up), go to the network tab and look what css and JavaScript files are not getting loaded. This will show you where the browser is trying to get the files from. You can usually make adjustments from there. You may have to refresh the page once you are on the network tab to have them reload.
Is there a way to open devtools on production builds of Electron that were packaged and distributed to you?
For instance, I'd like to poke around Slack's app. I know that it's built in Electron, and I'd like to open devtools to see how some parts of it are built.
On macOS I've tried:
ELECTRON_ENV=development /Applications/Slack.app/Contents/MacOS/Slack --debug --auto-open-devtools-for-tabs
as well as the usual key combination of Cmd+Option+I and checking for debug menus/views.
None of these seem to make a difference.
Note that there are already a few solutions that recommend you do it programmatically by injecting:
remote.BrowserWindow.getFocusedWindow().webContents.openDevTools()
However I can't do that because I don't have access to the source code or the original build process. Is there a way to trigger devtools externally?
The most promising way I've seen so far is remote-debugging-port but I'm not sure it works with production builds.
The way to do this without third-party code is indeed using the --remote-debugging-port flag.
Using Signal as an example, take the following steps:
start the application from the CLI
signal-desktop --remote-debugging-port
Open the debugging URL in a Google Chrome browser (in this case http://localhost:39733/), this will open a page with the app name on it .
Click the to open a screen were you can click around to use the app and see output in the devtools
Alternatively, you can open chrome://inspect/#devices in the Google Chrome browser and click "inspect" (underneath the app name) to open the same window
I am creating a web extension using javascript and I need to get the SSL certificate of the website my extension is running on.
I first did it using NodeJs module openssl-cert-tools.
It works when I do it in the NodeJs console.
Then I ran the browerify command to include NodeJs modules in the javascript. But it doesn't work in the web browser.
Does someone have the solution ?
Thanks!
I don't think you'll be able to use openssl-cert-tools, as it requires the node runtime. You might look into using a different tool-set, such as forge which might allow you to do what you're looking to do.
I have an hybrid application, it's basically a website running from the application folder inside a UIWebview.
The problem is that I was planning to update my website by downloading the whole website from internet and then replacing the old website.
Today I found that Apple now provides the App Store Review Guidelines and among others there are the following rules:
2.7 Apps that download code in any way or form will be rejected
2.8 Apps that install or launch other executable code will be rejected
Because my site has html, css and javascript, does that mean that my app will be rejected or is there any chance to be accepted?
What are your thoughts on that?
From the new text of of the application developer agreement, regarding downloading executable code:
The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework.
This includes javascript and hybrid applications, so you should be fine.
Although, taking all of this into account, why didn't you just allow your app to take advantage of the iPhone webapp stuff? You still get an icon on the home screen, and get rid of the browser chrome without having to get Apple to approve your app.