android chrome shortcut to close browser tabs - android

On android tablet using chrome there is no command to close all tabs. My mother will often have 20+tabs open and it slows/crashes chrome.
I'd like to create a shortcut, but don't know if there are any action and intents to have chrome close all tabs (I can call it with tasker for example.)
Silly, infuriating problem but I'm stumped.

#aaronmallen yes, it can. Using AutoRemote plugin for tasker all kind of actions can be programmed for automated interaction with UI (clicking, swiping, typing, scrolling etc etc)

Tap on the tabs button on the top right (the one that shows the number of open tabs). This will show you all the tabs in a stack.
Tap on the Settings button on the top right that is represented by 3 vertical dots.
You will see a few options. One of them will be Close all tabs. That option should close all your open tabs.

Related

WordPress toggle menu closes too fast on smartphone

I have a WordPress theme that switches to the toggle menu in mobile. However, when you try to use it on a phone it disappears before you can click on a link. The menu is long enough that it doesn't show unless you scroll down. Touching the screen to scroll down results in the menu closing.
If I size the browser down to mobile and use my computer's touchscreen, the menu opens and works perfectly, allowing me to scroll then choose my link. But on both an Android phone and an iPhone, it closes too quickly.
I tried using a menu plugin to bypass the theme menu, but ended up with two toggle menus in the header.
So. Can I either fix the theme's menu button (ideal solution) or find a way to bypass it without killing the rest of the navigation and use a plugin?
The site is http:/www.pmi-global.net.
Thank you.

Disable Home Button or system bar on tablet

I'm working on an existing Android application for medical purposes.
The back button and home button should be disabled.
With the existing code, the back button is disabled.
For disabling the home button they used onAttachedWindow with LayoutParams TYPE KEYGUARD,
but this security hole is fixed since 4.0.
I tried a lot of similar questions, but none worked out for me.
What is the way to get this done these days?
Also, hiding the status bar on tablet (where the home & back button live) would do the trick,
so any suggestions there are equally helpful!
Update: also, free third party apps that do the hiding trick are okay!
This sounds like a kiosk or dedicated use kinda thing, yes? You want your app to "own" the tablet and prevent other usage? I did this for an app whose sole purpose was to act as a remote control for a custom device. Basically I created two apps, a "custom launcher" app and the app that did the remote control. It's probably possible to integrate the two, but I wanted to support both dedicated and non-dedicated use. Note that I gave the launcher app a password-protected way to access settings so that I could recover the tablet at any time.
You can find a number of tutorials that will guide you through creating a custom launcher, just strip out all the stuff that makes it a generic launcher and replace it with an image button or similar that launches the actual app, or replace the launcher activity with your main app activity. Warning: I never figured out how to remove the launcher except by going into the settings.
As for hiding the system bar (notifications and status icons at the top of the screen), you'll want to use a full-screen theme like #android:style/Theme.NoTitleBar.Fullscreen.
As for hiding the home button I took this approach:
View main_layout = this.findViewById(android.R.id.content).getRootView();
main_layout.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
Unfortunately the STATUS_BAR_HIDDEN flag is deprecated now, but I think some of the other options would have the same effect. Regardless, the best you can achieve within Android's intended use is to temporarily hide the navigation buttons (home and back). A tap on the screen will bring them back.

Android how to make an activity fullscreen without home button

Some games that I play are full screen without the back and home soft buttons. You have to swipe down to get the buttons to show. How do I implement that in an activity? I figured out how to make it fullscreen, but all it does is get rid of the task & notification bar. The nav buttons were still there. I am using several different devices, so if it matters what OS version is needed, I would appreciate that information too.

Forward and backward navigation buttons for Android

I am porting an iPhone app to Android, and I can't find the Android equivalent of the UINavigationItem. These are buttons with a triangular side indicating movement between different screens. For an example of what I'm trying to accomplish, this is from the BeyondPod app:
http://mobiputing.wpengine.netdna-cdn.com/wp-content/uploads/2011/05/beyondpod.jpg
The buttons labeled "Categories" and Podcasts" are what I'd like to duplicate.
Android has a hardware back button. Forward is typically accomplished by some widget, such as a button or link, somewhere in the Activity.
I looked at the screenshot you posted again and noticed that your left and right buttons are to switch between categories and not to go to an earlier screen.(Im not sure if im right)
If that's the case using the left and right buttons are okay as they are to switch between categories and not the previous screen. But keeping a left button just to go to the previous screen isn't really necessary. Here we need to think in terms of an android user. They are hardwired to press the hardware back button to go to a previous screen. There are many examples of apps that have a bit of changes in their android and iPhone version. Eg Evernote.
It uses tabs on the iPhone but in android they sort of created a dashboard in combination with an action bar.
So main thing to consider when porting an iphone app is to make enough changes so that an android user will feel like it has a navigation they are used to. Most apps that look exactly the same as iphone apps are created with these cross mobile development tools(titanium, sencha touch).

NY Times For Android Tablets User-Interface Design

I came across NY Times for android tablet.
It introduce UI design for selecting which sections you want to read in a way similar to how you open notifications (press menu bar and swipe down to open it).
I wonder, what is it called and how do we mimic this functionality?
You can use a SlidingDrawer

Categories

Resources