Note: I apologize for putting this here and not in Development section but due to my post count I cannot put it there.
Hello guys,
I have not found this on Internet and thought that maybe someone here can give me a hand. I need to change programmatically the setting called "Hide the status bar" located in Accesibility inside the Android's Settings app on Android Marshmallow (6.0). Next you can see it:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have searched in Android's source code, specifically in the android.provider.Settings class but have found nothing regarding it. I have also searched android.googlesource.com site via Google for the text "Hide the status bar" to see if maybe it was on some Strings file and see where it could be used.
Does someone know how to change this programmatically?
EDIT:
I cannot use the following solution in my kiosk app:
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
That, because the core app is not an Adobe AIR app, therefore you do not have access to the onCreate method of it's activity. I would have to add ANR which is much more work in comparison to changing programatically the mentioned parameter.
Related
Hi,
Is there a way to have the icons in the Start menu lined-up horizontally and vertically? Now, by default, they are arranged hexagonally
i would also like to know about this
Yep:
http://forum.xda-developers.com/showthread.php?t=587631
Maybe I didn't make myself clear
What I mean is shown below:
Currently Start menu looks like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
, but I would like to have something like
This would be preferable.
OK, I'v found something. A small configurable application called XTask, download link here.
Btw, if you don't know where to start, just click on the taskbar and drag the line down. The XTask Settings allow you to configure its internal menu and also replace the Start Menu entirely with its own diagonal icon layout. It arranges icons by same strange order, probably like the original Start Menu, but maybe I'll find how to change that.
Alternatively in its settings set it so its file manager starts when clicking the Start Menu icon and browse to Windows\Start Menu\Programs directory. It is normally alphabetically sorted and you can arrange shortcuts to various subfolders. It can be even more easily done with Total Commander or from PC.
And for phone settings click on Control.
Hi buddies
Check the pictures below. If you want to try Jolla OS experience on your device, you are at the right place
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1) Install JollaLauncher.apk from below. (This is edited for 4.2 devices)
http://goo.gl/nSI7Hl
Do not turn on accessibility for Jolla Launcher
2) Enable expanded desktop from gravity box (Means no status bar no navigation bar) Turn it on.
3) Install Heads-up notifications from below (Free App)
https://play.google.com/store/apps/details?id=codes.simen.l50notifications
4) Open app
Enable heads-up and
Go to accessibility turn on accessibility for Heads-up notifications
5) Go to settings/security and disable lock screen
That's all :good:
Restart your phone
Enjoy it
Thanks riyono for editing Jolla.apk
Notes
Screenshots are captured on Xperia C
I also use full!screen app for anyone interested
https://play.google.com/store/apps/details?id=de.tsorn.FullScreen&hl=tr
Could you please help me? I enabled it but it's still like this. I don't know why. It didn't hide the navi bar.
Hello Guys,
Allow me please to share with you a tool I created to notify the user of the internet status change, via notification ( with speech )
The app name is MISS. My Internet StatuS. And it is a simple process that notifies you when you cannot connect to the Internet using a notification with a custom A.I. Speech. The notification can be customized sound/vibration & also you can customize the performance of the process.
I always wanted this simple functionality but I never found it natively in any ROM that I know, and the apps on the market uses HTTP or DNS request which fails some times due to caching. MISS using a low level Linux (since it is android : ) ) ping request that never gives a false negative or positive 99.9% of the times.
Check it out and let me know what you think:
Google Play (App is available in English, French and Arabic):
http://play.google.com/store/apps/details?id=com.epollomes.myinternetstatus
Youtube Tutorial + Live DEMO @1:55
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope you like it and find it useful
Thank you
Elie
Here's a daydream that old school hackers out there might recognize if you've ever used CDE on Unix or VMS. This is an Android port of Jeff Butterworth's xswarm. This was mostly done as a learning project and I still have a few questions resulting from it. Though for now it's done, working, and I think I've added enough options. I'll take bug reports and pull requests but don't expect too much in the way of additional features.
Anyway, here's some shots.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--- Non-devs can skip the following questions. ---
Is there a color picker library that uses fragments and also allows hex entry? lomza/android-color-picker looks like one of the better ones, though I'd really prefer something with text input for exact values as well.
I'm also trying to come up with a way to programmatically pull in resources so I don't have to do ugly enumeration such as this (see TODO sections). The EditTextPreference dialogs do bounds checking before updating the summary field, but one thing that throws a wrench (or IllegalStateException) into things is that EditTextCheckBounds isn't attached to the Activity so you can't call getResources() within that function without jumping through a lot of hoops.
Source: https://github.com/coax75ohm/droidSwarm
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The SystemUI of Android is always evolving. But the most important restriction is that Apps can't add new features to the SystemUI. The biggest changes you can do, are customizing the quick settings. You can't do much more. But it looks like Google is allowing developers to add new features to the SystemUI using Apps.
The app info screen is where you go to see permissions, notification status, data storage, and some more. A few levels deeper in the SystemUI, you can go to the settings using the recents menu. Now developers can add the settings of their app to the App info in Android Settings. It will show up as a small gear icon that, when pressed, will open the app's settings.
Developers can add this features by adding this line to the source code:
Code:
[/FONT][FONT=Lucida Sans Unicode]android.intent.action. APPLICATION _PREFERENCES
This can see this in the Android N developer preview documentation too.
Source: AndroidDevelopers (Google)