[Q] BetterCut and swipe gestures in Launcher Pro - Android Software/Hacking General [Developers Only]

Hey, I am looking for a little help here.
In the newest version of LauncherPro (7.3.0) it is possible to assign shortcuts to swipe gestures on the dock icons.
I would like to use swipe gestures for connecting with custom shortcuts made in BetterCut. E.g. swiping message icon would open up a new message (no specific contact); swiping Gmail => New mail; swiping Calendar => New Event; swiping Contacts => New Contact. You probably get the picture now, and I think this would really be useful.
I have the code ready for BetterCut to at least make new messages and new events. If anyone has the code needed for making a new event I would appreciate it as well.
New email:
Code:
AnyCut > Make your own
Action = android.intent.action.SENDTO
Data = mailto:
type: <empty>
New message:
Code:
AnyCut -> Make your own
Action: android.intent.action.SENDTO
Data: sms:
type: <empty>
New contact:
Code:
action: android.intent.action.INSERT
data: content://contacts/people
type: <empty>
The problem is that when trying to assign these shortcuts to swipe gestures BetterCut prompts the messages: "Shortcut X created" [...] "No more room on this homescreen" and the shortcut is placed on the homescreen itself intead being assigned to the swipe gesture. When swiping the icon it simply opens up BetterCut instead of the newly made shortcut. This probably has as much if not more to do with the way BetterCut is behaving as it does with LauncherPro, so what I am looking for is actually a way around this to be able to add custom made shortcuts in BetterCut to the swipe gestures in the dock. I tried working my way around it by using FolderOrganizer and creating a shortcut here instead of in the dock. However, the same thing happens: The shortcut will be placed on the homescreen instead of in FolderOrganizer.
Any help is appreciated.

No luck getting any help here, but for future reference I will post my solution here.
First of all, Launcher Pro 0.7.4 just came out, and it makes it possible to add activities as both regular and dock shortcuts. There you will find most of the shortcuts I was looking in the original post.
Till this came out I used another solution, which is more flexible but also more complicated; Android Scripting Environment. Here are two code examples in python for adding a new contact and composing a new text message:
New contact in ASE, python:
Code:
import android
droid = android.Android()
droid.startActivity('android.intent.action.INSERT', 'content://contacts/people')
droid.makeToast('Add new contact')
droid.exit()
New message in ASE, python:
Code:
import android
droid = android.Android()
droid.startActivity('android.intent.action.SENDTO', 'sms:')
droid.makeToast('New message')
droid.exit()

Related

[Q] Folder Organizer app not making folders

*FYI, I have searched and read other questions regarding this subject in the forums and none have addressed this specific problem:
I want to use Folder Organizer (X10 mini) to clean up my android desktop and put the icons into folders, but even after checking the forums for this app, for example in android forums dot com it says:
"you can tag applications with labels in Folderorganiser, which adds them to the 'Folder'. Finally, all you need to do is long press on the home screen, tap shortcuts, choose Folderorganizer Label, and add it. Viola, a folder with a custom icon."
But these directions do not work because when I follow them, (I have already created labels for all of my apps) I long press on the home screen, which does not bring me to shortcuts but instead brings me to 6 apps on my phone including Folder Organizer, so I tap that, and then shortcuts, and it does not give me an option to create a shortcut on my desktop, it only gives me an option to create a shortcut for individual apps, which do not even show up on my desktop.
Please help, how do I create an icon/folder that holds all similar apps on my desktop, eliminating the original messy icons, so that I don't have to scroll through 50 unorganized apps? It would be nice to only have 4 categories/folders or so on my phone desktop
Thank you!
Cheri
" long press on the home screen, which does not bring me to shortcuts but instead brings me to 6 apps on my phone including Folder Organizer"
sounds like your long pressing the home button to me. try long pressing a blank area on your screen itself buddy

Noob guide to Android

Android can do a lot for you-but you have to know where to begin. Compared to the iPhone's cut-and-dried interface, the Android operating system gives you ample room for customization and control. Here's a step-by-step guide to making the most of your Android phone's many features.
The Desktop
The first thing you'll notice about Android is that its desktop differs somewhat from those on other smartphone platforms. You have a lot of freedom to customize the Android desktop-and you aren't limited to four simple rows of perfectly aligned square icons. As a result, you can customize the Android desktop to reflect your interests, and you can make it as full and dynamic as you like.
The Android desktop is composed of multiple homescreen panels. Depending on the version of Android that your phone uses and on whether your device has a specialized overlay such as MotoBlur, you may have five to seven home-screen panels.
When you power up your phone for the first time, you'll see the main homescreen panel. This panel is typically centered, and you can access additional panels on either side of the main one by swiping your finger left or right. What goes on the homescreens is up to you. You can fill the space with any combination of shortcuts, widgets, and folders.
As you'd expect, short-cuts are small icons that let you load apps or other functions on your phone; they function much like the ones you see on a PC desktop. You can set a shortcut to do anything from opening a program to linking to a specific Web page to initiating a phone call.
To add a shortcut, simply press and hold your finger on any open space on your home screen, and select Shortcuts from the resulting pop-up menu. From there, select Applications (to add an app), or Direct dial or Direct message (to create a shortcut for calling or texting a friend), or Bookmark (to open a Web page), or Directions (to activate turn-by-turn navigation to a specific destination).
Widgets are dynamic programs that operate directly on your homescreen. They can perform any number of functions-giving you the latest weather, for example, or letting you play music from either your personal collection or from the Internet. Should you want more, you can download additional widgets from the Android Market.
To add a widget, press and hold your finger on an open space, as you would to create a shortcut (above). This time, though, select the Widgets option from the pop-up menu. Even if you haven't downloaded anything from the Android Market, you should have a handful of options built into your phone. Start by adding the Power Control widget; it creates a handy dandy one-touch toggle control for you phone's Wi-Fi, Bluetooth, GPS, data syncing, and screen brightness.
Folders are a good way to keep your content organized while simultaneously expanding your homescreen space. A folder lets you group multiple shortcuts in a single space. When you tap on a folder, a box pops up showing all of the shortcut icons inside that folder. You can fill one folder with one-touch dialing shortcuts to all of your favorite contacts, and another, perhaps, with various phone-number lookup utilities. Folders help you add many useful things to your homescreens without eating up a lot of space.
To add one, press and hold your finger on an open space. Select Folders, and then New Folders. Then drag and drop as many shortcuts into the folder as you wish. To give it a custom name, tap the folder once to open it, and then hold your finger along the top bar until the Rename folder dialog box appears on your screen. To move any shortcut, widget, or folder, simply touch and hold your finger to it. After a couple of seconds, it will seem to lift up from the screen. You can then drag it anywhere, including to another panel and drop it wherever you like. As you drag and drop, you'll also see a trash symbol at the bottom-center of the screen; slide any icon down onto the trash symbol to remove it from the homescreen altogether.
Getting Around
Android phones have four standard keys: a Back button, a Menu button, a Home button, and a Search button. These keys will help you navigate through your phone more easily, no matter what program or process you're running.
Pressing the Back key takes you back one step to whatever you were doing prior to the beginning of your current step. It works in Web navigation, e-mail navigation, or navigation to a previously open program.
Pressing the Menu key brings up a list of options relevant to the area of the phone you're currently using. When you press it on the homescreen, it permits you to access your phone's settings and other customization options.
The Home key has two functions: If you press it once, it takes you back to your home screen. If you press and hold it, it allows you to multitask and switch to other programs you've recently used.
Pressing the Search key produces different results depending on where you are in Android at the time. From your home screen, it brings up a Quick Search Box that you can use to search the Web and your phone at the same time (Android will return the most relevant results from either domain as you type). From within an app, the Search key typically starts a search specific to that program-enabling you to search exclusively within your e-mail, for example, or within your contacts list.
The App Launcher
You can always find all of your apps in the app launcher. To open the launcher, simply tap the square icon at the bottom of the screen. The launcher looks different depending on what version of Android you have, and whether or not your phone has a custom overlay.
Within the app launcher, you can tap any app's icon to run the program, or press and hold it to drag it directly onto the home screen as a shortcut.
Notifications
Android's notification panel puts incoming information at your fingertips, no matter what you're doing. Notifications can come from many different places: e-mail, voicemail, text messaging, even social network and news applications. When you get a new notification, an icon will appear at the top-left of your screen. You can pull down the panel to see detailed information about the notification and then take action if you wish.
Check the settings of various applications to see what kind of notifications they offer, and then customize them to work for you.

Nova Launcher Update: Fun with Swipe Actions on Icons!

A recent update to Nova Launcher added a new feature for Nova Launcher Prime users - swipe actions on Icons. What this means is that you can set any icon to perform a different behavior if you swipe up on it.
To configure an Icon:
Long Press on the Icon
Select "Edit"
Change the "Swipe Action" to whatever you want it to be (another app, an Activity, etc.)
For example, I just modified my dock in the following way:
Tapping the "Foursquare" icon in the dock opens Foursquare normally. Swiping up on the icon automatically takes me to the Check In activity
Tapping the "Dolphin Browser" icon in the dock opens Dolphin Browser. Swiping up on the icon opens Chrome.
Tapping the "Maps" icon in the dock opens Maps. Swiping up on the icon opens Navigation
I made a quick video to illustrate:
http://www.youtube.com/watch?v=ifshfRetOsU
Those are just some ideas I had right out of the gate. Please feel free to share your own!
PS -
I also love Nova's new "Alphabetical List"-style app drawer. Good stuff!
loving this feature. i use it to swipe up on my xscope browser to open up floating browser
Great idea for the swipe. How to configure the size of the icon btw?
Aw man... this means I have to change all my Simple Text widgets into App shortcuts to use the new swipe feature. oh well...
Excellent feature, I love Nova Launcher. Question though are all apps available to link to, I would like to assign a swipe gesture to create a new text message but cannot see the Option, any ideas?
mikeparkie said:
Excellent feature, I love Nova Launcher. Question though are all apps available to link to, I would like to assign a swipe gesture to create a new text message but cannot see the Option, any ideas?
Click to expand...
Click to collapse
the closest thing you can do is set a swipe gesture to open the messaging app or set it to a direct message to someone in particular.
Use Nova Activities
mikeparkie said:
Excellent feature, I love Nova Launcher. Question though are all apps available to link to, I would like to assign a swipe gesture to create a new text message but cannot see the Option, any ideas?
Click to expand...
Click to collapse
When selecting a swipe action, choose the 'Shortcuts' tab, then under 'Activities' (which is at the top of the list with a Nova icon), then tap on Messaging to expand it and you should find an activity called 'Messaging ui.ConversationComposer' - this allows you to assign a swipe gesture to create a new text message.
There seems to be hundreds of activities under all of my various applications within this menu and I don't understand most of them. I would love to hear anybody else's experiences with these swipe gestures/activities..
Hi this is my first post i already love this forum
And the Nova launcher was a great idea
Also I love the feature that you can choose to tap to open an app and swipe to open the folder. I use for the various cam apps folder, and when tapped it's just sense camera, awesome
Sent from my HTC One X
They scored this from the Motorola Atrix HD. Glad I can now put this feature on my One X as well
Silellak said:
For example, I just modified my dock in the following way:
Tapping the "Foursquare" icon in the dock opens Foursquare normally. Swiping up on the icon automatically takes me to the Check In activity
Click to expand...
Click to collapse
How were you able to get it to the check in activity?
tehcypress said:
How were you able to get it to the check in activity?
Click to expand...
Click to collapse
Shortcuts -> Activities -> Foursquare -> CheckinActivityAlt
Thanks. I completely missed the activities option
Sent from my LG-E970 using xda app-developers app
I've been loving this. here are mine
App > Swipe app
G+ > g messenger
Facebook > FB Messenger
Foursquare > FS Check in
Reddit > Chant
Twitter > Twitter search
Dragon > soundhound
Phone > contacts
Messaging > snapchat
camera > gallery
Gmail > compose
Browser > downloads
Music player > Music downloader
these are all in my dock and usually i do something with my fantasy hockey app swiping to pull up another fantasy app or soemthing
This is awesome! The are so many similar apps and actions that you'd launch differently..this makes so much sense like
Camera - Quickpic
Gmail - Talk
Maps - Nav
Fb - fb messenger (already mentioned)
Walkman - songza
Etc.
Thanks for the heads up!
This post was created and transmitted completely in analog.
gr8! i was exactly looking for this! thx.
is there a list of actions existing? would love to have a direct redial of last number via swiping the phone button...
How did you do it?
How do you make a shortcut open a folder on swipe?
marsyeti said:
Also I love the feature that you can choose to tap to open an app and swipe to open the folder. I use for the various cam apps folder, and when tapped it's just sense camera, awesome
Sent from my HTC One X
Click to expand...
Click to collapse
That "direct messaging" option seems to have been removed. I have NL Prime and tried to have that option again but it's not even available. Just Direct Call.
What version are you using if you still have it?

[Q] App that creates Android shortcuts to keyboard shortcuts?

Hi Guys,
Can anyone tell me of an Android app that can create Android Shortcuts (Like Contact, Direct Dial ... ) but for actual keyboard shortcuts (like Back, Undo, Home, Copy Paste)?
Let me tell you the reason behind this:
I find that these days, with screen size increasing, we need a more customizable virtual navigation bar to put to the right of the screen, because when holding a bigger fablet, you will only have 1 finger free, and that is the thumb finger, and it points up... it is uncomfortable to point it down to the base of the screen where the navigation bar usually is. Now most apps like this are too simple, and they just stick to the screen, you can't hide them on full screen apps, and you can't add custom shortcuts. And you get that awful and idiotic error "screen overlay detected". It's not like that is an efficient security measure, apps can override that. Android, just make the settings menu temporarily remove any screen overlay !
Anyway, I’m diverging. I have found 2 apps, that if combined would be perfect for that: Meteor Swipe and Menu Button.
Menu Button because it has one of the best shortcut system I have seen (back, home, menu, copy paste, media control), very customizable, but Meteor Swipe has a much better interface, with swipe to change pages and leather skin background.
If I could add Menu Button shortcuts on Meteor Swipe, that would be perfect, but I already talked to the developer, and he is not planning on adding more shortcuts, because it would be too complicated.
But the Developer of Menu Button did a very smart thing: it uses the app as a keyboard, and this allows him to use keyboard shortcuts.
Do you have any ideas for me?
Kind regards,
Daniel

Hidden Notification Log?

Hey Guys
I have Action Launcher installed on my Galaxy S8 (Running Oreo with Samsung Experience 9) and I found a shortcut widget to a notification log. Doing a quick Google search it seems like Samsung doesn't offer this feature natively. From what I can tell, you have to have Action Launcher installed in order to access the shortcut but I'll try to give as much detail as possible to recreate it with other means.
1. While in Action Launcher, long press and select widgets
2. Long press Activities (Should be at the top with the Action Launcher logo) and place it on your homescreen
3. The Activities page should open, scroll down to settings and expand it
4. Scroll a ways down to Notification Log and select it
5. There should now be a settings icon labeled Notification Log on homescreen
There are a bunch of other useful shortcuts in this Activities menu, they appear to be paths that exist in each app that lead to specific functions or menus. Some of them don't actually do anything if you set them as widgets.
Note: The text under Notification Log is:
.Settings$NotificationStationActivity
if that helps. I leave it to the far more capable community to describe what I've actually stumbled on.
runbcov said:
Hey Guys
I have Action Launcher installed on my Galaxy S8 (Running Oreo with Samsung Experience 9) and I found a shortcut widget to a notification log. Doing a quick Google search it seems like Samsung doesn't offer this feature natively. From what I can tell, you have to have Action Launcher installed in order to access the shortcut but I'll try to give as much detail as possible to recreate it with other means.
1. While in Action Launcher, long press and select widgets
2. Long press Activities (Should be at the top with the Action Launcher logo) and place it on your homescreen
3. The Activities page should open, scroll down to settings and expand it
4. Scroll a ways down to Notification Log and select it
5. There should now be a settings icon labeled Notification Log on homescreen
There are a bunch of other useful shortcuts in this Activities menu, they appear to be paths that exist in each app that lead to specific functions or menus. Some of them don't actually do anything if you set them as widgets.
Note: The text under Notification Log is:
.Settings$NotificationStationActivity
if that helps. I leave it to the far more capable community to describe what I've actually stumbled on.
Click to expand...
Click to collapse
You chose the wrong section. This is the section for mods and themes
My apologies, which thread would this be best fit for? (Just so I don't get it wrong)

Categories

Resources