Gear Watch Designer: stepcount % problem - Samsung Gear S2

Hi to all.
I've made a watchface with the stepcount % indicator.
This indicator was fine until it reach the 100%, but if you go over your daily objective the counter became unuseful (I don't know which value it exposes).
Someone else have experienced the same problem?
Thanks
GS
ITALY
PS: what about creating a new section dedicated to the Gear Watch Designe...?

Do you use the "steps counter" or "steps %" ?
For me, the % just stop when the number off steps are done, but when I put the counter, it continue until the end of the day.

Mikoube said:
Do you use the "steps counter" or "steps %" ?
For me, the % just stop when the number off steps are done, but when I put the counter, it continue until the end of the day.
Click to expand...
Click to collapse
The problem is another: I have associated a sequence of images to reproduce a toggle for the step count %.
The gauge is OK, but when I go over the 100% of the daily target, the gauge resets to the initial position and is looks like the 0% of the target.
I think this is a bug of the GWD...
GS
ITALY

Or maybe GWD don't see it as % meter, but count meter and after the defined count of steps, it just restart the count... the good thing to know is : Is it possible to record that reset to put another counter

Do you mean you used "Step Counter"?
jhonjey66 said:
Hi to all.
I've made a watchface with the stepcount % indicator.
This indicator was fine until it reach the 100%, but if you go over your daily objective the counter became unuseful (I don't know which value it exposes).
Someone else have experienced the same problem?
Thanks
GS
ITALY
PS: what about creating a new section dedicated to the Gear Watch Designe...?
Click to expand...
Click to collapse
Do you mean you used the "cumulativeTotalStepCount" of the Human Activity Monitor interface?
If yes, it will give you total steps since you last called "tizen.humanactivitymonitor.start(...)", Irrespective of any "daily objective".
API Reference - https://developer.tizen.org/dev-gui...izen/humanactivitymonitor.html#StepDifference

akhilkedia94 said:
Do you mean you used the "cumulativeTotalStepCount" of the Human Activity Monitor interface?
If yes, it will give you total steps since you last called "tizen.humanactivitymonitor.start(...)", Irrespective of any "daily objective".
API Reference - https://developer.tizen.org/dev-gui...izen/humanactivitymonitor.html#StepDifference
Click to expand...
Click to collapse
Thanks for the answer...
In any case, no, I used the GWD facility that allow to link a series of images to the stepcount %...
I attach an image in order to explain...
The problem is that the percentage seems to go over 100% but there is no option to link a further image when this condition happens...
GS
ITALY

jhonjey66 said:
Thanks for the answer...
In any case, no, I used the GWD facility that allow to link a series of images to the stepcount %...
I attach an image in order to explain...
The problem is that the percentage seems to go over 100% but there is no option to link a further image when this condition happens...
GS
ITALY
Click to expand...
Click to collapse
I have the same problem. i just want to show a simple image when goal reaches 100%
and it does. at 100% it shows. if i walk another stepp its 100.01% and it disappears...

the same here

dahod83 said:
the same here
Click to expand...
Click to collapse
Has anyone tried editing the XML by hand to put in a "ge" (greater than or equal to) operator?

kimvette said:
Has anyone tried editing the XML by hand to put in a "ge" (greater than or equal to) operator?
Click to expand...
Click to collapse
nope

Drbaldini said:
I have the same problem. i just want to show a simple image when goal reaches 100%
and it does. at 100% it shows. if i walk another stepp its 100.01% and it disappears...
Click to expand...
Click to collapse
Is that fixed with an update to GWD 1.0.2 ?

ThinkD said:
Is that fixed with an update to GWD 1.0.2 ?
Click to expand...
Click to collapse
it is at least it says so on release notes
http://developer.samsung.com/release-note/view.do?v=R000000030L

I do it with STEPS - not with %. That works fine! If the step goal is achieved appears a special image and this remains for the rest of the day.

Related

About power setting

Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Can I modify it? How?
Jackie
As far as i remember it can be modified, but i forgot how?
can someone pitch in please?
topgunarindam said:
As far as i remember it can be modified, but i forgot how?
can someone pitch in please?
Click to expand...
Click to collapse
Cry!!! Somebody can help me?
jackielo said:
Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Can I modify it? How?
Jackie
Click to expand...
Click to collapse
I had a look through my Universal's registry, the wiki and google - but with no luck
My recommendation:
a) Continue searching the above 3 places
OR
b) Get a battery monitoring piece of software (eg batti)
OR
c) Don't change it? (and get a bigger battery\bring a charger\conserve power)
And finally:
Don't whine - try to add something to the community
@jackielo
XDA-Exec Sandisk-Ultra-2.0GB
jackielo said:
Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Click to expand...
Click to collapse
these numbers are hardcoded in NK and battery driver. So they cannot be modified by editing registry or something else.
mamaich said:
these numbers are hardcoded in NK and battery driver. So they cannot be modified by editing registry or something else.
Click to expand...
Click to collapse
But I find some rom can using SD until battery 0%. So I think this setting which should can be modified.

[Q] Defy 1% universal battery increment?

Hello all,
Following a question in another thread (forum.xda-developers.com/showthread.php?p=10860486) and the many requests sent to battery widget developers, I decided to create this thread.
Many someone can help to make it so?
The battery data is provided by the driver through the 'fake' files located in /sys/class/power_supply/battery
The % data can be found in 2 files:
- charge_counter at 1% increment
- capacity at 10% increment
Would there be a way to revert those files in the battery driver and then bundle it in a ROM or an update for all?
Or another way to have the 1% data in the capacity file, which seems to be used by Android to report battery % as suggested in the original thread mentioned above? This thread also suggest another solution, but I'm worried that it might consume battery in doing so.
This would be great to see that happen, then it might even be possible to reuse that on other phones?
ccounotte said:
Hello all,
Following a question in another thread (forum.xda-developers.com/showthread.php?p=10860486) and the many requests sent to battery widget developers, I decided to create this thread.
Many someone can help to make it so?
The battery data is provided by the driver through the 'fake' files located in /sys/class/power_supply/battery
The % data can be found in 2 files:
- charge_counter at 1% increment
- capacity at 10% increment
Would there be a way to revert those files in the battery driver and then bundle it in a ROM or an update for all?
Or another way to have the 1% data in the capacity file, which seems to be used by Android to report battery % as suggested in the original thread mentioned above? This thread also suggest another solution, but I'm worried that it might consume battery in doing so.
This would be great to see that happen, then it might even be possible to reuse that on other phones?
Click to expand...
Click to collapse
This app has already been done and is there in the Apps Section. I am using this from almost a month now. It is a great app.
This app has already been done and is there in the Apps Section
Click to expand...
Click to collapse
can u give link plz
http://forum.xda-developers.com/showthread.php?t=930457
Thx I dont seen it before.
chaihg said:
This app has already been done and is there in the Apps Section. I am using this from almost a month now. It is a great app.
Click to expand...
Click to collapse
The thing is to have the Defy support all apps and widgets, not have only one choice...
So it's not developing a widget, but either an updated battery driver or a system service changing how things work there (merely exchanging 2 system files).
I think it´s only about reworking framework-res.apk, to have it in the status bar instead of the original one. I would try it myself, if we would have custom recovery, with possible start from cold boot.
This software display accurate power than?
Hello
I would like to have incon battery like that :
http://forum.xda-developers.com/showthread.php?t=724778
I see that it's impossible directly .
If i edit BatteryService.smali in the services.jar i can add 1% charging detection and so add icon ?
Thanks
I put the files in zip^, you can open with Notepad2 or ++
It's a driver issue, in the kernel. So it's not modifiable.
I have been doing experiments with it. The easiest thing may be copy the charge_counter info over capacity each N minutes with some kind of bash script, but the driver is programmed so that if it detects a write in any of those files, it stops updating.
I guess the solution would be some kind of kernel module which modifies that behavior, but I have not those skills.
You can see the source of the driver in /kernel/drivers/power/cpcap-battery.c, in the source that you can download from the Motorola site.
martinml said:
It's a driver issue, in the kernel. So it's not modifiable.
I have been doing experiments with it. The easiest thing may be copy the charge_counter info over capacity each N minutes with some kind of bash script, but the driver is programmed so that if it detects a write in any of those files, it stops updating.
I guess the solution would be some kind of kernel module which modifies that behavior, but I have not those skills.
You can see the source of the driver in /kernel/drivers/power/cpcap-battery.c, in the source that you can download from the Motorola site.
Click to expand...
Click to collapse
That was also one of my first ideas concerning systemwide 1% battery.
From kernelspace you have much more possibilities than from userspace if you want to modify systemstuff.
I`ve also tried to decompile cpcap-battery module. Do you have a link to the source ?
Have written some kernel modules for normal unix systems, will have a try on the android one.
rznag said:
I`ve also tried to decompile cpcap-battery module. Do you have a link to the source ?
Click to expand...
Click to collapse
Sure! I uploaded here: http://pastebin.com/TnZ3P8CN
But anyway you should download the full source from opensource.motorola.com.
I think that the problem lies here: the function cpcap_batt_ioctl() has this code:
Code:
if (sply->no_update)
return 0;
The 'no_update' variable is always set to false, except when you try to write over some of the mentioned files. The thing to do would be modifying this function to remove that return or to change the condition of the if.
With the help of this article I think I managed to dump and disassembly the code of this function, but I know nothing of ARM assembly language. This is what I think it's the equivalent assembly source of that function: http://pastebin.com/w658cwSj
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
AgentSmith said:
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
Click to expand...
Click to collapse
Could you post a link to it?
Is there any solution to "fix" moto original battery? I had something like this on my old galaxy i5700 - circle battery in notification bar, combined with the right driver - 1% battery...
I think it's this : https://market.android.com/details?id=fr.depoortere.android.CircleBatteryWidget
For droid x but it's not on the taskbar
I open xml files : stat-sys-battery.xml and see that :
<?xml version="1.0" encoding="utf-8" ?>
- <level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:010802C4" android:maxLevel="1" />
<item android:drawable="@android:010802C5" android:maxLevel="10" />
<item android:drawable="@android:010802C7" android:maxLevel="30" />
<item android:drawable="@android:010802C8" android:maxLevel="50" />
<item android:drawable="@android:010802C9" android:maxLevel="70" />
<item android:drawable="@android:010802CA" android:maxLevel="90" />
<item android:drawable="@android:010802C6" android:maxLevel="100" />
</level-list>
It is possible to add 20 40 60 80 ? i don't know why 1-10-30 ?
Thanks
AgentSmith said:
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
Click to expand...
Click to collapse
They didn`t figured it out. They just read the motorola specific variable. So with circle battery you also have no systemwide 1% increment. They read the same variable as the other apps posted in the apps section with which you can have 1% display: DefyBatt 1%, MotoCharge.
But all these apps just show the accurate batterylevel only on one place, not systemwide.
@mick771
What you found in the xml is just for displaying the batterystats but not to get it into 1% format. It just defines which icon should be shown at which batterylevel.
If you would add 20-40-..... then the phone would just change the icon in the taskbar more often, but it wouldn`t get more accurate. Only just 10% Steps.
I have a solution based on a kernelmodule, but haven`t successfully compiled it.
I just have changed some lines in the original motorola driver. Will have a try do compile it next days. At the moment i`m too busy with university stuff.
But I thought the kernel signature was checked at boot so you can't make any changes to it? How are you getting around that?
Yes, the kernel signature is checked at boot. But perhaps it`s possible to change this module at runtime. Single modules are not checked as far as i know. That`s why it`s possible to load the overclock module.
I don`t wanna build a new kernel, just change the battery driver module.
But as i said, i haven`t successfully compiled the module. So i don`t post a solution, it`s just that i know a possible way to solve the problem on codebase.
We`ll see if it works. Perhaps it does, perhaps not.
rznag said:
They didn`t figured it out. They just read the motorola specific variable. So with circle battery you also have no systemwide 1% increment. They read the same variable as the other apps posted in the apps section with which you can have 1% display: DefyBatt 1%, MotoCharge.
But all these apps just show the accurate batterylevel only on one place, not systemwide.
Click to expand...
Click to collapse
Ok my bad. I misinterpreted the whole topic here. Another more strange thing I noticed which might be worthwhile to know is that the lockscreen often already displays a full (100%) battery charge - also mentioning to unplug the charger - while Circle Battery still displays a value between 95% and 100%. Actually the battery keeps charging until it says 100%. A system wide 1% increment might solve this little hickup. Also as soon as I unplug the charger the percentage drops to 99. Probably an Android thing...
Defy shows with motorola increments for a value like (x+1)0 from x6 - (x+1)5.
Means if it shows 90% it can be from 86-95.
40% means it can be from 36-45.
So if the battery is at 96% it will show Full but you can charge further cause you haven`t reached the real 100%.
That`s also why your battery directly drops after unplugging.

[APP][2.2+]Yet Another Auto Brightness

Yet Another Auto Brightness (YAAB)
A small open source application designed to enhance user control over screen brightness. Initially it was developed to make the screen as dim as possible to save battery on old devices. AND to provide a simplest possible user interface without any complicated calibration procedures and so on.
It is Beta version now. It has ascetic interface and very simple in use.
Source code, issue tracker and latest APKs are available here: http://bitbucket.org/gyrussolutions/yaab/
Google Play link: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Any feedback is highly appreciated, especially from other Android developers
Tester initial impressions
A nice small download and a simple and clean interface. Started service and it immediately started dimming my brightness. A few points to begin with:
The manual slider does not seem to work as there was no change in the brightness.
It doesn't seem to alter the brightness in different lighting (unsure if it is supposed to do this or not from documentation).
It is making my screen too dim, I have a GT-I9300 and the auto brightness on it is excellent and always keeps my screen at the good readable and useable settings.
Will run for an hour or so now and update this with further thoughts then.
---------- Post added at 05:13 PM ---------- Previous post was at 05:06 PM ----------
Ok it's keeping my screen to dim to be usable so have had to uninstall for now. A few further points though:
Application Force Closes when you stop the serverce.
The manual slider does not work.
Handset - GT-I9300
ROM - Paranoid Android 2.51
OK log wouldn't upload, here's a link for it on dropbox.
https://www.dropbox.com/s/mbyfz33b7audtxz/2012-11-02-17-10-36.txt
Good report, thanks a lot.
Looks like the app incorrectly reads light sensor data on your device and thus brings brightness to minimum.
I'm working on the issue now.
andrvo said:
Good report, thanks a lot.
Looks like the app incorrectly reads light sensor data on your device and thus brings brightness to minimum.
I'm working on the issue now.
Click to expand...
Click to collapse
Let me know when you have a new version and will test again for you.
Hi!
IIIIkoolaidIIII said:
Let me know when you have a new version and will test again for you.
Click to expand...
Click to collapse
I did some research tonight and found out that many people have concerns about light sensor behaviour in your ROM.
I wrote a very simple app that shows sensor parameters on the screen and displays all subsequent updates received from the sensor.
APK is here: https://bitbucket.org/gyrussolutions/lightreader/downloads (sources are available there also)
It doesn't require changing settings and it will not attempt to change screen parameters also. Minimal discomfort
Could you please run it on your device and post here its output in a dark room and under strong light?
Thanks.
andrvo said:
Hi!
I did some research tonight and found out that many people have concerns about light sensor behaviour in your ROM.
I wrote a very simple app that shows sensor parameters on the screen and displays all subsequent updates received from the sensor.
APK is here: https://bitbucket.org/gyrussolutions/lightreader/downloads (sources are available there also)
It doesn't require changing settings and it will not attempt to change screen parameters also. Minimal discomfort
Could you please run it on your device and post here its output in a dark room and under strong light?
Thanks.
Click to expand...
Click to collapse
Details bellow, Sensor name - CM36651 Light sensor
Darkened Room:
Accuracy 3, MAX 121240, last 0.0
Bright light:
Accuracy 3, MAX 121240, last 3700.0 (fluctuating around this point)
I've not read much in relation to sensor issues on this ROM, will do some digging myself now. Hope this information is useful to you.
B
---------- Post added at 11:05 AM ---------- Previous post was at 10:48 AM ----------
I have just done some digging and found no Liight sensor issues mention in the CM10 threads or known bug list. There was a light sensor issues back in September for Paranoid Android but this was fixed back then. Where have you seen the information about peoples concerns with the light sensor?
I have attached a link to the CM10 known issues bellow.
http://teamhacksung.org/wiki/index.php/CyanogenMod10:GT-I9300:Nightly:Known_issues
I saw several mentiones of light sensor problems here on the forum, like this: http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862 or this http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862
Some other mentiones on other forums/blogs.
But anyway your readings are very good, so the sensor isn't a culprit any longer.
I just had to make sure that the app has valid input data and the problem is somewhere in the algorythms. Because in the log file you submitted yesterday contains very strange values.
Thanks again. I'm going on with my investigation.
andrvo said:
I saw several mentiones of light sensor problems here on the forum, like this: http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862 or this http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862
Some other mentiones on other forums/blogs.
But anyway your readings are very good, so the sensor isn't a culprit any longer.
I just had to make sure that the app has valid input data and the problem is somewhere in the algorythms. Because in the log file you submitted yesterday contains very strange values.
Thanks again. I'm going on with my investigation.
Click to expand...
Click to collapse
Yeah those were two months ago and the bug was fixed in a few days, there have been about 10 version updates since then as well.
Let me know when you're new version is available and will test again.
B
Maybe you should restrict app installation to devices that have a light sensor? Because Google Play allows me to install it even tho I don't have one.
HTC Wildfire S (Marvel)
Works as intended on HTC Wildfire S (Marvel) 510e.
Brightness is applied 1/2 secconds after screen is on and with correct levels acording to the external light and manual adjusment seting.
I like the simplicity (pls don't change that) and, so far, I didn't noticed any bad impact on battery life.
I'm curently on custom SENSE 2.1 rom but I switch often so will test this one on them too.
Tnx,
GermainZ said:
Maybe you should restrict app installation to devices that have a light sensor? Because Google Play allows me to install it even tho I don't have one.
Click to expand...
Click to collapse
Will be done, thanks. I don't know how could I have missed that
kobredabre said:
Works as intended on HTC Wildfire S (Marvel) 510e.
Brightness is applied 1/2 secconds after screen is on and with correct levels acording to the external light and manual adjusment seting.
I like the simplicity (pls don't change that) and, so far, I didn't noticed any bad impact on battery life.
Click to expand...
Click to collapse
Thanks for the update.
We are working on automatic/manual "night reading" mode and manual range adjustments now, but we intend to keep the main screen and the defaults in this way, so most of the users would not even need to open menus and dig deeper into the settings.
IIIIkoolaidIIII said:
Let me know when you're new version is available and will test again.
Click to expand...
Click to collapse
I've uploaded current version to the downloads section: https://bitbucket.org/gyrussolutions/yaab/downloads
Check this one please when you have time.
To be honest I still don't know why did it set brightness to minimum on your phone and didn't ever rise it again.
But your log revealed a number of thread synchronization issues that I fixed in this version. I believe there could be connection between these issues and your dark screen.
UI is a bit different, it is my current development version. But start/stop buttons still do the same.
Don't wait long, 10-15 seconds is enough, if it doesn't track ambient light changes right from the beginning - it will not start after some minutes.
Thanks.
Hi andrvo,
Yaab works on my Nexus 7. It is also very easy to use. But I have two remarks.
First the app starts in portrait and I only use me tablet in horizontal view. The app not only starts in portrait, it does also not change to horizontal. This would be nice, if the app would start with mentioning the position.
The other point is, that it only needs one more option in my case. There is automatic and manual brightness. If I can use the manual slider in the automatic mode to set a basic brightness, this would be handy. Hope you know what I mean.
Thanks for your work. Would be nice to find Yaab on Google Play to get updates automatically.
Thanks, checking it out...
benkxda said:
First the app starts in portrait and I only use me tablet in horizontal view. The app not only starts in portrait, it does also not change to horizontal. This would be nice, if the app would start with mentioning the position.
Click to expand...
Click to collapse
Yes, it is my fault. I didn't have enough time to test those layouts on tablets.
I plan creating layouts for tablets from scatch since existing were designed mostly for phones.
benkxda said:
The other point is, that it only needs one more option in my case. There is automatic and manual brightness. If I can use the manual slider in the automatic mode to set a basic brightness, this would be handy. Hope you know what I mean.
Click to expand...
Click to collapse
Well, it works almost as you describe. "Manual adjustment" actually set the base line for the automatic brightness formula.
I'm preparing new release right now, will be available today or tomorrow. New version also allows to limit top and bottom values of brightness, maybe it will fit your need
benkxda said:
Thanks for your work. Would be nice to find Yaab on Google Play to get updates automatically.
Click to expand...
Click to collapse
It is here: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Test it on Galaxy Note 2
Everything looks working. Closing the sensor with my hand causing the screen light dim.
Not sure what idea I can give though, probably you can check 'smart stay' feature at Samsung S3/Note 2. Although it's not a screen auto-brightness thing but it have same objective about saving battery from screen consumption.
andrvo said:
Yes, it is my fault. I didn't have enough time to test those layouts on tablets.
I plan creating layouts for tablets from scatch since existing were designed mostly for phones.
Well, it works almost as you describe. "Manual adjustment" actually set the base line for the automatic brightness formula.
I'm preparing new release right now, will be available today or tomorrow. New version also allows to limit top and bottom values of brightness, maybe it will fit your need
It is here: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Click to expand...
Click to collapse
That new release I get then via Play, thanks for that. Delighted me.
jimmod said:
Test it on Galaxy Note 2
Not sure what idea I can give though, probably you can check 'smart stay' feature at Samsung S3/Note 2. Although it's not a screen auto-brightness thing but it have same objective about saving battery from screen consumption.
Click to expand...
Click to collapse
Ok, I'll check it, thanks.
Version 1.6 is rolling out to the Play store.
What's new:
night mode, manual and automatic. The latter will work only on new devices with high quality sensors which are able to provide accurate values in the lower part of the range. Manual works on any device.
range controls added. Now it is possible to shrink the actual range of automatic brightness values.
bugfix (of course)
Beta testing is still going on, all testers are welcome.
Fresh APK is also available here: https://bitbucket.org/gyrussolutions/yaab/downloads

[APP] Weather Station 2.1.0.5

The Galaxy S4 and Note 3 are the only Android devices right now with ambient temperature and humidity sensors. This Weather Station app I developed (free and with no ads) utilizes these sensors and additional ones to the full delight of amateur and pro meteorologists:
Weather Station
Donate
v2.1.0.5:
-Fix for pre Android 4.4 devices' widgets not updating automatically with Update On Press enabled
v2.1.0.4:
-Fix for widget indicators always showing no change
v2.1.0.3:
-Fix for Android 4.4+ intermittent temperature issues
v2.1.0.2:
-Small bug fixes
v2.1.0.1:
-Fix for abs. humidity, dew point, mixing ratio, and heat index not updating on widgets and graphs
v2.1.0:
-General battery use improvements
-General UI improvements
-Printing support for Android 4.4+
-Bug fixes
v2.0.2:
-added Density Altitude
-bug fixes
-added Ukrainian translation
v2.0.1.1:
-bug fixes
-updated Portuguese translation
v2.0.1:
-nicer y-axis graph labels formatting
-larger default font size for lockscreen widgets
-can now specify different font size for lockscreen widgets
-added Finnish translation; completed Russian & Spanish
v2.0.0:
-Completely new code architecture (for this reason you will have to uninstall and reboot)
-Updated appearance for app and widgets
-Mixing Ratio, Heat Index, Illuminance, |Magnetic Field|, Barometric and GPS Altitude added
-Widgets can now have multiple readings, update on tap, and no indicators
-New unit choices for Mixing Ratio and Elevation/Altitude
-Ability to clear saved background readings
-Nicer y-tick intervals on graphs
-Export multiple readings simultaneously
----------
String resources from this app are attached for translation only. Do not assume you can use them in your own app without talking to me. If you want to use the strings in a revenue generating app please pm or email me beforehand for permission.
----------
Translating strings and arrays in res.zip:
All who help with translations will be acknowledged in the app. The res/values directory contains the files strings_localizable.xml and arrays_localizable.xml with the English (US) words and phrases that would need to translated. As an example here is how the translation to Brazilian Portuguese worked:
Step 1) Copy the strings_localizable.xml and arrays_localizable.xml files from res/values to another location.
Step 2) Complete the translation of the words and phrases inside the xml tags.
Example 1:
<string name="app_name">Weather Station</string>
becomes
<string name="app_name">Estação Meteorológica</string>
Example 2:
<string-array name="pref_notifications_when_entries">
<item>Rising</item>
<item>Falling</item>
</string-array>
becomes
<string-array name="pref_notifications_when_entries">
<item>Subindo</item>
<item>Caindo</item>
</string-array>
Step 3) The translated files are placed into a new directory inside the res directory called values-pt (or values-pt-rBR). I can take care of this last step I just need to know what language it is and if it is limited to a regional dialect.
Works in other devices?
Dude, read the ops first sentence...
Sent from my SGSIII
That's cool. I'm going to give it a go.
works good on i9500, loving it , gr8 work!!!
why always with the crappy "auto start" on phone boot?
cebs said:
Works in other devices?
Click to expand...
Click to collapse
The pressure will work on any device that has a barometer (e.g. Nexus 4, Galaxy S3, etc). The temp and humidity will only work on a Galaxy S4 b/c it is the only device right now with a ambient thermometer and hygrometer.
karl999999 said:
why always with the crappy "auto start" on phone boot?
Click to expand...
Click to collapse
As I explain in the Google Play listing, the auto start permission is to run a very short service to re-set the alarm so background readings can be taken. The service only runs for a split second and then kills itself. If you disable background readings the service won't run on restart.
I am very interested in knowing how accurate the temperate sensor is working on the S4. Can someone test this out with a dedicated temperature reader and tell me how accurate it is or how off it is in Fahrenheit? Thanks.
if u can add a temp warning notification , then it will be perfect...
like i am able to set it to warn if the temp goes over xx degree..
Oh thanks mate! I got these readings, first is in my home and second is from outside. That second is littlebit weird because internet shows that there is only +4 celsius.
zige said:
Oh thanks mate! I got these readings, first is in my home and second is from outside. That second is littlebit weird because internet shows that there is only +4 celsius.
Click to expand...
Click to collapse
How long were you outside for? Perhaps the phone needed to stay outside longer in order to read the temperature correctly (away from other heat sources like yourself or the sun)?? Or worst case scenario is that the S4 temp sensor is not that accurate (we would need to find some specs on the sensors that Samsung is using).
Adjust Temperature
Is there any way to calibrate the temp sensor.?
Currently most readying are way higher than actual readings
I spent half an hour trying to find out why the thank you button is not available for me but couldn't find out why.
Thank You.Vry nice app.
zige said:
Oh thanks mate! I got these readings, first is in my home and second is from outside. That second is littlebit weird because internet shows that there is only +4 celsius.
Click to expand...
Click to collapse
u need to wait a lil longer
jsstp24n5 said:
How long were you outside for? Perhaps the phone needed to stay outside longer in order to read the temperature correctly (away from other heat sources like yourself or the sun)?? Or worst case scenario is that the S4 temp sensor is not that accurate (we would need to find some specs on the sensors that Samsung is using).
Click to expand...
Click to collapse
About 10minutes. Maybe i need to try later, but usually i'm outside only 5-10minutes when i walk to train station or to grocery shop.
Rar9 said:
Is there any way to calibrate the temp sensor.?
Currently most readying are way higher than actual readings
Click to expand...
Click to collapse
This was debated by me when I was making the app and I decided not to include it (but may put it in a future release if it is greatly demanded). The logic is that the temperature sensors are supposed to be calibrated to high accuracy at the factory and should not lose accuracy over time. Thus the "actual reading" you are referring to IS the actual reading that the thermometer on the phone is reporting. If it is higher than another thermometer nearby, it is higher for a reason (probably because of your body temperature heating the sensor, or the sun, or some other reason). The question is why fudge that?
i guess your mobile must be in your pocket.. try expose it to the weather..
prodigiez said:
if u can add a temp warning notification , then it will be perfect...
like i am able to set it to warn if the temp goes over xx degree..
Click to expand...
Click to collapse
This will be in the next release.
I've noticed that the temperature on the S4 is always higher. The reason is probably that the S4 is a heat source in itself! Unless the temperature sensor is incredibly well insulated from the rest of the phone then it will always be affected. I might test this and take a reading but only after having left the phone off for some time like 30 minutes (to let it cool sufficiently) then switch it on and take the reading before too much heat has built up in the device.

[SW2] Dumping firmware

Does anyone know how to dump full firmware? dfu-util allows to dump only first 2 megabytes.
useretail said:
Does anyone know how to dump full firmware? dfu-util allows to dump only first 2 megabytes.
Click to expand...
Click to collapse
I really hope someone figures a way to hack this thing. It's on the cusp of greatness if only few seemingly minor improvements.
1) Adding date to watch face
2) Settings for strength of vibration.
3) Settings for screen time out. 15 seconds would probably be great.
deitiphobia said:
I really hope someone figures a way to hack this thing. It's on the cusp of greatness if only few seemingly minor improvements.
1) Adding date to watch face
2) Settings for strength of vibration.
3) Settings for screen time out. 15 seconds would probably be great.
Click to expand...
Click to collapse
Maybe there is a way over the smartwatch apk? I've extracted the files with a zip compressor and there is a firmware in the folders??

Categories

Resources