[Q] Temporarily Override App Defaults? - General Questions and Answers

What I'd like to be able to do is set a default app for an action (e.g. opening an HTML link) but *also* have the option to use a different app on the fly. A long/short press setup where the long press provides a list of apps (as the OS does when no default is set) seems like a very natural way to do this. I'm running an essentially stock 2.3.4 on a rooted DInc 2. Any suggestions for a way to accomplish this?

technovore said:
What I'd like to be able to do is set a default app for an action (e.g. opening an HTML link) but *also* have the option to use a different app on the fly. A long/short press setup where the long press provides a list of apps (as the OS does when no default is set) seems like a very natural way to do this. I'm running an essentially stock 2.3.4 on a rooted DInc 2. Any suggestions for a way to accomplish this?
Click to expand...
Click to collapse
it is possible but there is no software to do it.
editing android-system would do
change long press action.

Related

[Q] Multiple Keyboard preferences

I don't know if this thread belongs here, as I am a newbie and could be in the wrong place, but I'm going to start it here and please move it to the appropriate place if this is not correct.
I have an htc evo4g and use shapewriter as my keyboard for email and text. When browsing the web I'd rather use the built in sense keyboard. Is there any way to have it automatically use the stock keyboard for the browser but the shapewriter keyboard for everything else?
This is the type of thing you can do with Tasker. Check it out, it is an awesome app.
How would you run that through tasker I have been trying to do that but am at a loss
Sent from my EVO running cm6 powered by snap
Tasker only allows you to show the input method menu, it cannot chose it for you.
But to do it I'd do something like...
New -> Application -> Browser
+ button -> Dialog -> InputMethod Settings
Tap right box of new profile -> Add Exit Task
+ button -> Dialog -> InputMethod Settings
With this it will ask you what you desired input method is when you open the browser (chose stock) and when you close it (chose shapewriter). It is less than ideal, but it'll get the job done.
There is an app on here (xda) that is similar to what you want. That app will auto select your desired input based on your phone being portrait or landscape.
rmoney said:
There is an app on here (xda) that is similar to what you want. That app will auto select your desired input based on your phone being portrait or landscape.
Click to expand...
Click to collapse
I've been looking for an app to do that, searched a few times but no luck - any chance you can point me to the app? I've got a Captivate and would like to use SWYPE for portrait and the Samsung or stock Android for landscape.
Thanks in advance.
sjroberts98 said:
I've been looking for an app to do that, searched a few times but no luck - any chance you can point me to the app? I've got a Captivate and would like to use SWYPE for portrait and the Samsung or stock Android for landscape.
Thanks in advance.
Click to expand...
Click to collapse
Its not perfect, but it works well enough. Hopefully someone will continue to develop it.
http://forum.xda-developers.com/showpost.php?p=8148657&postcount=33

[Q] Single-app Android ROM?

Sorry if it has been asked before, but is it possible to automatically start an app at the startup? Effectively, I am looking to create a single app custom build for a project, so need to be able to start the app on power up.
Also, would like to remove as many as possible of standard modules to decrease the start up time (my app doesn't need much).
Any pointers would be appreciated.
If you want to hide normal, Android screen, then create your app as launcher and remove default one.
Brut.all said:
If you want to hide normal, Android screen, then create your app as launcher and remove default one.
Click to expand...
Click to collapse
Thanks, so any app can be setup as a launcher? Does it require implementing some interfaces or tweaking some config files? Any source code examples? Is there any difference in implementing it for different Android versions?
Any advice is really appreciated!
I do not know what rights it would need exactly, but setting your application to run as a Launcher (Home) you would probably need to declare that in the manifest. Once it is running on the phone, you clear Launcher or Home defaults and then you hit the home button when on the home screen. From there (if declared correctly) you can set it as the default home.
Again, i have never done it and this is from Android coding and usage experience only helping me have an educated (?) guess.
Unconnected.
Thanks for the advice.
I managed to setup my app as the "Home" app, however, when I reboot the phone, first thing I see is the "Screen locked" screen... Anyway, to get rid of it?
If you want to start something at boot, you have to create a broadcast receiver and capture the "android.intent.action.BOOT_COMPLETED" intent. You can then run whatever you need to when the intent is fired.
maniacx21 said:
If you want to start something at boot, you have to create a broadcast receiver and capture the "android.intent.action.BOOT_COMPLETED" intent. You can then run whatever you need to when the intent is fired.
Click to expand...
Click to collapse
Thanks, tried that - the same problem, the Screen Locked screen comes up first on startup. If I unlock then yes, my app has started and in foreground.
So no way to get my app loaded _before_ the Locked screen?
Err, you could make your app a screen unlock app...
(look at the source of the unlock app at AOSP)
The_Double said:
Err, you could make your app a screen unlock app...
(look at the source of the unlock app at AOSP)
Click to expand...
Click to collapse
Thanks, I'm already calling .disableKeyguard() in onReceive() for the BOOT_COMPLETED.
However, the problem is that the device displays the Locked screen BEFORE my app gets BOOT_COMPLETED - so the app can unlock and start fine, but my goal was to go directly from the boot logo into my application without seeing any Android stuff...
Anyway to get this effect without having to have a own custom ROM?
No SDK method, as far as I know, of doing what you want. Might have to look into custom ROMs.
OK, so seems like a Custom ROM is a must.
Now, it looks like Huawei's devices (u8110/Pulse Mini and u8120/v845) could be a good base for that with the source available and custom ROMs already in existence.
So the idea is to package the single App that will be starting on BOOT_COMPLETED taking over the screen and buttons.
So the ROM needs to be modified to:
1) remove all unnecessary apps and libraries
2) customise bootlogo and bootanimation
3) on startup the ROM should go straight from bootanimation into the App (so, no display of the home screen at all)
4) on press&hold Power down - go straight into shutdown without extra confirmation dialogs
Can someone point out if 3) is possible/easy and any references to the Android source code for the bootup & power down would be great?

[Q] "Complete action using..." not working for Gmail

I was reading about the various shortcut keys to quickly open specific apps, from the keyboard. Search+E will open up email. When I hit these keys, it asks which app I want to use: Gmail or Email, and to use it Always or Just Once.
I select Gmail, hit Always, but this selection is not remembered. The next time I use the shortcut key, I get the same dialogue box and question.
I'm on Stock JB 4.1.1, not rooted, no ROM's. Default Keyboard is Asus, but I noticed the same problem using the Android Keyboard before they fixed the 'backspace' issue.
Not a big deal, but it would be nice if this worked. FWIW, choosing a default app seems to have worked for other apps in different contexts, so it doesn't seem to be a system-wide problem.
Any insight appreciated.
Thanks.
DLCPhoto said:
I was reading about the various shortcut keys to quickly open specific apps, from the keyboard. Search+E will open up email. When I hit these keys, it asks which app I want to use: Gmail or Email, and to use it Always or Just Once.
I select Gmail, hit Always, but this selection is not remembered. The next time I use the shortcut key, I get the same dialogue box and question.
I'm on Stock JB 4.1.1, not rooted, no ROM's. Default Keyboard is Asus, but I noticed the same problem using the Android Keyboard before they fixed the 'backspace' issue.
Not a big deal, but it would be nice if this worked. FWIW, choosing a default app seems to have worked for other apps in different contexts, so it doesn't seem to be a system-wide problem.
Any insight appreciated.
Thanks.
Click to expand...
Click to collapse
Bump - any ideas on how to fix this?
Thanks.
DLCPhoto said:
Bump - any ideas on how to fix this?
Thanks.
Click to expand...
Click to collapse
Having the same issue - GMail can't be selected as a default app for email. Tried App Picker - didn't help either. I'm on CM10 with BT keyboard, surprised no one is complaining about this in the pershoot thread.

[Q] how to launch apps with hardware keys on android

I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Solution
CellularNinja said:
I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Click to expand...
Click to collapse
Hi,
I am also one of those people who wants to have no icons on homescreen )
Try this solution:
- install External Keyboard Helper https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelperdemo
- in advanced settings, set application shortcut (A0) to the specific app (Quad Drawer)
- in advanced settings, remap your key to 0x2410 (= aplication registered under A0)
- HOME button is a special key, it is difficult (probably impossible) to remap it using External Keyboard Helper. If you really want to remap it completely, you need to edit keylayouts in /system/usr/keylayout Editing keylayouts, you can change the behaviour of the HOME button to something else, for example CALL Then you can remap this new CALL button to 0x2410 using External Keyboard Helper.
see also
http://www.apedroid.com/android-applications/external-keyboard-helper/faq
Enjoy
CellularNinja said:
I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Click to expand...
Click to collapse
is there a way to do so without making custom image
just look for apps like Tasker, MacroDroid, Automate, ...
edit: btw you can select the default launcher from Settings - Apps - Configure apps - Home App
Tasker would be a good option...
galaxys said:
Tasker would be a good option...
Click to expand...
Click to collapse
is there any other method to do so??
in shell script you can watch the keys in a loop (toolbox getevent -il) and perform an action on event (am start -n <pkgname>)

app renaming

I have one app with a stoopit name that doesn't mean anything related to its' function.
It won't take to conventional rename/edit name.
It won't take to quick shortcut.
Any other ways or ideas to change it.?
It's a rooted HTC u11 with LSPosed installed running stock AOS9.
Try QuickShortcutMaker what is a simple and reliable program for quickly creating shortcuts on the home screen of your Android mobile device . In a few steps you will change not only the name of your applications on the screen, but also their icon – this is an ideal solution if you need to make some changes to your phone so that it does not look the same.
Link:
QuickShortcutMaker – Apps on Google Play
Create shortcuts quickly and launch your favorite actions quickly.
play.google.com
thanks. tried it. I want to change the name in the app drawer as this app is never on my home screen.
Would you like to contact the developer of the app for help about your issue?
sure. I'll give that a go. But I suspect it's an app issue of the one I want to change, coz most of the other apps I can edit the name within the AOS, in the drawer or not.

Categories

Resources