Minimize TaskMgr.exe after boot. - MDA, XDA, 1010 General

I know this is only a minor issue but its the small things that count.
I have created a shortcut to TaskMgr.exe in my startup folder. The only problem with this is it starts up as a full screen app. You can minimize it after its loaded.
Does anybody know how to make it load up minimised on after reboot instead of manually minimising it.
Cheers

Related

SIPChange: Changes the DefaultIM in AKU2

SIPChange v1.1 update: You can now change the timeout from its 10 second default
Here's my first programming contribution! It's for those of you who can no longer change their defaultIM using the posted reghacks after upgrading to AKU2.x. No matter what you choose, the keyboard SIP is always selected after a soft reset.
If you aren't having this problem, then you don't need this little app (unless, of course, you don't feel good about dinking around in the registry changing DefaultIM CLSIDs...)
The problem occurs because some AKU2 based service or process is changing the SIP back to the keyboard. This happens 4-8 seconds after startup programs run. As such, SIPChange is a workaround of sorts because when it runs at startup it waits 10 seconds before changing the SIP to your selected default. Go here for more information on this issue.
SIPChange has two execution modes. If executed with no parameter, it presents the list of SIPs available on your device and allows you to select a default. Once set, this information is stored in the registry. If executed with "SET" as the parameter it minimizes itself, reads the default from the registry and waits 10 seconds. When the timeout expires, it sets the Current SIP to your selected default and closes.
How to use:
1. Copy the attached CAB to your device
2. Tap on the cab using file manager to install.
Now open SIPChange by tapping Start->Programs->SIPChange. You will be presented with a list of your available SIPs. Highlight the one you want to become the defaultIM. If you wish, you can change the default delay as well. Now tap the "Select" button. The SIP will be changed to your selection and SIPChange will close.
That's it! The next time you (or your automatic nightly backup) resets your device, the default SIP will be reset to your choice.
MOD EDIT (DaveShaw): The aformentioned CAB is here : http://rapidshare.com/files/208325629/SIPChange.CAB
SIP Changer
Thanks Sleuth255!!
tested the SIP changer and it works.
Well done for the workaround, shame they had to go and mess things up in the first place!
10 out of 10 to you
This was a major problem for me with my Wizard and now its fixed.
Thanks again
Jules
HELP
Hi,
Thanks for the great app!! I do have one problem though, i can't get it to start up without prompting me. I have tried applying the SET parameter, but must be doing it wrong. Here is what I have tried...
in \program files\sipchange\sipchange_182.exe SET
and set the shortcut to be a copy of that...
I have tried it without set and have the shortcut name be sipchange_182.exe SET.lnk
I am totaly confused as to how to set it up. Any help would be greatly appreciated.
-John
Seems to work fins but for one small problem.
Not sure what it is but I noticed things taking a rather long time to load.
I would take literally 2-3 minutes to paint the screen when opening a new application. I soft reset and no help. THen I started thinking what I did. SIPchange 182 was the last thing I did.
I had the shrotcut in startup
program files\sipchange\sipchange_182.exe SET
After I removed it everything runs fine.
I still have it on my 8125 just not startup .
is the "SET" correct or does it need to be something different for each method ie.
"block" for block input
Here's a little more explanation on how to install SIPChange:
First, make a new folder under program files called "sipchange" then place the sipchange executable (downloaded from the above attachment) into that folder and rename it if necessary to sipchange.exe.
Now, using file explorer, navigate to \program files\spichange and then tap and hold on sipchange.exe. Choose "copy".
Now, navigate to \windows\startup with filemanager and choose "Paste shortcut" from the menu.
Here's the part where you need a third party program. You now need to modify the execution properties of shortcut you just pasted into the startup folder. Several programs can do this. I use a utility called GSFinder+ which a free file explorer replacement. What you need to do is to change the shortcut execution properties from "\program files\sipchange\sipchange.exe" to "\program files\sipchange\sipchange.exe" SET
There is also a way to do this without any third party file explorers by editing the shortcut file itself with notepad on your PC. The thread that explains this is located here.
I'm not sure how my attachment got renamed from sipchange.exe to sipchange_182.exe tho....
@stainlesspc:
SIPChange shouldn't ever remain in memory longer than 10 seconds when run with the SET parameter. You can check this with settings/system/memory/running programs. So it shouldn't have any effect on program execution time unless you are somehow setting the SIP to something invalid. Try this: make sure that you have run sipchange.exe at least once with no parameter and set a default. I'm assuming you have already done this to sett the letter recognizer as your preferred default. If you haven't, it is possible that something strange may be happening because no default SIP registry entry is present. However, in this case, the set SIP operation should just return an error (which is ignored by SIPChange). I'll check into it though.
SET is indeed the only parameter it recognizes. When it sees SET as an execution parameter, it attempts to change the SIP to the input method you chose when you last pressed "Set Default".
Btw on my 8125 I just used SIPChange to set letter recognizer as my default thinking it may have something to do with the letter recognizer default iteself. Then I soft reset. Unfortunately tho, I'm not seeing the delay you mention . I'm not using the official Cingular AKU2 release as you though. I am running AKU2.3 from Summiter's multi-installer.
Thanks guys, it works on a Qtek9000 also
My problem (want the nullkb as default) is solved at last.
Sleuth255
Well I tried it again. I had it right the first time.
Not sure why it did or did not but it seems to be working now
Well, this is a great find. I've been looking for something like this since wm5 came out. Thanks
Hmm..seems to be a problem with setting transcriber as the default. When rendering my Today screen the transcriber menu bar gets displayed in the middle of the screen. Transcriber is the only input method after the keyboard that I would consider using.
However, I may still keep the exe on my device since launching it is still a heck of alot faster than doing the standard SIP change method on my K-JAM.
Thanks works great on my MINI
@JNGold:
The transcriber is the only SIP that has a "Transcriber Intro" splash screen :roll:
On my 8125, that splash screen has a checkbox called "don't show this" which would seem to be the fix for your issue.
To keep that checkbox from getting cleared on a reboot is a bit of a chore however. I had to select the transcriber, check the checkbox then select a different SIP then go back to the transcriber again (the splash isn't displayed). Pretty kludgy eh? :shock:
Now when I reset, the splash isn't displayed, and the transcriber menubar appears right above the softkeys. I'm running SpBPocket plus btw and I'm not seeing the menubar shift you describe.
Sleuth255 said:
@JNGold:
The transcriber is the only SIP that has a "Transcriber Intro" splash screen :roll:
On my 8125, that splash screen has a checkbox called "don't show this" which would seem to be the fix for your issue.
To keep that checkbox from getting cleared on a reboot is a bit of a chore however. I had to select the transcriber, check the checkbox then select a different SIP then go back to the transcriber again (the splash isn't displayed). Pretty kludgy eh? :shock:
Now when I reset, the splash isn't displayed, and the transcriber menubar appears right above the softkeys. I'm running SpBPocket plus btw and I'm not seeing the menubar shift you describe.
Click to expand...
Click to collapse
Hey Sluth, thanks for responding. FYI I also have the trascriber splash screen disabled. What I was seeing is on a soft reset, that the transcriber menu bar was appearing a little below the lower half of the screen. I also have sbp today plugin, pocket breeze and battery status (in that order).
Yeah, I understand. I'm not seeing that on mine though. When I (finally) got the splash screen not to show on my 8125, the menubar always appeared right next to the softkeys. The only thing I can think of is that something executes on yours to update the today screen after SIPChange makes the transcriber default and this is somehow shifting the menubar up. When the menubar appears, does it initially show at the bottom and then move? I suppose I'd first try disabling all my today screen plugins to see if the problem goes away then, if it does, I'd re-enable them one by one to find the culprit.
Unsigned error message
My guess is there is some registry hack to disable Windows telling me that an app is not signed because when I originally got the phone it didn't do this, but since hard-reset and NOT installing all of the auto-install cabs it now barks anytime an app is not signed. :evil: I'll try to search for this, but can anyone point me in the right direction for this?
My reason is that I followed the directions to a T, ran the app once to set the default (it barked then too but I accepted manually and wondered if it would pose a problem). Now, after a reset, it says it cannot open sipchange because it either doesn't have a signed certificate or cannot be found. I know it's there, and I know it has the certificate issue.
I'd like to just disable this certificate signing "feature" so it doesn't bother me and allows this wonderful app to work. Thanks for all your work to solve this stupid "feature" (setting the SIP) that M$ obviously felt was a necessity and knows better than it's users. :roll:
Here is a cab to install Sipchange with a shortcut in Programs
Thanks efjay. I was planning on doing that...
Problems with Fitaly SIP
I had hoped that SIPchange would solve a vexing issue for me. Something on the device...and I am also suspecting Spb Pocket Plus like some other posters... is stopping me from using the Fitaly SIP (www.fitaly.com)
Periodically, something stops me from selecting the Fitaly SIP. Keyboard is always launched instead. If I launch Fitaly as soon as I run the device, it sometimes helps for a while, but something always blocks it eventually. The only fix tht I have found is to soft reset.
Making Fitaly the default SIP can be disastrous. I have found that it makes my device unbootable - just hangs late in the boot process, again causing me to wonder if it is something to do with SPb Pocket Plus. I had to hard reset to fix this one.
So SIPchange does work... but only if the SIP is selectable manually. Is there any way you can force it to over-ride whatever is blocking me from Fitaly. (I guess we need to figure out what the problem is first. I'm hoping some smarter brains than mine will be able to figger this one out.)
my guess would be that some Fitaly support components need to be loaded that the SIP depends on. SipChange just launches the SIP itself based on what's registered. Perhaps you can launch Fitaly in startup first? I don't know anything at all about the Fitaly program itself so this is just wild speculation on my part btw...
You can do that with a SIP like with TenGo Free
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Tutorial: Overclocking and Make It Stick

I Made this tut because I was thoroughly confused when I found omapclock and TornadoPowerControl. This guide is primarily directed towards HTC StrTrk and pretty much makes it so that you can delete the start menu shortcuts and not have to worry about your overclocking ever again. I take no credit for any of these useful tools and no responsibility if your dumb ass tries to over overclock your phone.
EDIT I found out a way to make TPC not show up in your task manager. If you DONT want this then you should skip step 8.
1) Download Tornadopowercontrol14.cab and tcmdphone.cab and load.zip to Windows directory.
2) Install all on your phone
3) Using Total Commander browse to install dir of tornado power control
4) Create a shortcut and place it in the startup directory in Windows
5) Using the Total Commander browse the the startup folder and EDIT the shortcut
6) The shortcut should look something like
60#"\Program Files\TornadoPowerControl\TornadoPowerControl.exe"​
7) There are several commands that you can tell the program to run on startup
'dim' starts in dim mode (display is dim)
'bright' starts in bright mode (normal operation)
'hide' hides the app at startup
'toggle' changes from previous mode ie if in bright mode before boot now in dim mode​
This is what mine looks like:
60#"\Program Files\TornadoPowerControl\TornadoPowerControl.exe" bright hide​
8) If you DON'T want TPC to appear in the task manager then edit your startup shortcut and add italicized characters before your existing characters. Please note, this will render your start menu shortcuts inoperable and you wont be able to get to the TPC GUI. You can even delete the start menu shortcuts (I did).
41#"\Windows\load.exe" -hide "Program Files\Tornado PowerControl\TornadoPowerControl.exe" bright hide​9) Now goto your install directory and youll see 3 shortcuts named
Power_On.lnk - controls what happens when your backlight is turned on
Power_BacklightOff.lnk - when backlight turns to dim
Power_UserIdle.lnk - when phone goes into idle (screen off)​10) Those 3 files are EMPTY and TPC will not do anything with them if they remain the same.
11) omapclock.exe is included with TPC install and is in the same directory omapclock will respond to command line prompts just like TPC did earlier with Step 7.
12) Delete Power_On.ink. Create a shortcut to omapclock.exe and rename it to Power_On.ink. Edit the shortcut. add '-clock XXX' where XXX is desired speed (I have read other forums where people got stable results at 252 but I elected to stay with 240 for piece of mind)
Heres Mine:
30#"\Program Files\OmapClock\OmapClock.exe" -clock 240​13) Reboot and run omapclock from startmenu to make sure that speed is 240, close phone and let screen turn off and repeat
14) Enjoy
Note 1- If you want TPC to lower the speed of the processor when the backlight dims then do the same method as step 12 except replace Power_BacklightOff.ink. I dont know why you would want to slow down the phone even further but I guess you could in theory edit Power_UserIdle.ink and underclock your phone to save battery life maybe.
Note 2- Im using this on erofich's WM6 on Cingular 3125 and tested/benchmarked differences using TCPMP with a Youtube video saved in .flv and noticed significant improvement.
load.exe - props to Slavic for creating

[Q] How to organise different screens? Activity or layout?

I'm designing an App with several layers of menus (on the screen, not from the menu button) which lead to several content pages each, so in total I'll be looking at probably 6 screens of Menu and about 30 content screens (just a picture, text and some buttons).
Should this be just 1 activity for the entire application and with each menu and content page loading a different layout xml? If so how do I do change the layout?
Or should each menu screen and content screen be its own activity as well as having it's own layout xml?
Thanks very much for any help.
I usually use dialog box for simple user infos and I prefer activities to do something more complicated, but it's my opinion. I prefer activities because are simplier than using different dialog boxes or anything else, and so my code doesn't become an incredible mess
I don't think it would work to have dialog boxes to display buttons, like I need for my menus or content pages.
If I did only use 1 activity for it, what's the best way to redraw the layout from a different xml when you click a button? Just have the onClickListener call setContentView(R.layout.new_layout)?
PrometheanFire said:
If I did only use 1 activity for it, what's the best way to redraw the layout from a different xml when you click a button? Just have the onClickListener call setContentView(R.layout.new_layout)?
Click to expand...
Click to collapse
Ok, I understand your needs. Unfortunately I didn't use a new layout in the same activity after a button click, it should be tested.
For my game, I have on the same screen different buttons, textviews, and imageviews that appears and disappears, even after a button click. I putted all of them in the same layout xml (one above the other, what a mess!) and I set the different visibility suitably the buttons clicks (the OnClickListener). It works for me because I have 7-8 items to manage, but maybe not so smart for a lot of different items.
In general, Google recommends using different activities, I remember reading about it in the Dev Guide somewhere.
Although maybe your case is different.
The default recommendation of Google is to use activities. But it does depend on your usage - if everything you are doing is related to the same "activity" (for want of a better word), it may make good sense to keep everything in the same class.
You should also think about what behavior you would like the app to have. Do you want the user to be able to use the "BACK" button to step backwards in your menus? If so, it may make sense to implement this as multiple activities (which will give you this behavior for free), rather than implementing it manually.
I think I'm leaning towards activities as from all I've read it does seem to be best programming practice, it just seems a bit of a waste for me to have 1 activity just displaying a menu! However yes, it would be much easier to use activities then just have user press BACK to navigate backwards.
Also with having 1 activity just switching layout it would mean a massive onClick() 'switch' with at least 30 'cases'! I had thought about implementing my own Back button on the screen but that would be a pain to code.
Thanks for the replies, think I'll go with separate activities and see if it works ok, like I said my main concern was that it's a waste of an activity to have it do something so basic!
Maybe ViewFlipper will be useful?
ViewFlipper just seems to add an animation to changing the layout, no? I'm wondering whether I should just change the layout per screen or to start a new activity per screen.
I've worked it out and I've got 27 Menus, each of these is a ListActivity and 62 Content Pages (each of these is an activity calling a RelativeLayout and some onClick Listeners).
In total this is 89 activities, is this too many for one application? I like the idea of having a different activity per page as that means the user can just press the Back button on their phone to go back up the menus rather than coding in one myself. I've got it working with all the menus but only 1 content page and it's ok, but I can imagine that if I add the remaining 62 contents it may get bogged down?
But yeah, is this too many activities for one app? It is likely at a given time the user probably won't use more than 10 of them.
trying to have a single Activity and then have it able to handle every layout you throw at it and its coorosponding functionality will be a nightmare. use multiple Activities. it will also make using the back button alot easier.
http://developer.android.com/guide/practices/design/seamlessness.html#multiple-activities
Thanks, shouldn't take me too long to create all the content (with copy paste and find/replace) so will see how it works like that.

[Manila] Co0kie's Home Tab v2.0.0 - Basic Function Tweaks

I am starting this thread to stop high jacking the original [Manila][12-Nov-2010] Co0kie's Home Tab v2.0.0 - Final Released thread.
I have been using CHT for some time through NRG's ROMs.
I began making widgets like the Reminder widget [CHTwidget]CHTw Reminder and helping Poyensa with his Note widget [CHTwidget]CHTw Notes.
I also have created some toggles and worked on some alternate toggle methods like data without WMLongLife.
Automatic to Normal and Vibrate Toggles
Voice Command Toggle
MortScripts to toggle settings
Also, some other links.
Switches for Email Widget to provide functions in lock screen like switching accounts, deleting, etc.
I started seeing things I would like different in the basic code of CHT.
This is the beginning of my journey into this work.
CHT_DataLoaders
Original CHT_DataLoaders with fix for CHT restart
Appointment Widget with Tasks included
CHT Lockscreen
CHT StartUp and CHT Core
Tasks Widget
Email Widget and associated widget lua tweak
Scaled Basic Widgets (the CHT_Widgets.lua)
Free Links unlock control (CHT_FreeLinks.lua)
Some thank yous:
poyensa -- for getting me started with his Notes widget and then all his help through my learning curve
rat_2665 -- for his help and his weather clock for code to study
MichelDiamond -- for his pointers
Many others that have chimed in and of course the testers out there too.
CHT_DataLoaders.lua
Some time ago I noticed something in task widget:
If I have tasks that are due two weeks and later from now. They show up with red text. As the days go by and a task that shows red becomes less than two weeks away the text becomes gray.
Others have the same problem:
In the task widget, I want to see only the list of upcoming task for 7 days so I set the "Tasks range" in CHTeditor to 7 but the task that due more than 7 days still show in red text.
And I noticed that if I set "start date", the task will not show in list of task widget.
Click to expand...
Click to collapse
I began the process of editing CHT_DataLoaders.lua which is the 7B09A9E6_manila file after it is "cooked" in the kitchen:
My interpretation of the original code:
Even if you choose Sort by Start Date it still only includes items that have Due dates within the date range you pick, so items with start dates that do not have due dates in the range do not show up. It appears the intent is to show you tasks that are due within or before the range you select. Your choice of sort by due date or start date only sorts items due on the same date.
What I wanted is items without start dates to be included in the list no matter what their due date is.
In my code I have tried to get it to show start dates in the range instead.
In early development the red still showed up if I sorted by Start Date, but I think this is from the code using Due Date to set color and not sort date or something else.
To no longer have red Tasks listed beyond the Tasks Range, the list now only shows the tasks in the range and does not show any more than that. For example if you set the range to 2 days and you only have one task between now and then you will only see one task in the list.
I have a lot of tasks that do not have start dates so my list became long if I sorted by start date.
I decided to not include items that do not have start dates in the sort by start date and that made more sense.
Later, I changed to have tasks without start dates get sorted by their due date.
Now you should get a list of only items due within the range or before no matter when their start date is.
I find if I show both dates it "looks" better to sort by start date (my new standard setting).
One thing I have noticed if I choose not to show both dates and sort by start date it shows "..." for tasks without start dates and does not show the due date.
Later I figured out a way to do the sort differently.
Start Date:
Now if you select sort by start date you get all tasks that start before or during the task range.
This will include any tasks without start dates at the end of the list, but excludes those due beyond the task range.
This keeps the list smaller. Tasks that start on the same date are sub-sorted by their due date.
Due Date:
If you select sort by due date you get all tasks that are due before or during the task range.
This will include any tasks without due dates.
Tasks that are due on the same date are sub-sorted by their start date.
One thing you have to do is set task max count to 99 for it to work properly. Never mind, I updated the code to force it to be 99 no matter what you set it to.
Updated 12/29/2011
Reduced some redundant code and took out some code that does not seem to have an effect.
Updated 12/28/2011
Improve speed of getting first refresh of tasks into widget.
Updated 12/27/2011
Main thing is fixing the restart of CHT when you have no tasks.
Updated 12/08/2011
Tweaked the task loader portion to add a pause between running CHT task update program and refreshing the list of tasks.
Updated 11/23/2011
Tweaked the appointments filter for showing multiday and allday appointments.
Updated 11/15/2011
Still tweaking to get doNotRepeatMultiday to show the first occurance and not the rest.
Also, getting an AllDay appointment to not show up as ending the next day.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
Original CHT_DataLoaders with fix for restart
This is the original CHT_DataLoaders with fix for restarting when you have no tasks.
Updated 12/29/2011
Reduced some redundant code and took out some code that does not seem to have an effect.
Updated 12/28/2011
Improve speed of getting first refresh of tasks into widget.
Be sure to make a safe copy of your \windows\7B09A9E6_manila file
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
Appointment Widget with Tasks included
I have always wished there was a widget to show appointments and tasks together:
I began the process of editing Co0kieAppointments.lua which is the 5146EC01_manila file after it is "cooked" in the kitchen. It took updates to the CHT_DataLoaders.lua and the Co0kieAppointments.lua to get these features:
My goal is appointments and tasks in one widget that are sorted and mixed together so you may see a task then a couple appointments and then some more tasks based on their date.
I still want to be able tap a task or an appointment to open the task/appointment or task/appointment program depending on your settings.
I also wanted the long press on task features.
I think it would be nice to add features like color.
Tasks that are active and appointments due today will be the active color
Tasks overdue and appointments that are active will be the overdue color.
I set it to sort and show both tasks and appointments within each day having its tasks and then its appointments.
If you tap the date you get a pop up to select refresh, calendar, appointments or tasks so you can create new tasks or appointments. The "New appointment" version pops up a choice for refresh, calendar, appointments or tasks. I could not find and "[[IDS_New]]" to use instead of the "[[IDS_NEW_ENTRY_HEADER]]" so it says "New Appointment".
You can long press a task and get the pop up to "delete" or "complete" it.
I have done my best to get it to refresh on its own more quickly to catch task changes, etc. I think I can force a full update every minute, but do not know if this will eat battery life. It seems like it takes less than 10 seconds to update the list.
I can add a task by selecting the date and then tasks which opens sensetask in a new task. I save it and quit sensetask. In less than 10 seconds the new task shows up. I can long press a task and select complete and it changes color immediately. If I press delete it is gone in less than 10 seconds.
I sometimes get a hiccup where there is strange things in the list, but they clear up after a couple seconds.
There were some glitches to work through:
You must set the max task count to 99.
It appears the program that gathers the task data uses this limit for how many to gather.
This is different than the max count for appointments.
With appointments you get them all and filter them and then you limit the filtered list to the max count.
Click to expand...
Click to collapse
I also changed multi-day all-day appointments to show up a little differently if you have do not show multi-day appointments selected.
It sorts them by their start date so it will show up sooner in the list than the due date.
Just added the completed color to the tasks for completed tasks.
Appointments due today now have "Today:" before the time because it seemed to look strange to me without it.
Tasks have the word "Tasks|" at the beginning to show them up as a task better. Tasks without a start date show their due date instead.
My preferred user experience is to set the following in CHTEditor widget settings for appointments and tasks:
Enable scrolling on
Appointment range of 7 days
Max appointments of 20
open in editor is on
Don't repeat multi-day is on
Show appointments
I hide call history since I use the free link for it
I hide voicemail since I use the free link for it
Task range of 7 days
Maximum task count is set to 99
Show complete is on
Show both dates is on
Long press pop up is on (brings up the complete or delete menu)
Sort by start date (this will show all tasks that start in the task day range and if it does not have a start date it still shows if its due date is in the task day range too; all tasks that start or are due before today also show up.)
Click to expand...
Click to collapse
I made some more tweaks to the files. I have tasks without start and due dates added to the list with today's date, but highlighted as overdue. I changed the way tasks look for different due times like today, tomorrow, etc. I got rid of "Due" to get as few English only text values as possible.
I noticed if you set it to "Hide" in the original code you would not see any appointments at all. I changed it so "Hide" only hides the icon, "Show" always shows the icon and "Auto" only shows the icon if you happen to have no appointments. This is similar to how show-hide-auto works for call history and voice mail.
Added menu to Date and New Appointment items so when you press them a menu shows letting you pick:
1) Refresh - instead of using the separate free link
2) Calendar - to go to the calendar tab
3) Appointments- to go to the appointment program
4) New Appointment - to create a new appointment
5) Tasks - to go to the task program
6) New Task - to create a new task
Updated 12/29/2011
Reduced some redundant code and took out some code that does not seem to have an effect.
Updated 12/28/2011
Help force a refresh when you choose refresh.
Updated 12/27/2011
Main thing is fixing the restart of CHT when you have no tasks.
One thing I have noticed in the code is the way complete and delete is set up you can only do one at a time and have to wait for the refresh before you can do another one. One thing I did to avoid confusion is change text to "Complete. . ." or "Delete. . ." before running the code that changes the task to completed or deleted. When it disappears you know you can complete or delete another one.
Updated 12/08/2011
Added the ability for Voicemail and missed calls to show when you first start the widget like after a restart or reset.
Worked on the refresh code, etc.
While doing this I worked on the code for task refresh especially after selecting "complete" or "delete" in the popup menu.
I added a feature of the task text changes to "Deleting. . ." so you know it has started to delete the task.
I discovered you cannot select another task to delete or complete while the code is refreshing the data of the previous delete or complete.
Maybe I'll look into this later.
Updated 11/23/2011
Tweaked so if a multiday appointment starts today or tomorrow it shows "Today" or "Tomorrow" instead of the date.
Tweaked so if a multiday appointment ends today or tomorrow it shows "Today" or "Tomorrow" instead of the date.
If they start before today they show the date it started, but skips the start time since it is past already.
Tweaked the font scale adjustments to work better.
Updated 11/15/2011
Added time to multiday appointments that are not all day appointments.
Added code to adjust font so all the appointment time text should show.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
You can combine this tweak with the CHT_DataLoader tweak.
CHT Lockscreen
I have been using CHT Lockscreen for a while now and selected the choice for lock after a call. It seems it locks after all calls instead of locking only if it was locked before the call. Is this how it works for you all?
I have been looking in the CHT_Lockscreen.lua file, but I have not figured out how lockscreen is called when I end a phone call. I can clearly see code for when we choose lock after unplugging, but not for the phone calls. I also searched all lua files with notepad++, but had no luck either.
Can anyone point me in the right direction for where the lock gets called after a phone call?
I would like to try to get it to lock after a call only if it was locked before the call. There appears to be a registry value associated with it:
CHTI.State.WasLockedWhileIncomingCall
Click to expand...
Click to collapse
It is 0 when not locked and when locked. It becomes 1 when a call comes in, but does not if the phone is not locked before a call. This is as expected, but it still locks after a call even if it is not locked before the call.
I used notepad++ to search for WasLockedWhileIncomingCall in all files of the lua code for CHT and did not find it.
---------------------------------------------------------
I have created my own WasLockedWhileIncomingCall code for CHT_Lockscreen.lua which is 4956014B_manila when cooked:
I could not figure out the setting of lock after call, so if you have it on and your phone works like mine it will always lock after a call.
With my change you turn this setting off and your phone will only lock after a call if it was locked before the call. Set it back on and it will lock after all calls.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
CHT_StartUp and CHT_Core
CHT_StartUp
I have noticed CHT restarts Sense once in a while. If my phone is locked with CHT it still restarts, but does not lock afterward.
This tweak checks to see if CHT lockscreen was running and after CHT restarts Sense it will lock the phone again.
The file is 55933D15_manila
****************************************
CHT_Core
I had a problem with Longpress popup menus not working. I discovered it did not work if I set Animation level to None and worked if I set it to the other levels.
I tweaked CHT_Core.lua to make it work. The file is 750CA94B_manila
Updated 12/29/2011
Tweaked the check limits portion to see if the widgets are on the same page and not just the same level. This allows the appointment widget on the second page to be at the top of the page and not cause the clock at the top of my first page to hide.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
Tasks Widget
I also made some changes to the Co0kieTasks.lua which is the 3778A5E5_manila file after it is "cooked" in the kitchen:
If the task only has one date it only shows one instead of the "..."
It color codes the items still.
Added menu to Date and New Task items so when you press them a menu shows letting you pick:
1) Update Tasks - instead of using the separate free link
2) Calendar - to go to the calendar tab
3) Tasks - to go to the task program
4) New Task - to create a new task
Updated 12/27/2011
Main thing is fixing the restart of CHT when you have no tasks.
One thing I have noticed in the code is the way complete and delete is set up you can only do one at a time and have to wait for the refresh before you can do another one. One thing I did to avoid confusion is change text to "Complete. . ." or "Delete. . ." before running the code that changes the task to completed or deleted. When it disappears you know you can complete or delete another one.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
You can combine this tweak with the CHT_DataLoader tweak.
Email Widget
I have noticed when I go to my Email widget it shows the last email I was looking at. If I have gotten a new email the count x of y is blank.
I decided to figure out a tweak to get the widget to always go to the first email in the list.
I ended up having to tweak Co0kieEmail.lua file to get it to work when going from one hometab page to the other and the CHT_Widgets.lua file to get it to work when going from other tabs to the home tab. It also works on my lockscreen.
I have figured out when you have animation instead of simple page changes you will not get a double flip of the envelope.
Updated 11/15/2011
Improved the jump to the first email so you do not get the double flip in the fancier page switch settings.
Added a delay to not remove the notification until the email page actually shows when you switch to the email widget after there has been a new email notification.
Updated 11/10/2011
Added a menu item to jump to the first email so if you have flipped through a lot of messages you can jump back to the first message.
Be sure to make a safe copy of your \windows\29C5E347_manila and \windows\4B558519_manila files
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
Removed outdated Widgets.lua file. See below.
Scaled Basic Widgets
This updated version includes the tweak for having email go to the first item when you switch to home tab from other tabs from post #8 above.
Scaled Default Weather Clock:
It also has a change that allows the default clock with weather to be scaled. Now I can fit my weather clock and reminder widget side-by-side.
Added the following scaled widgets. I included the ability to go larger than default size too.
Appointments (works for AppTask version too)
Tasks
Notification bar
Email
SMS
Click to expand...
Click to collapse
Updated 12/29/2011
Tweaked the scaling portion based on the core.lua edits to stop hiding the clock on a different page. This tweak fixed the "x" position to be sure it shows as being on the correct page. It affects most of the tweaks and not just the appointments widget.
CHT_Widgets.lua file or \windows\4B558519_manila file
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
CHT_FreeLinks
I found that if I accidentally touched a free link while trying to slide to another page on the lock screen it would unlock so... I added tweaks to only unlock if I slid to the free link slide to unlock distance, but not more than twice that distance. That way if I slide more than that it changes pages instead.
For all updated files I strongly suggest you copy your originals from the \windows folder as a back up. Then copy these to the \windows folder. Then restart Sense.
**RESERVED for more**
nosedive said:
damn it.. works great
finally a solution
very well done!!!
Click to expand...
Click to collapse
Thank you
Have you tried the combined appointments and task widget tweak?
I could really use some feedback on how it works for others.
Hi Rory,
Thank you very much for your tweaks !
Would it be possible to share the lua of your "Appointment Widget with Tasks included" tweak please ?
Greetings,
Laurent
kalhimeo said:
Hi Rory,
Thank you very much for your tweaks !
Would it be possible to share the lua of your "Appointment Widget with Tasks included" tweak please ?
Greetings,
Laurent
Click to expand...
Click to collapse
Here it is. Do you have any problems with the long press on a task bringing up the menu for complete/delete and it disappearing before you can select one?
************ Moved file to main post for this **********
RoryB said:
Here it is. Do you have any problems with the long press on a task bringing up the menu for complete/delete and it disappearing before you can select one?
Click to expand...
Click to collapse
Thank you !
Yes I do have exactly the same problem with your tweaked widget.
Note that I already had the problem before with a modified App and Task widget of my own, but I did not investigate the cause.
oh I just realised that the zip only contains the lua for the appointment widget, the other _manila from your tweaked plugin must be the dataloader isn it ? (I don t have my kitchen with me ). Is it possible to have that lua as well ?
Thanks
kalhimeo said:
oh I just realised that the zip only contains the lua for the appointment widget, the other _manila from your tweaked plugin must be the dataloader isn it ? (I don t have my kitchen with me ). Is it possible to have that lua as well ?
Thanks
Click to expand...
Click to collapse
Sorry, forgot that one. Here it is.
I think when I have a little time I am going to try creating an App-Task widget from scratch so it does not use the existing lua files.
I may try another hard reset and only install the dataloader and the lockscreen tweaks to see if they work and do not cause the long press problem. If they do not then I may install my Reminder widget to check it too. Then I will try creating the new widget.
I have confirmed going back to all the original lua files does not "fix" the problem. I do not know how the break" stays permanent.
************ Moved file to main post for this **********
Thanks for the file
RoryB said:
I have confirmed going back to all the original lua files does not "fix" the problem. I do not know how the break" stays permanent.
Click to expand...
Click to collapse
Maybe one of our CHT settings (reg) is causing that problem ? It might simply be a CHT bug because if you restore all original CHT _manila files I can see no reason why the longpress bug continues.
As I said above I was already facing that bug with my CHT but did not investigate too much. Maybe it has something to do with the SenseTasks refresh process.
Cheers
The strange thing is I feel it was working for task widget, Notes widget, Reminder widget and maybe even Appointments with Tasks. Then I had to do a hard reset and installed everything. That is when I noticed the long press pop up issue. I even did a re-install of the ROM with Task-29 first. I just did not think to test the functions between the ROM flash and the installs. I am not able to be without my phone data so it will be after the weekend before I can do the flash. BTW the ROM I am using has CHT cooked in it.
Has anyone installed CHT 2.0 into a Co0kie ROM?
Has anyone installed CHT 2.0 into a Co0kie ROM?
Click to expand...
Click to collapse
Yes I had to do it some time and works fine

Delete / Rebuild Gallery Thumbnails.

I had a hard time finding the fix for this on the Evo 4G LTE so I hope this helps others.
It may apply to other phones.
Warning! Although this fix solved my problem (where other fixes failed),
it apparently affected my lock screen (the HTC sense one, which I have disabled).
So do this at your own risk.
Update: The lock screen thing went away at next reboot, so probably no big deal.
It is apparently common, it's happened to other people for no reason
and sometimes goes away on its own, only to come back later.
It may not even be related to my thumbnail fix.
The lockscreen issue is: The ring won't to slide all the way up and the clock at the top showed overlapping numbers.
You can still access your phone by pulling down the notifications bar at the top,
tapping settings, and then clicking the home button.
I simply disabled the lock screen entirely -
Search the google play store for No Lock Screen, made by Futon Redemption.
The Thumbnail Fix:
If your gallery shows small picture previews (thumbnails) showing a gray warning triangle,
or duplicates of your images, you need to delete your thumbnail cache.
You can try deleting these manually from within the gallery, but it's slow
and you run the risk of deleting the actual pics and not just the thumbnails.
When you delete the thumbnails, the phone will automatically rebuild them,
and the next time you launch the gallery, the duplicates and missing image icons will be gone.
There are a few places where the phone might store these thumbnail caches.
I found several possible locations while googling. Some may be for other phones.
Try these first. They didn't fix the problem for me, but they didn't have any bad side effects either.
Use a file browser like Root Explorer to get to these files/folders and delete them.
Make sure "show hidden files and folders" option is enabled.
• /sdcard/dcim/.thumbnails (delete the whole folder)
• /sdcard2/dcim/.thumbnails (ditto)
• /sdcard2/dcim/thumbs.db (possible I accidentally copied this file from windows)
• /sdcard/Android/data/com.cooliris.media/cache
• /dbdata/databases/com.android.providers.media/externalXXX.db
• any thumbnail folders in /sdcard/DCIM/Camera/ or /sdcard/DCIM/100ANDRO/
Other possible fixes (these didn't work for me either)
• Settings --> Applications --> All --> Gallery --> Clear Cache. For me, this button was grayed out.
I was able to do "clear data" instead but it didn't work.
• There are a few thumbnail cache cleaning apps. I got "Gallery Refresh" and it didn't work.
OK for real, the actual fix:
• What worked for me is to go to this directory:
/data/data/com.androids.providers.media/databases/
and delete the file external.db. Don't touch internal.db.
To be safe you can just rename it so you can restore the file later.
Right after doing this and rebooting I got the lock screen issue so once again, use at your own risk.
Thanks, it helped me restoring the thumbnails in a CM13 based ROM (Ressurrection-Remix Marshmallow). The catch was the part about deleting external databases in /data/data/com.androids.providers.media/databases/ (I did a backup first, just in case...).
It seems that deleting the .thumbnails folder in DCIM now breaks the thumbnails, ie they aren't rebuilt later, at least not for now...

Categories

Resources