How to edit Home shortcuts in 1.5? (AnyCut won't) - G1 General

Before 1.5, I used AnyCut to edit the length of my Home shortcuts. For example, "Power Manager Pro" is too long to fit in the icon space allotted. So I'd fire up AnyCut and shorten it to "Power" or something.
But 1.5 seems to have broken this ability: instead of getting a selection of shortcuts to edit, I just see a blank screen.
I asked in the #android channel last night, and someone said they helped write Home and that these were in a SQLite database.
If so, can I change them myself using some tool like SQLite Admin? I've looked for a database where it seems logical, i.e. /data/data/com.android.home and the like, but haven't found it yet.

You can try Bettercut maybe, which is an enhanced version of anycut. Or a Home app like dxtop, you can change names and icons on any shortcut. Sorry, don't know about the technical stuff, but it will work.

why dont you just make the shortcut with anycut and once it tells you to enter the name of it just chage it to what you want......
EX: long press home screen>shortcuts>anycut>activity>power manager pro>"change the name"power>ok and your done

xm0is3sx said:
EX: long press home screen>shortcuts>anycut>activity>power manager pro>"change the name"power>ok and your done
Click to expand...
Click to collapse
I hadn't thought of it that way. So I tried, but it would only create shortcuts if I didn't change their name. When I renamed them, nothing at all was put on the screen.
The problem seems to be that Cupcake changes where (and maybe how) the Home shortcuts are stored. Which breaks certain programs, Anycut in particular. But also, MyBackup had to be updated so it could again back up Home shortcuts in Cupcake phones (same went for the browser bookmarks, I think).
These shortcuts are in /data/data/com.android.launcher/databases/launcher.db in a SQLite database. Use a SQLite admin tool to look at table "Favorites", field "Title" -- this is where the names on the icons are stored.
The problem is, editing that file. It seems to be "in use", so you can't make edits or replace it (tried, failed). I guess I could try the sqlite3 tool included on the platform. But it's CLI/text only, and pretty obscure to me so far.

Related

where does the list of programs--> button comes from?

I'm writing a script using Mortscript, and I would like to assign it to a button.
When I go in the proper menu (Buttons), I have a list of programs.
Now, some of them are script files, but not all of them.
How can I have my script listed there?
What kind of programs are listed in that pop-up menu?
Suggest that you copy your script file & paste a shortcut in Main memory\Windows\Start Menu, it will then appear in the list of programs you can run via Programs on the Today screen as well as the place you want it. Please remember to paste a shortcut not the actual file.
You can also re-organise the Start Menu items by creating folders & moving the shortcuts into them, it saves having to scroll through long lists of icons. I have folders for things like utilities & games.
Mike
thanks Mike,
this is something I've done for a long time, and I agree it's useful.
But my aim here is to use one of the hard buttons (the video calling one) to substitute the on-off button on the left. The reason is simple: I prefer to use my right hand.
That's why I wrote a Mortscript file to do that.
Now how it is some mscr files can be seen by the "assign button" routine and others can't?
File dimension? Use?
No idea.

map programs folder to hardkey?

In HTC home plug, I can set one of the soft buttons on the launcher to "launch programs folder". Is there a way to map this function to a hardkey? I don't want to download a third party launcher--I just want to be able to press a button and open the programs folder (and not in the file explorer view).
Any help would be wonderful.
Another folder in which I could put shortcuts in would also work. I just want the icons large and finger friendly like the programs folder.
Is it possible to use folderview.exe to do this?
Check here for the solution...
http://forum.xda-developers.com/showpost.php?p=1644004&postcount=7
I used this to create a shortcut in each and every sub folder under Programs so once in a sub folder, I can easily go back to the Programs folder without having to close the window and open the Programs again from the HTC Home App.
I called the shortcut '!Back to Programs.lnk' so it appeard at the beginning of every folder and the shortcut is setup as follows...
Code:
53#\Windows\folderview.exe #?\Windows\shellres.dll,-8208
Copy the above into simple binary text editor and save to have your shortcut.
I guess you wouldn't need the '53#' and '?\Windows\shellres.dll,-8208' bits to link to hardkey. This is more to give the shortcut a nicer icon in the folder view.
Been looking for this. google search "launch programs folder" found this thread. Ought just be a 'icon view' option in file explorer dontcha think? Thanks!
Hmmm... it's not doing quite what I'm after...
As the FolderView is an application, when you click the X in the top right corner, it closes the window. If you were in the 'Start' => 'Programs' folder and were in a sub folder, pressing the OK button would simply return you to the previous folder.
I counter acted this by adding a shortcut to the FolderView app in every folder as mentioned above but for some reason this no longer works correctly. I think it has something to do with the HTC Task Manager I have upgraded to (v 2.0.30995). Works better than previous version but for this one thing, I think it's stopping multiple instances of the FolderView app.
So, this brings me to... How can you load the Programs Folder so you can go back from a sub folder?
Can anyone hack the FolderView app? A simple 'Up' button could be added to the lower left of the window, similar to the view of File Explorer. This way, the X can still be used to close the FolderView App and the 'Up' button takes you back up the Programs list.
In case your wondering, I have various apps loaded on my Pocket PC and have categorised them and placed into sub folders. I've then created an icon association to each folder so it looks a little more pleasent when viewing. However, I want to freely browse the folder. See attached Tumbnail...
the link works on sprint touch. I call it "_Up" so it always appears at first position.
I note that folderview when you close it doesn't appear in task menu like file explorer and most other app.
folderview with some options would be great because it's a fast finger friendly interface ... must faster and easier to configure than various cubes.
ps
I came across this in another thread. I haven't tried it yet but I'm gonna take a look when I get a chance.
Possibly it could be used to add some features to folderview:
http://www.angusj.com/resourcehacker/
I'm glad I stumbled across this thread because I think it's exactly what I want to do...I just need a little help as I'm not as savvy as some of you guys might be.
What I'm wanting to do is create sub directories in my programs folder like viglante_xix does (grouping Office, GPS Programs, Media Programs, etc.) and point to it as a shortcut in rlToday. I think I might have been able to figure this out on my own after tinkering, but I don't have the folderview.exe in my windows dir. Can someone send me a copy or know of an alternative?
Also, I'm not completely ignorant to programming; I know a little VB, Java, and C++. I understand how the code above works, but what program do I use to make this shortcut...preferably something free.
Thanks in advance.

Ultimate launch question.

Trying to create a button link to "settings" in my verizon ppc for UL, any ideas?
thank you very much.
Jon
"UltimateLaunchConfig.exe" is the app. What kind of "button link" do you want? In a UL button? or a hard button?
If you mean create a button to show the settings menu, this should work for you:
Go to Windows\Start Menu
Copy Settings
Paster a shortcut (for settings) anywhere.
create a new button using the shortcut you created​
AthenaLod said:
If you mean create a button to show the settings menu, this should work for you:
Go to Windows\Start Menu
Copy Settings
Paster a shortcut (for settings) anywhere.
create a new button using the shortcut you created​
Click to expand...
Click to collapse
Much respect to all first and foremost. From my experience with UL, that may work for some applications located in the Windows folder, but not all. For instance, you cannot create a shortcut for the Today settings to switch up your themes, Power/Soft Reset , or even Remove Programs either. There's a slew of programs that can't be made into shortcuts within UL. It's perhaps a limitation of UL.
But there is hope and light at the end of the tunnel. If one desperately wants to create /include such applications (Power, Resetting, Today, etc) with UL, one can install Mobile Shell because it create shortcuts in itself, which UL can then detect. Pocket Plus may be able do the same, but I'm uncertain.
Also, the word on the street, the next version will be 'better' and I don't have the slightest clue as to when that release will surface. I'm no expert, just a big fan like of UL. My two cents.
this answer is a little bit wrong:
1. you can make a Shortcut to ANY wm setting. example: command: ctlpnl, param: cplmain.cpl,10 (for uninstalling software) search in the other ul threads.
2. Daniel Who wrote UL made also some "smartutilities" for make calll, toggle wifi, softreset and many more, google for it. this are small .exe you can link to.
yes, i was attempting to have a button inside of UL access the settings area. I have the xv6700 which appears to have a problem with keeping UL on the today screen after a soft reset. so before I soft reset I need to change my today plugin to something else. otherwise when i reboot nothing shows up and will not load any other plug-ins. Makes it easy to have a quick link cause I'm not a stylus fan.
Thank you very much guys. would have never thought of making a short cut of it. thanks again!
-Jon
bluemetalaxe said:
this answer is a little bit wrong:
1. you can make a Shortcut to ANY wm setting. example: command: ctlpnl, param: cplmain.cpl,10 (for uninstalling software) search in the other ul threads.
2. Daniel Who wrote UL made also some "smartutilities" for make calll, toggle wifi, softreset and many more, google for it. this are small .exe you can link to.
Click to expand...
Click to collapse
Good information. This seems to be a hot topic at the moment and assume this info hasnt been highlighted before. Perhaps a brave soul will post some shortcut command params, directions/instructions in their spare time, and have them listed/located in one thread for easy like the icons. (And also some of those "smartultilities" as well).
How about game area ? my problem 's it's difficult to create all game in icons. so I would like to make a link to call all game folder as when we call it by startmenu
robosiris said:
Good information. This seems to be a hot topic at the moment and assume this info hasnt been highlighted before. Perhaps a brave soul will post some shortcut command params, directions/instructions in their spare time, and have them listed/located in one thread for easy like the icons. (And also some of those "smartultilities" as well).
Click to expand...
Click to collapse
Well, I'm not very brave, but I knew this page existed on PPCSG.COM, so I thought I'd share it. It shows how you can create .LNK files to many of the Settings Applets. Hope it helps.
-pvs
Here is a link to majority of the settings options:
http://forum.xda-developers.com/showthread.php?t=340974
Just find the one you want, open notepad on your PC copy the line into notepad, with only that text, and save as power.lnk, for example, then have the button set to that link.
Any Idea on how to add a folder shortcut? I want to have my different photo albums
Is there a way to specify the appropriate ICON in the .lnk file? I have the "cplmain.cpl,26" working but it just shows a generic icon.
Just change the icon in the display tab.
Folder Shortcuts
muzikfreakah said:
Any Idea on how to add a folder shortcut? I want to have my different photo albums
Click to expand...
Click to collapse
Did you ever get an answer on this? If so, how do you make a shortcut to a folder? I've tried using the context menu of creating a shortcut and then having UL point to the shortcut but it doesn't open it.
Thanks for any info!
would like to know this as well.
bdumch said:
Did you ever get an answer on this? If so, how do you make a shortcut to a folder? I've tried using the context menu of creating a shortcut and then having UL point to the shortcut but it doesn't open it.
Thanks for any info!
Click to expand...
Click to collapse
I hadn't used this yet, but resco explorer has an option (you have to edit the regsitry for it) that let's you load folders according to command line arguments (then you can use UL to load the folder in resco straight using a command line).
you should check it out.

"n" button hacking

I've seen miscellaneous info around on the common task of repurposing the "n" button. I'd like to see a concise rundown of ways to hack it.
The "n" button is a scancode 102 that normally gets mapped to keycode 3 with /system/usr/keylayout/gpio-keys.kl
Keycode 3 in intercepted by the interceptKeyTi method of PhoneWindowManager in /system/framework/android.policy.jar
Keycode 3 is handled directly without using any intents.
It's not easy to hack a key to give an intent. You have CALL_BUTTTON, CAMERA_BUTTON & MEDIA_BUTTON. I haven't managed to catch them. The easy one to hack is SEARCH_LONG_PRESS.
You can easily change gpio-keys.kl to key 102 SEARCH
A normal press will bring up the default Nook search. A long press will generate an intent. All you have to do is insert another intent filter in your favorite app.
Code:
<intent-filter>
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
I have this running on my ADW Launcher and I uninstalled Button Savior.
Personally, I prefer hacking to installing yet another app just to do one thing. I would like to come up with a solution for a dedicated action for the "n" key.
Any thoughts?
If you use NookTouchTools this allows you to remap the buttons/quicknav etc without all the hassle.
GabrialDestruir said:
... without all the hassle.
Click to expand...
Click to collapse
Well, I'd really like to learn things, not just load another app.
So how exactly do the Tools work? Do they need to have another process just to listen for a keycode and translate it to an intent?
Renate NST said:
Well, I'd really like to learn things, not just load another app.
So how exactly do the Tools work? Do they need to have another process just to listen for a keycode and translate it to an intent?
Click to expand...
Click to collapse
It uses modification of various .jar files
XorZone said:
* Patched android.policy.jar:
*** Injected home button code from AOSP, with configuration check between goto home and b&n quicknav toggle
*** Fixed recent apps dialog with configuration check to launch recent apps dialog or configured app launch
* Patched services.jar
*** "Reading now" button check for configured launch value (possible values: Home, Back, Menu, Search, Long Search, Custom App, B&N default)
*** All quicknav buttons configurable and will load icons (once, onCreate) possible values same as above.
* ActivityPicker - B&N removed default activity (usually in Settings.apk) to serve ACTION_PICK_ACTIVITY requests, so I added it back to the app and now able to add shortcuts/edit doc shortcuts in Launcher Pro...
* Configuration - All above configurable values stored in Settings.System so both system jars and Conf app can access it.
* Clear dalvik-cache button
Click to expand...
Click to collapse
Thanks, Gabrial. I had read through this entire thread before and it had left me confused. 10 pages of talking about changing the UI and not a single screenshot? I'm still not sure how an activity picker or a recent apps dialog looks like. Heck, I'm not even sure what additional things you get in Settings. Is there even a tree list of what people should have?
Yes, I do have a penchant for doing things the hard way. I like things lean and mean. If I knew how to inject code into jars I would just have fixed android.policy.jar and left it at that. My main need was a way to globally get back to my launcher desktop without onscreen controls (like Button Savior).
Renate NST said:
Thanks, Gabrial. I had read through this entire thread before and it had left me confused. 10 pages of talking about changing the UI and not a single screenshot? I'm still not sure how an activity picker or a recent apps dialog looks like. Heck, I'm not even sure what additional things you get in Settings. Is there even a tree list of what people should have?
Yes, I do have a penchant for doing things the hard way. I like things lean and mean. If I knew how to inject code into jars I would just have fixed android.policy.jar and left it at that. My main need was a way to globally get back to my launcher desktop without onscreen controls (like Button Savior).
Click to expand...
Click to collapse
Well said
I'd try to ask Nook Color forums too...
Well, I finally learned how to hack compiled Java code.
Now, I've got a simple press the "n" and it goes directly to your desktop.
It required just a bit of editing of android.policy.jar
Why would anyone want "QuickNav"?
It's not part of Android anywhere, it's just something B&N put in.
Sometimes I use library...
brendan10211 said:
Sometimes I use library...
Click to expand...
Click to collapse
You can drag the stock Library icon onto your desktop.
You can even put the stock Home or Shop there also.
I also use it to force refresh, but XorZone just made that soo
Renate NST said:
Well, I finally learned how to hack compiled Java code.
Now, I've got a simple press the "n" and it goes directly to your desktop.
It required just a bit of editing of android.policy.jar
Why would anyone want "QuickNav"?
It's not part of Android anywhere, it's just something B&N put in.
Click to expand...
Click to collapse
Hi,
I, same as you, like to modify my Nook as little as possible. In case of a future software upgrade, I would like to know what to change back before applying it.
Of course, I know I can just save the partitions (internal disk) and restore it as needed, but I would like to not need to do this.
Right now, I modified the gpio file for Search and created my own Launcher (base on Home Sample code in Android SDK).
Still, I don't like the need for Long Press on Search.
Could you please post the links which shows how to hack the android.policy.jar?
Maybe, if I don't ask too much, your edits to it?
Thanks!
Renate NST said:
[...] Why would anyone want "QuickNav"?
It's not part of Android anywhere, it's just something B&N put in.
Click to expand...
Click to collapse
Mainly because I don't like every device looking like an iPhone wannabe with a grid of icons. I like the reader focus with apps secondary. I do wish the QuickNav could be fully customized, including icons, easily.
bobstro said:
Mainly because I don't like every device looking like an iPhone wannabe with a grid of icons.
Click to expand...
Click to collapse
Mmm, Ok. Still, I don't like having to do three taps to do a non-book activity.
"n", then [launcher select] gets me anywhere.
The "currently reading" icon gets me back to my book.
I'm not fond of icons at all and have considered a list-oriented launcher,
but the fact remains that visually locking onto an icon is quicker.
That's why the QuickNav has icons on it.
Renate NST said:
Mmm, Ok. Still, I don't like having to do three taps to do a non-book activity.
Click to expand...
Click to collapse
There are only a few apps I use regularly on the NST, so I've just remapped the QuickNav buttons using Xor's NookTouch Tools to launch them directly: Library, maildroid, astrid tasks, calendar pad and dropsync. I find it quicker than pulling up a full launcher.
It's definitely a personal preference thing. I rather like that the NST isn't trying to be an iDevice. There's a minimalist 'Zen' to it I like.
I know you don't like additional software, but you can take it a step further using Folder Organizer. I set it to show items in the Notification menu, then show the "Starred items" and "Applications" menus in the Notification menu. You can launch apps and submenus this way, and also shortcuts, which can be handy to have 2 clicks away.
"n", then [launcher select] gets me anywhere.
The "currently reading" icon gets me back to my book.
Click to expand...
Click to collapse
For me, it's:
"n" then run my top 5 most often used apps directly from QuickNav (2 taps)
or tap Notification->app for regularly used (still 2 taps)
or at worst, Notification->Menu->app for stuff I don't use regularly (3 taps)
This give me progressively more focused listof apps. At no point do I have to go through a launcher, thus avoiding the dreaded iPhone-wannabe look. I never use a launcher except for maintenance tasks.
I'm not fond of icons at all and have considered a list-oriented launcher, but the fact remains that visually locking onto an icon is quicker. That's why the QuickNav has icons on it.
Click to expand...
Click to collapse
Folder Organizer does essentially what you've described. You can change the folder display to show:
icons with text
icons only
list with icon and text
list with text only.
I don't recall which features are available in the free version, but I like to toss a few bucks to developers when I can, so happily paid the few bucks for the full version.
Unfortunately, NookTouch Tools only allows you to set the 'n' key to show QuickNav or not. If it allowed setting it to launch a shortcut, you could pull up a nice targeted list of apps directly, thus bypassing the 5 item limit of QuickNav.
bobstro said:
Unfortunately, NookTouch Tools only allows you to set the 'n' key to show QuickNav or not.
Click to expand...
Click to collapse
Although I have no experience with any of the Tools, I presume that they
(like my mod) just generate an android.intent.category.HOME/android.intent.action.MAIN
Most "home-based" apps should already have this as a filtered intent.
You should be able to easily select one of them as the default.
Using specific "shortcuts" defeats the purpose of the Android intents system.
Renate NST said:
[...] Using specific "shortcuts" defeats the purpose of the Android intents system.
Click to expand...
Click to collapse
Does it have to be one or the other exclusively? For a basic launcher, pulling up the main app is sufficient. Other programs, such as Folder Organizer, provide shortcuts to user-defined categories, so I could have a subset of all available apps appear rather than a full launcher. Various readers provide shortcuts to books, and so on. Sometimes you don't want/need the full program.
Looks like they have the new Nook 1.1.5 OSS released: http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-1-5.tgz
The "n" button is used turn the light on and off I think with long presses.
I pre-ordered mine already so will see when it arrives how it works.

Folders

I use GO Launcher, so not sure if folders works the same way as default, but I think so. You drag items together and can change folder name, and can add more to it with "+" or dragging. My problem is I create browser shortcuts and drag them into a folder called "Favorites". But once I have 3 shortcuts and add a 4th, one of the existing 3 disappears. Can seem to add as many apps as you want, just seems to do something odd with shortcuts.
Or it might have something to do with total number of items since I have another folder "Bookmarks" with 14 shortcuts, but when I add a 15th one disappears. Very strange behavior!
I am using Nova Launcher and do not have this issue. I would contact go launcher sounds like a bug in there side.. You can also try to use stock launcher and see if it persist or troubles go away. Its very easy to check if the bug is launcher or not .. Install another launcher and try it..
Good Luck
I've been playing with this. Turns out if I create a shortcut with long press (shortcut thru GO) I can add a bookmark, which pulls from Chrome list. I can drag these into the folder with no problem. But if I am in FF Aurora, and long press the link to create bookmark on desktop... that bookmark is the one that tends to make another disappear.
So not sure if it's an Aurora, or GO, or JB issue. At least I've found the workaround... and the shortcuts create from the Chrome list, still open in Aurora (what I prefer). I'm guessing it's a Firefox issue.

Categories

Resources