bootsplash image / mkrom - Windows Mobile Software Development

i use mkrom to play around with a qtek rom, i inserted a bmp picture as described in the mkrom txt, i saved it exactly like it's described using photoshop, but it won't show correctly.
it's like slided to the left,
like when you take 1 2 3 4 5
and it displays 5 1 2 3 4
what am i doing wrong??

Related

how to change tf3d highligt color?!

hi there i searched the forum for about a day and realy can't find my answer
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color? (with out changing the original theme indid !)
tanx alot
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
htc's fan said:
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color?
Click to expand...
Click to collapse
There is no 'easy' answer to that question.
For some highlight elements of Windows Mobile (like the phone dialer or call history, and other system screens) the highlight colour is determined by .tsk files... and registry entries.
Go to HKLM\Software\Microsoft\Color and change the values to whatever colour you want. This effects Windows Mobile system colours (including highlights).
You might also need to look at HKCU\Software\Microsoft\Today and change the colour values for whatever task file you selected to use. (HTC Black.tsk, for example).
The green highlight you see in TF3D is controlled by numerous _manila files.
The clock highlight on the Home Page, for example, is made up of 3 _manila files (1 left edge, 1 right edge, 1 middle tiled image). Another 3 _manila files are used for the call history and calendar highlight. Another 3 _manila files control the higlight on other tabs like Settings, or All Program etc.
The keyboard menu highlight, and the Communication Page highlight are all controlled by simple .png images (as these are accessed outside of TF3D.)
So to change the colour of ALL of the highlights on your phone... you have to change many things. Or install a complete theme made by somebody else (and hope they changed ALL of the images... which isn't always the case).
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
Click to expand...
Click to collapse
If you search the forum, you'll probably find 1 or 2 programs that will let you change the wallpaper with a few clicks... but that function is usually built into a program that does many other things too... and you did say that you didn't really want the theme of your phone changed!
However... editing the _manila file isn't that complicated anyway.... you create your image, import it into the manila file, copy that file to your phone... done!
Using a program (as you asked)... you would create your image, copy it to your phone, launch an app on your phone, click change picture, select your image... done.
Those 2 scenarios aren't that different or really any quicker! The only real advantage to using a program... is that you could change the background image while away from your computer. However if you want to keep 20 different wallpapers on your phone that you can select between... simply import those 20 images into 20 of the same _manila file and store them on your phone like "sports_car_4a087e41_manila" & "hot_babe_4a087e41_manila"... then when you want to change your wallpaper to one of them... simply rename whichever file to "4a087e41_manila" and copy it your your Windows directory... done!
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?t=479112
Works fine for me.

[Wishful Thinking] GUI design

I couldn't sleep this night too well, so my mind was wandering about what a perfect GUI would be like.
I'm writing this in the blackstone group -because that's the mobile phone I have... This topic would of course be quite general stuff anyway.
And my mind produced something with my home/start view would be split into 6 areas. (excluding softkeys)
1 2
3 4
5 6
Each of the areas would then be large enough for not-so-perfect clicker and they would be large enough to show readable information. At least on the Blackstone with it's 480x800 resolution.
One could then configure a basic setup for each of the areas. Call the widgets or apps or whatever, each area could have an easily changeable app - the same app could also have either more standalone instances on 1-6 areas (for example football live tickers) - or the app could use the combined area of all the assigned areas (could be problematic with app design - how would a calendar app know that it has been assigned 2 areas for it's usage)
An example of the last:
I could have a basic configuration of (nevermind if they make sense, just an example)
1 - Tasks
2 - Clock
3 - Calendar
4 - Weather, with location picked from the calendar
5 - Call log
6 - Email notifications
Now when I would tip one of the areas shortly, that would open the app in fullscreen.
And if I would tap and hold the area, I would get a menu where I could...
* change area/screen configuration
* change app temporarily (so that after certain time the preset app would return in this area)
* or do some other stuff.
An example of the last chapter:
I could tip and hold area 6 and change the app in it to a live football ticker to follow a match and then after 3 hours the area would switch back to the email notifications. Or I could tip and hold area 1 to change it to a music player for the next hour.
I know this isn't realisable that easily with current winmo themes (not to full content), but I liked to share the idea and see if someone would even comment on it.
abe
I'm, at work so writing quickly, but this sounds very similar to Sony Experia's Panels, which can be downloaded as a cab
smeddy said:
I'm, at work so writing quickly, but this sounds very similar to Sony Experia's Panels, which can be downloaded as a cab
Click to expand...
Click to collapse
This is exactly what i was about to say.
Itje is cooking a ROM with xperia panels built in, so id wait for that.

start up - notes

as most of you know personal info contains also a note and you can set up that whenever you turn on your device this will show up
but to access this field you have to go quite far (toooo many clicks away)
my question is - is there any simple way to access and edit this note? can you make shorcut to standard HTC Home or assing it to any button when pressed longer?
thx
I cannot have my identification info and/or notes displayed on my home screen with TF3D. How do you do that?
I'd love to have some program / tweak to really edit the TF3D. Been waiting for more than a year now, Clock is too big, I can see too few appointsments and I'd like to see notes. Just like you had on that old Nokia.
EDIT: Nevermind, it functions as a sort of screensaver I found out now. Haven't found a quicker way to access the notes though.
EDIT2: The notes screen seems to be cut off after 6 lines. Any way to have it fill the full screen? Now I can only add 5 lines of notes (sixth line is already displayed with the bottom mm cut off) and I have about 10 lines white at the bottom.
I can see 6 lines, that is really strange, based on the space of the whole display and its capabilites ..
never the less I could use some shortcut ...

[Q] Is it possible to create a picture widget that changes the picture randomly?

Is it possible to create a widget that will draw images randomly from a designated folder. I've been searching to see if someone has done something similar to this but it looks like the closest I can get is using the images as an iconset although I still don't know how I would have Zooper pull the images randomly (I want to add to the folder occasionally). Is this something that I could do by adding in Tasker?
Any ideas?
I currently have an image widget on one of my homescreens and the way I do it is as follows:
I basically add each photo as a bitmap: So you add a bitmap module and then you navigate to the photo you want in your device gallery. After choosing your photo, you need to add advanced parameters that will control the bitmap opacity at a certain time during the day.
[bo][/bo] is used for bitmap opacity
#DH# is used for local hour during the day (0-23)
my conditional is set up as follows for my first photo.
[bo]$#DH#>=16&&#DH#<22?100:0$[/bo]
What this means is that if the current local time on my device is between the hours of 16 to 22 (4pm to 10pm) then set the bitmap opacity to 100%, else set it to 0%. You can theoretically set this up to have a max of 24 photos (one per hour) each day that continually loops. Mine is set up in intervals of 6 hours (4 photos total) but I plan on changing the values to allow for more.
The next one would be:
[bo]$#DH#>=22||#DH#<04?100:0$[/bo]
Notice I use an OR statement || versus an AND statement && because the value goes from 0-23 and if you used an && here the image would never display because of the conflicting conditional.
http://www.webermatters.com/blog/zooper-conditional-statements/
This is a good website that outlines conditional statements in ZW.
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
greckia said:
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
Click to expand...
Click to collapse
I was thinking about doing exactly this or possibly applying weather conditions to various pictures also. It doesn't really look like it's possible to add a random factor but this should do the trick.
Your steps are exactly what I needed.
Thanks
crios42 said:
It doesn't really look like it's possible to add a random factor
Click to expand...
Click to collapse
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8. 
chandlerweb said:
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8. 
Click to expand...
Click to collapse
So I would need to label the images: 1.png (I'm using png's), 2.png, 3.png, etc...?
Would the limit then be 10 images? If I wanted to use more than 10 images I could x 100 but then I'm guessing I would need to assign each image a range, if n >= 25 and n < 30 then x.png and so on. Can that be done?
Also, I'm a little unclear about how bitmap absolute path works. Is there a specific folder that I would need to put my bitmaps in? Looking at this example it seems that I can pick any folder I want.
It's awesome to hear that this can be done. I just need to work out the details now.
chandlerweb said:
$#Dm#=0?(int(random()*10)$.jpg

Click to expand...
Click to collapse
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
crios42 said:
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
Click to expand...
Click to collapse
Sorry for the delay in getting back to you
You would need 100 images and label them 1-100 if your multiplier is 100. You would need, say, 123 images and label them 1-123 if you multiplier is 123 i.e. $#Dm#=0?(int(random())*123)$
In my experience, the number generated is always different even if two random functions are performed at the same time although there is always the possibility that it will occasionally be the same.
I can't seem to get the widget working.
Here are the parameters I'm using $#Dm#=43?/sdcard/Pictures/Pics1/(int((random())*10)).png$.
Ignore the 43. Whatever time it is, I just add a minute so that I don't have to wait long to see if the widget will update.
I thought it might be the file path so I tried a few others:
/storage/sdcard0/Pictures/Pics1/
/emulated/0/Pictures/Pics/
Any ideas?
is it possible to create a picture
I had tried it many times but that does not work out
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
SoldierOfCatan said:
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
Click to expand...
Click to collapse
I did the above, but had to add an extra parentheses before the word "int" to get it to display properly in the example box.
/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg
However, when I save and exit out of the Zooper, it still just shows the default "folder" icon. I have it pointing to 1-10.jpg in a folder called "test" on my internal SD. I also tried the code in the advanced parameters of an existing picture I had on my widget, and it didn't do anything either.
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
SchmilK said:
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
Click to expand...
Click to collapse
I actually have 66 pictures and the number increases everyday, since they're pictures of my boyfriend and he's constantly sending me new ones... or we're taking new ones etc. LOL I just change the number it multiplies by as the pictures increase.
I'm not sure if number one gets displayed... I could however rename picture one to 67 so there's never a problem. Since there's so many its hard to tell.
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Oohhlala said:
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Click to expand...
Click to collapse
Not sure I only tried it with .jpg
Sent from my SAMSUNG-SGH-I747 using Tapatalk
You should be able to do this with tasker/zooper integration. I have a weather radar image that I download via tasker. Due to how zooper buffers images I haev to change the filename each time I refresh the image. The new alternating path to the image is passed from tasker to zooper. First time is w1.jpg, next time is w2.jpg. This idea could be extended for images in a folder.

How to create complication.xml with Source=Time Galaxy Watch Designer

Hi,
I would like to create a Second Hand with Dots per Second. For each secon one dot should be shown so that at for example 30 Seconds 30 Dots are displayed.
I though that creating an XML file would solve the problem but I cant figure out how to get it done...
My plan is/was to create 59 PNGs with dots each one DOT in it at a different postion, and then enabling each PNG at a differrent second.
Thanks for your help
LG Joker

Categories

Resources