How to create a shortcut to a shell script - Epic 4G General

I'm pretty new to Android, so I need to learn how to do all sorts of things that were trivial in my Windows Mobile days.
Simple question: How do I create a "shortcut" to launch a shell script I've created, so that it shows up in the app drawer, and can be invoked by tasker?
Thx!!

Please post questions in General section.

Related

{SOLVED} Hide to system tray

Spent most of the evening searching various forums/newgroups before giving up and asking for help on this one.
Has anyone managed to work out how you can minimise your application to the system tray icon?
I had hoped this thread ( http://forum.xda-developers.com/showthread.php?t=274918&highlight=tray ) would reveal the secret, but whilst it does 'hide' my application, no icon is shown on the system tray for me to reactivate.
Would really appreciate some help on this.
Using VS2005, phone is Artemis and got the latest SDK for Mobile 5.
i am pretty sure i saw that effect once, on wm03. but what could that be....
upd: ehh damn i read your link..
how to remove my post...?
I take it you are using C# / VB.NET?
Not sure how to implement the solution in those, I only know C++.
There is no 'minimize to tray' function in windows - mobile or otherwise. The effect is achieved by two operations:
1) Hide your program window.
2) Create a notification icon in the tray using Shell_NotifyIcon API.
You can find full documentation about it in MSDN or VS help files.
Thank Levenum, the "Shell_NotifyIcon" call seems to work brilliantly.
Thanks again for the pointer, appreciated.
I'm a noob
levenum said:
I take it you are using C# / VB.NET?
Not sure how to implement the solution in those, I only know C++.
There is no 'minimize to tray' function in windows - mobile or otherwise. The effect is achieved by two operations:
1) Hide your program window.
2) Create a notification icon in the tray using Shell_NotifyIcon API.
You can find full documentation about it in MSDN or VS help files.
Click to expand...
Click to collapse
I don't have a single clue how to achive this, I want to hidem my tray bar on my deviece but I can't, I have not Idea what the Shell_NotifyIcon API is and I don't know how to hide my program window.
~J~: Glad I could help
fnordelus: I am not quite clear on what you want to do:
Do you want to get rid of the tray (the little icons at the bottom of your today screen) so you would have more room for plugins?
If that is the case then you just need to delete some shortcuts from windows\startup - but be careful! Some stuff in there you will need. If you tell us what device you are using and what shortcuts you have in that folder we can tell you what to delete and what not.
If you are writing a program and want to minimize your window to tray (put an icon in the tray when your window is not shown) then the first thing you must do is tell us what language you are using. If you do not know how to hide a window in your own program it is to early for this kind of tricks. You need to get a good book on Win32 programming and read it fisrt.

customize application launching in spb mobile shell

can anyone help me to customize default apps in mobile shell?
e.g: default calendar app is triggered when clicking calendar in now screen, how can i change it to launch any other calendar installed on the pda?
SPB Mobile Shell Settings > Today map the left and right soft keys to any program you want..
Plz search before you open a thread...or post a question in the Q&A thread...
The Reaper said:
SPB Mobile Shell Settings > Today map the left and right soft keys to any program you want..
Plz search before you open a thread...or post a question in the Q&A thread...
Click to expand...
Click to collapse
You didn't answer is question!
He ask about now screen, not the today screen.
UPS...
The Reaper said:
SPB Mobile Shell Settings > Today map the left and right soft keys to any program you want..
Plz search before you open a thread...or post a question in the Q&A thread...
Click to expand...
Click to collapse
thanx reaper but that wasn't what i asked.
my question is how to change the default app that the links in the NOW screen refer to......
like i said, how do i change the NOW screen to open some other calendar other than the default one?
thanx for your time though
junooni said:
thanx reaper but that wasn't what i asked.
my question is how to change the default app that the links in the NOW screen refer to......
like i said, how do i change the NOW screen to open some other calendar other than the default one?
thanx for your time though
Click to expand...
Click to collapse
i really dont think thats possible.
i think in fact its one of the few flaws in SPB MS
either way.. u should have used the search tool as mentioned
I apologize, I mis-understood your question.
However, i don't think you can use other 3rd party plugins in the now screen except for SPB products like PhoneSuite, SPB weather etc..
see spb shell forum
they have a cab file that allowed me to open webis pocket informant from the now screen. i don't remember if it works with other apps...
Not possible...
I'm looking for it a long time, and what you want isn't possible (i'm playing with the register to find the links and stuff).
The only thing i could create, some register tricks so you can customize every menu and LNK files..
http://forum.xda-developers.com/showthread.php?t=415765
I'm working on cab-files and making LNK files with icons, but for now:
Working on exams on school.
Check this registry key:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCALENDAR]
"0"="Calendar"
"1"=":MSPOUTLOOK contacts"
Change the value of 1 to point to the Calendar application you want. Doesn't change the Mobile Shell hooks, but it does change the Calendar called from the Start menu.
maybe not working for every PIM manager, but at least some of them:
http://www.spbclub.com/forum/viewtopic.php?t=7794&sid=280c035f2f2d9117136d3bef39f55464

remove Today icon in start menu

Hi
Im working on a kiosk application for Windows Mobile Professional devices.
Therefore i need to remove all icons from the start menu so that the user can only
access the applications from my kiosk welcome screen. This kiosk app. is part of a school project, so im a bit short on time...
I have succesfully removed all icons exept the today icon.
Does anyone know how to remove this shorcut from start menu?
Im guessing i need to edit the registry, but i have not been able to fnd
this value... Nor have i found a today.lnk on the ppc.
All help will be appreciated
this isn't the place for questions
please refer to the Q&A section
thank you

WM 6.5 Start Menu Utility Request

Maybe an app already exists that does this, but searching hasn't revealed anything, so...
It's easy enough to add new folders to to the WM 6.5 Start Menu by creating them in
\Windows\Start Menu\Programs\
From there, one can copy/move individual .lnk files into a folder so that everything of a type would be there.
Is there a preferably finger friendly app that will allow us to create folders then sort .lnk files easily? Right now it can be done using Total Commander, but it seems quite laborious, especially if one is in the habit of installing new ROMs every couple of weeks.
An added bonus would be something that let us pick icons for these folders.
HComber is a WM6.5 app that does this. It allows users to change icons for different shortcuts/folders but doesn't allow the rearranging of shortcuts.
If you want to change the icon folder just place a .lnk to the icon/dll. For Example you have a icon in a dll called shine2.dll in your windows folder you would use this for icon number 18:
Code:
1#Shine2.dll,-18
Just use notepad to edit lnk files. Theres a tutorial on the forum somewhere if you want more information.
Aegishua said:
HComber is a WM6.5 app that does this. It allows users to change icons for different shortcuts/folders but doesn't allow the rearranging of shortcuts
Click to expand...
Click to collapse
Thanks, downloading now!

custome shortcut in start screen

hey guys I was wondering if there is a way to add a custom shortcut to the start screen. this is my situation: I want to add a folder shortcut to the start screen but when I do it I get an ugly folder icon in the start screen. there should be a way to make a program to make custom shortcut.
thanks :laugh:
I have not looked into this yet but i would second any advise from someone that knows. The iffy old icons really can mess up the nice look of the start screen. Also if there is a way to make the large 2 block tiles for software that does not have one already. I would like to stake my games with really cool images etc.
I'm looking forward to this.
I would like to see this also I make apps in a platform that MS does not goveren so I am unable to make use of the overlay, I want to make nice icons for my apps for windows 8 but cos there not for just 8 they are not a overlay app and I like I said don't compile them in VS 2012,
So I would like to bump this topic and hope we get some one that might know away around thanks.
HI Guys, for the moment I found this way to create shortcuts in the start screen, you need to create a folder in this path and inside it add the shortcut to the program that you want.
C:\Users\YourProfileName\AppData\Local\Microsoft\Windows\Application Shortcuts\ShortCuts
*ShortCuts is the folder that i created.
hope help u
ps: i clarify, i'm using windows 8 pro
DeltaSync said:
HI Guys, for the moment I found this way to create shortcuts in the start screen, you need to create a folder in this path and inside it add the shortcut to the program that you want.
C:\Users\YourProfileName\AppData\Local\Microsoft\Windows\Application Shortcuts\ShortCuts
*ShortCuts is the folder that i created.
hope help u
ps: i clarify, i'm using windows 8 pro
Click to expand...
Click to collapse
Hi There is a much easier way to add a shortcut. That is create a shortcut right click and go add to start screen. What we need is a way to customize the tile so that we don't get the ugly old icon. Also you can add shortcuts to files as well by being creative with the target (for some odd reason you cant just pin a file to the start screen) If you use the format bellow you can then attach to the start and you can also change the icon(though not to a tile otherwise this would solve the problem).
"Path of software that opens file" "path of file"
You can even use this to pin remote desktops to the start (really useful for us sys admins)
C:\Windows\System32\mstsc.exe /v:"name of server"
I am having problems getting runas to work as if I lower the security my metro apps wont run but run as links do or if I up it then the run as does not work.
---------- Post added at 10:29 AM ---------- Previous post was at 10:13 AM ----------
And then I see this thread
http://forum.xda-developers.com/showthread.php?t=1876023

Categories

Resources