Help creating a "manual intent shortcut" - Android Software Development

I'm trying to create a shortcut that will open the adw app drawer using Manual Intent Shortcut (hxxps://market.android.com/details?id=app-net.cwfk.ig88.intents). I know there is a way to create an app drawer shortcut using adw directly. What I need help with is creating the shortcut using the app I mentioned above.
Can some one tell me what the following values should reflect?
Action:
Catagory:
Component Package:
Component Class:
Any other values that I left out
Any help would be much appreciated.

I believe i was just working on an app using something like what you want.
A google search for LauncherShortcuts showed this. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/LauncherShortcuts.html
You also need to change the intent filter thing in the manifest to add it to the shortcut list.

Related

Creating a shortcut for your clock

Just in case anyone uses an aftermarket programme for their date, like one of those zodiac ones or just doesn't use the date feature on the Today screen here is what you need to do:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_tcuts2.asp
Pretty easy to do, and allows you to add the shortcut to a programme folder or even then assignable to one of the buttons.
The shortcut itself when typed out will be:
18#clock clock.exe,16
save as clock.lnk
Hope this helps some to anyone that hasn't been able to create a shortcut to the clock by pasting.

HTC Home Plugin's folderview.exe

I've learnt that the one of HTC Home Plugin's Launcher icons opens the Program folder using the folderview.exe that was installed as part of the Home plugin stuff. So I have this app and I tried to make more use of it.
I've created a new 'Tools' folder (for CearTemp, SK Tools, Oxios and other system-maintaining progs) within 'Windows\Start Menu\Programs' folder. Than I made a shortcut for folderview.exe + path and put it into the Launcher tab of HTC Home Plugin, but I can't force folderview.exe to open other folder than Programs. I tried to edit the link, adding the path in diferent ways as a parameter, but no success...
Do somebody know this app is exclusively for opening Programs or there is a way to open other given folder with it?
Thanks in advance,
I am trying to do the same sort of thing I think. I am trying to add the "check battery" program so to speak into the laucher but haven't had any luck as of yet . . .
ctibor said:
I've learnt that the one of HTC Home Plugin's Launcher icons opens the Program folder using the folderview.exe that was installed as part of the Home plugin stuff. So I have this app and I tried to make more use of it.
I've created a new 'Tools' folder (for CearTemp, SK Tools, Oxios and other system-maintaining progs) within 'Windows\Start Menu\Programs' folder. Than I made a shortcut for folderview.exe + path and put it into the Launcher tab of HTC Home Plugin, but I can't force folderview.exe to open other folder than Programs. I tried to edit the link, adding the path in diferent ways as a parameter, but no success...
Do somebody know this app is exclusively for opening Programs or there is a way to open other given folder with it?
Thanks in advance,
Click to expand...
Click to collapse
same here...
trying to add the folder "settings" as a button
any hints?
anyone?
pretty pleeeaaase?
How do you make folderview to open "Programs" ? Each time I run folderview it took me to "Start Menu" with "Programs" icon only. When I click on "Programs", I got an empty folder ??
shah81 said:
How do you make folderview to open "Programs" ? Each time I run folderview it took me to "Start Menu" with "Programs" icon only. When I click on "Programs", I got an empty folder ??
Click to expand...
Click to collapse
same 2 me
I'm loocking forward 2 get shortcut 2 open Programs folde & setting folder as well with no sucsess.
Is there a way to have the plugin open my outlook e-mail inbox rather than having it open into my MMS box which I rarely receive anything?/
folderview.exe #
will launch the default programs.
,Dave
superdave said:
folderview.exe #
will launch the default programs.
,Dave
Click to expand...
Click to collapse
Yes, thanks, but what if I'd like to open the '\Windows\Start Menu\Games' folder with Folderview.exe? Is it possible to create a shortcut directly for a sub-folder?
cheers,
jeep14 said:
Is there a way to have the plugin open my outlook e-mail inbox rather than having it open into my MMS box which I rarely receive anything?/
Click to expand...
Click to collapse
Anyone have a solution to this i would also like the same thing!
Has anyone found an answer on how to open settings folder with folderview.exe?
You can open the Settings folder with "Control.exe" which you can download here: http://forum.xda-developers.com/showthread.php?t=333237
N

Problem creating "create contact" shortcut on LPP

I'm trying to create a swipe gesture in Launcher Pro Plus to create a new Contact entry. I've specified the action as follows:
action: android.intent.action.INSERT
data: content://contacts/people
But when I add it, Launcher Pro crashes ("the application has stopped unexpectedly").
Can anyone help?
Legit download or a crack?
I did on it on my LP and works perfect,
It's a legit copy
I also have Go Contacts installed - could that be causing the problem?
That could be, I don't have third party contatc listing I will give it a try and see
How are you actually doing it?
I go to lp dock and hold till I get the lauch swype action then I choose shortcut, and get list I choose contacts and then choose my contact
I realize your making a swipe gesture ha! Hmmm ill try now that way

[WebTop]-[How To] Create shortcuts to custom phone actions on Webtop

I looked around and couldn't find a detailed guide on how to do this so I figured it out and decided to share..
Prerequisites:
Working Webtop
XFCE Desktop
or
AWN Manager
aLogcat > https://market.android.com/details?id=org.jtb.alogcat&hl=en
This is a simple proccess which will require you to use aLogcat to get the activity name of the item you want to launch and then simply make a new shortcut item on your launcher.
Getting our activity name:
Launch aLogcat
Hit the menu button on your phone
Select Filter
type "activityMan"
leave the option for regular expression unchecked
--Now that your application is logging and filtered you will see a window with alot of text. This is where we will be searching.
hit your menu button again
Select Clear
Now hit your home button and navigate to the icon you would like to be able to directly launch from your webtop and click it.
Go back to aLogcat
Hit the menu button on your phone.
Choose the pause option from ALogcat
***Now were going to search for the string we need to tell activity manager which activity to launch**
Look through your log for something that looks like this: "com.p1.chompsms/.activities.ConversationList" (this one will launch ChompSMS)
In my case the entire line looked like this: /ActivityManager( 1700): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.p1.chompsms/.activities.MainActivity bnds=[5,343][115,483] } from pid 3088
copy the string that comes after "cmp=" (bolded above)
Creating the shortcut
Depending on which interface you are using this will differ slightly:
For AWN Manager
Open AWN Manager
Choose Launchers
Click Add
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
For XFCE
Right click on the task bar.
Choose "Customize Panels"
Next to where it says Panel 1 hit the + button to create a new Panel.
**Select the new panel and edit its options**
Set it to Normal Width | Fixed position | And then select the position where you would like to see it on your screen.
Change icon size to suit your taste. (Tip, if you would like to use the icon for the application an easy way to get it is to Google "AppName icon" and then use Google's image search. Choose an icon that's somewhere near 96*96 (you can sort by size), save it and select it from the menu.
Now that we have created a shortcut / panel
Right click the new panel / Icon
Add new Items
Launcher
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
you now have a working shortcut that will pull up the app or activity in "Mobile view" on your webtop!
Yay.
If anyone knows any more tricks with this please let me know! I have been wondering if it is possible to tell the app to come up in full screen.
** if this helped you please remember to hit the thanks button (help a guy boost his newb cred) **
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
blingmaster said:
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
Click to expand...
Click to collapse
I haven't tested enough to say whether everything works or not. I also haven't eve used the entertainment center . This was one of the primary reasons why I was frustrated with the original webtop. They gave use the ability to launch only a couple of their apps rather than just creating a mechanism for us to select apps for shortcuts. This is something I may look into developing in the future.
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
stewartsoda said:
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
Click to expand...
Click to collapse
Last night was my first night with a working webtop, being able to quickly launch ChompSMS , or pandora on my mobile view was top priority for me. Now that I have that mostly handled I guess I need to move on to learning XFCE tweaks. I'm really glad this helped, I was really surprised that this wasn't already hashed out and detailed, but I was glad to finally be able to contribute something over here!
Hi nineismine,
Mind to provide me a little bit of extra info on the below? Thank you in advance.
(1) How to "remove" the pre-installed short-cut apps in mobile view? For example the "Messaging". I rather prefer to replace this with the "Text Messaging" by following your tutorial.
(2) How to "remove" the pre-installed short-cut apps in webtop view? For example, mine Atrix is Asia Retail version and it build-in with the "Motorola Video" app-tray which I have no idea how to "remove" it.
I herewith attached the screenshot on my stock webtop for your reference (the stock webtop do support screenshot feature and I learn this from this link: http://forum.xda-developers.com/showpost.php?p=17093665&postcount=3)
Edited:
I found my solution by installing the webtop2SD. My issue solved. Thanks.

help me

Good day !
i just want to ask if anyone here knows how to help me,
my problem is i'm trying to add a shortcut of an app in my settings, i have finished that but i want that app to be completely hidden from the drawer (like the cpu states or cpu nofrills control in most custom roms), been searchin in xda but didn't find one, please please help me ....
it will be in the androidmanifest.xml of the app
for example look for the line that starts
Code:
<application [COLOR="Red"]android:label="@string/app_name" android:icon="@drawable/icon"[/COLOR]
the string is the text and the drawable is the png so delete these (just the parts in red - leave the rest of the line and the name of the string and the drawable value will be different in each app)
dont forget since you have now change the manifest of the app you will need to resign the app
you can use zipsigner - use a testkey for normal app and either a testkey or a platform key for system app depending on permisssions
zhian14 said:
Good day !
i just want to ask if anyone here knows how to help me,
my problem is i'm trying to add a shortcut of an app in my settings, i have finished that but i want that app to be completely hidden from the drawer (like the cpu states or cpu nofrills control in most custom roms), been searchin in xda but didn't find one, please please help me ....
Click to expand...
Click to collapse
yup you have to delete android manifest activity line with LAUCHER keyword to hide it from drawer :good:

Resources