Need to read text file line-by-line using phonegap? - Java for Android App Development

I am trying to create a simple app that allows the user to search for an error code and get the description for that error code. i need to be able to read a text file line-by-line and then compare the search to see if that line is the searched "error". i am struggling to find a way to read a file line-by-line though. maybe there is a better way to do the search? or maybe someone here knows how to read line-by-line. any help is appreciated....

Related

Application Blacklists for WM6

Hi,
I have just been on the following thread:
http://www.satter.org/2007/03/lets_shell_some.html
And want to know if anyone can assist me in this forum with the production of a working file for the thread.
I created a CPF file and dropped it into the Herald and executed it. I received an System Notification entry in my Text messaging folder stating 'your device settings cannot be changed by Test.cpf'
Does anyone know whether this is because I do not have the OTA Enterprise prvileges or is ot just that I screwed up in the execution of the file or contents?
I thought in the file it suggests I only need manager access to execute these entries.
All comments are appreciated - I am not a hardcore developer so I have posted this with some trepidation but I need a little help here to get the example working.
Kind Regards,
PianoSam.
make an application unlock
Erofich,
Many thanks for your reply but I wonder if you can explain a little further...
Is it possible to execute changes to the registry with a file like this or do I need to do some programming?
Sorry for my being so ignorant...
PianoSam.

Application Black Lists again

Hi All,
Wouldn't it be great to be able to control which applications ran on your PDA...Ensuring that your users could not run certain apps would be a real bonus.
So I came across a URL that explained just how to do this...
http://www.satter.org/2007/03/lets_shell_some.html#comment-74156022
Sadly, for me I am on WM6 but only have access to the WM5 SDK and when I tried to carry out the suggestions I failed with the SMS text error:
Change of Device Settings Unsuccessful
Your device settings cannot be changed by Test.cpf
So I am at a dead end. Can anyone else who has interest step in and assist this beginner to get this function working?
I ran the SDKCerts.Cab on my device and the SecurityOff.CPF file. They were successful and I got the SMS message telling me that the changes in SecurityOff.cpf were successful.
I am probably close to a solution but don't have the background to make the last few steps. Can anyone else assist me please?
Have I just a typo in my test.cpf file (on the URL there is a message about the script containing a typo error - I couldn't spot it though...was it fixed?)
All help is greatly appreciated and would deserve a beer or a cyber equivalent.
Many thanks,
PianoSam.
Could you post the wap-provisioning source you used? So I could check for a typo or sumthin.. I've done the same thing as the blogg describes, and it works fine with me..
I on the other hand, wanted to restrict wceload being loaded via Activesync->Add/Remove programs.. but it seems like RAPI doesn't use the same disallowrun settings etc..
But post you cpf file or you code.. and i'll take a look at it.
Hi,
Thanks for the assistance. I have attached a small zip with the various bits and pieces that I have.
My file is the test.cpf file. What I actually wish to do is to prevent Pocket IE from loading...although my test tried to control the clock.exe file.
all assistance is greatly appreciated and you have already renewed my hope that I might be able to do what is needed...
Thanks,
PianoSam
I'll have a look at it.. but it seems that the Test.cpf is just a doc or a rtf file you've renamed? You know this isn't a "cpf" file that wceload.exe can recognize?
I'll have a look at the registry settings within the file and build a cab/cpf file .. so i can test it... i'll let you know how this goes.. unfortunately, i can't reply before tomorrow.
I didn't realise...
Thanks for your help. I just created my test.cpf in word by cutting and pasting the xml script from the url.
I saved as utf-8 and thought job done. Sadly not.
So what should I do instead? forgive me but I don't know the steps to make a suitable cpf/cab file.
Once again THANK YOU for your kindness,
Sam.

Email Signature File?

I posted this over at PPCGeeks too.
I searched on here with no results from any forum.
Now that we have HTML email with WM6, I'd like to create a spiffy signature. Doesn anyone know where/how the signature file is stored?
Thanks in advance.
alrighty.... just found this after seeing your other post.....
open your text message inbox...
hit Menu softkey....
Go to Tools --> Options...
Click the Signatures button...you can specify email and txt message sigs
No...that's not it. Of course I know about that.
I need the actual file to see if I can add HTML code to it. You can't add HTML code with the mail settings interface method.
Anyone ever get an answer to this?

Sms starts at bottom

Hi,
I have this very annoying problem, that whenever I enter a text message I see the bottom of the message, so I have to scroll to the top of the message in order to read it.
I have found a tweak to change it (editing some template or something like that), but unfortunately I can't find it anymore. I guess it was lost, or something like that.
Has anybody a link, or a description, what file needs to be edited?
Best regards
johnpatcher
Ok, I've just found it: http://forum.xda-developers.com/showthread.php?t=318932
I've edited these files, and attached an archive here, you are invited to use it . Just replace these files within your \Windows directory using a proper file explorer, something like Resco File Explorer .

Spell checker on Note 3

Dear All,
Do you all missed the spellchecker feature (the little red underline) in the last phone you used? (At least I do~)
I may have found a solution. http://forum.xda-developers.com/showthread.php?p=34856343
However, when I decompiled the xml file, the code is messy and unreadable. So does anyone else want to try it out or tell me how to correct the xml file format?
Many thanks~
echaya said:
Dear All,
Do you all missed the spellchecker feature (the little red underline) in the last phone you used? (At least I do~)
I may have found a solution. http://forum.xda-developers.com/showthread.php?p=34856343
However, when I decompiled the xml file, the code is messy and unreadable. So does anyone else want to try it out or tell me how to correct the xml file format?
Many thanks~
Click to expand...
Click to collapse
Where you able to find a resolution for this. I am getting errors when I try to recompile the files.
any luck?

Categories

Resources