Hey guys, somehow a setting got changed in eclipse and all these symbols appeared in the whitespace in the code. They look like they are describing the whitespace. Like end of line stuff. Any idea how to turn this off?
On which OS are you developing?
In Eclipse you can change line delemiters with file -> change line delemiters.
Can you copy and paste it in here?
From something awesome
flflfl said:
On which OS are you developing?
In Eclipse you can change line delemiters with file -> change line delemiters.
Click to expand...
Click to collapse
Windows 7. Change line delimiters didn't do anything for me.
I cannot copy and paste the characters, but I'll post a picture.
Those symbols at the end are defining that there is a new paragraph. Same as you would see in a Word document with the setting on.
To fix
Goto Windows > Preferences
In the search type "White space"
Click the Text Editors tab
Uncheck show white spaces
travmanx said:
Those symbols at the end are defining that there is a new paragraph. Same as you would see in a Word document with the setting on.
To fix
Goto Windows > Preferences
In the search type "White space"
Click the Text Editors tab
Uncheck show white spaces
Click to expand...
Click to collapse
Awesome thank you. I can't believe that was so hard for me to find.
Related
Hi All,
I was wondering of there's a way to change the Start menu or the "Programs" Link in the Start Menu to open another application. I want to develop something like gStart, but for PocketPC (on smartphone u can change the a registry key to set another application as the default app when u click "Start" button). Mio A700 screenshots has a gr8 MioMenu very nice and sexy so i want o do something like that.
thanks for your help
On PPCs the start menu works like in regular windows – there is a folder ("start menu") under windows with all the shortcuts. You can change the files there, create subdirectories etc.
You can also catch the taskbar window (class "SS_TASKBAR I think…) and just cover the start button with your own window.
Hope this helps.
you must edit the shellres.dll file , in this file has the path to the "programs folder"
I think he was pertaining to a custom "programs menu" like calling for example folderview.exe and not the Path or not where the folder is being called.
A programs menu replacement instead of using the defualt one.
I actually saw an app like that some time ago, it was very small like a few kb and just lied in the background waiting for you press the start and when you did it launched an app of your choice instead of showing the start menu...
Don't remember the name though : / think it was based on something called green button or something which is basically the same thing but for the call button... maybe you should around some, or hopefully someone knows what i am talking about and can give you a link
Leonick said:
I actually saw an app like that some time ago, it was very small like a few kb and just lied in the background waiting for you press the start and when you did it launched an app of your choice instead of showing the start menu...
Don't remember the name though : / think it was based on something called green button or something which is basically the same thing but for the call button... maybe you should around some, or hopefully someone knows what i am talking about and can give you a link
Click to expand...
Click to collapse
This one:
http://forum.xda-developers.com/showthread.php?t=486712
You could add a shortcut to any other folder and then hide the programs link. To do this, set the Programs folder to hidden.
allelimo said:
This one:
http://forum.xda-developers.com/showthread.php?t=486712
Click to expand...
Click to collapse
Yup pretty much like that, but except for the Start or Windows Start, the "Programs" with in the start menu is being intercepted and launching an alternative "Programs Menu"
I guess the only way is to make an ordinary Start Menu replacement (same as the defualt Start Menu) with the exception of having the "Programs" launch another program.
This way, looks and feels of WM is still the same.
Hi.
While learning how to develop WM apps I came against a weird problem. I create a menubar using SHCreateMenuBar. Nothing special, just loading a menu from resource. What is weird when I run it on my diamond the font is ugly and pixelated, like that:
Tools: eVc++ 4 SP3 + PPC 2003 SDK + WM 5 emulator
Any idea how to fix that?
kosherpig, make your application high resolution aware (by HI_RES_AWARE in resources)
Thanks! It works like a charm!
Complete article @ MSDN about it: http://msdn.microsoft.com/en-us/library/ms838191.aspx
How to enable this thing exactly (in case MS decides to move/delete the article)
To add the HI_RES_AWARE resource item to your program
1. From the Insert menu, select Resource.
2. Click the Custom button.
3. Enter CEUX for the resource type.
4. Set the resource data to 01 00.
5. Click the Properties tab.
6. Rename the item to "HI_RES_AWARE", including quotes. (If the quotes are omitted, HI_RES_AWARE will be incorrectly defined as a numeric value in resource.h, and you will need to go back and delete the line from resource.h.)
7. Deselect the external file checkbox.
Click to expand...
Click to collapse
This removes the problem of bad nasty ugly pixelated fonts. Also it makes your application work in a higher-DPI environment, meaning it uses full potential of VGA, full screen, full resoulution.
Thanks again, std!
Hey all,
I'm definitely a fan of threaded messaging on the Diamond. But the implementation has a few problems, and I've been unable to find any solutions out there. Perhaps someone here knows (or can write!) a solution.
First Problem: when you start a new message, you can see your character count under your text. But as soon as you get to the second line of entry, the count is pushed out of view, and stays there! You have to scroll down (in that tiny box) to see it again. Which brings me to...
Second Problem: History and new message are shown in two separate boxes, with separate scroll bars. It'd be so much nicer if my new message was just being typed at the bottom of history, like a new entry. You could more easily see the entirety of your message as you type it (pushing the history further up, but that's a small loss compared to being able to check for typos before hitting Send.)
Anyone know of improvements out there?
eurotwelve said:
Second Problem: History and new message are shown in two separate boxes, with separate scroll bars. It'd be so much nicer if my new message was just being typed at the bottom of history, like a new entry. You could more easily see the entirety of your message as you type it (pushing the history further up, but that's a small loss compared to being able to check for typos before hitting Send.)
Anyone know of improvements out there?
Click to expand...
Click to collapse
You can avoid the 2nd problem by clicking/touching on the SMS itself inside your TF3D.
That will take you to the history and give you the ability to reply. As opposed to going Menu > Reply. Which starts a blank message.
Don't know if this is really what you mean but
You can make the small new sms typing 'box' larger by..
Open the directory 'Windows' and then click 'File' and choose 'Find Files'
Type 'Thread' into the box and it should find 'thread_sms.htm' after a few seconds.
With 'thread_sms.htm' highlighted click 'File' then 'Edit'.
Scroll down through the file until you find the line
'<Inbox:content id="COMPOSESUBJECT" width="98%" height=35'
Change the value for height from 35 to something more suitable. I did 50, but you can do more if you please.
Once you've done that click 'File' then 'Save'.
Now do a soft reset on the phone, and when it starts up your space for typing a message should be bigger
Click to expand...
Click to collapse
This was talked about some time ago... can't remember who said this...
Thank you, at least that gives me some control over it. Ideally the box would start only one line tall, then grow naturally as you type, up to some limit.
Anyway, with its current size, if your message is 3 or more lines tall you can only see the last two lines, and the box is too small to scroll using a finger. Making it larger should help a bit.
av searched no luck i have a small issue am having and its like on my tytnii kaiser when i wanted to send a text;and began to type the letters of the contact i wanted to text for instance if i typed m it would automaticaly bring up the contacts which start with m for me to choose but my HD is not doing the same i have to search for the contact first any suggestions please thanks
When you at SMS typing screen, press option, click "Word Completion" tab. Make sure u tick every boxes.
vosszaa said:
When you at SMS typing screen, press option, click "Word Completion" tab. Make sure u tick every boxes.
Click to expand...
Click to collapse
thanks i guess whst you are tyring to say is settingd>messeging>sms\MMS then options but these no such option for word completion perhaps if you could elaborate more on how i can reach this option thanks
Ok.. Click Windows logo at top left corner
>> Click Setting at the bottom of the menu
>> In "Personal" tab u will see "Input" setting (The keyboard picture) Click it.
>> Change to "Word Completion" tab down the bottom.
>> Make sure u "TICK" every boxes u have in there.
DONE !!
vosszaa said:
Ok.. Click Windows logo at top left corner
>> Click Setting at the bottom of the menu
>> In "Personal" tab u will see "Input" setting (The keyboard picture) Click it.
>> Change to "Word Completion" tab down the bottom.
>> Make sure u "TICK" every boxes u have in there.
DONE !!
Click to expand...
Click to collapse
mate did what you said went into word completion and ticked the following
>suggest words when entering text
>add a space after word
>enable auto correct.
but still no luck am using the new spb keyboard and even tryd the default keyboard but still no luck any more suggestions cause if its a bug the phone will go back first class to orange tomorrow
If that doesnt help i dont know what else to do man.. im sorry. --____----"
thanks
vosszaa said:
If that doesnt help i dont know what else to do man.. im sorry. --____----"
Click to expand...
Click to collapse
thanks mate for your effort can anyone else help me please
Just replace
"HKLM\System\CurrentControlSet\Control\Layouts\e0010409\Ime File" value with "\Windows\compime.dll" instead of most owful ime implementation AKA eT9ime.dll by Tegic (not sure in they dll name spelling though)
P.S.: as usual, be warned about changing registry.
AE said:
Just replace
"HKLM\System\CurrentControlSet\Control\Layouts\e0010409\Ime File" value with "\Windows\compime.dll" instead of most owful ime implementation AKA eT9ime.dll by Tegic (not sure in they dll name spelling though)
P.S.: as usual, be warned about changing registry.
Click to expand...
Click to collapse
Just wanted to say thanks Fixed my problem...
AE said:
Just replace
"HKLM\System\CurrentControlSet\Control\Layouts\e0010409\Ime File" value with "\Windows\compime.dll" instead of most owful ime implementation AKA eT9ime.dll.
Click to expand...
Click to collapse
Thanks!! This works with Touchpal really well, don't forget to soft-reset after the registry change otherwise you've disabled your mail and messaging ;-)
i think i'm misunderstanding something here... when i put my cursor in the To: field, i start typing letters and names will automatically appear above the keyboard. i can continue to type until the correct recipient/name appears or i can scroll the "horizontal list" to find the name i'm looking for. does the registry tweak above present all possible selections in a "vertical list"? thanks for clarifying...
Yep. A white box pops up below the text field with possible matches, shows about 8 at a time.
mlalahoi said:
Yep. A white box pops up below the text field with possible matches, shows about 8 at a time.
Click to expand...
Click to collapse
does this happen when the cursor IS NOT placed in the "To:" field? thanks. i made the change and when i placed the cursor in the "To:" field, i did not have a list to choose from.
2cortez.i: the functionality you describe is built into default (but not standard!) keyboard you use. If you choose original windows keyboard or install any other third-party keyboard like Resco which have no similar functionality built in - then default system autocomplete contact list popup feature (supressed by tegic) is the only option. Specially if your contacts are not in English
And IMHO default contact list popup is much better than built into tegic keyboard because it let you to choose from list with one tap instead of reviewing them one-by-one...
2mlalahoi: yes, sure I'v just fogot to note that soft-reset is required
AE said:
2cortez.i: the functionality you describe is built into default (but not standard!) keyboard you use. If you choose original windows keyboard or install any other third-party keyboard like Resco which have no similar functionality built in - then default system autocomplete contact list popup feature (supressed by tegic) is the only option. Specially if your contacts are not in English
And IMHO default contact list popup is much better than built into tegic keyboard because it let you to choose from list with one tap instead of reviewing them one-by-one...
Click to expand...
Click to collapse
aahhhhhhhhhhhh... i understand now. i tried the registry tweak again with the standard keyboard and it works as you described. but, if i use the HTC Full QWERTY keyboard, the vertical list will ONLY appear AFTER i type 2 letters AND THEN hit the backspace key. i prefer the vertical list for sure! however, i prefer the "To:" field to be automatically populated as is done with tegic dll. too bad the registry tweak above requires an extra "backspace" keystroke. thanks for explaining the difference.
thankssss
AE said:
Just replace
"HKLM\System\CurrentControlSet\Control\Layouts\e0010409\Ime File" value with "\Windows\compime.dll" instead of most owful ime implementation AKA eT9ime.dll by Tegic (not sure in they dll name spelling though)
P.S.: as usual, be warned about changing registry.
Click to expand...
Click to collapse
tried it and it worked you are a star mate just wonder how these guys manage to pick up staff like that thanks mate
For me, this only half works now. I start entering a name and it's not until I delete a letter that it looks the name up? Any fix for this?
AndyCr15 said:
Just wanted to say thanks Fixed my problem...
Click to expand...
Click to collapse
hi it worked for me, if i use the standard keyboard or full qwerty, bu if i use the phone pad keypad, it doesnt work. infact it doesnt type anything.
i tried typing it in the text area of email / sms but no success.
so i have to change it back to et9ime.dll , but if you can provide me the solution so that it works with phone keypad along with the qwerty, than its really cool tweak.
please help.
AE said:
Just replace
"HKLM\System\CurrentControlSet\Control\Layouts\e0010409\Ime File" value with "\Windows\compime.dll" instead of most owful ime implementation AKA eT9ime.dll by Tegic (not sure in they dll name spelling though)
P.S.: as usual, be warned about changing registry.
Click to expand...
Click to collapse
Hello there,
I have tried your changes , it works!! but only on one keyboard, i cannot use the others because it types figures instead of words...
Can you tell me how i apply it on the other keyboards?
Thank you in advance
Hy,
As for my first app, I am trying to make a simple converter like app. The app isn't sophisticated, just need to enter a quantity in mass, a density and compute the resulting quantity in volume.
The main issue is to get a confortable UI, for touchscreen and soft keyboard devices.
As the entry only require numeric, I'd rather have a numeric keypad poping up rather than the complete alaphnumerical keyboard.
As for an example, I use 'currency converter' witch pop up exactly the good keypad for it's amount to convert.
So far I haven't found any documentation how to manage this behaviour.
I'd really appreciate any advise, link to a doc page or solution.
One thing to look at is:
http://developer.android.com/reference/android/text/InputType.html
In Eclipse:
-Open your layout xml file.
-Click on your EditText field and then go to properties.
-In the properties there is an 'Inputtype' field. If you click on the '...' button it will show you many options. This is where you define the field as 'number' or 'phone' and it will show the number keypad by default when you click on your field when using the app.
Let me know how it goes and if you have any other questions.
corruptor64 said:
One thing to look at is:
http://developer.android.com/reference/android/text/InputType.html
Click to expand...
Click to collapse
Thanks a lot.