[Q] Android decimal numbre format - Android Q&A, Help & Troubleshooting

Hello
Can somebody tell me how i change my display setting for number format
now when i type five thousand four hunderd fifty in my calculator he will display 5,450.00 i want it to display 5.450,00
thx

Related

Screen color profile : V3 just added (see !![EDIT3]!!)

Hi all,
Well ... I waste some hours trying to make a color profile of our phone screen and ... I did it ! I can say it wasn't easy ...
I was bored to make stuff in photoshop and have a different result on the phone screen, then go back to PS, then push again, PS again ....
Attached files:
-Graphic which shows that the screen color space is smaller than sRGB & Adobe98. We also have a low contrast ratio of 350.
-The color profile that you have to put in C:\windows\system32\spool\drivers\color
-Photoshop screenshot to enable the profile
--> When you make images modd in PS for your phone (don't forget to disable it when you work with normal pictures !), choose : menu>Display>Work format (I don't have the UI in english so I don't know the real name --> look at the screenshot), then choose the profile and tick "Keep RGB numbers".
You're now able to modd images that will appear like on the phone (not perfect but acceptable). If you load a SGS3 screenshot you will see the difference too (CTRL Y to toggle apply profile / no profile).
However, I'm using a high-end monitor which is perfectly calibrated so I can really see the difference (this is named softproofing (simulating the destination display device). Depending on how your monitor is far from the right calibration, the profile may be useless ... Try it ! or search for someone who have a colorimeter and calibrate your screen, the improvment is very great !
I've made this profile with Spyder3 Elite in a very strange way
Enjoy !
/
/
[Edit 1] Screenshot added as example : "Without profile" jpg is the one that is made by the phone (raw). "With Profile" jpg is the same after applying my color profile, and this one is very near what I can see when I look the phone. The difference is not small !
/
[Edit 2]
1) How to convert your screenshots:
In photoshop, choose Menu Edition/Assign a profile, and then choose the phone's profile. Then choose Menu/Edition/Convert to profile and choose the sRGB profile. Then save your image.
Now, posting your screenshots this way, they will appear like there are on the phone. (Depending on how well calibrated is the monitor's member).
2) If you have a photo wallpaper on your computer and want it to appear the same on the phone : choose Menu Edition/Assign a profile, and then choose the phone's profile
- For who can have a profile for its momitor, it's important too to use the Color Management plugin in Firefox ( the only one browser able to manage color profiles )
/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! [EDIT 3] !!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There was a problem with some colors with previous color profiles.
When applying profile in photoshop with this V3 color profile :
- Select profile
- Untick Keep RGB numbers
- Select Relative color
- Tick Black point compensation
Now you will see in PS the colors like they will appear on your SG3 !
/
/
noob question
can u explain it in a simple language and wat is it exactly?
wat changes in phone and how to apply it..
vikraam said:
can u explain it in a simple language and wat is it exactly?
wat changes in phone and how to apply it..
Click to expand...
Click to collapse
Color Management is not an easy thing to understand at all. It can be a sbject of PhD ! And my bad english does not help to explain ...
The profile is usefull for who makes themes (it's not to implement into the phone):
-When you work on android's images in photoshop, what you see is not what you see when it is on the phone.
-With the profile you can :
--> See in photoshop what you will see when the image will be on your phone. It helps a lot ! Before making the pofile I was making changes, pushing them to the phone and then going back to photoshop (it was looking good in photoshop but not on the phone)
--> When you take a screenshot on the phone, the image is raw without any color profile, ugly ! Applying my profile you can visualize the screenshots on your computer like it appears looking at the phone. It's good to apply the profile to the screenshots before posting. At the present time the screenshots available on the forum does not correspond to reality. I will add a small tutorial to do that.
you get it ?
ok now i understood it. Im learning to make themes actually. So this wil help me
vikraam said:
ok now i understood it. Im learning to make themes actually. So this wil help me
Click to expand...
Click to collapse
I hope so ! See if someone or some store can lend/rent you a colorimeter to calibrate your monitor. I can warranty that this will change your editing experience ! You will be surprised visualizing your photos ...
Unfortunately, monitors even high-end, are sold without being calibrated .... The Delta can be very huge !
all i see in the 2 screenshots is that one is brighter than the other
i dont get it
in 1 post u say we can view the images before pushin it in the phone
n the other post u say it improves ur viewing experience like improves the quality??
i m viewing these photos on a netbook i dont if that makes a difference
so if u could please explain me again
AacidD said:
all i see in the 2 screenshots is that one is brighter than the other
i dont get it
in 1 post u say we can view the images before pushin it in the phone
n the other post u say it improves ur viewing experience like improves the quality??
i m viewing these photos on a netbook i dont if that makes a difference
so if u could please explain me again
Click to expand...
Click to collapse
Color management is a headache subject ...
The purpose is to get the same visual result on the phone and on the computer. The fact is that you don't have my phone so you can't see that the second picture looks like the phone and not the first one.
Actually, your case is not surprising : in general (90% ?) netbook's screens are very bad (poor color range and very sensible depending on what angle you are looking it) and of course non calibrated. So it's not a surprise you're not viewing a lot of diference.
Even like that, if you can calibrate your netbook screen there will be a significant improvment to view photos and other stuff.
Thanks!
I've been trying to solve different looking colors problems for a while now.
How did you create the profile?
undsoft said:
Thanks!
I've been trying to solve different looking colors problems for a while now.
How did you create the profile?
Click to expand...
Click to collapse
I'm pleased to know someone is using this profile and finding it usefull !
It was'nt easy to make it :
- 1st, I ran Basiccolor display calibration soft with my Spyder 3 colorimeter, on my computer screen, and make screenshot of each pattern color.
- then I put the images on my sdcard's phone
- then search for an image viewer able to switch picture by clicking a button. I found one where you can configure the button you want to use.
- then, ran calibration soft on computer, holding colorimeter on the screen phone and clickin the button just in time (at each color measure).
I will not do that again !
V3 profile available
UP !
see first post [EDIT 3]

[Q] UI Help, XML file

Hello All,
I am Charan Kumar, a beginner in android. I have created an UI design XML file. The design I have created shows all the components on a 3.7 inch display screen phone(default Nexus Phone in eclipse emulator). But, When I try on 3.2 inch and 3.4 inch screen phone, the components which are at lower part of UI are not getting displayed. The components are not getting fitted to the screen.
I am using "dp" to mention height, and "fill_parent" for width.
Please help me how to design an UI that displays all components on all phones, the design must be compatible for all mobile screens.
U cannot use dp or any other hard coded methods if u want the UI to work for all screen sizes.
I would suggest 2 options.
1. Use fill_parent n wrap_content only as view sizes and use weight attribute and margin and padding values to set the positions and sizes.
2. Else if u want to set the sizes preciously, set the sizes dynamically after reading the screen size from windowManager.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

[Q] How to change resoution but not density?

Hi, all!
I have JXD s7100B and when I changed custom bootscreen (only the last one. I can't find others to change them ), because there was a circle on the boot image, I've noticed that the image is deformed - when turned to lanscape mode it is "squished" verticaly. After that I've noticed the same with the icons on the launcher - however I rotate the screen shorter side is squished. I have an idea that maybe display is not WVGA (800x480pix) like it's set (and sold) but a WVGA NTSC (854x480) so I would like to change 800 to 854 somehow but leave 480 and dpi. I've searched forum and net and 90% of posts are changing dpi with LCD Resolution app or by editing build.prop but nothing I found says anyting about what I want to do. I found some resolutions in /system/bin/set_display_mode.sh but I've decided to ask first if someone knows what I should do. Can you help me? Can I change one dimension with some app or by editing some file?

[TIP][Guide]Change Default Home Button Color

Hi Guys.. I've been searching for ways to change the default color of Home Button of our Ray. Been on decompiling/compiling framework, settings... but got nothing or don't know exactly what xml/smali that controls the color of the buttons. So, by doing some trials-and-errors...:crying: Maybe this time I hit it.
First of all I want to thank:
JJDOCTOR for giving the hint to enable the light of Home button.
boy*racer*- max echo value is 20000
and all of you GUYS here on xda..
So here it is, navigate to system/etc/pre_hw_config.sh using ROOT EXplorer and find these lines:
echo 1000 > $dev/red/max_current
echo 1000 > $dev/green/max_current
echo 1000 > $dev/blue/max_current
and change to anything you want, I made it to
echo 1000 > $dev/red/max_current
echo 2000 > $dev/green/max_current
echo 9000 > $dev/blue/max_current
THE HIGHER THE VALUE, THE BRIGHTER THE LED.
Save changes....
For color preferences calculations: Go here. Thanks to Xtremy.
The above is nearly ICS Blue... You can put any values you want til 20000(?) except ZERO (0). By putting zero, that color will not be used by the system notifications ( I think)...
THIS WOULD NOT MAKE ALL OF THE NOTIFICATIONS COLOR TO THE COLOR YOU HAVE SET, ONLY THE DEFAULT HOME BUTTON COLOR IS AFFECTED. Sorry if the first flash of notification is not the COLOR you desired, only the succeeding flashes... I'm not a developer, I don't know how to do this correctly.
I THINK THIS WOULD NOT WORK ON CM-BASED ROM, BECAUSE THE HOME BUTTON LIGHT IS DISABLED (automaticbrightness is already set to FALSE). If somebody can make it to work, just apply it.
SOME DEFAULT COLOR WOULD NOT BE THE CORRECT APPEARANCE AFTER CHANGING THOSE LINES.. example, Violet is not violet when you use it as message notifications, still ICS Blue(?). Just raise the values.
REBOOT IS A MUST... Hope it won't bootloop...
adulfo said:
......................but got nothing or don't know exactly what xml/smali that controls the color of the buttons..........................:
Click to expand...
Click to collapse
XML is used to create user interface and the components used in app and java is used to create executable codes that will make apps functionality.
XML and smali are created automatically in app development.Though notepad++ is best to type XML.Best and easiest way to create a xml file is just write code in notepad++ and save it with extension of .xml.If you are developing an application of android then xmls are created by software itself. You will just need to specify name and add it to project as xml file...
thank you! i was just looking for this:good:
This is a nice mod adulfo! :good:
I wrote a little tutorial for finding your color value:
Go to this Color Wizard website.
Choose the color of your choice in de color bars.
In the #box you find the hex value for your color.
For this tut i use a nice orange E45F13 hex value.
Split de value in three pieces E4 5F 13.
1st byte E4 xx xx is for the Red value. (#FF0000)
2nd byte xx 5F xx is for the Green value. (#00FF00)
3rd byte xx xx 13 is for the Blue value. (#0000FF)
Open windows calculator set it in Scientific Mode.
1) Hit F5 to select HEX.
2) Type in your first hex (if HEX is 00, decimal is 0)
3) Hit F6 to convert to decimal.
Do this for all three hex values and write down the numbers...
1st byte E4 xx xx E4=228
2nd byte xx 5F xx 5F=95
3rd byte xx xx 13 13=19
As we know "max echo value is 20000" or 255 so:
20000 / 255 X 228 (your 1st above number)= 17882 for the Red Value
20000 / 255 X 95 (your 2nd above number)= 7450 for the Green Value
20000 / 255 X 19 (your 3rd above number)= 1490 for the Blue Value
Change the values in system/etc/pre_hw_config.sh for red, green and blue save & exit, reboot!
---------- Post added at 12:48 AM ---------- Previous post was at 12:37 AM ----------
I use the Tron Legacy Cyan color: 00DFFC
1000 for the Red Value.
17490 for the Green Value.
19764 for the Blue Value.
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Thanks mate.. To those also having problems converting those values, you can google HEX to RBG converter.
wow it is very great and i change it
works perfect
4.0.4 587
psp1987 said:
wow it is very great and i change it
works perfect
4.0.4 587
Click to expand...
Click to collapse
Would be nice if you will read my signature...
what does this change ? the light shown when the phone is switched on and had no notification ?
-Jesco- said:
what does this change ? the light shown when the phone is switched on and had no notification ?
Click to expand...
Click to collapse
This would only change the default color of your Home button ( if only it is enabled), hitting any of your physical keys.
i changed all the values to 10000, all the colors are the same but a lot brighter, default 1000 is too dim for me.
@adulfo thanks for the tip buddy, can happily report that it is also working on my ray
Sent from my ST18i using xda premium
This values as depicted on the lines itself maybe clear, raising it, means raising LED current, more current more power,more power so much brighter... If you want color other than WHITE, don't make the values nearly equal.
Xtremy said:
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Click to expand...
Click to collapse
Zero doesn't work, i try 0001, it works.
for RED color, the value is 10000,0001,0001.
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
lokenok said:
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
Click to expand...
Click to collapse
I think this will make all of your notifications to LIGHT BLUE?.. Correct me if I'm wrong... Doing that also.. Better to put those values on pre_hw_config.sh..
adulfo said:
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Click to expand...
Click to collapse
so is there any value that change the LED to RED but not affect to other notification color???
luckkonku said:
so is there any value that change the LED to RED but not affect to other notification color???
Click to expand...
Click to collapse
Just don't put those values on hw_config.sh, only on pre_hw_config.sh I think....
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
bobo023 said:
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
Click to expand...
Click to collapse
Try to raise the values of the other color, I stated that on my OP last part that if you make the other values extremes (1000 and 20000), the the colors will be affected.. If for instance, Blue will have 20000 value, the notifications color that contains blue (violet...) will have dominant blue and other colors will be suppressed, so VIOLET will turn out to be more on BLUE.

[Q] Bluestacks Android: Resolution change without stretching?

Hello everyone.
I couldn't find any answers related to the the screen resolution change of Bluestacks for Windows.
With changing registry entries it is possible to change the size to greater resolutions, for example FHD 1920x1080...
BUT:
Window and full screen will use FHD but the content is STRETCHED from a smaller resolution with gives text and some graphics an unsharp view.
Is it anyhow possible to get a REAL resolution change without stretching?
BR
No answers?
How many people are using Bluestacks?
Yes, Its possible to change Bluestacks resolution
Here is link you can convert your resolution to any size :
w w w. geekwake .com /how-to-change-bluestack-apps-resolution-in-windows/ How to change Bluestacks App’s Resolution in Windows[/URL]

Categories

Resources