[Q] C# help stopping the swipe action on tabs. - Windows Mobile Software Development

Currently working on my notes app called Saint.
I decided to use the TabControl, but forgot that it changes tab when you swipe left or right.
Does anyone know if there is a way to somehow override this?
I write in C# (as its what I love )

Related

Reordering start menu challenge

I've been wondering for awhile now why out of all the programs for the dash why there isn't one out there for reordering the entire start menu. I know jeyo personalizer can reorder the first 7 but come on, they have everything else except for this that I'm aware of. Anyone know of a program that can do this? If not maybe someone on here would be up to the challenge. Just a thought i know I'm not capable of doing it but wanted to throw it out there.
stats555 said:
I've been wondering for awhile now why out of all the programs for the dash why there isn't one out there for reordering the entire start menu. I know jeyo personalizer can reorder the first 7 but come on, they have everything else except for this that I'm aware of. Anyone know of a program that can do this? If not maybe someone on here would be up to the challenge. Just a thought i know I'm not capable of doing it but wanted to throw it out there.
Click to expand...
Click to collapse
reordering so that its not alphabetical? is that what you mean? Or just moving the wm standard stuff from the first page or 2, so that you can have your fave apps up front?
Easiest way is renaming the items in windows\start menu. The system ones that are listed first should be renamed so that they will move out of the way, and then rename the ones you want to be first so that they show up on first page. Here's a screenshot of my first page after the recent programs page. The screen shot shows a "!" infront of the names but a simple space will make them move to the front of the line instead of "!"
Thats a good idea thanks! Yeah i was basically trying to reorder the whole thing based on my most used programs on down. I use the list menu option.

Problems selecting text - in SOME apps

I have just upgraded from a TyTN2/Kaiser to a new TP2/Rhodium running WM 6.1 .. and am enjoying the experience except for one fly in the ointment.
Text selection in certain apps is incredibly painful: using the stylus to select a portion of text is almost always interpreted as an attempt to drag-scroll the display. "Almost always" because if you time it properly, waiting a second or so and start dragging before the context menu pops up, then it sorta kinda works. But the selection seems to kick in quite some time AFTER beginning to drag, and therefore doesn't start at the beginning of the target. And Double-clicks (to select a whole word) no longer stretch word-for-word as I drag.
Most apps still work fine, but the following key apps suffer this annoying misbehaviour:
Contacts - But only the "Notes" tab. All text in the "Details" tab behaves as expected!
SMS texting - This occurs when selecting "Send Text Message" from a contact's Summary display (which is actually my preferred method as it is the quickest!). And it also occurs if you start an SMS from the messaging app via menu options Menu\New\SMS. But if you compose an SMS in the threaded view of a conversation in the same app, then the text selection is ok!
I can't find any posts by others who might be experiencing something similar, so is there a solution for this? A registry hack maybe? Am I the only one who has noticed this problem, or am I the only one who is annoyed so much by it?
Notes tab of Contacts app: I experience the same here. But it doesn't really bother me too much since I rarely have to select text here.
Messaging App: I didn't know you can select text like that (ie. tap and hold for a bit and drag) until you mentioned it! Anyway, if you want to select text here, you can always tap "Menu" and then "Select Text".
ohyeahar said:
Notes tab of Contacts app: I experience the same here. But it doesn't really bother me too much since I rarely have to select text here.
Click to expand...
Click to collapse
I use the contact notes extensively, so it is extremely frustrating to have it compromised and complicated now (compared with TyTN2).
ohyeahar said:
Messaging App: I didn't know you can select text like that (ie. tap and hold for a bit and drag) until you mentioned it! Anyway, if you want to select text here, you can always tap "Menu" and then "Select Text".
Click to expand...
Click to collapse
Ahh - thanks for that! Now if only i could find a way to keep that as the default
** UPDATE **
** UPDATE **
I just noticed that everything works properly .. if and only if you use "My Mobiler" to remotely control the phone. So you can use your mouse and your desktop monitor to drag select text in the above compromised apps (including Active Tasks by the way) .. and everything will be fine.
But when it come to using the stylus on the phone's touch-screen directly, the selection still misbehaves!!
This is not a workaround, just mentioning it in the hope that it might help someone enlightened enough to be able to piece the puzzle together
http://forum.ppcgeeks.com/showthread.php?t=85583
Here's a solution to your problems.
digitaliceblast said:
http://forum.ppcgeeks.com/showthread.php?t=85583
Here's a solution to your problems.
Click to expand...
Click to collapse
Thanks, but i'm not sure how exactly does it solve the problem? If you mean the post by orlandojumpoff (post #16) about pressing and holding and then dragging when the animation starts, then that's actually the problem itself.
The animation goes by so fast, that each time you do this, it takes a few false starts before you manage to time it right. The overall effect is to give priority to TF3D scrolling at the expense of functionality in terms of text selection. It makes me want to rip out TF3D by it's heart, which of course is a bit overkill.
I'd settle for being able to tell TF3D to stop interfering in specific apps, or simply to stop interferring while editing. Actually, come to think of it .. another viable option might be to find a way to get that animation to take a little longer ... hmmm
One thing you can do to mitigate it somewhat is to double tap on a word to select a word, triple tap to select an entire line. I use Pocket Informant and it too won't allow me to drag to select unless I try to time it like you do. Another trick is to use the hardware keyboard, and your arrow and shift keys combined to select text.
Sure wish the good things we like about WM would stick from version to version, and the bad things would be fixed and stay fixed. Hey, it could happen
trids said:
Text selection in certain apps is incredibly painful: using the stylus to select a portion of text is almost always interpreted as an attempt to drag-scroll the display...
Click to expand...
Click to collapse
There is a similar problem on Topaz (Diamond 2). It seems finger scrolling sensitivity was made too high and it can no more tell finger from stylus. I found a (partial) solution. Maybe it works on Rhodium too.
- Find the registry key "HKLM\Software\OEM\TFLOSettings".
- It should contains a subkey named "TFLOIgnoreAPPs". If it does not exist create it.
- For every application where you want to be able to select text add a string value called "IgnoreAppXY" where XY are two characters different for every entry.
- As value enter the name of the application EXE file as seen in file explorer (warning: case does matter).
From then on for that applications finger scrolling is suppressed and text selection works as expected.
This is a sample from my registry
[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs]
"IgnoreAppST"="WiFiNetwork.exe"
"IgnoreAppYT"="YouTube.exe"
"IgnoreAppPH"="PIMHelper.exe"
"IgnoreAppNP"="NOTEPAD.exe"
"IgnoreAppCE"="ContactEditor.exe"
"IgnoreAppTM"="tmail.exe"
"WiFiNetwork.exe" and YouTube.exe" were already there. I added "PIMHelper.exe" (editing inside SPB Diary Today plugin),
"ContactEditor.exe" (editing for Contacts), "tmail.exe" (editing for SMS and email) and "NOTEPAD.exe" (Orneta text editor).
Hope it helps.
That method worked for me for Pocket Informant, using "ignoreappPI"="PocketInformant.exe".
Thanks!
SOLVED!
oruam57 said:
[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs]
"IgnoreAppST"="WiFiNetwork.exe"
"IgnoreAppYT"="YouTube.exe"
"IgnoreAppPH"="PIMHelper.exe"
"IgnoreAppNP"="NOTEPAD.exe"
"IgnoreAppCE"="ContactEditor.exe"
"IgnoreAppTM"="tmail.exe"
:
:
Hope it helps.
Click to expand...
Click to collapse
Brilliant - Thank you! This is EXACTLY what i was hoping for! Awesome!
Update:
I posted this brilliant solution to the standard thread for Rhodium Cabs,Tips,Tweaks etc
.. Thanks again oruam57!
Just a word of caution. My device already had [HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs], with YouTube as the only exclusion, but i notice that the board seems to introduce a space into the "TFLOIgnoreAPPs" portion, which might cause problems for some folks who want to try this out.
And for the record, this solution does not solve the problem for the standard editor for Contacts and Tasks, which doesn't have a Process whose name you can use. So I'll start looking at custom editors for Contacts now, but it's good to have this handy tweak within reach!
trids said:
And for the record, this solution does not solve the problem for the standard editor for Contacts and Tasks, which doesn't have a Process whose name you can use.
Click to expand...
Click to collapse
Maybe I do not understand exactly your problem but on my Topaz:
- in the first tab of standard Contacts and Task editor text selection does work (do not know why, I suppose Touch Flow has some internal logic);
- in the second tab (Notes) of Contacts text selection can be forced working by inserting the process "ContactEditor.exe";
- in the second tab (Notes) of Tasks text selection can be forced working by inserting the process "poutlook.exe".
At any rate using Dotfred's Task Manager (http://www.dotfred.net/TaskMgr.htm) you can inspect processes and windows on your phone and with a little patience you can find the owner process of any interesting window.
Hooray!
oruam57 said:
Hope it helps.
Click to expand...
Click to collapse
Thank you soooo much oruam57! I searched for hours yesterday for a fix for this issue. It was driving me crazy. I made two of my own for ListPro and eWallet and they work great now too. THANKS!
oruam57 said:
Maybe I do not understand exactly your problem but on my Topaz:
- in the first tab of standard Contacts and Task editor text selection does work (do not know why, I suppose Touch Flow has some internal logic);
- in the second tab (Notes) of Contacts text selection can be forced working by inserting the process "ContactEditor.exe";
- in the second tab (Notes) of Tasks text selection can be forced working by inserting the process "poutlook.exe".
At any rate using Dotfred's Task Manager (http://www.dotfred.net/TaskMgr.htm) you can inspect processes and windows on your phone and with a little patience you can find the owner process of any interesting window.
Click to expand...
Click to collapse
@ Oruam57, you're right, thanks again! I was in fact using DotFred's Task Manager to discover the processes .. but i came to the incorrect conclusion (that there was no identifiable processes, for Tasks and for Contacts) because i saw no change in the processes listed between editing and not editing their notes, as poutlook.exe was still running after i edited the notes and while the list of tasks/contacts was still displayed.
And this is how I overlooked the possibility that poutlook.exe itself was the editor
BTW, i notice that the exclusion for poutlook.exe works for the notes of both Tasks AND Contacts, they seem to use the same editor. I have no ContactEditor.exe listed at all, must be for your custom editor.
I tried with on WLMMessenger.exe, but it didint work.
I still cant select ( highlight ) text from a conversation. When i do it begins to scroll..
Has anyone the solution?

[24/08/2010] first development project 4 on 1 row

intro: I'm a bachelor student who has a little knowledge of programming.
For the first time i try to make a simple game that i already wrote in java work in vb.
I'm planning to make this a full working game that I can place on the market place for free.
I already have the idea how to make the AI to play 1 vs PPC
I wrote it for a WVGA screen but its completely dynamic so it should work on other screen sizes.
Only when you change the orientation the text will not be visible (need to think where i'm gonna place it)
pls feel free to give input on the project.
I uploaded the whole vb net directory so its open for everybody
(Im still a bit strugling with a cab file that has links in it
if you instal it, it should be visible in the programfiles dir)
--edited 24/08
-thanks to Gaz25 the refresh problem is soved
-the 4 on a row detection algorithm is completed
Hi, I had a look at your code and fixed your flicker problem.
Basically, when you do you own drawing on a control like a panel you need to take control of painting the background as when a control is redrawn it paints the background first and then anything else on top like text, images etc...
The best thing to do is create a custom control. Then you can override the OnBackgroundPaint event and say do nothing.
Then override the OnPaint event and here is another trick.
In the OnPaint event, create a bitmap. This will be the 'backbuffer' which you will do all your drawing on. Then when you have done all your drawing on the backbuffer, you draw the backbuffer to the screen.
I have included your solution with my modification which I hope make more sense .
If you need more explanation then let me know and I will go into more detail.
Gaz25 said:
Hi, I had a look at your code and fixed your flicker problem.
Basically, when you do you own drawing on a control like a panel you need to take control of painting the background as when a control is redrawn it paints the background first and then anything else on top like text, images etc...
The best thing to do is create a custom control. Then you can override the OnBackgroundPaint event and say do nothing.
Then override the OnPaint event and here is another trick.
In the OnPaint event, create a bitmap. This will be the 'backbuffer' which you will do all your drawing on. Then when you have done all your drawing on the backbuffer, you draw the backbuffer to the screen.
I have included your solution with my modification which I hope make more sense .
If you need more explanation then let me know and I will go into more detail.
Click to expand...
Click to collapse
i will look at it monday when i'm back from a festival
thanks in advance.
sended from x1
Thank you very mutch,
i just tested it and it works perfect.
I will try to make it better in the following weeks.
Only one thing that you changed in my code that wasn't correct "speler = 0" (on load, needs to be 1 or 2) (speler = player)
I also found an error in my own algortim for the 4 on a row detection
"teller1 = teller2 = 0" ( gave me a -1 on teller1)

Changing Bluetooth keyboard keys

Hello all. I recently got the Bluetooth Motorola Keyboard and I was wondering if anyone would be able to explain how to change any of the hardware keys on the keyboard to open an application. Thanks in advance.
any ideas?/shameless bump
At this time there is no way to change any of the keys. There are people working on this at this time but so far nothing has come out of it. I have the same keyboard but haven't found any need to change anything. What are you trying to do?
I like the keyboard I just wish the messaging button was mapped and be able open the process list (last 5 apps running)
Sent from my Xoom using XDA Premium App
I hope somebody figures something out with this. (I was just Google searching for something on this, found nothing and figured we'd have something here on the subject.) The messaging button for example, does nothing. If it atleast opened Google Talk that would make things easier. Would make my usual Talk/Browser/Gmail switching much easier when using the keyboard.
And being able to change the contacts key to something else wouldn't be awful either. I don't think I've ever used contacts on my Xoom besides looking at it once and noting a pretty interface. So many other apps would be more useful.
I may be able to help with this. Can someone zip and post up your "/system/usr/keylayout" and "/system/usr/keychars" directories and post them up?
You should not have a /data/usr/keychars and /data/usr/keylayout directories, but give me a copy of those as well if they exist!
Still need those files if you will please good sirs.
I have no idea how to find the files you need. I plugged in my Xoom but I could never get into the system files. I R DUM
here they are
I came across this in the AOSP dev site http://source.android.com/porting/keymaps_keyboard_input.html#androidKeymapKeyLayoutMapTitle
I checked out my system/usr/keylayout/ folder and it shows 3 vendor layout files. i'm guessing those are the moto keyboard.
It looks like it can be done. Although the your xoom would have to be rooted to push a modded file.
looks like someone fixed this!
http://tinyw.in/078
What about generic bluetooth keyboards? I've seen that many for example use Apple keyboards. I was thinking about getting a generic bt keyboard from eBay and remap the keys. Is there any chance that can be done?
http://forum.xda-developers.com/showthread.php?t=1016594
Sent from my Xoom using Tapatalk
onicrom said:
looks like someone fixed this!
http://tinyw.in/078
Click to expand...
Click to collapse
B Dizzle said:
http://forum.xda-developers.com/showthread.php?t=1016594
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
No they didn't fix it. All they did was show how to change what was in the config files for the keyboards and add a WAKE function to an existing button function in order to wake the tablet with the keyboard.
What it looks like is being asked here is how to remap the default application buttons on the motorola keyboard (ie,.. messaging, browser, music, etc). The messaging button does nothing on the Xoom since it can't send text messages and the button was really meant to perform this function on the Atrix. There has also been questions as to how you could remap the browser button to another browser since setting the default browser to something other than the chrome one does nothing.
I've looked over that entire file and not once in there did it show a mapping for those keys to their respective functions. The function buttons have settings there, but I don't know if changing those would have any affect.
Anyone???
in case anyone didn't know, you can press the "search" key + a letter to open up applications. For example, "search" + T opens up Google Talk.
tlkid064 said:
Hello all. I recently got the Bluetooth Motorola Keyboard and I was wondering if anyone would be able to explain how to change any of the hardware keys on the keyboard to open an application. Thanks in advance.
Click to expand...
Click to collapse
A bit late to reply, but maybe this can help you.
As 'gadgetluva' already mentioned, you can use the "search" key + a letter to launch some applications.
Previous versions of android allowed you to change the assignment of these in the settings. But somehow that option is gone in Honeycomb. The code to do it is still in there, but I didn't find any UI entry to it in the settings.
But, there is a dirty work around if you really want to change them. The application Task Switcher (there are multiple ones, I'm talking about the one from Jason Parekh) can be downloaded for free from the market. It's a nice and useful application, but you can also use it to open the hidden "Quick Launch" settings dialog. You do that by going to the settings of Task Switcher and choose Shortcut. That will open the "Quick Launch" settings dialog. In there you can (re-)assign the "search" key shortcuts at will.
It's a bit involved, but you only have to do this once ...
PS: Once you have Task Switcher installed, you can as well bind it to a key your not using with the free application exsbar. That way you also have a quick shortcut to switch between the running applications. A little bit like the Alt-Tab in windows.

Smart keyboard issue

Ok here goes,
I have the keyboard set so I have the buttons configured below
clipboard , ? Spacebar return
Now if I go in the browser it changes
Cog / spacebar . .com go
Now I understand that there probably more relevant than my setup but I want my setup, does anyone know how to change this or hack it, it's driving me mental as when I use the browser keyboard my searches look like this how.many.apples.are.in.a.bunch as the space bar is smaller and I keep hitting the . button #annoying
Any help welcome
im having the same problem, it seems it is normal(?)
akso, are you having this issue aswell:http://forum.xda-developers.com/lg-g3/help/problem-lgs-keyboard-t2833907
I do not know as I never use it, but I cant see how this is ok why bother giving you the option,

Categories

Resources