Problems with LayOut and Display - Android Q&A, Help & Troubleshooting

Hi! I'm learning to develop Android apps. I my application I've a Layout formed by an ImageView, a ListView, and an ImageView. The listview loads the data from SQL, so it hasn't a regular size. I want place the ImageLayouts always in the same place, one in the top and the other in the bottom.
The problem is that when the ListView is short, the bottom ImageView is placed in the zone the LV finish, not in the bottom. I think I can establish a size for the LV, but when the application run in a mobile with a shorter screen the ListView is so long. Thanks, I'm waiting for your help!.

Related

iPhoneToday v1.5.2 (Apr 15, 2010)

http://code.google.com/p/iphonetoday/
Watch a video demonstration at: http://www.youtube.com/watch?v=HG-T2Fv1onE
Submit and vote suggestions at: http://www.google.com/moderator/#16/e=4fa9
FAQ's at: http://forum.xda-developers.com/showthread.php?t=542727
Changelog
iPhoneToday v1.5.2 (Apr 15, 2010)
Improved scrolling performance. It should be really fast when there is no wallpaper or there is a gradient or image background for the mainscreen pages. Under these conditions you could even enable alpha blend on background without any performance loss.
Improved animation performance.
Added new animation effects. The available ones are: "None", "Expand rectangle from center", "Zoom out from center", "Zoom in to center", "Expand rectangle from clicked area", "Zoom out from clicked area", and "Zoom in to clicked area".
Added "animation" tab in options where you can select the animation effect, the animation duration, and whether to launch the application before the animation.
The "out of screen" tab got more options. You can now configure to stop scrolling when there are no more icons in a given direction.
Added an option to tile the background images.
Included a couple of tileable textures.
Included an iPhone background for the BottomBar.
Included some nicer looking bubbles.
When adding a new icon, it is now by default inserted at the end of the list not at the beginning.
Whenever edit boxes receive the keyboard focus all the text in them is selected and the keyboard is shown.
For PNDs added a "KB" button next to the "OK" and "X" buttons.
icons.xml and settings.xml are now always saved with DOS new lines.
Center button of D-pad jumps to first page.
Added --goto:right and --goto:left (similar to the --goto:next and --gotorevious).
Added a "Cradle State" icon.
Fixed non updating "Calendar & Appointments", "Unplayed Voice Mails" and "Irda State" icons.
Fixed exec alt of "Missed Calls & Signal Strength & Operator Name" icon.
Fixed an issue when text's color is black.
Other minor fixes and improvements...
iPhoneToday v1.5.1 (Apr 3, 2010)
Using registry notifications instead of polling for updating notifications (bubbles, date, time, etc.). Notifications (and reloadIcon) should now appear immediately. Battery foot print should also be smaller.
Icon, text, circles, offset sizes, etc. are scaled automatically if the application is launched in a different resolution than the one in settings.xml (LastConfiguredAt).
Bubbles are alpha blended.
Position, size, text, etc. of bubbles are configurable.
Added background image support for static bars (bottom bar and top bar). Gradient background can now be used even when a wallpaper is set. The background (gradient or image) of static bars can be alpha blended to the wallpaper.
ShrinkToFit option of static bars now shrinks the text height in addition to the icon width.
Added font settings dialog.
Renamed "GPRS State" icon to "Cell Network State".
Added "Missed Calls & Signal Strength & Operator Name" icon.
Added "Unplayed Voice Mails" icon.
Added "Irda State" icon.
Added "Phone Profile" icon.
No sound or vibration on launch if current profile is silent.
When battery is charging a dot is shown before the battery percentage to indicate charging.
If operator name is empty show NA for signal.
Changed the field "type" in the icon settings dialog from dropdown to droplist.
Fonts in the fonts subdirectory are automatically added/removed.
Load strExec and strParameters (in addition to nScreen, nIcon, strName, and strImage) from HKLM\Software\iPhoneToday\Icon...\ when HKLM\Software\iPhoneToday\reloadIcon is set.
Added a separate text quality option for text inside icons.
Added new pressed icons.
Added minimize OnLaunchIcon option (you have to manually edit settings.xml).
Added UpdateWhenInactive option (you have to manually edit settings.xml) to always update notifications even when window is inactive. The default value is 0 to save battery.
iPhoneToday v1.5.0 (Mar 21, 2010)
Fixed battery drainage issue.
Improved quality of icons by using the averaging interpolation method for resizing them.
Added an alternative method for alpha blending to the background that should be faster but requires more memory.
Added an option to "use mask for transparency" that might help the scrolling performance on some devices.
Added text quality option (Default, Draft, Nonantialiased, Antialiased, Cleartype, Cleartype comp), but it is available only when alpha blend on background is disabled.
Added facename (font family) option for the text labels under the icons, the header text, and the special icons text. (you have to manually configure the XML, no dialog yet).
Added shadow and roundrect options for the header text.
Added --winkey command to display the start menu.
Added an option to show battery percentage while charging (enabled by default).
Changed default value of vibration for non phone devices to 0.
Fixed crash when copying icons from topbar.
Fixed bug with pressed icon not displaying correctly when alpha blend is enabled.
If reloadIcon is 2 icons.xml are saved after loading them from registry.
Installer now displays a warning that today plugin will not be available if you choose to install to storage card.
Some minor fixes and improvements.
iPhoneToday v1.4.9 (Mar 15, 2010)
Fixed degraded quality of images of previous release (image resizing is done by the Windows Imaging API again).
Fixed a bug with background resizing.
Added RoundRect option (for now only in the XML, no dialog yet) to display a black rounded rectangular behind the text (like Android).
iPhoneToday v1.4.8 (Mar 14, 2010)
Using LPNG library (an extremely light-weight library - it just adds 6KB) if imaging API fails (mostly helpful for PNDs where imaging API is often missing). This allows now all devices to load and display transparent PNG icons.
Huge memory savings compared to v1.3 when AlphaBlend is disabled (32bit icons are now converted to whatever the screen supports, usually 16bit).
Fixed text labels being 1-2 pixels left of the center of the icons.
Fixed background color of options dialog to be the windows default color for menu backgrounds.
Added --keyboard command to show/hide the keyboard.
Only for PNDs: added a help button (question mark) on the title bar of the options and icon settings dialogs (next to the OK button) that toggles the appearance of the keyboard.
The 3-letter abbreviation of the day of the week is now by default displayed in the language of the user locale.
Converted the included pressed icons from gray scale to true color since LPNG only supports loading true color PNG images.
Resized the bubble icons.
Added a warning that scrolling will be slow when AlphaBlend is enabled on devices that do not natively support it.
iPhoneToday v1.4.7 (Mar 09, 2010)
Changed the icon set
Added pressed icon effect
Currently incuded icons: CrackedGlass.png, Fingerprint.png, RoundedPressed.png (default), Spotlight.png, StopwordPressed.png (Thanks to Osprey for the images)
Added text shadow
Added some new options for the background image: fit width, fit height, center
Added refresh time setting in the movement tab
Added new command: --volume:++<step> and --volume:--<step>
Fixed a bug with animation rectangular staying sometimes on screen
Fixed some minor bugs
iPhoneToday v1.4.6 (Mar 06, 2010)
Added some new icon types:
Volume
Memory Load
Memory Free
Memory Used
GPRS State
Signal Strength
Operator Name
Signal Strength & Operator Name
Added some new commands:
--rotate to rotate the screen 90 degrees
--rotate:<angle> (e.g. --rotate:270) to rotate the screen by the given angle
--volume:<number> to set the system volume to <number> (0-100)
--volume:+<step> or --volume:-<step> to increase or decrease the system volume by <step>
--reset or --restart to soft reset the device
--off or --standby or --suspend to suspend the device
--minimize to minimize the iPhoneToday's window (only for exe version)
--taskbar to show/hide the taskbar (only for exe version)
Alpha blend transparent icons with the background
Option dialog to configure the transparency of icons
Fixed transparency of png icons with black pixels
Today item's height is configurable again
The color of the expanding rectangular - animation on launch - can now be configured
A default sound on launch can be set
Added a play button in the icon settings dialog to preview the selected sound
Fixed the ignore screen rotation option
Fixed focus of the choose color dialog
If the bubble png icons are not found nicer bubbles are programmatically drawn
Added a reset settings to defaults button in the about dialog
Configurable margins for the text inside the special icons such as day of month, day of week, clock, battery, etc.
You can set which applications to run when the icons are out of screen instead of cycling through the pages
Reorganized the options dialog
AppToDate support
Installer will ask to create a startup shortcut to the exe if you answer no to the question whether you want to enable the today item plugin
iPhoneToday v1.4.5 (Feb 27, 2010)
1. Added a static top bar of icons
2. Non static background keeps the aspect ratio of the image
3. Configurable zooming factor of the background image
4. Added a warning before enabling "never show taskbar"
iPhoneToday v1.4.4 (Feb 26, 2010)
1. Installer now detects previous installations and asks to keep the current settings.xml and icons.xml
2. Added simple battery icon (shows battery percentage or AC)
3. Added about dialog (last tab in options)
4. Added file version information in the .exe and .dll
5. Added edit header dialog
6. Added an option to configure the circles offset from the top of the bottombar
7. Optimized screen transition a bit
8. Avoid some unnecessary redraws
9. Icons behind the bottom bar are now hidden
10. You can now add a bottom bar icon by right clicking on the bottom bar's empty space
11. Fixed --goto:down that was scrolling one extra page down
12. Fixed the background of text in the options dialog for PND
13. Disabled --close and --exit for the dll version
14. Fixed crash when icon width is set to 0 (useful to disable the bottom bar)
15. Fixed dll's crash when icons.xml does not exist or is not valid
16. Fixed bug when using reloadIcons that was not deleting "unused" icons.
17. Renamed some confusing options
18. Disabled options that cannot be changed depending on whether you are running the exe or the dll version
iPhoneToday v1.4.3
1. Icons can be associated with wav files to play once they are clicked.
2. Fixed infinite loop when checking for Software\iPhoneToday\Icon%d.
iPhoneToday v1.4.2
1. If imaging API is not available (some PND do not have it) use imgdecmp.dll instead (included in the PND zip).
iPhoneToday v1.4.1
1. Switched to TinyXml that has smaller memory footprint than MSXML
iPhoneToday v1.4.0
1. Support for Pocket PC 2003
2. Support for Portable Navigation Devices (Windows CE Core)
3. Today item height is automatically figured (you can have multiple today items and it should still work properly as long as iPhoneToday is the last one)
4. Vertical scrolling
5. Added header text for each screen
6. Support for BMP files without using the imaging API (BMP images are actually a lot faster)
7. Made almost everything configurable
8. Bottombar can have different settings from the mainscreen
9. Icon text can be set to 0
10. Icon offset can be set to a negative value to make the text overlap the icon
11. Commandline arguements and special icons with the same commands (--reload, --relaunch, --add, --options, --close, --exit, --goto:<screen>, --goto:next, --gotorevious, --goto:down, --goto:up)
12. Added copy icon and copy here in the right click (long tap) menu
13. Paths can now be relative to the application directory
14. Better orientation and rotation support
15. Special characters such as ", <, >, & are properly handled in the XML (if you manually edit the XML make sure you escape them!)
16. Use the last indexed LED as the vibration LED
17. Scroll through the pages with the directional pad.
18. Many other bugfixes, improvements, and optimizations that I've forgotten now...
..........
Uhmm, why did you open a thread about this again?
egzthunder1 said:
Uhmm, why did you open a thread about this again?
Click to expand...
Click to collapse
I believe because he's not the author of the earlier versions (he's picked up the project where the original author abandoned it) and wants to be able to maintain his own thread and starting post. If he had just replied in the original thread, the thread owner might not update the starting post links and only those who read the whole thread (which is 287 pages long) would find the new version. I think that a new thread for a new author and new "life" for the project makes sense.
tronikos,
It looks really good. Some things...
1. Tapping the screen briefly flashes an all-white screen (the same that shows when loading and during the "animation" when pressing an icon). If anything, it'd be nice if it (and the loading screen and "animation" screen) were black, but, ideally, there shouldn't be any flashing at all, of course.
2. Is there an option to not display the taskbar? I realize that that's the normal way to get at the keyboard, but it'd be good to allow for alternatives (like MioPocket's MiniBar).
3. Flipping pages isn't a smooth as it seemed in the YouTube video that you pointed me to earlier. Could it be that the "movement" settings have been changed or is my device's 400MHz processor not powerful enough to handle the program smoothly?
4. Even though settings.xml indicates an icon width of 45px, when I loaded the program, the "autoconfigure" set it to 51, which made the icons look bad. I'm guessing that the program picks an icon size based on the resolution, which is probably a good thing, but perhaps it should choose from icon sizes that are multiples of 8 or 16, i.e. ones that would still look good when downsampled from the original 96x96 icons.
5. An icon on the button bar to access options and add icons would be a lot more intuitive than clicking and holding the background. Do you think that that's doable?
6. Have you made any progress in adding multiple categories (ex. "Settings", "Tools", "Apps", etc.) and a nav bar to switch between them?
7. Have you made any progress in adding icons outside of the main area and bottom area, so that we aren't restricted to them? I'd like to be able to define an icon anywhere that I want, including by giving exact coordinates.
Sorry to throw so much out there for you to address. I'm just, as you know, thinking about how I might adapt MioPocket to it, especially without having to remove features (such as the quick launch button, the SideBar, faux taskbar with start menu button and so on). It's really good so far and suitable for a lot of other people's uses already, though.
BTW, you might want to include some more information and a screenshot in the first post for those who aren't already familiar with the project . I suspect that that's your plan... just mentioning it in case not.
Wow this is really exciting. I love this app, it's really given my phone a new lease on life without its stylus.
I'm really curious to know what the change log for this version might look like, since iphone today is so central to my usability I'm a little more hesitant than I would normally be to just dive in and try a new version..
Tronikos,
can you please add me to the project on google code project?
My google account is: [email protected]
Thanks
egzthunder1,
I created this thread for the reasons Osprey00 mentioned.
I got permission from MiToNiOeS to create a google code project for iPhoneToday and upload my changes there. I hope that this move will help its further development.
Osprey00,
1. That was a stupid bug I introduced just before uploading it. Only the exe version is affected. I fixed it and uploaded 1 hour ago. Please redownload it.
2. Check the "Fullscreen" option under Misc tab. Also since the taskbar will automatically be shown whenever iPhoneToday loses focus you might want to check the "Never show taskbar" option too.
3. If my bugfix for #1 didn't do it please experiment with the "Movement" settings.
4. Yes MiToNiOeS originally had code to autoconfigure the icon size based on the screen width. I might change it to be multiple of 8 but the included icons will have to be updated too. I included MiToNiOeS's ones that are 90x90 and not 96x96. For now change AlreadyConfigured in the settings.xml to 1 and set the icon size from a script depending on the screen resolution.
5. Yes it is doable but since I don't have a device anymore (I got as a gift a nokia phone that fits my gps needs too) I am not planning to add any new features, only bugfixes.
6. Manually enter a header text in the icons.xml for each screen and change the mainscreen's top offset and header height in the options. For changing screens if you don't like flipping you can use the circles at the bottom.
7. Sorry no plans to do this.
bluenote73,
I changed quite a few things that I don't remember them now.
Once I find time to look into my code changes I will create a detailed changelog.
mathwiz314,
OK I added you.
Anyone,
If you can help in any way please feel free to ask me to add you.
You don't have to know coding. The project needs a summary page and documentation in the wiki.
Nice work, I was playing around with it in the CE emulator. I renamed your .exe as SysInfo-Start in my emulator miopocket setup. It started up everything fine and Iphone today as GUI. I get the white flashes sometimes too, but other then that it operates good. I would like a full time clock display on GUI. I would like more pages( might be possible havn't played with it enough yet), and be able to edit the dot buttons to easily navigate pages by pic or text (i.e. multimedia, setting, navigation). Going into the task bar setting and unchecking keep task bar on top, completely hide task bar, which is good IMO. I need to test it more, but your doing a fine job with this GUI.
Awesome that someone gets his hands on this.
Can't wait to see what will come next.
Hi tronikos
Thank you for keeping alive this wonderful today plugin
Hi, I don't really know much about coding but I can lend a hand if there are any graphics that need done. I don't know if this is the issue mentioned above but I have an HD2 and the icon resolution looks really low. Might I suggest using some of the many icon packs available in the HD2 Themes and Apps section or something.
Sorry if I said something noobish lol I haven't had a proper good look at it yet.
Dan
As requested, can you put a screenshot in this thread (or, at least, in your google code page) ?
I think we'are reacting better with a screenshot...
As someone said in the past : 'A pic is better than a thousand words' !
Good luck with the project !
@Osprey, Tronic and all Miopocket friends
After playing arround a little bit, all in all a very good tool. It is easy to add some pages and also create a header for the pages, so Miopocket Windows seven page folders (Favorites, Navigation etc.) could easily adapted. Also vertical scrolling is possible, but I don't know how to create pages?
Flipping pages was a mess at the beginning, instead off flipping, it always went to icon edit mode. I played arround with the movement settings, but had the feeling nothing is changing. At the very end, I disabled right klick in the settings. Now flipping works very good, but the way to come back to the setting page is closed. ==> Any ideas?
Regarding icons:
I added two icons from this board (not allowed to link)
to compare. On the picture these are the first two adobe test and igo test. By far looking better, but no problem to change.
Sorry, I am not allowed to link to image banana and , so I have to attach the picture as a zip file
Use imageshack (or photobucket...) to upload your pictures and post the forum version of the links (with pic thumbnail). Without the attachments size restrictions the bandwith cost would go through the roof!
@frmariam
it's the same. I am a new member (Feb 2009!!!!) and not allowed to link to external pages. BTW also internal links seems to be not allowed.
Probably somebody could link to the picture?
img709.imageshack.us/img709/7913/capture004k.png
Schlork,
Putting an original copy of setting.xml in your install will take you back to default.
I noticed that the clock and calender icon are actually the clock and calender and can be customized in options somewhat. I placed the clock on bottom bar. Still trying to figure out adding pages and headers and still working with it in CE emulator.
schlork said:
@frmariam
it's the same. I am a new member (Feb 2009!!!!) and not allowed to link to external pages. BTW also internal links seems to be not allowed.
Probably somebody could link to the picture?
img709.imageshack.us/img709/7913/capture004k.png
Click to expand...
Click to collapse
Here you are!
{
"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"
}
@all
I don't know if we are all working on the same page. Some of the posters are redirected from Tronikos to post here. We are owning thumb GPS devices, which became Porsche's since Osprey developed Miopocket for. Even now more with ability to have iphone functions.
@[email protected]
Thanks! It's not a problem to switch back, I could easily write a script and put it on a button for that. But I am wondering, if there is not another solution?
@sinoo
pretty thanks! And OT how can I convince Mods to be not a spammer?
Hi, where can i fin the "full" changelog?
Hope I can help
I know a little about coding, but I make mean FAQ and display pages (see links in my sig). I am very happy that this got picked back up and look forward to new releases. Anyone from the old iPT forum knows how much I was involved there, and I hope I can help as much here and on the google code page.

AnythingTicker - Today Screen Ticker/Launcher

I wanted to let you guys know I released my final version of a app you never heard of and probably don't want.
It is designed to extract text from the internet and display on your today screen, as well as featuring yet another application launcher. I love it because it is very customizable, but that comes at a huge cost to user friendlienss. Since I'm lazy, you have to use rather unfriendly config files to customize the application.
If you're still interested and promise not to bug me too much about it, you can get it from my site (or CAB in next post):
http://nicktech.heliohost.org/windowsmobile.shtml#anythingticker
Here is the readme you will have to read if you want any hope of customizing it:
AnythingTicker 1.0.3735.36102
nicktech.com
AnythingTicker is designed to extract text from the internet and display it on your Today Screen using versatile user customizable parsing of web pages. It is also a customizable grid style launcher where you choose the layout, text or icons, etc.
********************** GENERAL **********************
Install Instructions:
1.) Install the CAB.
2.) Adjust the position of "Managed Items" in Start>Settings>Today>Items.
3.) Edit the config files to redesign your ticker/launcher.
Usage:
Clicking on the left side of the ticker will show the launcher if you have one. If not, it will force an update of the ticker.
Clicking on the right side of the ticker will hide it.
clicking on the left side of hidden mode will show the launcher if you have one. If not, it will show the ticker.
Clicking on the right side of the hidden mode will show the ticker.
********************** CUSTOMIZING THE TICKER **********************
The file that controls the ticker is:
\Program Files\Managed Today Screen Framework\AnythingTicker.txt
The file format is:
*************
Height
Colors
Font Size
Seconds
Error Suppression
TurboLaunch
URL
Prefix
Search
# Times
Move
ThenFind
ThenFindRev
Move
Len / Find
Suffix
************
Any line that begins with # is ignored. Anyline without a # is expected to be the next value in the sequence. This file is required to use AnythingTicker, even if you're only going to use it as a launcher, and turn off the ticker. Everything from URL down is repeated for each element you wish to extract from the web. View the source of the web page used in the current txt file, and follow along with the steps described in the txt file to learn how to make your own data items. Forcing an update of the ticker reloads all config information, in case you changed something it will be reflected after the update.
Height - (Portrait,Landscape) The height of AnythingTicker in pixels. While my form will adjust between portrait and landscape as requested, the framework will not (pending issue). Use TodayRefreshCmd.exe repair the ticker after height changes if you have a scroll bar or can't see stuff at the bottom of the form. The best avoidance is to set the portrait and landscape values to the lowest common denominator (landscape), and you will have no worries.
Colors - (Red,Green,Blue,Red,Green,Blue) values of foreground and background colors (0, 255). Text, then background, totaling 6 numbers seperated by commas. If you want transparent background the first background value should be 256. (255,255,255,256) would be white with transparent background, (255,255,255,0,0,0) would be white with black background. Using Transparent background means that AnythingTicker cannot automatically center the text on the screen or automatically wrap the text to a new line, sorry. Use spaces in the prefix to push text to the right if you must center, and use <linefeed> to start a new line.
Font Size - Size of the font.
Seconds - Amount of time in seconds to wait before refreshing AnythingTicker. Keep your battery in mind before setting too low. Setting it to 0 will turn it off completely, this is for those who want to ONLY use the launcher. If you want a ticker with time and such, but no internet information, you must still leave this non 0. Turning seconds to 0 means that the app will not use CPU or battery, except when interacting. When on, it must update periodically, which uses both.
Error Suppression - 1=on, 0=off. Instead of displaying an error due to bad signal, wi-fi off, or whatever reason, it will show the last update that was successful. If no update has yet been successful since AnythingTicker (or the phone) was started, then an error will be displayed regardless of this setting.
TurboLaunch - Upon program start ticker is not updated, and icons are not loaded. The idea is to launch quickly for instances where you may keep refreshing the today screen
URL - Address of the web page containing data you wish to extract. There is a unique option here to put "<none>". Followed by one prefix line. This is primairly so that you can use the ticker without internet data, just special data provided in the special characters below. You must have one prefix line in the file after the <none> to be valid, even if you don't put anything in it.
Prefix - Some characters to put before the extracted data on the ticker.
Search - The first string of characters to search for on the web page's source
# Times - The number of times to search for the first string of characters
Move - Number of characters to move from the position achieved by the previous searching (can be negative to move backwards)
ThenFind - Find another string of characters from the current position moving forward
ThenFindRev - Find another string of characters from the current position moving backward
Move - Same as move above
Len / Find - Either a number of characters to extract from the current position, or a string of characters to extract up to.
Suffix - Some characters to put after the extracted data on the ticker.
Special characters for ticker:
"<linefeed>" is useable in Prefix or Suffix to start a new line. It is also useable in the search strings to find a linefeed.
"<ut>" is usable in the Prefix or Suffix to insert the time the last update was performed.
"<none>" is usable only in URL for special conditions, see URL
"<date>" is usable in prefix or suffix to insert a real time date
"<time>" is usable in prefix or suffix to insert a real time clock
"<weekday>" is usable in prefix or suffix to insert a real time day of the week
********************** CUSTOMIZING THE LAUNCHER **********************
The file that controls the launcher is:
\Program Files\Managed Today Screen Framework\AnythingLauncher.txt
The file format is:
************
Height
Columns
Rows
Font Size
Colors
SuperLauncher
After Launch Mode
Icons
Icon Size
Gridlines
SuperLauncher Background Y Offset
Text
Icon
Command
************
Any line that begins with # is ignored. Anyline without a # is expected to be the next value in the sequence. This file is not required if you do not want a launcher. Text and Command are repeated for every item you want to appear on the launcher. There are no safety checks to make sure you make a sane grid which will fit the icons or text inside, or be reasonably tapable. Play responsibly. If you don't have enough commands to fill the grid, or to many to fit in the grid, that's okay. It will just have empty blocks, or some apps won't be visible respectively. It is important to have one <update> command on your launcher so you can force updating.
Height - see ticker height
Colors - see ticker colors
SuperLauncher - Turn the launcher full screen. When this is on, the only way to see the normal launcher is using an After Launch Mode of launcher. Be advised that if you pack a full screen with commands, you might not be able to select any in the smaller normal launcher. After launch modes of ticker or hidden are recommended.
Columns - How many columns you want the launcher grid to have.
Rows - How many rows you want the launcher grid to have.
Font Size - Size of the font for text to display in the grid indicating the app to be launched.
After Launch Mode - Which screen to go to after a program is launched. 1=ticker, 2=launcher, 3=hidden.
Icons - Whether or not to look for and display icons for applications. 1=yes, 2=no.
Icon Size - Size of both height and width of the icons to be displayed. Icons can be enlarged or shrunk from their original sizes.
Gridlines - Whether or not to draw gridlines. 1=yes, 0=no
SuperLauncher Background Y offset - The number of pixels to push the background image of a transparent superlauncher downward. The purpose is to match the position of the image on the today screen, which may or may not be pushed downward by the taskbar.
Text - The text to display in the grid indicating the app to be launched. This line must be here for each item even if you are using icons. It will be used in the event that an icon cannot be found.
Icon - Allows you to specify a path to a specific icon file (.ico) to use. Use <exe> to use whatever icon may be present in the application itself. If none is found, text will be used.
Command - The actual command that launches the application. Command and arguments must be seperated by a double comma (,,).
Special characters for launcher:
"<linefeed>" is usable in the Text lines to wrap to the next line within a box.
"<hide>" is usable in the Command line to go to hidden mode from the launcher.
"<update>" is usable in the Command line to force an update of the ticker.
"<autotoggle>" is usable in the Command line to toggle the reg entry for auto backlight dimming (not applicable to all devices)
",," is usable in Command lines to seperate command from arguments.
"<exe>" is usable in the Icon lines to state that you wish to use the applications built in icon, if it can be found.
"<rotate90>" and "<rotate270>" are usable in the Command line to toggle screen rotation between 0 degrees and 90 or 270 degrees counter-clockwise.
"<flashlight>" is usable in the Command line to turn your screen white, max out backlight, disable auto backlight, and disable auto off, until you touch the screen. (Not applicable to all devices, perticularly the ability to adjust the backlight.)
"<wpcycle>" is usable in the Command lines to cycle wallpaper. All it does is copy all files from directories found in \My Documents\My Pictures\wpcycle to \Windows on a cycling basis then wpcycle will restart the today screen to refresh the wallpaper, and launch AnythingTicker in turbo mode. You preformat and prename the pictures appropriately and put in directories within wpcycle. For instance on a 480x640 device one might have:
\My Documents\My Pictures\wpcycle\Hot Wallpaper\stwater_480_640.jpg
\My Documents\My Pictures\wpcycle\Hot Wallpaper\stwater_640_480.jpg
\My Documents\My Pictures\wpcycle\Super Hot Wallpaper\stwater_480_640.jpg
\My Documents\My Pictures\wpcycle\Super Hot Wallpaper\stwater_640_480.jpg
These are properly nammed wallpapers for both orientations of a 640x480 device.
********************** CREDITS / NOTES **********************
This application Uses Christopher Fairbairn's ChrisTec Managed Today Screen Framework to circumvent inadequacies of VB.NET 2008. NOTE: AnythingTicker's CAB file installs the framework for you, but will also remove the framework when uninstalled. Reinstall the framework if you use it with other applications.
AnythingTicker also uses Werner Ruotsalainen's TodayRefreshCmd.exe to refresh the Today Screen and show AnythingTicker after the CAB installs. You can also make it a command on the launcher if you often change the height of AnythingTicker, because only a complete today screen refresh will allow a height change.
********************** VERSIONS **********************
1.0.3735.36102 (5/15/2010)
- Added launcher (and many things associated with it, like special commands).
- Added 0 seconds to turn off ticker
- Added <none> URL option to allow "no interent" usage.
- Cleaned up code.
- Added hidden mode
- Added different left/right tap sections
- Added device time special characters for usage as a clock today item replacement.
- Added landscape height, still not quickly switchable unless framework is fixed
- Added comment ability in config files
- Added TurboLaunch
1.0.3672.33489 (1/20/2010)
- Added error suppression option
1.0.3671.34158 (1/19/2010)
- Fixed updating when device is off
1.0.3670.39448 (1/18/2010)
- Added color changing and optional transparent background.
- Added user configurable font size
- Changed time insertion to anywhere with <ut>
1.0.3670.15199 (1/18/2010)
- Reduced font size from 7 to 6
- Automatically adjusts to screen width
- User configurable height
- Support for <linefeed> in config file
1.0.3669.29916 (1/17/2010)
- Original Release
CAB
Attached is a CAB, but I don't guarentee it will stay current if there are future updates.
Thanks friend. That sounds reallyuseful. I shall examine it and have a think about it.
Looks like a good way to monitor a website. One can create a status page for their application. Or a custom page that gets their favorite team's news. Lots of ideas.
Thank you for sharing.

How to put outline for a gridview(or table view) boxes in android

In my application I want a 5x5 grid view(or table view). I do not want to use image view or text view in side the grid view(or table view).
I just want to put out lines for the cells in side that grid view. Is it possible and how can I do it?
I also want to take identity of individual cells inside the grid view (or table view)?
Thanks for your answers.

Action Bar : Question regarding a possible modification of the UI

Hi,
I was wondering if it's possible to modify the layout of every app that are using the official Android Holo theme to move the action bar that is located on the top of the screen to the bottom near the navigation bar. I think of this as a possible mod that could be flashed, but really I don't know if it is possible. I would find this more comfortable since our phones tend to size up and thereby, reaching the opposite corner of the screen with one hand makes me stretch it numerous times a day that I'm afraid of the possible evolution of mankind's hands(or maybe just one)
Thank you
No the positions of that is declared in each app. Doesn't matter what theme they use as that is all holo is. Just some images and color settings.
Wayne Tech Nexus

[Q] Why is widget grid size limited when customize on your own phone?

I get that the developers/designers are only doing themes for specific screen resolutions right now, but why is the core tools for creating custom Themer widgets restricted by large grid settings?
Confused as to what I mean? Please let me explain.
I can create a custom widget, which starts with the background box. But, in order to line the background box up with my home page background, I have to set the color of the background widget to a solid color and then resize it since it doesn't visualize the snap-to grid element (which it does).
So, as I said above, why is this limitation there in the first place? On my Note 2 I can't create a widget that goes to the top of my screen because it is out of bounds of my screen and when I go to add elements to the widget, they don't line up correctly unless I resize the widget background box to snap to below the top of my screen (by a good amount).
So, is it at least possible to have the default grid snap distance greatly reduced or give us an option to set it ourselves in regards to setting the widget itself?
I've encountered zero issue with moving elements within a widget box other than the inability to lock items individually once placed (that would truly help in them designing).
Sorry for any confusion, I'm not aware of the standard labels for the various design elements of a widget or the like.
cgoodno said:
I get that the developers/designers are only doing themes for specific screen resolutions right now, but why is the core tools for creating custom Themer widgets restricted by large grid settings?
Confused as to what I mean? Please let me explain.
I can create a custom widget, which starts with the background box. But, in order to line the background box up with my home page background, I have to set the color of the background widget to a solid color and then resize it since it doesn't visualize the snap-to grid element (which it does).
So, as I said above, why is this limitation there in the first place? On my Note 2 I can't create a widget that goes to the top of my screen because it is out of bounds of my screen and when I go to add elements to the widget, they don't line up correctly unless I resize the widget background box to snap to below the top of my screen (by a good amount).
So, is it at least possible to have the default grid snap distance greatly reduced or give us an option to set it ourselves in regards to setting the widget itself?
I've encountered zero issue with moving elements within a widget box other than the inability to lock items individually once placed (that would truly help in them designing).
Sorry for any confusion, I'm not aware of the standard labels for the various design elements of a widget or the like.
Click to expand...
Click to collapse
Hows it going? Im Bill from MCS.
Im a still a bit confused as to what you are asking and what tools it is that you are using in Themer that are giving you the issue.
Im sure you have already made sure that padding is turned OFF in the settings, but I have to say just to be safe.
IF you are getting spaced on the sides or top or your widget, you might want to check to see if you are using odd numbers for the Grid (rows and columns). Because of the way custom build widgets from WYSIWYG editors like Zooper and Everything widget render on the screen you might be a 1px gap if you are using odd numbered Rows or Columns in your grid.
This is the first thing I would check. I have seen an issue where for some reason I get a 2 or 4px padding on the top and bottom of the widgets. It only happens to me now and again. I can usually delete the widget and re-add it to get rid of the issue.

Categories

Resources