How do Android Launchers start Chrome in Full Screen (WebApp) mode? - android

I've got a sticky situation. I'm developing a kiosk-style tablet application on JellyBean, and we're stuck with JellyBean.
We don't install a standard launcher on our Android tablets, and instead supply our own Home Screen/Launcher app, so that our application starts on system startup.
We were using a WebView for our GUI app. The WebView that comes with JellyBean is buggy and deficient in many ways, so our app doesn't work correctly in the WebView.
However, Chrome runs our app perfectly, so we want to switch to using Chrome, which we would launch from our own Home Screen application on startup.
We need to start it in full-screen mode, just like Launchers do when they launch any app/URL via a link that was placed on the Desktop.
I can't for the life of me find out how launchers pull this off.
I've tried adding --app="xxx", and/or --start-fullscreen to the /data/local/chrome-command-line file, but all to no avail. The additions options show up on the "chrome://version" screen in Chrome, but they have no effect.
Does anyone have any clue how they manage to launch Chrome in full-screen mode?
These tablets are all rooted tablets, completely under our own control, so no solution is out of bounds.
Thanks for any help!

Related

Auto-start chrome home-screen app (open to rooting options)

I have a Chrome Home-screen app on my Pixel-C tablet (where I have clicked 'Add to Home Screen' from Chrome Android).
Is it possible to root the Android tablet so that it automatically runs this web app in full screen mode on start-up without any user interaction being necessary? Very much like a Kiosk app, where the user should only be able to interact with the app itself (not the OS).
So far, I have tried using the Android Auto Start app, although it cannot detect Chrome Home-screen apps. My current setup is using the 'Immersive Mode' app to remove the navigation and status bar controls and then opening the kiosk style app manually.
I am open to any suggestions -- including rooting the device, which is probably necessary given the amount of control required.
You have to crate a custom launcher(Google "creating android custom launcher" for more such examples). Launcher is the home screen interface which user interacts to. In your custom launcher, you can restrict what app icons to show and what not to. You can choose this to be your only app and open it on boot and even relaunch when tried to exit.

lock android to chrome created "app"

I have created an "app/shortcut" (I don't know how else to call it) through the Chrome App on an Android tablet.
To ship this tablet to our customers, I want the tablet to be limited to only this shortcut. I don't want the entire Chrome to be opened, as I don't want to have a address bar or whatever visible; just fullscreen.
I have tried several kiosk apps and browser, but unfortunately most of them are build on Chromium, which does not support saving Passwords.
When the system is started, I want my app to be opened and don't want to give an alternative possibility.
Thanks in advance!

Android dev - launching another app in full screen

I'm developing a launcher app that starts another 3rd-party app, and want to launch that app in full screen mode i.e. no status bar and no navigation/system bar (with all the soft buttons - back, home etc.). I am launching a 3rd party app so I can't modify its code/manifest to start the activity in full screen.
I know there is a way to do it with Immersive Full-Screen Mode in Android 4.4, but I have Nexus 7 tablets with Android 4.2.1.
Also, devices cannot be rooted.
As you said: I am launching a 3rd party app so I can't modify its code/manifest to start the activity in full screen. Only the developer of the app you want to make full screen can make this happen due to the fact that apps can't overwrite other apps' code unless you have full access to all the code for both apps.

Android Web Application - application is displaying above keyboard

I am running my web application built in using HTML5 on the android browser.
I have one search box on my home screen.
Whenever I tap inside the search input box the virtual keyboard appears and the application is shrinks and resizing with whatever available place above the keyboard.
This behavior I have seen on samsung galaxy tab (3.1), samsung galaxy note (2.3.6) and samsung S3(4.0)
But, if I run the same web application on the HTC desire(2.3.5) or even HTC evo 3D, the keyboard appears above the app and the application does not shrinks.
I am looking if there are any setting for web browser on android.
I know there are manifest file settings like resize pan and other for android hybrid as well as native application but I want to know if there are any settings for normal web application running on android browsers.
Try
android:windowSoftInputMode="adjustResize"
in your manifest file.
You might need to use android:windowSoftInputMode="adjustResize|adjustPan".
Place this code in the activity under application , where u want such setting

Android: launching flash app as a screensaver

i am new to android development and had question regarding custom screen saver.
The requirement is for a tablet which will always be plugged in so battery life wouldn't be
an issue. The required app should behave as a screensaver in that during inactivity, the tablet should launch this app which contains a flash file that displays a series of images and video. When activity is resumed then the tablet takes the user back to the program they were using.
Can this be done via an app without requiring any hacks?
cheers,
abhi
There is no concept of a "screensaver" in Android.
There is the lock screen, which can be modified via custom firmware, though AFAIK it is implemented in Java as part of the OS and therefore could not be replaced via a Flash APK.

Categories

Resources