transparency on Bip watch faces - Amazfit

All the docs I've found say that setting image background color to #FEFE00 (254,254,0) should cause those images to be rendered with transparent background on the Bip. I'm obviously missing something, as nothing I've tried has worked. Has anyone had any success with this? If so, would you be willing to share any pointers? (I'm on Linux Mint, with Gimp installed, but have to boot to Windows to extract the Amazfit .bin files.)

Answering my own question, in case anyone else is looking for this: first, set the background color in Gimp to FEFE00, then create a new image and set its alpha channel to FEFE00, also. Images created on this background will be displayed on the watchface with a transparent background.
Unfortunately, that does not do what I was hoping. I have a combination digital/analog watchface with a second hand and seconds in the digital display. When the minute or hour hand overlaps part of the digital display, the hand "flickers" when the display updates every second. The part of the hand that overlaps the digital display -- even the transparent parts -- blanks out when the numbers are redrawn, then reappears when the hands are redrawn.
I don't see a way around this. If anybody knows one, please share! For now, I'm using a sort of workaround: the flicker is much less noticeable if the hands are very skinny.

Edit: I didn't see your reply to your own post before I posted, but I'll leave this up anyway.
I've only just got a Bip and have been looking at this as well. Are you using AmazfitBipTools-1.0.3.1, like is suggested on this post? As that one uses alpha channels instead of 0xFEFE00. Specifically there is a check
Code:
var isColorValid = (r == 0 || r == 0xff) && (g == 0 || g == 0xff) && (b == 0 || b == 0xff);
and any other color is filtered through a dithering tool based on the 8-color palette.
I think the conflicting references are using different .bin extracting tools. For example, AmazfitBipTools by Valeriy Mironov uses alpha channels to determine transparencies. While this collaborative Bip tool set parses 0xFEFE00 as transparent. I believe the reference I was looking at is using the latter tool rather than the former.
In my own tinkering, I've found that if you have only transparent resources, the Bip displays black. So the watch will only ever display Black, Blue, Green, Cyan, Red, Magenta, Yellow, and White.

rubylark said:
Edit: I didn't see your reply to your own post before I posted, but I'll leave this up anyway.
I've only just got a Bip and have been looking at this as well. Are you using AmazfitBipTools-1.0.3.1, like is suggested on this post? As that one uses alpha channels instead of 0xFEFE00. Specifically there is a check
Code:
var isColorValid = (r == 0 || r == 0xff) && (g == 0 || g == 0xff) && (b == 0 || b == 0xff);
and any other color is filtered through a dithering tool based on the 8-color palette.
I think the conflicting references are using different .bin extracting tools. For example, AmazfitBipTools by Valeriy Mironov uses alpha channels to determine transparencies. While this collaborative Bip tool set parses 0xFEFE00 as transparent. I believe the reference I was looking at is using the latter tool rather than the former.
In my own tinkering, I've found that if you have only transparent resources, the Bip displays black. So the watch will only ever display Black, Blue, Green, Cyan, Red, Magenta, Yellow, and White.
Click to expand...
Click to collapse
Thanks, rubylark! Yes, I am using that version of AmazfitBipTools. I haven't had much luck so far with the collaborative tools, but maybe I'll try again. I'm using the same reference as you, too.

Seems a little bit too complicated what you doing xD
You dont need to enter any Background color in gimp! You can even do it with Paint 3D on win 10.
Amazfitbiptools is great, nothing to need more.

Related

[05.11.2008] iFonz: Active Weather Icon +5day forecast

SORRY, am no more active on this Topic cause Device does no more exist.
Please use at your own Risk. But don't expect answers any more.
Weather icon showing Temperature and Weathercondition at selectable iFonz-Icon plus 5 Day forecast, new weathericons
(Only iFonz 1.1.2 not iFonz 2 by now)
Hi,
the Mortscript, I've done (based on Infos of this thread), is a plugin that replaces an IFonz icon by a weathericon(showing actual weather) and shows temerature as Icon name. In the new version, pressing the weathericon will now show a five day forecast(see screenshots at the end of post). I hope, you'll like it.
The ifonzWeather.ZIP now contains two Mortscripts iFonzWeather.mscr (sceduled download of weatherdata and refresh iFonzscreen) and the new iFonzForecast.mscr(when started expand from 1 to 5 weathericons for 5 day forecast and restore original icons when started again.)
What is new/has changed:
Removed Bug wrong Icon is shown, when online source for weatherdata is available, but Page says no actual data available(weathercode 3200, not 0, not na)
The script can now autoconnect to gsm if no dataconnection is available and if wanted!
Added iFonzForecast.mscr to be started by weathericon. This will give you 5day Forecast, shown as iFonzIcons.
What do you need/have to do:
iFonz 1.1.2(Works with older versions too, but I got reports, that with V0.99 is waits with iconupdate till newstart of iFonz.)
Download and install the Mortscript-4.1PPC.cab
Download my Mortscripts iFonzWeather.zip (see end of post)
S2U2 has Weathericons included, but you can also download the ones i've created of them(complete set but not perfect). Better use blueaxe's icons(see end of post)
Modify scripts with texteditor to fit your needs(at least change your location/descriped further down).
Start it manually by doubleclicking on script to start or put a lnk to windows\autostart(startup)\
What does the script(iFonzWeather.mscr) do:
It downloads the actual weathercondition and the forecast for five days, of a place you select, from Yahoo.weather.com and saves them. It uses the internetconnection available(I've testet via wlan and activesync)
It canges the iFonz icon (you can select in the script) to show the picture of the actual weatherconditions.
it changes iconname shown, to a combination of actual temp and forecast(highes and lowest temp).
It lets you open the 5day forecast if selected or altenatively sets the icon, to start the Browser, you've chosen in the mortscript, and opens the yahoo page showing further weatherinformation to your selectet place. You can also disable this if you like to start an other app.
It will retry to get weater every hour(but you can change the timeintervall to any time in mortscript).
If connection is not available, it will try to use saved weatherdata for showing actual day and the forecast.
Needed changes in script(iFonzWeather.mscr) Simply change with texteditor
The mortscript should work without any changes on english devices. It is by default set, to use the weatherpictures of s2U2, if S2U2 is installed in "\program files\s2u2\gfx\weather\". Pressing the Icon will start iFonzForecast.mscr(change icons to show 5 day forecast). It will change the 4th Icon on the first page to be the main weathericonon the first page(can be changed)
Here you see the settings you can change in an texteditor
# USER SETTINGS, CHANGE AS DESIRED
#
# your location (see http://weather.yahoo.com/ on finding your location)
location="GMXX0115"
# desired units for temp, f or c
units="c"
# Set GSMConnection to your internetconnection("The Internet","Internet","My ISP"..see settings/connections ...)
# If you only want to use available connections set GSMConnection=""
GSMConnection="The Internet"
#
# how often to try and get the weather
delayHours = 1
delayMinutes = 0
#
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Want iFonz to open Yahooweather for your destination, when icon pressed ? set iFonzOpenYahoo=2
# Want iFonz to show Weatherforecast with Icons ? set iFonzOpenYahoo=2
iFonzOpenYahoo=2
iFonzBrowser = "\windows\iexplore.exe"
# Choose Icon to change
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 3
ifonzPageNumber = 1
Click to expand...
Click to collapse
Set location to your locationcode.For finding your locationcode, enter http://weather.yahoo.com/ and click trough the countries and the cities untill you find your place.
Then you'll see your needed location in the adressfield of your browser.
"http://weather.yahoo.com/Rosenheim-Germany/GMXX0115/forecast.html"
You want fahrenheit, not centigrade? Change units from c to f
You dont want the script to autoconnect to gsm? SetGSMConnection=""
You want to reload data in shorter or longer Timeintervalls? Change delayHours = 1 and delayMinutes = 0 to your needs
You want other Pix? Change iFonzPixPath to the folder containing the pictures. The mortscript uses 0.png up to 47.png and nb.png for weather not available. So check if NA-Picture is called 0.png or NA.png and eventually change iFonzWNA from "0" from to "na"
Choose pressing Weathericon, (2)to open 5day-forecast inside iFonz(offline), (1) to open online Webpage with further data or (0) select any app to open, manually in iFonz iconsettings, by setting iFonzOpenYahoo =2, 1 or 0
You want iFonz to start an other browser(please Internetexplorer is a shame), for showing further weather information ? Set iFonzBrowser to an other browser.
You want an other Icon to be changed? Set iFonzBottomIcon = True (0..X), if you want to change an icon in bottombar, set if false if you want to change a normal icon. ifonzIconNumber is the positionnumber of the icon counted from left to right,up to down.First Icon has Nr 0. For the bottomicons start counting with the first buttombaricon. Set ifonzPageNumber(1..X) to the page the icon should be(not nescessairy for BottomIcons
What does the script(iFonzForecastdo.mscr) do:
It changes 4 selectable Icons to show Forecast for day 2, 3, 4 and 5(Day 1 is shown by ifonzWeather.mscr). It saves the original Icons with all data, and restores them when script is started again. By setting iFonzOpenYahoo=2 in iFonzweather.mscr it will be started by pressing the Mainicon or any of the other forecasticons
What you can change (works without changes)in script(iFonzForecast.mscr) :
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Choose first Icon to use out of four to show forecast
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 4
ifonzPageNumber = 1
Click to expand...
Click to collapse
iFonzPixPath and iFonzWNA should get the same values as in iFonzWeather.mscr.
Selecting the first of the 4 replaced icons, works like in FonzWeather.mscr. The values should not be the same like in iFonzWeather.mscr because you would otherwise only see Day 2-5, because you replaced the Mainweathericon, showing actual day.
Click here to see bluemetalaxe's new realizelook weathericons. Find Icons in higher resolution and diffrent optics. These Icons are the base for the Set posted below. TNX bluemetalaxe
To use this Icons set iFonzWNA = "0"
So, this was a long Post. Sounds difficult, but is indeed quite easy. I hope you like it.
Any feedback by now ??? Wishes ??? Problems ??? Questions ??? Chage requests ???
Thanks Sid-Shrunk, it was the missed part on iFonz
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Hi bluemetalaxe,
bluemetalaxe said:
i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background
Click to expand...
Click to collapse
the preview icons look realy good. Especially playing with night and day should be interesting.
By the way, if you plan to do more pix, do you already have a table with the conditions belonging to the weathercodes?
yes, i think the codes/numbers are correct you see 36,39 and 33 from left to right, but please check it.
EDIT: Okay i checked it with your Icons, seems its okay. The other question is the size, i prefer 52 but i think the most like to use 48 Pixel for qvga. For the weather graphics itself i use Rumball`s Set (or the Set Rumball uses for manila weather panel, who knows ?), but i think i PM him first before doing this.
I did not mean thy are wrong, I just thought you could be interested in the link to YahooWeather that shows the exact description of condition to a code.
There you can see the exact diffrences between a bit/normal/heavy rain ....
For the pictures I've done I've just changed the icons coming with S2U2, and compared the missing icons with other available sets.
I forgot: For the size I think it would be best if it fits to the rest of your iconset, but that's you descision. I use 48, but I use a frame for every icon I use, so I had to modify anyway.
it`s okay the yahoo description and the graphics are right: 41 (heavy snow) and 37: So i think i will post a set for your application on the next few days on my icons thread.. (Just thinking about a cleaner background like on the second icon). Thanks for this app man !
Sounds great man, I like the smooth look of you new iconset.
The backgroundproblem in iFonz with transparency, is the Reason, why I modified all my icons with a metalic border So I can use any background now.
bluemetalaxe said:
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Click to expand...
Click to collapse
These are really nice icons and they go nicely with your realize icons which i use, i like that and i am interested
thank you claus
@sid: yes bmps and transparency, always a Problem on ppcs, i for myself went back to a black background, now my Icons look smooth. okay i post here again when the set is ready with a link (weekend)
Bluemetalmax,
Weather icons look up to your usual high standard. Would love a set in VGA. Is this possible?
blue those weather icons would be sweet.
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Hey i would use this as it looks great, but sadly, ifonz is too slow for me on my diamond, too jumpy, and the settings screen is jerky and slow. Its just not a pleasant experiance using ifonz.
Of course, i cannot "do better" so, just my own opinion.
okay ifonz setting screen is slow as hell, but who cares, its just for the Settings.
But i don`t think that ifonz is slow, ecspecially the new Version is really fast, and i´m using just a Polaris.
You should wait about one Minute when starting ifionz the first time then it runnes really smooth.
Anyway, my weathericons for SIDs App are ready (96 Pixel VGA PNGs). Now i must do ifonz icons out of this.
i made four different backgounds (Day, Day-snow,Night, Night-Snow)
Hi bluemetalaxe
bluemetalaxe said:
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Click to expand...
Click to collapse
Sorry I answer so late,
I will look for your problem when im Home this afternon. Also I will post a small description of the errormanagement of the script.
launching app
Hi! this is a great application, it is all I missed on iFonz. It would be great if one could launch the weather panel by bluemetalaxe (http://forum.xda-developers.com/showthread.php?t=436656&page=6). I am a newbie and I dunno how to do it. Any suggestions?
Mart,
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Errorhandling of iFonzWeather
This is a short info about errormanagement of IFonzweather.
When started it checks, if internetconnection is available(Tries if google.com can be reached). If not available it waits 10 seconds and tries again(if connection is available, but breaking while trying to download, it will resart after the setup time).
1. Possibility(Everythig works):
-> Correct actual weathericon will be shown, Temperatures will be shown like "9°(12°/7°)" and forecast will be saved in registry for 5 Days (HKCU\Software\Sid-Shrunk\Weather\...).​
2. Possibility(Data is downloaded but theres an error in the Data)...
2a. ...and there is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "Err(12°/7°)" (Error but forecast available).
2b. ...and there is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "DataErr"(Error and forecast not available).​
3 Possibility(Connection could not be established) ...
2a. ...and here is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "N/A(12°/7°)" (no Connection but forecast available).
2b. ...and here is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "NoData"(Error and forecast not available).​
As I've no dataflatrate, I've deactivated dataconnection via Provider and only use wlan or connection via activesync.
This tool uses available connections, so I think it may not connect to your provider on it's own. But it should use the connection if you've activated it(I've not checked this). May be some of you could post your experiences with this.
@bluemetalaxe: Does it work by now ? If not, what connections have you tried, what language does your device use? If not perhaps you could send me a copy of your modified mort.
PS: The pic look fantastic
MartCronos said:
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Click to expand...
Click to collapse
Hi MartCronos,
I use an non english device too, and it works for me. Have you changed iFonzPixPath = "\program files\s2u2\gfx\weather\" to the correct and full path ?
for me it was iFonzPixPath = "\programme\s2u2\gfx\weather\"
for you it should be iFonzPixPath = "\Archivos de programa\s2u2\gfx\weather\" (if this is how programs folder is called on your device)

[MOD][XPOSED][4.0+] Smiley Replacer 1.3 (17.02.2013)

This isn't compatible with most KitKat ROMs!
Not sure how many of you are using the MMS/SMS app that comes with AOSP, CM and most other ROMs. It's good enough for my usage (don't text much), but I never liked those smileys. I do love the ones I use in Miranda though (from Kolobok).
So here is a solution to that problem, at least if you have root access. I developed a module for my Xposed framework. For those who haven't seen it yet, it can do many modifications to the system and apps in memory, without modifying any APKs. This makes it easy to try out and many modules can work for a broad range of ROMs.
I you want to try it, follow these steps:
1. Install the Xposed framework as described in this thread (REQUIRES ROOT!)
2. Install the attached APK and activate the module in the Xposed installer (this is also described in the framework thread)
3. Reboot
Then, download at least one smiley pack to your phone (see second post) and follow these steps to use it:
4. Import the smiley pack into the app
4a. Start the Smiley Replacer app
4b. Click "Choose a smiley pack"
4c. Click the "add" button (you might need to press the menu key if there is no such button)
4d. Use your favorite file browser to select the smiley pack
4e. Click "Start import"
5. Choose the smiley pack you just imported from the list
6. Restart the MMS/SMS app (there is a button for that which makes sure that the app is properly killed before)
This will only work for 4.0+ ROMs and only for the standard MMS/SMS app, assuming it's based on AOSP and the smiley renderer is not drastically modified. For example, I'm using CM10.1 (Android 4.2.1), but it also worked for Tungstwenty on a Samsung stock ROM with Android 4.0.3. Even though we both have a Galaxy S2, this module will also work on other devices. It only depends on a small subset of the MMS/SMS app code. So I hope this is the correct subforum (if not, feel free to move it).
Some things to note:
- This module doesn't include any smileys itself. You will need a smiley pack, which is easy to create (see second post)
- Smileys can be animated gif files. :victory: This makes it different from simply replacing the images. Please note that this requires many refreshes of the UI. On my phone, the CPU load is still ok, but maybe for some devices with less performance will have problems.
- Source code: https://github.com/rovo89/Smiley-Replacer
Changelog:
1.0: Initial version [116 downloads]
1.1: Fix cut-off smileys and MMS/SMS restart, add size selector [21 downloads]
1.2: Added an option to disable auto-resizing [10 downloads]
1.3: Fixed: Static smileys were still resized even when this was disabled
Example smiley packs / Format description
Smiley packs
AOSP: Default smileys from AOSP 4.2. That's not a big effect as your phone probably uses them already, but might be a good starting point for smiley packs. Especially if you have replaced the smiley graphics in the MMS.apk previously as you just need to replace the images.
Kolobok (attached): I use this one for myself. It contains the animated Kolobok smileys, which are simply lovely.
HTC Sense by noooooo
Emoji by noooooo
Facebook by Suprash
Facebook Messenger by Suprash/saywhatt
ICQ by noooooo
Yolks by saywhatt/bad-blood
IconTexto by saywhatt/IconTexto
Sony Xperia by m1l4droid
Hangouts by noooooo
tuzki animated transparent by justnoone
Skype smiley (Animated) by sasadara
Samsung ChatOn Emoticons by justnoone
Full Yahoo Emoticons Pack by MFaust
Galaxy Note Stock Emojis by justnoone
Cut the Rope by AlkaDragos
Facebook stickers by noooooo
BlackBerry Messenger by marsigliah
Huawei by MFaust
Kik Smileys by marsigliah
HeyWire Emoticons by marsigliah
LINE Stickers by marsigliah
Xperia Z1 by beatrat
Square by daniel_m
And a bit special, for those who don't want to have any smileys at all:
No smileys by m477m
File format
General
A smiley pack is a zip file consisting of a few text files for the metadata and of course the images, all directly in the zip (no subfolders).
I recommend to use "xyz.smileys.zip". Files ending with ".smileys.zip" can be opened and imported directly (unless your file browser insists on opending zip files itself).
In case you want to use characters like umlauts, you need to use UTF-8 character encoding without Byte Order Mark (BOM). I'm using Notepad++, where you can easily select this from the menu.
There is no limit of smileys, however keep in mind that quantity is not everything and that the smileys are local to the phone where the smiley pack is installed. Limit yourself to smileys you and your conversation partners actually send.
Images
I recommend to use png for static smileys and gif for animated smileys. In theory, other file formats like bmp should be supported, but it's untested and probably doesn't add any value. Transparency has to be included in the file itself, i.e. you should see it in the Windows image preview or whatever you are using.
The image size should be something between 20-30px, close to what they are normally display. The images are scaled automatically to match the text height.
info.txt
The first line of this file is the title of the smiley pack. All following lines are the summary.
codes.txt
This file contains a mapping between the images and the codes they replace. There is one line per smiley, empty lines and lines starting with a hash (#) are ignored. Each line has to start with the filename, then one or more blanks, then the main code (which is displayed in the "insert smiley" dialog), then optionally further codes, separated by one or more blanks. For example:
Code:
smile.gif :) :) =)
This would define a smiley with the (animated) image smile.gif, the main code "" as well as further codes "" and "=)". Any occurences of these codes will be replaced with the smiley image.
Only smileys defined in this file will be considered, any other images will be ignored. This file also defines the order of the smileys in various lists. The first smiley in this file will be used for the preview in the "choose smiley pack" screen.
descriptions.txt
Here, the texts displayed next to the smileys are defined. The format is similar to the one of codes.txt. The first field is again the filename, which is followed by one or more blanks. Everything after that is the smiley text. If no description is given for a smiley, the filename without extension will be used.
I recommend to re-use the texts of the builtin smileys if possible. You can do that with the dummy description "DEFAULT:XYZ", where XYZ stands for default smiley. Have a look at the AOSP smileys for a list of all supported smileys and the corresponding texts. As the texts will be taken from the installed MMS/SMS app, the text might vary slightly. But the good thing is: Translations are applied as well, so you profit from a wide range of supported languages.
Examples:
Code:
smile.gif I'm so happy
sad.gif DEFAULT:SAD
Translations
As mentioned in the previous section, the easiest way to get translations is using "DEFAULT:XYZ" whenever possible. However, you might want to add completely new smileys. If you just add the text to descriptions.txt, it will be used for all languages.
To add translations for selected smileys, you can create files like "descriptions-de.txt" (language) and "descriptions-pt-rBR" (language and region). This is the same naming convention as used for Android resources. In these files, you use the same format as in descriptions.txt, however you should only include those smileys which you want to translate. Other texts are inherited from more general files, which means that everything not translated in e.g. descriptions-pt-rBR.txt will be taken from descriptions-pt.txt. If it doesn't exist there either, it's taken from descriptions.txt. The last fallback is the filename without extension as mentioned before. So you don't need to repeat the text from those general files, especially not the "DEFAULT:XYZ" texts.
That's it, I think that should cover it all. For examples, look at existing smiley packs. If you have created a new smiley pack, ping me and I will add a link in this post.
Re: [MOD][XPOSED][4.0+] Smiley Replacer
Working perfectly on stock based 4.1.2 Samsung ROM, on my Note 2. Amazing work, thanks
sent from somewhere
Re: [MOD][XPOSED][4.0+] Smiley Replacer
Great job man
Re: [MOD][XPOSED][4.0+] Smiley Replacer
what about iPhone emoji which is basically what the droidified ones represent ?
Sent from my HTC Sensation using xda app-developers app
Emoji are left untouched by this mod. I haven't looked into them for a couple of reasons:
- Both sender and receiver need a phone that supports emoji
- For you to see an icon, the sender needs to actually insert an emoji, so you don't have the control yourself
- I have never sent or received an emoji
- I think emoji are a bit more standardized than smileys, so I'm not sure if they should be changed too much
I just added the file format descriptions to the second post for anyone who would like to create their own smiley pack.
Confirmed working on 4.2! Great work man! I had been looking for something similar for ages! 2proposal if i can say them:
1 maybe add a facebook and sense 4.5 static pack
2 maybe make them quite bigger
however, fantastic work!
I love the Kolobok smileys, so I'm not gonna use any others. But opinions differ, that's why I chose not to hardcode my preferred smileys but created a file format that is open and it doesn't require any programming skills. Create whatever you like and please share the results.
About smiley sizes: I thought it would be good that they are just as high as the text around them, so that the line height and the space between the lines is unchanged. I have just tried and applied a hardcoded scaling factor - it works, but to me it doesn't look nice because the line spacing is uneven.
rovo89 said:
I love the Kolobok smileys, so I'm not gonna use any others. But opinions differ, that's why I chose not to hardcode my preferred smileys but created a file format that is open and it doesn't require any programming skills. Create whatever you like and please share the results.
About smiley sizes: I thought it would be good that they are just as high as the text around them, so that the line height and the space between the lines is unchanged. I have just tried and applied a hardcoded scaling factor - it works, but to me it doesn't look nice because the line spacing is uneven.
Click to expand...
Click to collapse
I've tried to make an xperia mod pack but it recognises only the smileys i haven't changed, can you help me?
You are using many png files, but all of the smileys in codes.txt are .gif. You have changed descriptions.txt, but most important is codes.txt: "Only smileys defined in this file will be considered, any other images will be ignored."
So, here's the one X pack and, if possible tell me what to modify if i want them quite bigger!, thanks!
In the class MovieSpan, add one line:
Code:
public int getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) {
if (fm == null)
fm = new FontMetricsInt();
paint.getFontMetricsInt(fm);
[B][COLOR="DarkGreen"]fm.ascent = fm.top = (int)(fm.ascent * 1.2);[/COLOR][/B]
if (mVerticalAlignment == ALIGN_BASELINE)
fm.descent = fm.bottom = 0;
mScale = (float)(fm.descent - fm.ascent) / mMovieHeight;
return (int)(mMovieWidth * mScale + 0.5f);
}
Same in AutoHeightImageSpan (well, actually you need to copy the whole method as I forget to make it similar to the one in MovieSpan):
Code:
public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
if (fm == null)
fm = new FontMetricsInt();
paint.getFontMetricsInt(fm);
[B][COLOR="DarkGreen"]fm.ascent = fm.top = (int)(fm.ascent * 1.2);[/COLOR][/B]
if (mVerticalAlignment == ALIGN_BASELINE)
fm.descent = fm.bottom = 0;
int height = fm.descent - fm.ascent;
float scale = (float)height / mDrawableHeight;
int width = (int)(mDrawableWidth * scale + 0.5f);
mDrawable.setBounds(0, 0, width, height);
return width;
}
Note that this will not scale the smiley by exactly 120%, but something close to it. This is because the top of the drawing area is moved up, whereas the bottom stays the same. With this, at least only the space before the line increases, not the space after the line. That said, I can only repeat that I don't think it looks nice with uneven spacing, but if there is a high demand for this, I might make this an option.
Thanks but i thinks it's too complicate for me i'll keep the small one
Well, as I said: Maybe that will be an option one day. However, maybe you can say anyway what you think about the downside of the larger smileys: the uneven spacing. This makes it a no-go for me, but maybe other think it's fine.
yeah i noticed too that some smileys are cut
What do you mean with "cut"? I had a short look at our smileys and they were fine. If you mean the conversation list, then it's normal that the text (including smileys) is cut off at the right-hand side.
One more question: You describe your smileys as "Sense" smileys. So that means they are the default ones from HTC Sense?
R: [MOD][XPOSED][4.0+] Smiley Replacer
And yes,the default ones
Inviato dal mio HTC Sensation con Tapatalk 2
great job man!!
great job
noooooo said:
And yes,the default ones
Click to expand...
Click to collapse
Ah yes, this is what I had fixed for the animated smileys, but forgot for the normal ones. Happens when there are only smileys in one line, no text. I have a fix for this (I think), but not enough time today to release it.

Knockout Theme Weather Bug

Hi, I'm using Knockout theme, and I have a bug that came up today. I think it might be because in my location we use Monday as first day of the week. Bug: the temperature values are on top of each other, and the indicator is on Wednesday instead of Sunday.
Screenshot here.
bbluff said:
Hi, I'm using Knockout theme, and I have a bug that came up today. I think it might be because in my location we use Monday as first day of the week. Bug: the temperature values are on top of each other, and the indicator is on Wednesday instead of Sunday.
Screenshot here.
Click to expand...
Click to collapse
Here is the sting for the weather icons and min/max.
$#Df#=1?[ox]-120[/ox]$
$#Df#=2?[ox]-80[/ox]$
$#Df#=3?[ox]-40[/ox]$
$#Df#=4?[ox]0[/ox]$
$#Df#=5?[ox]40[/ox]$
$#Df#=6?[ox]80[/ox]$
$#Df#=7?[ox]120[/ox]$
Each weather icon, and min/max text layer has this value in it, but its numbers shift around. The one listed above is for the Current Weather icon, so the tomorrows weather would look as follows;
$#Df#=1?[ox]-80[/ox]$
$#Df#=2?[ox]-40[/ox]$
$#Df#=3?[ox]0[/ox]$
$#Df#=4?[ox]40[/ox]$
$#Df#=5?[ox]80[/ox]$
$#Df#=6?[ox]120[/ox]$
$#Df#=7?[ox]-120[/ox]$
Each icon sifts the x coordinate up one space so by day three the x value of 0 would be at the top, and by day 4 it could be the bottom.
I can fix this but its going to make the sting more complicated, and I will need to rebuild them on each device.
I Should be able to make it dynamicly change based on regional date formats by using $#DE#=Sun || #Df#=1?$ as an if this then that statement, but I will need to rethink how to write out the strings above. If Zooper renders more than one [ox][/ox] then it ignores all of them.
I cant tell you why its rendering all in the same spot, but if you want to fix the issue yourself, for our region you would change the string to the following in the TODAY layer for weather icons, min/max layers and the day indicator layer.
$#DE#=Mon?[ox]-120[/ox]$
$#DE#=Tues?[ox]-80[/ox]$
$#DE#=Wed?[ox]-40[/ox]$
$#DE#=Thu?[ox]0[/ox]$
$#DE#=Fri?[ox]40[/ox]$
$#DE#=Sat?[ox]80[/ox]$
$#DE#=Sun?[ox]120[/ox]$
You would put the 0 x coordinate for the today layer on what ever day today is when you make the changes. Then shift the numbers up by one line for each consecutive day.
I will rethink how to write this out to try and make it dynamic to the region and reupload the theme, but it wont be by today.
Feel free to hit me up on Hangout if you have a question.
Bill Surowiecki

Is it possible to make a custom animated watchface on amazfit pace?

Since the watch have a build-in watchface called "Morning Runner" which is kinda look very animated for me, and after a multiple research about the custom watchface, The most of what I found is a "static" watchface, one watchface that is nearly animated for me is the one named "pacman" which is only animated with the Hands and the ghost's eyes, which is pretty cool tho,
So, now I'm curious, is there any possible way to make a custom animated watchface for the pace? What tools shoud I use? And there is any tutorial related to my project?
One sample in my mind is to build the Mario one, that he will jump every second to hit the " : " box, thats it.
No, the API doesn't support it, at least for now.
If you want to make a *.wfz, just open one as zip file and see the content.

Icons colors

Is there any way to change the colors of the icons all to white! without always being that green or red?
Can an APK change this?
Thanks
it's possible to make beautiful faces with "Simple Amazfit Watchface Builder by fabio barbon" , but not always with green icons that I can not change unfortunately!
It was important for all amazfit users to be able to have beautiful watch faces
Any solution please?
Any solution so far is to build a custom Java (APK) watchface, and debug it until it works fine with both international and CN firmware.
For me JAVA APK t seems very complicated, I don´t lost much time trying to understand, but it does not seem easy.
I'm afraid to experiment and keep my watch unconfigured and unresolved forever!

Categories

Resources