Hi,
is it possible to set progress bar which starting on sunrise ane ending on sunset?
Progress bar will be showing time of sunshine day.
thx for help
danis777 said:
Hi,
is it possible to set progress bar which starting on sunrise ane ending on sunset?
Progress bar will be showing time of sunshine day.
thx for help
Click to expand...
Click to collapse
Hi Danis777!
It is, use the following codes:
min = 0
value =
Code:
$(((#DH#*60)+#Dm#)-((#ARH#*60)+#ARm#))$
max =
Code:
$(((#ASH#-ARH)*60)+(60-#ARm#)+#ASm#)$
To hide the bar at night use Advanced Parameters:
Code:
$#AISDAY#=0?[cf]00ffffff[/cf][cb]00ffffff[/cb]$
CopKiller76 said:
Hi Danis777!
It is, use the following codes:
min = 0
value =
Code:
$(((#DH#*60)+#Dm#)-((#ARH#*60)+#ARm#))$
max =
Code:
$(((#ASH#-ARH)*60)+(60-#ARm#)+#ASm#)$
To hide the bar at night use Advanced Parameters:
Code:
$#AISDAY#=0?[cf]00ffffff[/cf][cb]00ffffff[/cb]$
Click to expand...
Click to collapse
thx, i´m going to do it
it´s done and functional
Related
Just Copy SLDte String to SSDte String, and soft reset and you are done.
Sorry if this has been posted.
HAVE FUN!
which version is your HTC plugin ? Mine (freelancer ) does not have those keys . I tried to add manually, but on reboot they were all erased back to default . Can you export the reg key ?
EightEight said:
Just Copy SLDte String to SSDte String, and soft reset and you are done.
Sorry if this has been posted.
HAVE FUN!
Click to expand...
Click to collapse
Thank you a lot, this was something that bothers me a lot on HTC Home, and now it's gone
EightEight said:
Just Copy SLDte String to SSDte String, and soft reset and you are done.
Sorry if this has been posted.
HAVE FUN!
Click to expand...
Click to collapse
this is good, but if the date is december or september and it's a wednesday... i don't think it will look nice.
EightEight said:
Just Copy SLDte String to SSDte String, and soft reset and you are done.
Sorry if this has been posted.
HAVE FUN!
Click to expand...
Click to collapse
Hey EightEight, whats that plug in that has all those icons at the bottom there?
EightEight said:
Just Copy SLDte String to SSDte String, and soft reset and you are done.
Sorry if this has been posted.
HAVE FUN!
Click to expand...
Click to collapse
How to delete Smartone Icon. Because Icon & Date Icon to overlap
THANKS
If you don't like the long notation, you can also do it like this:
SSDte string: dddd, dd-MM-yy
You will see now: thursday, 19-07-07
or
SSDte string: dddd dd-MM-yy
You will see now: thursday 19-07-07
in hkey_local_machine_nls\overriders I have not all strigs
i have only default and LICD....can you help me?
sakky said:
in hkey_local_machine_nls\overriders I have not all strigs
i have only default and LICD....can you help me?
Click to expand...
Click to collapse
Same here...
Ok, here is what I have in my register:
(Default)
DWORD 1 : Name = IDate / DWORD data = 1 / Basis = DEX
DWORD 2 : Name = ITime / DWORD data = 1 / Basis = DEX
DWORD 3 : Name = ITLZr / DWORD data = 1 / Basis = DEX
DWORD 4 : Name = ITMPN / DWORD data = 9 / Basis = DEX
DWORD 5 : Name = ICID / DWORD data = 1043 / Basis = DEX (countrycode for The Netherlands) (from settings, regional settings?)
String 1: Name = SDate / String = -
String 2: Name = SSDte / String = dddd dd-MM-yy (for instance)
String 3: Name = STFmt / String = HH:mm:ss (from settings, regional settings?)
String 4: Name = STime / String = :
It certainly has a relation with the Regional settings.
So also check settings/Regional settings and look at the short and the long date.
Good luck!
eva_d said:
Same here...
Click to expand...
Click to collapse
go to start, settigns, system, regional settings, change parameter on the short date.
look now in registy ....
ok, re-change short date in regional settings and back to registry....now it's possible change all stings
sakky said:
go to start, settigns, system, regional settings, change parameter on the short date.
look now in registy ....
Click to expand...
Click to collapse
With my regional settings (Polish) I have only one option (yy-MM-dd), so I can't change it to other. I guess it's a matter of each locale...
date
i found it on mine. htc home from the kaiser port project here: http://forum.xda-developers.com/showthread.php?t=316107
i personally don't like the long date all that much i prefer yy.MM.dd but it is nice to know where to go to tweak it for later. this also led me to find the reg values to back up custom settings for the launcher =)
eva_d said:
With my regional settings (Polish) I have only one option (yy-MM-dd), so I can't change it to other. I guess it's a matter of each locale...
Click to expand...
Click to collapse
ok... try to tap on only option avalaible and after turn back on registry.
it's probably wm6 autogenreate the registry option only when you try to change options
in my regional settings ( italian) i have default option and yy-MM-dd
There is an easier way if you have HTCustom installed. HTCustom have a short date format hack. I changed mine to ddd, dd/MM/yy
Don't make it too long as it will affect other short date display as well (i.e. in call list, file manager etc...)
eviltuna said:
Hey EightEight, whats that plug in that has all those icons at the bottom there?
Click to expand...
Click to collapse
I believe that is today plugin Resco Explorer
deadeyed said:
I believe that is today plugin Resco Explorer
Click to expand...
Click to collapse
YES, It is Resco Explorer 2007.
thanks for thiis
Derkie's right. So I change the SSDte string to ddd, MMM dd, yyyy.
sakky said:
ok... try to tap on only option avalaible and after turn back on registry.
it's probably wm6 autogenreate the registry option only when you try to change options
in my regional settings ( italian) i have default option and yy-MM-dd
Click to expand...
Click to collapse
You're right! I have now nice date on today screen. Thanks for that!
Accidentally I deleted the "Settings" Icon in Program Launcher. How can I get it back? It doesn't appear in the Program List. And for tweaking the registry I needed the actual name of the settings application.
Anyone knowledgeable?
Hi, I almost deleted mine when tweaking start menu icons
You need to edit/change following registry keys:
HKLM\Software\HTC\Manila\ProgramLauncher
there find subkey number corresponding to Your icon (0=Top left, 1=Top Midle, 2=Top Right, 3=Next row left column...).
For command Settings You need to edit these Keys:
- Command = "--switchtopage Manila://settings.page"
- DispName = "Settings"
- IconPath = "\windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc"
- Path = "\Windows\manila.exe"
ChAr
Thanks, you saved my day!
char said:
Hi, I almost deleted mine when tweaking start menu icons
You need to edit/change following registry keys:
HKLM\Software\HTC\Manila\ProgramLauncher
there find subkey number corresponding to Your icon (0=Top left, 1=Top Midle, 2=Top Right, 3=Next row left column...).
For command Settings You need to edit these Keys:
- Command = "--switchtopage Manila://settings.page"
- DispName = "Settings"
- IconPath = "\windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc"
- Path = "\Windows\manila.exe"
ChAr
Click to expand...
Click to collapse
just a quick question - could this be a way you could edit those 'LOCKED' icons? i would really like to move some of those around - say having my tomtom up the top etc... i havent found a way round this as yet... :-S
Remove Locked Start Menu / Programs tab Items
Free up the start menu / Programs Tab icons that are there by default and not removable you need to change (Thanks Mallman)
Code:
HKLM/Software/HTC/Manila/ProgramLauncher/0/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/1/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/2/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/3/IsReadOnly
Change this value from 1 to a 0 and you can then edit their shortcuts.
radak23 said:
... i havent found a way round this as yet... :-S
Click to expand...
Click to collapse
*rolls eyes* it's in the wiki and it's in the sticky on this forum...
Hi !
I'm trying to create an application based on location aware concept.
And I'm trying to do a simple query to update some records in my database but it isn't working..
I'm trying to do a simple query like "UPDATE markers set status = 0 WHERE id = 10"
This is giving me an error like this "[1,8,markers]". BUT WHAT THE HELL DOES THIS MEAN ?
If I try to run que query manually it does work ! So what i'm I doing wrong ? How can I activate a (MUCH) more verbose error information ?
This is my function :
Code:
Public Sub turnMarker(ByVal id As String, ByVal status As String)
cOpen()
Dim query As SqlCeCommand = myCon.CreateCommand
query.CommandText = "UPTADE markers set status = " + status + " WHERE id = " + id + ""
Try
'MsgBox(query.CommandText)
query.ExecuteNonQuery()
Catch ex As Exception
MsgBox("Error updating markers !" + query.CommandText + ex.Message)
End Try
cClose()
End Sub
thanks !
EDIT: Nevermind ... found out the problem.
Nevertheless, does anyone know how to make errors more verbose ?
Use SqlCeException as opposed to Exception, and then run through the errors collection....
strX = strX & ex.NativeError
For I = 0 To ex.Errors.Count - 1
strX = strX & "Index #" & I & vbCrLf & "Error:" & ex.Errors(I).ToString() & vbCrLf
Next
do a search for sr.dll. you need to deploy this as part of your app to be able to see exception data when debugging .net ce apps.
or go here -> http://forum.xda-developers.com/showpost.php?p=4862355&postcount=87 .That sample project has got a copy. you'll need to add it as part of whatever project you're making.
Hi there.
I've read through the Forum now and i just have a few questions now about my GPS Connection.
First i never had an actual fixed position. So every time i try to get my Position it takes very long till Apps like GPS Status oder GPS Test have 1 or 2 Satellites. Right now i have my Defy at the Window with clear sky for about 6 hours while GPS Status running and there are only 2 Satellites but no fix.
I also made an reset of the GPS Data and downloaded the actual AGPS Data with "GPS Status" but nothing really helps.
Do you have any other suggestions?
As my Phone finds some few Sats i dont think its an hardware issue or am i wrong?
BTW: Im using Pays 5.1 Rom
Greetz
Chris
Look in your location.cfg file. It's in /system/etc/
What's does it say under hslp_address?
Jokerchris2000 said:
Hi there.
I've read through the Forum now and i just have a few questions now about my GPS Connection.
First i never had an actual fixed position. So every time i try to get my Position it takes very long till Apps like GPS Status oder GPS Test have 1 or 2 Satellites. Right now i have my Defy at the Window with clear sky for about 6 hours while GPS Status running and there are only 2 Satellites but no fix.
I also made an reset of the GPS Data and downloaded the actual AGPS Data with "GPS Status" but nothing really helps.
Do you have any other suggestions?
As my Phone finds some few Sats i dont think its an hardware issue or am i wrong?
BTW: Im using Pays 5.1 Rom
Greetz
Chris
Click to expand...
Click to collapse
there are two config files can solve your problem,
Use RE replace the two files, you can solve the proble
/data/location/location.cfg
/etc/location.cfg
find the two files in bbs.
hi,
it's easy: go edit the SUPL address
These are the hslp lines:
hslp_address = supl1s.motorola.com:7275
default_hslp_address = supl1s.motorola.com:7275
This is in my complete location.cfg:
[LCS FDB]
DL_DB_FEATURE_ID_LOCATION_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_ON_OFF_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_STATE = 1
[LCS SEEM]
DL_LCS_CAPABILITY_MSBASED_AGPS = 1
DL_LCS_CAPABILITY_MSASSIST_AGPS = 1
DL_LCS_CAPABILITY_CONV_AGPS = 1
DL_LCS_CAPABILITY_MSBASED_OTDOA = 0
DL_LCS_CAPABILITY_MSASSIST_OTDOA = 0
DL_LCS_CAPABILITY_CELLID = 1
DL_LCS_NETWORK_3GPP = 1
DL_LCS_NETWORK_X1 = 0
DL_LCS_NOTIFY_VERIFY_CAPABILITY = 1
DL_LCS_SS_MOLR_CAPABILITY = 0
DL_LCS_X1_ERROR_RETRY_PROVISIONING = 0
DL_LCS_NETWORK_SUPL = 1
DL_LCS_SUPL_SECURITY_ON = 1
DL_LCS_WHITELIST_ENABLED = 0
DL_LCS_SUPL_TRACK_ENH = 1
DL_LCS_PREF_POSMETHOD = 0
DL_LCS_SUPL_MT_TEST = 0
DL_LCS_SUPL_FALLBACK_TO_3GPP = 0
DL_LCS_SUPL_DEBUG_INDICATIONS = 0
DL_LCS_SUPL_MT_OFF = 1
DL_LCS_SUPL_CARRIER_INDEPENDENT = 1
DL_LCS_3GPP_USER_STATUS_OVERRIDE = 1
hslp_address = supl1s.motorola.com:7275
default_hslp_address = supl1s.motorola.com:7275
http_post_address = https://supl1fp.motorola.com:7272
DL_LCS_DEFAULT_DATA_PROFILE = CingularWap
DL_LCS_SUPL_SESSION_PREP_TIMER_LEN = 1
3GPP_LOG_FLEX_ENABLED = 1
SHIM_LOG_FLEX_ENABLED = 1
SUPL_LOG_FLEX_ENABLED = 1
DL_LCS_CAPABILITY_NOTVER_UPGRADE = 0
DL_LCS_SUPL_VERSION = 1
DL_LCS_CAPABILITY_MO_MSB_SUPL = 1
DL_LCS_CAPABILITY_MO_MSA_SUPL = 1
DL_LCS_SUPL2_DATA_INACTIVITY_CLOSE_TIMER = 300
DL_LCS_SUPL_FALLBACK_SERVER = 0
fallback_hslp_address = supl.google.com:7276
DL_LCS_SUPL_FALLBACK_SECURITY_ON = 0
DL_LCS_SUPL_FALLBACK_CARRIER_INDEPENDENT = 0
DL_LCS_FORCE_PURE_MSA = 1
[GPS DRV]
leap_seconds = 15
ref_pos_unc_valid = 1
ref_pos_semi_major_unc = 83
ref_pos_semi_minor_unc = 83
ref_pos_altitude_unc = 47
ref_time_unc_valid = 1
ref_time_unc = 145
[CAIDL]
ACTIVE_TRANS_OFFSET = 1000
MIN_WAKEUP_OFFSET = 3000
MAX_WAKEUP_OFFSET = 10000
WAKEUP_OFFSET_PCT = 10
DRV_RSP_INTERVAL = 1000
STOP_TIMEOUT = 2000
APP_REQ_GUARD_OFFSET = 1000
DRV_RSP_GUARD_OFFSET = 4000
SUPL_TRACK_ENH_TIMEOUT = 60000
ASSIST_GATE_TIMEOUT = 20000
IDLING_TIMEOUT = 5000
MIN_EARLY_RANGES = 6
LOC_LOG_LEVEL = 4
DRV_LOG_TO_SP = 0
DRV_LOG_LEVEL = 0
DISABLE_START_DRV_FROM_SP_BOOT = 1
IS_VALID_LAST_DRV_TCXO = 0
LAST_DRV_TCXO = 0
HW_AFC = 1
TTF_3GPP_LATENCY_OFFSET = 1000
INJECT_TCXO = 0
MIN_RANGES_USEFUL_COARSE = 16
LOC_LEARNING = 1
LOC_LEARNING_MAX_SIZE = 50
VCTXO_UNC_VALUE = 299
SHARED_TCXO_ENABLED = 1
NO_FIX_EARLY_WAKEUP = 60000
MIN_NAV_REQ_INTERVAL = 3600000
HTTP_POST_INTERVAL = 30
HTTP_POST_RETRY_INTERVAL = 60
HTTP_POST_RETRY_MAX = 4
LBS_PERSISTENT_COLD_START = 0
DL_LCS_NMEA_HAL = 0
LAST_SECURE_GPS_TIME = 0
LAST_SECURE_GPS_TIME_THRESHOLD = 1209600
MIN_EARLY_RANGES_HOLDOFF_S = 9
Beach_Head said:
Look in your location.cfg file. It's in /system/etc/
What's does it say under hslp_address?
Click to expand...
Click to collapse
Sent from my MB525 using XDA App
From where can i get the origina files?
[email protected] said:
there are two config files can solve your problem,
Use RE replace the two files, you can solve the proble
/data/location/location.cfg
/etc/location.cfg
find the two files in bbs.
Click to expand...
Click to collapse
Ok after a little bit of research i've edited the locations.cfg files in /data/locations, /etc/ and /system/etc/
I've changed the server to supl.google.com:7276 in all the files.
But still i dont get a GPS Fix...
Jokerchris2000 said:
Ok after a little bit of research i've edited the locations.cfg files in /data/locations, /etc/ and /system/etc/
I've changed the server to supl.google.com:7276 in all the files.
But still i dont get a GPS Fix...
Click to expand...
Click to collapse
maybe u can try flashing another firmware, chinese2.2(need GMS update), uk2.2, tmobile(usa)2.2 etc.
it should work.
tommy1992 said:
maybe u can try flashing another firmware, chinese2.2(need GMS update), uk2.2, tmobile(usa)2.2 etc.
it should work.
Click to expand...
Click to collapse
Tried some of these Roms but with no one i get a gps fix.
Dunno what to do....
Faulty Hardware?
I had the same problem with my Samsung Galaxy S.
Sent from my MB525 using XDA App
I had the same problem as you, try in the evening and go outside, not on window.
stapuv said:
I had the same problem as you, try in the evening and go outside, not on window.
Click to expand...
Click to collapse
Did it worked then for u? What exactly was your method and how long did it take?
Jokerchris2000 said:
Did it worked then for u? What exactly was your method and how long did it take?
Click to expand...
Click to collapse
i now first time when i try activate my igo aplication it didn't work and I thought i have to take the phone to warranty, but it didn't work inside the house only outside .... try.
Satfix needs up to 5 minutes outside or in the car. After that time it should work.
It´s the same with eclair (original) and froyo (3.4.2.-155, deodexed, rooted).
Have you tried to active the A-GPS support (Menu>Settings>Location&security and you should check Use wireless networks). By doing so it will help your device to "find" the GPS satellites in a shorter time.
Jeah i tried really everything.
Finally i think it must be a hardware defect. Cause still after 1-2 hours outside i only get 2 satellites... Change location.cfg, reset and downloaded A-GPS data, tried in fligh safe mode as someone suggested, had all the wireless stuff on etc.
Still no Fix.
Now i think i have to find a way to get back to a 2.1 ROM. Im Currently on 3.4.3-11
Just got 9/10 satellites in 10 sec on Pays-rom v5.0 in cold start.
In cold start gps you need to have 3G/Wifi enabled and available to download your current gps data. So your GPS might work at home but slower or not at all in areas where 3G/Wifi is n/a. You can simulate this in GPS Status: disable GPS, 3G and Wifi --> reset your GPS data in GPS Status and try to get a fix. After a few minutes I had 0/7 but no fix Took more than 5 min to get one. Resetted GPS data again --> disabled/enabled GPS -->Enabled WiFi and/or 3G --> downloaded GPS data in GPS Status --> voilà: GPS fix in 10 sec again.
Hello
Is it possible to have nested IF in zooper? if so how? nesting "$" signs does not seem to work.
Alternatively, is it possible to create user boolean variables ?
thanks
Julia
papex said:
Hello
Is it possible to have nested IF in zooper? if so how? nesting "$" signs does not seem to work.
Alternatively, is it possible to create user boolean variables ?
thanks
Julia
Click to expand...
Click to collapse
In short: no and no.
There is however a limited way to work around the nesting problem. Instead of nesting your conditionals in a cascading style like this
if (var1 = 0) {
if (var2 > 10) {
A
else {
B
}} else if (var1 = 1) {
if (var2 > 10) {
C
else {
D
}}you have to write it as mutual exclusive conditionals linked by ANDs. So the above example could be written in Zooper like this
$var1 = 0 && var 2 > 10?A$$var1 = 0 && var 2 < 10?B$$var1 = 1 && var 2 > 10?C$$var1 = 0 && var 2 < 10?D$The more conditionals you want to nest, the more complicate it gets. This is why it's only a limited possibility for something like 2-3 conditions.