yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] howdykeith:
Accessing ini Datas

These Functions are missing...

This should delete a Key from a certain [Section] of an ini file:

Sub IniKeyDelete (Section, Value)
IniLoaded = ReadFile( iniFile )
Skipper = False
ForEach line in split ( IniLoaded, "^LF^", TRUE )
If (Find (Line, "[" & Section & "]") )
SkipSection = True
WriteLine( iniFile, line, True )
EndIf
#Skip the "Value=" line
If (SkipSection AND (Substr ( Line, 1, (Length(Value) + 1)) eq ( Value & "=")))
Else
WriteLine( iniFile, line, True )
EndIf
#Next [Section] or done
If (CharAt( line, 1 ) eq "[")
SkipSection = False
EndIf

EndForEach

EndSub

Sub IniSectionDelete (Section)
INIline = "start"
NewIni = ""
While( NOT IsEmpty( INIline ) )
INIline = ReadLine( iniFile )
If (CharAt( INIline, 1 ) eq "[")
Skipper = (INIline eq "[" & Section & "]") ? True : False
EndIf
If (NOT Skipper)
NewIni &= INIline & "^NL^"
EndIf
EndWhile
WriteFile( iniFile, NewIni )
EndSub

For more ini coding:

iniEditor: get a friendly menu out of an .ini file
[Windows Mobile Software Development] howdykeith:
Accessing Registry datas

regEditor: get a friendly menu out of a registry folder and subfolders

The Mortifier - Includes a mortscript reg editor.
[Windows Mobile Software Development] howdykeith:
Scheduling and RunAt

I thought I made a post for this but perhaps not:

TimeStamp() + 60

is a minute.

TimeStamp() + 30

is 30 seconds.

TimeStamp() + 60 * 60

is a hour
[Windows Mobile Software Development] howdykeith:
2-D Arrays

For the Array:

SS[1][1] = "\www1.mp3"

SS[1][2] = "\www2.mp3"

SS[1][3] = "\www3.mp3"

NumTotal = ElementCount( SS[1] )

NumTotal equals 3
[Windows Mobile Software Development] howdykeith:
Porting Mortscript to C++

Mortscript can have an array assembled with different var types.

so Array[1] = 2, and Array[2] = NotherArray.

c++ Arrays must be all of the same type. Array[1] = 2, but Array[2] can not equal another array.

C++ adds Structs, which takes care of that...

C++ statements all require break; statements for each case().

- All statements must end with ;

Comments in Morts: # or ;

Comments in C++: //

Mortscript has MaxIndex(). c++ requires a a different method.

Mortscript compares variables with "=". C++ compares vars with "=="

C++ encloses script segments with { }, like If () { statements }. Mortscript doesn't use those, just relies on the EndIf instead.

Mortscript ends If statements with a EndIf, C++ closes If with a }

using nested arrays to simulate object structures. much like JSON uses structs.
[Windows Mobile Software Development] howdykeith:
InArray - Is there an alternative to Failure

Verified my @InArray works
(10:22:20 PM): Sub InArray(TestArray, TestValue)
ForEach Element in Array (TestArray)
If (Element eq TestValue)
ExitSub(TRUE)
EndIf
EndForEach
ExitSub(FALSE)
EndSub

list = "," & Join(DirList, "," )

If( NOT Find(list, MyDoc) )

Thinking of alternates do the foreach? Problem is, what if the array values contain a ","?

normal strings cannot

There's also a maximum string size, right?>

we could use a different divider though

sadly it's like a meg

and 256 elements

so yah it only works in certain conditions

I'd say for now the brute force "for each" works until he gets it fixed. At least it exists as soon as it finds a match.

If you had that Sub InArray in an include file, and you didn't want to change all the other files, could just change it to this, and leave the rest of the files alone:

Sub InArray(TestArray, TestValue)

Return(InArray(TestArray, TestValue))

EndSub
[Windows Mobile Software Development] 12aon:
I'm wondering about the syntax scheme they're now. I'm working on getting a complete syntax scheme that 'knows' every single valid mortscript command. I'm having trouble to classify them in greater categories. So far I have:

- Operators (complete list in the manual)

- Comments

- Control structures (entire 8.x paragraph)

- String (anything in between "" )

- Numbers

I'm trying to divide 9.x paragraph into logical blocks that won't be with to few entries (otherwise the script will look like a rainbow). Would you have an idea how to categorize 9.1 t/m 9.28 in say four or five categories that make sense?

Also might be a good idea to make and "old syntax" category. I wash also thinking it might be nice to have a "headers" category with think like Sub (), that way you'd be able to see the script structure in an instant.

I'd like to hear your vision on all this,

12
[Windows Mobile Software Development] codybear:
Very niiice.

As much as I loved MortScript...and it was my first scripting love for WinMo, I really have to encourage people to check out AutoHotkeyCE. It's a version of AutoHotkey being ported to WinCE. It's only halfway ported but it is just as powerful as MortScript and then some. There's only about 2 commands MortScript has that AutoHotkey doesn't have, ie Vibrate (but you can use a dllcall/or a exe I posted in the AutoHotkeyCE thread at the AutoHotkey forums to use this function).

Basically, once AutoHotkeyCE is fully ported, it'll vastly surpass the capabilities of MortScript.
[Windows Mobile Software Development] sv0911:
Thanks for the help friends,

i got the pm..!!
[Windows Mobile Software Development] sv0911:
Sorry doublepost.....
[Windows Mobile Software Development] vonski:
Hello,

I read your post carefully but I can't find solution for my problem:

Is there possibility to change time period of pop-up message displayed on screen?

I mean: I have checked option: "Display message on screen". New messages are displayed, but for very short time- 2 or 3 second. I'd like to have them displayed for 10 seconds before they disappear. Is it possible to change some value for such effect?

thx.
[Windows Mobile Software Development] okiookio:
Please help me !!!

how to get the information (used / free / total memory) of storage and storage card?
[Windows Mobile Software Development] dr_Henio:
Hi Mortscript Experts !!

Is it possible to make a script?

Run the program: Program Files / track / track.exe

at 1:00 at night.

press the right key

3 times a key down

validate press (enter)

Wait 2 minutes and turn off the program: Program Files / track / track.exe

Please help me.
[Touch Pro2, Tilt 2 Windows Mobile General] Insecure:
Okay, I know there are two different "applications" for contacts on the TP2.

1. Is the standard Contacts app.

2. Is the "new" All People app.

In the contacts app, you can 'group' your contacts by Company or just display by name. In my TP1 I had it grouped by Company. I really liked it because I could have businesses and such hidden in each category that way I didn't have to go threw all the contacts to find someone in the middle. With the 'new' All People app, that option is grayed out for me on the USCC TP2. I really like the All People app because I have the facebook contacts synced and such. So, my question is, is there a way to get the All People app to group by Company as well?

*I hope I didn't confuse anyone and if you don't understand or need more information please feel free to ask.*
[Hero, G2 Touch Q&A, Help & Troubleshooting] mceiht:
my girlfriends heros touch screen has stoped responding for instance if i press menu i can press scenes but while im in scenes and select a new one i cant press done i have to use the scroll ball... anyone had anything like this??

any help greatly appreciated

thanks
[Hero, G2 Touch Q&A, Help & Troubleshooting] liam08:
It happened to mine, the only thing you can do is send it back. It sucks but the screen is faulty. :(
[Hero, G2 Touch Q&A, Help & Troubleshooting] Amdathlonuk:
Send her round with it........... I'll see if I can help ;)

Seriously though, buggered screen I'm afraid.. :(
[Hero, G2 Touch Q&A, Help & Troubleshooting] Dave Hagenaars:
Had the same problem. Sent it in for a repair and got it back in 10 days.
[Hero, G2 Touch Q&A, Help & Troubleshooting] blairim:
I've got the same problem!!! I used to say that it was the best phone I've ever used but my mind is changed! :S
[Hero, G2 Touch Q&A, Help & Troubleshooting] krizze87:
Same problem here. I can type with the top and middle of the screen, but the bottom is less responsive/sometimes non-responsive, and backspace doesn't work. Dave Hagenaars: Did you have to pay for the repair?
[Hero, G2 Touch Q&A, Help & Troubleshooting] liam08:
Aslong as it's under warranty HTC will repair it for nothing. It seems it's a fairly common fault. It come's back with a sticker asking you not to leave the phone in your pocket whilst sat down. Bless them.
[Hero, G2 Touch Q&A, Help & Troubleshooting] percypogi:
same problem here, i need put it back everything to stock before going to t-mobile shop. did u go to t-mobile shop or u just called them? thanks in advance
[Hero, G2 Touch Q&A, Help & Troubleshooting] mape78:
My touchscreen works fine when holding it upright, but when the phone is laying down it gets really unresponsive. Anyone else having this issue?

Since it works sometimes, I'm guessing it must be software issue...
[Hero, G2 Touch Q&A, Help & Troubleshooting] rdgut:
Hey,

Sometimes my HTC Hero acts weird.

Sense starts to jump between 2 screens (as if I'm constantly giving it input) when I'm doing nothing.

Also sometimes a press anywhere on the screen makes the phone think I'm pressing something at the bottom.

And last but not least, sometimes when I try to type something I lose the function of both the bottom left and right part of the screen, meaning I can't use backspace, the L, P, A and other various keys that reside there.

Does anyone also have these problems?

Is this hardware related or can I hope that this problem is solved with the 2.0/2.1 update?
[Hero, G2 Touch Q&A, Help & Troubleshooting] cinogen:
Mine does the same

It happens to me as well, and i bought it abroad so no repair for me :(

Also - mine does the CRAZIEST thing - i can move the screen without touching it!! This is crazy - i just hover the finger above it and i can move the desktop left to right ("feature" only available when teh screen starts to jerk around)

I have no idea what to do - it drives me crazy - all my presses are wrong, and some dont work at all!!

I have figured a "way" to make it normal for a while, i just press the end key to close the screen and then turn it on again and it kinda, kinda, works again.
[Hero, G2 Touch Q&A, Help & Troubleshooting] percypogi:
anybody there knows whats is the fault? if its software or hardware?, anyway i sent mine for repair and still waiting.
[Hero, G2 Touch Q&A, Help & Troubleshooting] krizze87:
It's a hardware issue, no doubt. I have experienced all the issues described in the last 3-4 posts. Will have to send it in for repair after christmas - but I'll probably have to get back to the original firmware first.
[Hero, G2 Touch Q&A, Help & Troubleshooting] liam08:
Got it from phones4u mate. Took it in.
[Hero, G2 Touch Q&A, Help & Troubleshooting] msehome:
if you have a screen protector sticker try changing it, I did so and did make real difference
[Hero, G2 Touch Q&A, Help & Troubleshooting] percypogi:
well i took off the screen protector, and still pretty the same issue. anyway but now atleast it's under repair. so waiting for the phone i hope to get it before xmas.
[Hero, G2 Touch Q&A, Help & Troubleshooting] n00bje:
I have a dead spot around the O and L key when typing messages in the landscape position.

Should I back-up my phone and remove all private data when getting it repaired?
[Hero, G2 Touch Q&A, Help & Troubleshooting] cinogen:
had a sticker - same thing

i removed mine as well - and same thing.

talked to HTC - but they dont have a repair place in Israel - so i will have to send it abroad to the UK maybe for repair.

I still dont understand - if this is a hardware issue - how does it fix it for a short while when i press the "end" key, and re-open the phone.

if the hardware was defective it should always happen and wont be "fixed" for a short while.
[Hero, G2 Touch Q&A, Help & Troubleshooting] Gdoll:
Same problem, dont believe it is hardware

Got the same problem when i update to another rom LOX or Hikari.

Wiping and going back to Modaco 3.0 and everything is perfect again. Have the feeling that it has also something to do with the radio images :confused:

Maybe also something to do in which order the roms and radio's are updated. Still testing but got the same problem. Reverting back to my modaco 3.0 nandroid and everything works again.

For me this is the stable version where the bottom line works:

Firmware: 1.5

Radio: 63.18.55.06EU_6.35.06.18

Kernel:2.6.27-mck-teknologist-1.9

Build:Modaco Custom Rom 3.0 Core, SSH

Softwareversion:1.0.0A6288
[Hero, G2 Touch Q&A, Help & Troubleshooting] jochr:
I have a similiar problem on my Hero. Did you find a solution to it?

What's weird is that it isn't constant. It comes and goes.

But when flashing the cya mod with 2.1 my phone was stuck on the enter sim card code screen.. Could not press OK to continue.
[Hero, G2 Touch Q&A, Help & Troubleshooting] marchard:
Can you please test if the problems go away, when you go back to your old official t-mobile rom? We need to check reversibility. It is so strange that people here report that responsiveness depends on the software running on the device - can't believe that.. :confused: So, please poults, check that, would you? THANKS!

Bye, Marc.
[Hero, G2 Touch Q&A, Help & Troubleshooting] max2000:
Hi!

No I just removed the bad tape. now there is like a total of 2-3 cm on various location left.

Mine is just mounted with the adhesive tape which has glue on both sides. there is no black rubber or sealant.

I wouldn remove everything, as the touchscreen will not hold in place anymore. My thought was, it's not working - I can't break it anymore. so I removed more or less all of the tape. There is just enought to hold it in place.

I hope you did not pay to much, you get those from HKG for as cheep as 20€ including postage.

For me there are a few possible reasons for the bad touchscreen.

- the tape between frame and the touchscreen itself. Maybe the distance is not important, maybe it is.

- the flex cable has a production failure or the chip (really lots of people have problems with their touchscreen - what I read, htc normally exchanges the touchscreen) - My factory buildin stopped to work, I got an replacement, now this one stopped, and my original touchscreen is working now again?!

- the contact of the copper area is not good. see attached picture. I hope it is clear what I mean with get better contact. I have bended the "ears" down, then I pressed the chip on the back of the LCD again. If mine stops to work again, I am going to solder it down. :-)

RGDS

max
[Hero, G2 Touch Q&A, Help & Troubleshooting] Jaspal93:
Just a quick update,

I have tried literally everything to fix the touch screen issue. I flashed several Roms ranging from 1.6 to 2.3, screen has same problem at same extent cleaned up the two copper contacts between the circuit board and LCD screen, re-seating the digitizer while heating glue up with a hair-dryer and left some heavy blocks on the digitizer to evenly stick it to the frame. Now counted 11 times I have opened this phone :( still no go. (By the way, digitizer was replaced 1 month ago)

Still on 3 year old N82 :P

Anyone got any other working fixes please let us know!
[Hero, G2 Touch Q&A, Help & Troubleshooting] sHAYMAN:
Hmph

Got this problem, and it sucks :( Just wondered if it was reparable via the warranty? I'm still in I think? If it's a 2 year warranty? I got this in August 2009. I've got another phone now, (Omnia7) but wanted to get this fixed as cheap as possible so at least I could recoup a little of the cost. Have tried the hairdryer a couple of times - no joy.

Seems to be a serious design fault with the phone - I think because of the 'chin'. The rear casing is flexed out of shape, and comes away slightly from the front. Yup it's been in my pocket, but really what phone doesn't go there at some point?! Never been dropped seriously. It's only really useable through the trackball - typing is a pain, I have to jab the screen way to hard to make an entry - and even then it tends to give me the wrong keypress. Have returned to stock but still no joy.

Just don't want to go through the hassle of returning to HTC and then be landed with a big bill to fix? What's anyones experience been?

Thanks for your help.
[Hero, G2 Touch Q&A, Help & Troubleshooting] ecu971:
Fix of digitizer

Hello

I got some more advanced tools that i used to fix this. Variable temp-heater and LCD temperature measurement gun.

Heated bottom part until ~80C, stayed at 80C for some minutes so the glue could melt. Used wood-clamp right after(pretty hard). Digitizer works awesome now. You must get enough temperature so the glue will melt, and then apply pressure. That is the trick. I tried with 50C(which hair-dryer gives max) and that heat was not enough to melt the glue. I suggest get a cheap heatgun, can cost like £10. And pratice with some plasticstuff first, so you dont reach 100C. Or maybe oventrick can do it. Put oven on 80C and after its heated, put in stuff for 5 min. Right after take it out and put pressure with a clamp.

This i causing problem(wires from board are glued to digitizer, maybe soldered wires could have prevent this from happening in first place):

img98.imageshack.us/img98/7100/91228351.jpg

My stuff:

img715.imageshack.us/img715/2650/94687134.jpg
[Hero, G2 Touch Q&A, Help & Troubleshooting] loupio:
I did this :

Originally Posted by smoke2tun :

Confirming that thantos2024's method worked for my hero. I got it to work on my third atempt.

Here's what i did:

Set the hairdryer on hi and hold it for about 3 minutes abobe my phone, pointing at the hTC Logo.

After the device became really hot i placed a sim card (to narrow the presure point) on the hTC logo and then placed a stack of books on top of that (since i don't have a clamp).

I let the device to cool down for about 20 minutes, then took away the books, put the sim card inside, the battery and the micro SD card and powered up the device.

It worked like a charm. My screen is responsive as hell...

and it worked for me :) i hope it wont happen again
[Hero, G2 Touch Q&A, Help & Troubleshooting] wooky321:
just started having problems with mine in the past few days :(. Was hoping to sell it on ebay but will have to sell as faulty now as I don't think it would be worth getting it fixed? (bought in April 2010 on contract) I know Mazuma mobile will give me £50 but don't know if they do like a full test on the phone so :/...any ideas?
[Hero, G2 Touch Q&A, Help & Troubleshooting] coOLOser:
I had the same problems as you, with time it was getting worst. Both time I returned it and it was repaired. On warranty they wrote that they replaced touch screen elements.

Now my bottom 5mm is not responsive at all.
[Hero, G2 Touch Q&A, Help & Troubleshooting] abunkaskus:
i have the same problem with my bottom screen

i cant press the 'A' button on the virtual keyboard

if i press the HTC LOGO at the top, and press the A button, it work!

and i read this thread, and look someone wich post to drying the HTC LOGO

and last night i try the hair dryer method

i turn the dryer to medium level and aim it (20 cm away) to the HTC logo at top of screen

and use the flashdisk that stacked with the book (i use more than 10 book), to press the HTC logo for 10 minutes

and when i turned on my hero, it still same :(

but i think maybe the temperature not enough to make the glue melted

so i retry the method but now with high level of dryer, with no distance between the htc logo and the dryer, just hang it on the screen

after i feel burned when i touch the point with my finger, i stop drying it, and retry press it with the book for 10 minutes

after 10 minutes i take the phone and it still warm, and i press the htc logo again with my thumb, GENTLY :cool:

and it work! i can press the 'a' letter in my screen:cool::cool:
[Hero, G2 Touch Q&A, Help & Troubleshooting] mincaeuro:
I start to hate this phone.. in March I've send the device to RMA... they've replaced the screen, now the problem with bottom part starts again..
[Hero, G2 Touch Q&A, Help & Troubleshooting] ViktorSii:
it has happen to me the 2nd time, just came back from repair not more than 2 mths,

what i did was using a hair dryer at the problem point (btm 10px) n give it a medium blow of heat n power! after several minutes (around 3 mins) i turn on the phone, its still not working...

2nd attempt for me is medium blow of heat n power! but after its 3 mins, i press with my own hand as hard as i could (even i would have to break my hero, which i didn't), and it still fail...

3rd attempt, i was really pissed off, so i give it a full blast of heat n power for more than 5 mins!! n press n hit my hero! (which is pretty much still alive right now) then it only give me a better respond....

when all hope is lost i turn to XDA again.... looking for solutions....

then right after that, i check my phone after it was cooled down under my air-condition for about 5-10 mins, (i'm not sure) everything works GREAT!

so as for my prediction is that, after the heat the phone could not respond well.. yet!

you will have to wait till its cooled down, then only u'll know the actual result!

good luck to all hero who has this problem! =)

hope this helps some of you..
[Hero, G2 Touch Q&A, Help & Troubleshooting] cremersstijn:
I've got the same problem.

And it's the 3th time my hero has this problem. I've already sent it 2 times back to htc, but the problem is coming back....
[Hero, G2 Touch Q&A, Help & Troubleshooting] marcovtwout:
I've sent my Hero in 3 times for this problem (bottom cm not responding, screen responding/flipping with finger not touching the screen, etc).

The first time I got it back without any work done, as the problem was still sporadic they probably just flashed it.

The second time it came back with a sticker over the screen, and it worked very well, but after a few weeks the problem came back.

Now I sent it in again and received a new Hero :) No touch screen troubles so far (but I have to send it back because it came with another issue..).

At first it seemed temperature related (when cpu gets warmer responsiveness degrades), and putting it to standby for a few seconds fixed it. Later on there was no way to fix it, and pressing above the screen made the response even worse.

I've been following this topic for a while now. It looks like ecu971's description of the problem and solution is the right one. (12th June 2011). Interested to see if his fix keeps working :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] Lirasina:
I had the same then I got so mad at it. smashed it with a hammer. at the top of the screen. Think I got lucky cuss the screen still is intact. And since that day never had problems :P
[Hero, G2 Touch Q&A, Help & Troubleshooting] comixster:
Same issue im having with my hero
[Hero, G2 Touch Q&A, Help & Troubleshooting] doehet:
Well, like most already said, you will need to contact HTC. I had the same problem with mine (also the landscape issue) and finally after trying everything (I even heated the adhesive around the screen and applied pressure haha) I budged and contacted HTC. They were ok about it though, got it back in about 10 days without being charged anything :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] MeirleanShawk:
free at last!

So, after living with this screen problem for a year and a half, constantly battling, trying every suggestion etc etc... I have finally solved the screen problem once and for all!

I just received my new Galaxy s2. :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] s3ign3ur:
i got the same problem with my touch screen not responding at bottom crazy keyboard etc....

i resolved mine by flashing the radio, after tried a lot of roms and radios the probleme is solved with this one

update-hero-radio-63.18.55.06JU_6.35.08.29-signed

so hope it'll work for you
[Hero, G2 Touch Q&A, Help & Troubleshooting] nozo.mk:
Which ROM ?
[Hero, G2 Touch Q&A, Help & Troubleshooting] nozo.mk:
I'm interested to replace the digitizer. What kind of adhesive tape to use? Please someone to send me a link . Thanks
[Hero, G2 Touch Q&A, Help & Troubleshooting] Arranmc182:
Look on eBay you can find the front case of the phone with the digitizer in place it makes the job simpler I got mine for £20