[REQ] A Comm Manager tab for TF3D - Touch Diamond, MDA Compact IV Themes and Apps

EDIT: Check post 172 http://forum.xda-developers.com/showpost.php?p=2943363&postcount=172 for a cab that includes the comm manager, calendar and call history tab
EDIT: Check post 4!
Having a separate tab in tf3d for Comm Manager could be very convenient. Any developer willing to work on this? thnx!

I second that. Would really like it for my TP since I use it all the time.

would be quite nice

Here you go......
add the following to your 26948339_manila system file - follow the standard "backup" rules and include the page order detail to suit your set-up....
Please don't ask how to do this - thats where you'll need to read and research yourself - that way you may learn some more useful stuff along the way too! There's plenty of information out there on the subject of editing manilla.....
Trying to remember who gave me the original code - will add "thanks" to this post when I do.....
Screenshot attached:
<Page Order="13" Name="communications.page" PackageName="HTC" Title="[[IDS_COMMUNICATIONS]]" >
<ComponentReference Name="page" Mode9Path="HTC\settings.mode9" Component="CommunicationsPageComponent" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Programs_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Programs_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Programs_Preview" />
</Page>
Click to expand...
Click to collapse

EDIT: Hey.. you beat me to it..!!
How did you change the font colour!
---
here it is...
separate tab for Comm Manager...
http://forum.xda-developers.com/showthread.php?p=2658116#post2658116
Not completely perfect... we can't change the font...
but we can change the background colour of all tabs..
have a look here..
(haven't tried the both of them together myself yet..)
http://forum.xda-developers.com/showthread.php?p=2720488#post2720488

NisseDILLIGAF said:
here it is...
separate tab for Comm Manager...
http://forum.xda-developers.com/showthread.php?p=2658116#post2658116
Not completely perfect... we can't change the font...
but we can change the background colour of all tabs..
have a look here..
(haven't tried the both of them together myself yet..)
http://forum.xda-developers.com/showthread.php?p=2720488#post2720488
Click to expand...
Click to collapse
Had just looked up who's code I was using and..... NisseDILLIGAF It was yours!!!!! Thanks for sharing (as usual....)

Blob8me said:
Here you go......
add the following to your 26948339_manila system file - follow the standard "backup" rules and include the page order detail to suit your set-up....
Please don't ask how to do this - thats where you'll need to read and research yourself - that way you may learn some more useful stuff along the way too! There's plenty of information out there on the subject of editing manilla.....
Trying to remember who gave me the original code - will add "thanks" to this post when I do.....
Screenshot attached:
Click to expand...
Click to collapse
Thnx man! Great job. Thnx to Nisse to.
What theme do you use? Can you please share your icons?

NisseDILLIGAF said:
EDIT: Hey.. you beat me to it..!!
How did you change the font colour!
Click to expand...
Click to collapse
Hey NisseDILLIGAF - I actually cheated a little for the benefit of the screen shot and highlighted each setting first using the directional navigation button and the font (as I'm sure your aware) is the Handwriting font but only applied to the TF3D programme and not the replacing the system font..... I'm still looking for a suitable Icon though and a simple way to add it to the script? Hope that helps but I'm sure you'll be dissapointed that the font isnt "Naturally" bright white?
.

pamas said:
Thnx man! Great job. Thnx to Nisse to.
What theme do you use? Can you please share your icons?
Click to expand...
Click to collapse
Again - Not my work - Thanks to jerem for sharing and the hard work here - but here you go.....
http://forum.xda-developers.com/attachment.php?attachmentid=111135&d=1220626924

Blob8me said:
Again - Not my work - Thanks to jerem for sharing and the hard work here - but here you go.....
http://forum.xda-developers.com/attachment.php?attachmentid=111135&d=1220626924
Click to expand...
Click to collapse
Thnx again!

Blob8me said:
Hey NisseDILLIGAF - I actually cheated a little for the benefit of the screen shot and highlighted each setting first using the directional navigation button and the font (as I'm sure your aware) is the Handwriting font but only applied to the TF3D programme and not the replacing the system font..... I'm still looking for a suitable Icon though and a simple way to add it to the script? Hope that helps but I'm sure you'll be dissapointed that the font isnt "Naturally" bright white?
.
Click to expand...
Click to collapse
But there is a suitable icon!
Thanx to D-MAN666!
replace
Programs_Off"
Programs_On"
Programs_Preview
to
Settings_Communication_Off
Settings_Communication_On
Settings_Communication_Preview

Blob8me said:
Here you go......
add the following to your 26948339_manila system file - follow the standard "backup" rules and include the page order detail to suit your set-up....
Please don't ask how to do this - thats where you'll need to read and research yourself - that way you may learn some more useful stuff along the way too! There's plenty of information out there on the subject of editing manilla.....
Trying to remember who gave me the original code - will add "thanks" to this post when I do.....
Screenshot attached:
Click to expand...
Click to collapse
after paste this code and copy the file a got black color font and see anything :/ What to do ? Because on the screen there is white font :/

Blob8me said:
Here you go......
Click to expand...
Click to collapse
Many thank to everybody!
It would be nicer if will possible to change font color...
Ciao, Andrea

Great thing - thanks to everyone

Krzysiec said:
after paste this code and copy the file a got black color font and see anything :/ What to do ? Because on the screen there is white font :/
Click to expand...
Click to collapse
Genius2000 said:
Many thank to everybody!
It would be nicer if will possible to change font color...
Ciao, Andrea
Click to expand...
Click to collapse
The font colour is hardcoded in manila files
you could change the background colour
see here
http://forum.xda-developers.com/showthread.php?p=2720488#post2720488

NisseDILLIGAF said:
The font colour is hardcoded in manila files
you could change the background colour
see here
http://forum.xda-developers.com/showthread.php?p=2720488#post2720488
Click to expand...
Click to collapse
I think clever XDA people will find some solution
Thank you very much!
Ciao, Andrea

Question from an ignorant people.... is it possible to make a .cab of that ?
Last time i changed something in the registry.. i had to hard reset my Artemis... i would not like to hard reset my diamond
Ciao
Fred

With the font color changed and a cab file created, one of my Diamond wishes comes true!

Thank you both NisseDILLIGAF and Blob8me!
EDIT: Works great!!

NisseDILLIGAF said:
But there is a suitable icon!
Thanx to D-MAN666!
Click to expand...
Click to collapse
Thanks NisseDILLIGAF and once again (The Man) D-MAN666....
Here's the ammended code for others ease of reference and a revised screenshot showing the correct icon..... Note that there's no "cheating" with the font colour this time though Hard Coded into Manilla as mentioned before....
Code:
<Page Order="10" Name="communications.page" PackageName="HTC" Title="[[IDS_COMMUNICATIONS]]">
<ComponentReference Name="page" Mode9Path="HTC\settings.mode9" Component="CommunicationsPageComponent" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_Preview" />
</Page>

Related

[TF3D APP][14.09.08]Calendar v.0.75 with Active Icon

All right, boys and girls, please welcome first custom tf3d/manila application ever!
It's a simple calendar, but it's just a test of manila coding/modding and someone might find it useful, also.
PLEASE NOTE, that development is still in beta state - much things to be fixed/added. Feedback/bugreports are welcome, of course.
Installation instructions:
1. Backup all *_manila files in \windows\ folder! You can skip this step, but don't complain afterwards
2. Copy all files from \windows\ in archive to \windows\ folder on device
3. Add new tab entry to 26948339_manila (it can be found in \windows\ dir):
Code:
<Page Order="10" Name="calendar.page" PackageName="HTC" Title="Calendar">
<ComponentReference Name="page" Mode9Path="HTC\calendar.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconTray" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconOn" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconPreview" />
</Page>
Put your language title for calendar instead of Title="Calendar"
Also, you can still use old "static" icons (or combine them with active by replacing strings partly):
Code:
<ComponentReference Name="icon_normal" Mode9Path="HTC\calendar.mode9" Component="Calendar_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\calendar.mode9" Component="Calendar_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\calendar.mode9" Component="Calendar_Preview" />
4. Restart manila
5. ???
6. PROFIT
PS Feel free to edit application icon
Updates
Version 0.6:
- Added localization support. Package contains only en-us and ru-ru locales. If you need your language added, please fill in any of locales included with your language and send back to me - i will add it to pkg.
- Removed red textbox - app looks nice now
- Minor bugfixes
Version 0.7:
- New locale IDS! Be aware when creating new language packs!
- Finger flick control (oh yeah, baby)
- Hardware button control (up/down)
Version 0.75:
- Active Icon (shows real date in tray/preview)
How to make your own locale file:
http://forum.xda-developers.com/showthread.php?p=3129893#post3129893
Have fun
Looks awsome, I'll try it soon and let you know.
Thanks.
I dont find 26948339_manila? Which version of manila did you have?
Atze001 said:
I dont find 26948339_manila? Which version of manila did you have?
Click to expand...
Click to collapse
Standard Manila from 1.93 ROM
Very weird that you don't have this file, coz it's manila.xml indeed
You can try searching for file, that contains "<PreloadImage".
Nice one ! Thank you !
WOW Just tested it and its working fine without any problem. Love the animation. Wish flicking finger up and down would change the months as well instead of using the arrow (Like in messages tab). One question, what are these numbers near the top left corner?
Flick control will be added in the next version.
As for red textbox, it's just a debug info - will be removed in later versions
Cool app!!!!
We hope you'll be able to manage Appointments on TF3d Today Screen........
D-MAN666 said:
Flick control will be added in the next version.
As for red textbox, it's just a debug info - will be removed in later versions
Click to expand...
Click to collapse
Got it. Will be looking forward.
Not sure if this is a bug, the 'Today' softkey on the calendar tab does nothing for me.
AF241 said:
Not sure if this is a bug, the 'Today' softkey on the calendar tab does nothing for me.
Click to expand...
Click to collapse
Today softkey returns you to current month (when you're out of it)
Also, guys, please test automatic day/month change (via system clock manipulations, of course )
Silly me. the Today key works just as you mentioned.
I tested automatic day/month change by changing the system date and it worked. The date on the calendar tab changed within a second or two after pressing the ok button.
Looks awesome - will defo have a go with this
Are the iphone icons included? I use iphone icons but dont have the calender manilla file.
What I really want is a custom application which previews the threaded text messages as the current one is pointless.
Awesome!!!
The first step to get new tabs in manila.
GREAT WORK!!!
iPhone icons are included in the package! If you don't see em, you either didn't copy the into windows dir, or incorrectly edited manila.xml file... or something else happened
Please note that it refers to calendar.mode9, not icons.mode9 (that may be the case):
<ComponentReference Name="icon_normal" Mode9Path="HTC\calendar.mode9" Component="Calendar_Off" />
Click to expand...
Click to collapse
A LiveMessenger Tab would be great.
Great idea, next highly anticip[ated features for this specific app would be:
1. Clicking the date opens the Calendar app to create new appointment (Default calendar/PI/Papyrus ... an option feature to choose)
2. Flicking down - show all your today appointments/tasks + for next 7 days (this one I guess i very much in demand, as the default manilla only show for today on main screen)
BTW, how about creating a .cab file?
AF241 said:
WOW Just tested it and its working fine without any problem.
Click to expand...
Click to collapse
could you post here your tab icon like on the screenshot?
Mkevin said:
could you post here your tab icon like on the screenshot?
Click to expand...
Click to collapse
This is "default" icon (for situations when icon is missing). I dunno why some people gets that icon instead of iPhone one (included). Anyone has iPhone icon?
PS Mkevin, нашел куда вставлять?
EazyVG said:
BTW, how about creating a .cab file?
Click to expand...
Click to collapse
The problem is in icon of that tab - for all it will be only one... so after .cab installing you must take file 112dc2ce_manila and 1479c303_manila from you Windows folder and change them to your view
And WARNING it works correctly only if you don't change any thing in manila (like change a place of tab in Advanced config or add call history tab) in another way code that you have to add to file must be different
Cab file not include icons from original
Nice finding It doesn't work for me. I have a blank new page with some numbers on the bottom and some other on the top of it an they keep rotating pressing on the two little arrows on the right. I have a skinned manila with a white theme and a 1.93 based rom.
Your findings on how to add new pages to manila will surely produce a lot of nice customizations. I think we will have a very hard time to arrange themes and new tabs tough

Disable call history, calendar, and home tabs in TF3D

Is it possible to take out call history, calendar and the home tabs on the home screen (leaving only the clock)? I like the home screen to look clean and was wondering if this is possible.
does anyone has a solution to this?
TF3d config. uncheck un-wanted tabs
Blazeitup123 said:
TF3d config. uncheck un-wanted tabs
Click to expand...
Click to collapse
doh! You're absolutely right.
What about calendar and call history? Where do i go to disable that also?
those are add-on tabs, not stock and were available after the latest version of tf3d config was released. i'm guessing they are cooked into your 3rd party rom and cannot be removed easily. until some registry wizard comes along, i don't have an answer for you.
lude219 said:
doh! You're absolutely right.
What about calendar and call history? Where do i go to disable that also?
Click to expand...
Click to collapse
copy 26948339_manila to your computer (use a nice filemanager e.g. Total Commander)
open the file with a texteditor...
delete these lines...
Make a backup before u edit the file!
for call history...
Code:
<Page Order="2" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]" ExternalScriptPath="HTC\Scripts\orangecalllogtransitions.luac">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
and
for calendar
Code:
<Page Order="10" Name="calendar.page" PackageName="HTC" Title="Calendar">
<ComponentReference Name="page" Mode9Path="HTC\calendar.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconTray" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconOn" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Calendar.mode9" Component="ActiveCalendarIconPreview" />
</Page>
copy the manila file back to windows .. softreset or restart TF3D
but if u have Calendar Tab u must have put the calendar lines in the file yourself??
and by wizard i meant NisseDILLIGAF lol
I don't seem to have those lines in that file. Is this for removing a tab or removing the calendar button under the clock on the today screen?
Removing or remapping the button is what I am trying to do.
Thanks.
would it be possible to make this as a .CAB file.....i'm too thik to figure out the whole manila thing but i would really like to disable the calendar and the calls under the clock
kanada_green said:
would it be possible to make this as a .CAB file.....i'm too thik to figure out the whole manila thing but i would really like to disable the calendar and the calls under the clock
Click to expand...
Click to collapse
+1
If Nisse or any manila wizards can put this in a CAB, I would be greatly appreciated!
Drybonz said:
I don't seem to have those lines in that file. Is this for removing a tab or removing the calendar button under the clock on the today screen?
Removing or remapping the button is what I am trying to do.
Thanks.
Click to expand...
Click to collapse
This is for removing the Tab's nothing else...
You can't remove the calendar button under the clock.. it's coded in manila...
and for making a cab... I could do that... but I won't
If u install that file with a cab u could mess things up for the rest of the tabs...
there are different TF3D versions with some different stuff in that file...
But It's not that hard... I think u will figure it out
ABOUT MAKIN A CAB
if we screw up its our fail rite we can reinstall a rom all over again or what you think
NisseDILLIGAF said:
This is for removing the Tab's nothing else...
You can't remove the calendar button under the clock.. it's coded in manila...
and for making a cab... I could do that... but I won't
If u install that file with a cab u could mess things up for the rest of the tabs...
there are different TF3D versions with some different stuff in that file...
But It's not that hard... I think u will figure it out
Click to expand...
Click to collapse
Dynomite232 said:
ABOUT MAKIN A CAB
if we screw up its our fail rite we can reinstall a rom all over again or what you think
Click to expand...
Click to collapse
true, it will be your fault ...
I won't make a cab file because if something happens then I will have allot of messages from people that wants me to fix it...
No.. it's not that dangerous! .. no need for reinstalling the ROM
If u screw it up ...
just delete 26948339_manila, and It will go back to original file...
or if u made a backup before u edited the file... just copy back the backup..
you totaly rite man thanx so all we do is copy that manila to windows thats all eler
NisseDILLIGAF said:
true, it will be your fault ...
I won't make a cab file because if something happens then I will have allot of messages from people that wants me to fix it...
No.. it's not that dangerous! .. no need for reinstalling the ROM
If u screw it up ...
just delete 26948339_manila, and It will go back to original file...
or if u made a backup before u edited the file... just copy back the backup..
Click to expand...
Click to collapse
NisseDILLIGAF said:
This is for removing the Tab's nothing else...
You can't remove the calendar button under the clock.. it's coded in manila...
and for making a cab... I could do that... but I won't
If u install that file with a cab u could mess things up for the rest of the tabs...
there are different TF3D versions with some different stuff in that file...
But It's not that hard... I think u will figure it out
Click to expand...
Click to collapse
Thanks for clarifying
I looked through the file and didnt see any of those entries. I'm not talking about the tabs on the bottom row, I'm referring to the "call history" and "calendar" directly underneath the clock. Since you said it's hard coded, i guess nothing can be done to it
I know i might be doing something wrong but i've been searching everywhere for a link or a .cab file to disable the calls and the calendar under the main clock.....but i still can't find it anywhere....please please please someone help me solve my problem i really want to see a clean main page in manila but i just can't find an answer
Apparently there's no cab man.
But if ever someonr llokined into the Manilla code, it would be cool if a 'TASKS' thingy could be added on that home screesn just like call history and calendar.

[REQ] Blank Home Screen

I don't know if anyone else see's a point in this but i like to actually see my wallpaper instead of it being cluttered up
So i was wondering if there is a simple way to add a manilla tab that's just empty, which i can set as tab 0, and then the home screen on tab 1.
Code:
<Page Order="0" Name="wallpaper.page" PackageName="HTC" Title="Wallpaper" >
</Page>
Editing code from the Comm Manager tab, as posted above, i wondered if something as simple as this would work?
I would test it but i have to dash so i'll leave it to the pro's
Thanks guys
bump: 135 views and nobody answers? is this because you dont know or because you are shy?
Addicteddddd said:
bump: 135 views and nobody answers? is this because you dont know or because you are shy?
Click to expand...
Click to collapse
Do you know about SecondToday? Does that meet your needs?
Yeah but i don't like it as it's another app i need to run, where as this would be built into manilla
I'll just test it and report back ^^
EDIT: it doesn't work

[WM6.5] isMToday: DISCONTINUED

DISCONTINUED
At least for now...
I have moved to a new device and started using HTC Sense instead of the 6.5 homescreen.
If i get chance I will finish the C++ version up over christmas, otherwise this can be considered dead.
Introduction
This project is simply a CHome/Titanium plugin which displays your Alarms (G-Alarm or Klaxon) and your Profiles (G-Profile).
Download
Attached to this post.
Installation Instructions
If you have v0.02 or v0.01 (CGAlarm) installed, uninstall that first.
Install the cab file - as far as i know it should not matter where but I have only tested to the main memory.
Wait for the settings program to load.
Notes
The settings program is quite slow, but the plugin itself is fine.
If anything goes wrong, backups of your .cpr files are kept in \Program Files\isMToday
I had to try to figure out the different alarm types. Everyday, weekend, monday, etc type alarms should be supported. One time alarms should be supported. Other types are a bit hit and miss. This does not affect the alarm functioning, but does mean the time to next alarm may be wrong.
Alarm/Profile logos taken from iREFLECT by bluemetalaxe
Requires .NET Compact Framework 3.5
Changelog
v0.06 2009/08/06
- Hopefully reduced memory footprint
[*]v0.03 2009/07/29
- Changed name to isMToday (Previously CGAlarm)
- Added support for Klaxon
- Reduced cpu usage
- Should play nicer with WM6.5 themes
[*]v0.02_NoG 2009/07/15
- Changed home screen text from galarm/gprofile to alarm/profile.
- Otherwise exactly the same as v0.02
[*]v0.02 2009/07/14
- Added G-Profile support
- Added pages for each alarm and profile
- Other improvements all over
- More reliable code
[*]v0.01 2009/07/11
- Initial release.
Screenshots
It works without any problems(so far ca. 5min.).
But it would be cool to have a titanium plugin for G-Profile where you can access your profiles and Wifi, Blurtooth, Phone like the normal today plugin.
PS: I use the old free 1.5.1 Version
I am interested. But it needs more functions.
can't download the cab, the link is broken. also upload a screenshot!
Raudi1 said:
It works without any problems(so far ca. 5min.).
But it would be cool to have a titanium plugin for G-Profile where you can access your profiles and Wifi, Blurtooth, Phone like the normal today plugin.
PS: I use the old free 1.5.1 Version
Click to expand...
Click to collapse
Thanks for trying. I had not actually considered users of the free version (which may never get an official titanium plugin).
I dont use G-Profile myself but had a quick look. Like G-Alarm it appears most information is available in the registry. At the very least I could add a button to this plugin which would launch the G-Profile quick select app, and perhaps display the currently active profile. It looks like thats all the built in today plugin does anyway. Im not sure about the wifi/bluetooth/phone buttons - I dont think there is a way to get G-Profile to toggle those for me so I would have to impliment it myself which may be too much work when you can access them from the quick select anyway.
Is this the kind of thing you had in mind or were you thinking of a separate plugin?
I will certainly add this to my todo list, but my next task is to try and have pages for all the alarms (so they can be enabled and disabled from the plugin).
ebsbow said:
I am interested. But it needs more functions.
Click to expand...
Click to collapse
Can you elaborate on what you want from it?
fixxxer2008 said:
can't download the cab, the link is broken. also upload a screenshot!
Click to expand...
Click to collapse
Oops, I moved my webspace around to put this up but its obviously not ready yet. I have attached them to the post for now.
I had a separate plugin in mind but a button to open the quick switch would already be a big help.
Updated to v0.02
Very nice. I was wondering if there was a way to slightly reduce the panel name so the "g" in galarm isn't cut off at the bottom?
Thanks for the sweet program.
Your welcome!
Good idea - I will add some sort of size option to the next version.
isangelous said:
Your welcome!
Good idea - I will add some sort of size option to the next version.[/QUO
You could just change the plugin name to "alarms". That would also fix the problem.
Click to expand...
Click to collapse
ptfdmedic said:
You could just change the plugin name to "alarms". That would also fix the problem.
Click to expand...
Click to collapse
Uploaded v0.02_NoG with this change.
Thanks for the new version!
Installed it and works perfectly and now I don't have any reasons to switch back to the standard today page(considered doing it a couple of times) and I definitely won't use Manila anymore(looks good but it takes too much time to reach what you want and it lacks many features like G-Alarm/Profile).You just have to disable titanium when updating from the old version or otherwise the installation fails.
But I'd like to be able to activate the profiles by clicking on them instead of using the softkey. But you already said it will be in your next version so I don't have any complains.
Im glad you are happy.
If all goes well I will release the next version in about one week - and this will be the last major update. It should include:
- Setting for enabling the clickable pages
- Setting for either font size or "galarm"/"alarm"
- Fix any update/uninstall issues
- Try to get full compatability with different alarm types
- Try to improve the layout a bit, possibly including logos for alarms/profiles and current time/date - This will require further investigation and may not change at all
- Try to make the config app a bit smoother (or at least better indicate when its busy).
If anyone has any other suggestions please let me know as soon as possible. After this update I will focus on other projects and plan to only release further updates to match G-Alarm updates and fix bugs.
isangelous said:
Im glad you are happy.
If all goes well I will release the next version in about one week - and this will be the last major update. It should include:
- Setting for enabling the clickable pages
- Setting for either font size or "galarm"/"alarm"
- Fix any update/uninstall issues
- Try to get full compatability with different alarm types
- Try to improve the layout a bit, possibly including logos for alarms/profiles and current time/date - This will require further investigation and may not change at all
- Try to make the config app a bit smoother (or at least better indicate when its busy).
If anyone has any other suggestions please let me know as soon as possible. After this update I will focus on other projects and plan to only release further updates to match G-Alarm updates and fix bugs.
Click to expand...
Click to collapse
Thanks for fixing that plugin name. One last thing I noticed is that when you scroll to the the panel "No upcomming alarms" is not centered in the panel like the other panels. I mean up and down centered. Left to right is good. That is the only thing I can find. Very nice app. Thanks for taking care of these cosmetic items.
Ah, I had not considered the middle "No missed calls" etc of the other panels. Matching that should be straightforward so will be included in the next release.
Thanks for the input.
isangelous said:
Ah, I had not considered the middle "No missed calls" etc of the other panels. Matching that should be straightforward so will be included in the next release.
Thanks for the input.
Click to expand...
Click to collapse
Any pdaton t nextld. Can'twait!!!!!!!
I have change the condensed view on my Omnia to the following -
Code:
<Layer ID="CGAlarmCondensed" Visible="False" Width="240" Height="34">
<Image ID="ImageFixed" Source="\My Documents\Themes\Bliss\bliss_iconbgclear_portrait.png" Left="10" Top="4" Width="220" Height="29" ScaleStyle="Fit" />
<Layer ID="Page">
<!-- Icon -->
<Image ID="ImageFixed" Source="\My Documents\Themes\Bliss\bliss_clock.png" Left="11" Top="7" Width="23" Height="23" ScaleStyle="Fit" />
<Text ID="PluginLabel" Left="40" Top="6" Width="220" Height="34" FontFamily="segoe ui" FontSize="15" FontStyle="regular" Wrap="False" VerticalAlignment="Middle" Trimming="EllipsisCharacter">
My issue is that i am unable to see the bliss_clock.png image in the condensed view.
Am i missing something silly? like a registry entry thats required?
You just need to put the images outside the Page layer:
Code:
<Layer ID="CGAlarmCondensed" Visible="False" Width="240" Height="34">
<Image ID="ImageFixed" Source="\My Documents\Themes\Bliss\bliss_iconbgclear_portrait.png" Left="10" Top="4" Width="220" Height="29" ScaleStyle="Fit" />
<Image ID="ImageFixed" Source="\My Documents\Themes\Bliss\bliss_clock.png" Left="11" Top="7" Width="23" Height="23" ScaleStyle="Fit" />
<Layer ID="Page">
Your example did not work because the Bliss theme is replacing the images already included in the clock panel. Its hard to tell exactly because the clock is built into CHome, but it must define ImageFixed somehow. As ours is not built in, we would need a definition like this:
HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\CGAlarm\CondensedPage\ImageFixed
for it to work within the Page layer, and I think it would ignore the Source="..." bit then anyway.
Dont forget, if you make changes like and run the cgalarm settings application again it will undo them. But as it backs your cpr to \Program Files\CGAlarm you can just copy it back again.
Nice panel, thanks!
About G-profiles (I use Klaxon, no g-alarm)... you could use the same icons for every profile as they are installed! In Program Files\ageye\G-Profile\skins\default you can find all the original icons. Maybe you could even add a G-Profile icon in the condensed view? And do you know Klaxon maybe? And maybier, are you going to roll out any Klaxon panel? Would be similar to G-Profile's, simply read the alarms set (and maybe some option/setting? don't know...) and create panel page...
1. Why in the startup file cgalarm.exe? This is due to update in real time? It loads the processor, resulting ooze battery ...
2. I changed the name of the plugin across CHomeEditor. After rebooting restores title by default. How can I avoid this?

make a toggle button "greyed out"

Hey guys,
Is there anyway to disable a toggle button and make it "greyed out"? I could just make it invisible but I think it would make more sense to the user if they could see that the button was not available rather than just having it disappear. I figured this would be pretty standard but I don't see it anywhere. Any help would be greatly appreciated.
Thanks,
Samuel Maskell
What's the purpose of the button?
You could just leave it there and not process based on code in the Listener.
Yeah, I was thinking of just making it display a toast message or something
but it would really be nice if I could change the appearance of the button
maybe I can play around with changing the background a bit..
Why not just setEnabled(false); ?
so I tried just using setBackgroundColor(Color.DKGRAY) but that failed miserably..
I can use getBackground() to get a Drawable object
so I should be able to take that object and make it darker
and then use setBackgroundDrawable, right?
I'm just not too sure how to go about making that drawable darker..
Gene Poole said:
Why not just setEnabled(false); ?
Click to expand...
Click to collapse
Didn't see your post last time. I am using setEnabled(false), but this does not change the appearance of the button. How are users supposed to know that the button is disabled? They'll just press it and think that the application froze or something because nothing will happen. If I could make the button darker and disable it, I think people would get the idea that it is disabled and not just broken.
Thanks,
Sam
apparently the background isn't what I want to change. Not sure what I should be doing exactly..
have you tried toggle.setColorFilter(0xAARRGGBB, Mode.SRC_ATOP); ?
you'd need to find the correct #AARRGGBB code for a greyish color, but it should work.
EDIT: Ok, so after playing around with the settings a bit I found that this works pretty nicely for greying something out toggle.setColorFilter(0xA6A6A6A6, Mode.SRC_ATOP);
ToggleButton doesn't seem to have a setColorFilter() class
did you do toggle.getBackground.setColorFilter() or something like that?
Actually, I was using setColorFilter on an ImageButton, that's probably why... sorry
smaskell said:
Didn't see your post last time. I am using setEnabled(false), but this does not change the appearance of the button. How are users supposed to know that the button is disabled? They'll just press it and think that the application froze or something because nothing will happen. If I could make the button darker and disable it, I think people would get the idea that it is disabled and not just broken.
Thanks,
Sam
Click to expand...
Click to collapse
Are you doing some custom painting or something weird? I've not tried this with a toggle button specifically, but other controls like check boxes and regular buttons show a grayed-out appearance when I've used this method.
EDIT: sorry, double post
alright, that was stupid..
for some reason I was using setClickable instead of setEnabled
I think I accidentally clicked in eclipse's autocomplete menu..
setEnabled(false) works perfectly
thank you so much
Are you doing some custom painting or something weird? I've not tried this with a toggle button specifically, but other controls like check boxes and regular buttons show a grayed-out appearance when I've used this method.
Click to expand...
Click to collapse
Yeah you're right, I just tried it out in one of my apps and the whole button faded out and is see-through
The correct way to do what youre doing is to make an xml file for your buttons:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE selector>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_enabled="false"
android:drawable="@drawable/bar_gray_disabled" />
<item
android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/bar_gray_clicked" />
<item
android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/bar_gray" />
<item
android:state_enabled="true"
android:drawable="@drawable/bar_gray" />
</selector>
You can pretty much just copy and paste that into an xml file and put it in your drawable folder.
If you create "myCustomButton.xml", then you'll set your buttons background to be "@drawable/myCustomButton"
To make this work you need to also get the 3 drawables for your different button states:
Normal (Mine is called bar_gray
Clicked (Mine is called bar_gray_clicked)
Disabled (Mine is called bar_gray_disabled)
Android will handle the switching of the images as you click the button or when you do setEnabled(false)
Down and dirty, like you said before:
Toast.makeText(this, "Button disabled", Toast.LENGTH_SHORT).show();

Categories

Resources