D
D
doloh2012-06-15 09:36:27
Android
doloh, 2012-06-15 09:36:27

Catalog of goods in the store - on a tablet under Android? How to limit tablet usage to 1 site in browser?

Guys, hello.

There is a task on a tablet under Android to make a catalog of goods in the store.

1. Only one browser page should be open on the screen (1 domain with a php-catalogue of goods).
2. The client cannot do anything on the tablet other than being in a browser with this directory.
3. After 5 minutes of inactivity, the tablet will load the catalog index page (optional).

Questions for you:
1. How can this be implemented? the most important question
2. Which tablet model is better to choose for such purposes?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
Maxim Shishkin, 2012-06-15
@lsoul

habrahabr.ru/qa/19020/ read the answers to a similar question, something may come in handy.

S
SabMakc, 2012-06-15
@SabMakc

As an option, make your application with 1 WebView component, from which you can already manage what and how it works.
If you completely refuse links to external resources, do a timer on the page to go to the main page, then, in fact, you may not need anything else (except for the prohibition of hardware buttons, but they have already been mentioned).

T
TheMengzor, 2012-06-15
@TheMengzor

Once a minute, set a cookie with a timestamp with a Javascript, while checking its existence and the timestamp. If the difference between now() and cookie <> 60 close the tab. When you open the page, do the check too.

A
Alexander, 2012-06-15
@IamCPA3Y

There is no Android at hand, but there is a bare idea. If the /etc/hosts and /etc/resolv.conf files remain in it from Linux, then by changing them as follows, you can achieve your desire. where sitename is the name of the desired site, 8.8.8.8 is its ip address . Thus, the client will not have access to sites by name (but will be able to access by ip address), except for what is registered in hosts.
===cat /etc/resolv.conf===
nameserver 127.0.0.1
==========================
===cat /etc/resolv.conf===
8.8.8.8 sitename
==========================

Y
Yozch, 2014-03-17
@Yozch

MyBusinessCatalog allows you to create a product catalog on Android. Here's how to make a price list in excel catalog on Androide, no programming required - en.mybusinesscatalog.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question