Frequently asked questions

Archive filtered by Web Server runtime

To remove filter keyword, click on it's name above.

GENERALQ: What is the Web Server Runtime?

A: The Web Server runtime is the locally running SQL database you can use to run your offline application with the well known technologies like HTML, JavaScript and PHP. This shows you that the Smart STB can be the "Client" or the "Server" in a mashup of services.

 

M30Q: How do I install an application locally?

A: How to install an application locally is explained in "Step 4 - Your technical evaluation"

Filter: M30 runtime

M30Q: How much storage do I have on the M30/M35 device for local apps?

A: There are approximately 400MB available on the box's local storage for local apps. However, we recommend to keep the storage capacity of the file system at a maximum of 70% to make sure the performance does not get influences negatively.

Filter: M30 Smart STB

M30Q: How do I setup my local development environment?

A: You can find detailed information on how to set up your development environment in "Step by Step: Step 3 - Developer desk".

Filter: IDE M30 runtime Smart SDK Web Browser runtime Web Technology

M30Q: How do I install an application locally?

A: How to install an application locally is explained in "Step 4 - Your technical evaluation" of our Step by Step introduction.

Filter: M30 runtime

M30Q: What is the Developer App and how does it work?

A: The developer app is your central tool to run your service(s) on the Smart STB. It is essential to your development on the Smart STB and is pre-installed on it's dashboard.

developer-tiles-developer-1

You can find detailed information how to run your services in "Step by Step". "Step 4 - Your technical evalution" holds all the information you need.

Filter: M30 Smart STB Web Browser runtime

M30Q: How do I store something locally using a database?

A: We suggest to use a database called with the PHP API for read / write actions to avoid system damage. Especially the risk of damaging the flash memory will be decreased by that approach. For the the control of the maximum sizing, the application is responsible itself, so without a careful handling of (especially writing) persistence data, an application can run the system in a deadlock situation as it could be possible with a "regular PC".

Regarding the interaction with the browser, it is necessary to read / write the data in the following way:

a. php with database as "server" - locally running with localhost.

b. Ajax calls against the localhost, so the application in the browser has a fully supported persistent layer on the box.

Local Storage Example...

Filter: ABOX42 Showcases M30 Storage

M30Q: How do I create an index page?

Build your own index page: If you have multiple apps or you want to access multiple URLs, you can set up a simple index page linking to those apps or URLs. Find detailed instructions on our Step by Step page. Click on the tab labeled "Step 4: Your technical evaluation" and scroll down to "Create your own index page".

Filter: ABOX42 Showcases M30 Web Browser runtime

M30Q: How can I store data on the box?

A: There are several possibilities:

Cookies are best when you want to store litte data (e.g. session keys).

Storage via HTML5 LocalStorage is also available.

- Storage via local SQLite database is another possibility you should look at.

Filter: ABOX42 Showcases HTML5 M30 Storage Web Browser runtime

M30Q: How can I run multiple applications of any kind at the same time?

A: The easiest way to run multiple applications of any kind at the same time is to create an index file. Find detailed instructions on our Step by Step page. Click on the tab labeled "Step 4: Your technical evaluation" and scroll down to "Run applications on the Smart STB".

Filter: M30 Web Browser runtime

M30Q: Can I launch the Updater application from within the IDE?

A: Yes, you can launch the Updater application on your Smart STB from within the IDE. Please visit this page to do so. Remember to set your box's IP address correctly in the IDE.

Filter: ABOX42 Showcases M30

M30Q: Where can I get detailed information on the PHP specifications of the platform?

A: The easiest way to get the most detailed information is to do as follows:

- Download this info.php file
- Get the IP address of your Smart STB and connect via an FTP client
- Transfer the file via FTP to the developer folder on the box
- Call the file in your computer browser
- For example: "http://192.168.121.34/developer/info.php"
- You will see a page that holds all necessary information regarding PHP

Filter: ABOX42 Platforms M30

M30Q: Is there a possibility to upload files to the box via the IDE?

A: Yes, there is a possibility to do so - please find it here: My Own Application - Web Server runtime

Please read the instructions carefully. We will extend the range of functionalities provided step by step.

Filter: M30 Smart SDK Smart Solutions

M30Q: How can I create my own Speed Check application?

A: On every developer unit you will find the ABOX42 Speed Check. In case you are looking for your own, branded speed check, take a look at what we have to offer on our Smart Solutions - Web Server Runtime page. Choose "My Own Speed Check" and download the zip file provided there. Upload it to your Smart STB and test it right away. With some adjustments you can easily brand this application according to your product/corporate identity.

In addition, there is a complete description of the speed check app's code in Chapter XXV - Speed Check. You can either run this application locally or in the cloud.

Filter: ABOX42 Showcases common class API HTML/CSS JS-API M30 Smart Solutions

M30Q: How does the Network error page application work?

When redirecting to a different page, there is the possibility that a 404 error occurs. In Chapter XXVII we show you how the application works which handles such use cases.

Filter: ABOX42 Showcases M30 Web Development

M30Q: How can I update my local application without needing a new firmware?

A: When running a local application on the Smart STB, you always face the challenge of how to provide updates. Normally, to update the local application, you need a new firmware. But since we all know how much effort that means, we should look into alternative methods. Chapter XXIV - App Installer shows you how create an application that takes care of the updates for your local application.

Filter: M30

M30Q: How do I check if installing a new version really works in the App Installer?

A: In Chapter XXIV - App Installer, Part 5 you will find an instruction that shows you how to check whether installing a new version actually works by comparing the files that got installed with the existing ones.

Filter: ABOX42 Showcases JS-API M30 Web Browser runtime

M30Q: What are the 2 different update modes in the App Installer?

A: In Chapter XXIV - App Installer, Part 6 you can learn about the two different update modes of the App Installer application. This part concludes Chapter XXIV - App Installer.

Filter: ABOX42 Showcases JS-API M30 Web Browser runtime

M30Q: How does the Digital Signage App in chapter XL work?

A: We provide more information, including a complete documentation, in the Developer IDE. In Chapter XL - Digital Signage 2, Part 1 we give a detailed insight on how the application works.

Filter: ABOX42 Showcases Digital Signage M30 Web Browser runtime

M30Q: How does the downloader of the Digital Signage app work?

A: In order to have some content to play out, you will have to make the application download it from a server. How you accomplish that is explained in Part 2 of Chapter XL - Digital Signage 2 in the Developer IDE.

Filter: ABOX42 Showcases Digital Signage M30 Web Browser runtime

M30How does the viewer of the Digital Signage app work?

A: Once the content got downloaded to your external storage device, you have to enable the application to actually play the content. Part 3 of Chapter XL will show you how to do that. Make sure to check it in the Developer IDE.

Filter: ABOX42 Showcases Digital Signage M30 Web Browser runtime

M30Q: How does the storage tool of the Digital Signage app work?

A: The Digital Signage application in Chapter XL uses a storage tool. What it is and what is does is explained in Part 4 of the chapter. You can find this information in the Developer IDE.

Filter: ABOX42 Showcases Digital Signage M30 Web Browser runtime

M30Q: What is the configuration file of the Digital Signage app good for?

A: The digital signage application in Chapter XL needs a configuration file which sort of represents the settings of this application. To see what the file contains and how you can modify it, take a look at Part 5.

Filter: ABOX42 Showcases Digital Signage M30 Web Browser runtime