[Q] Disabling Landscape send keyboard Window - Java for Android App Development

Is there any way to disable the send window when the user enters text to an EditText in landscape orientation in my app? I mean this:
View attachment 2101779
It is quite annoying because the user cannot see the app anymore. I searched and played around with setInputType but didn't find anything that worked and I don't want to disable landscape orientation totally.
Thanks in advance.

No ideas?
I thought maybe the WindowManager. LayoutParams.softInputMode could do the trick when set to one of the SOFT_INPUT_ADJUST... methods here.
Will this work or is it a totally wrong way or even not possible at all?

are you trying to hide the "senden" button, or the whole edit text window(everything between the keyboard and the status bar)?

out of ideas said:
are you trying to hide the "senden" button, or the whole edit text window(everything between the keyboard and the status bar)?
Click to expand...
Click to collapse
The whole window. I want to be able to see the the other buttons my app has there.

Not sure if this is what you want but add the following line to your editbox XML:
Code:
android:imeOptions="flagNoExtractUi"

zalez said:
Not sure if this is what you want but add the following line to your editbox XML:
Code:
android:imeOptions="flagNoExtractUi"
Click to expand...
Click to collapse
Thanks, sounds good and I will try that
Edit: Worked!! Thanks again

Related

Change your Default Calendar Version 0.01

I made it as simple as possible to change your prefered Calendar Manager, I use ThumbCal, which seems quite popular here. As downloaded, the script is setup for ThumbCal, but to change it all you have to do is edit the first 2 lines with a text editor.
Run the script and your Softkeys, links, and "Today Plugin" all call up Thumbcal, run again and it switches back to Office (Outlook) Mobile!
Does not support 3rd party software, for SPB Mobile Shell support see this thread.
MortScript is requied, download it here.
I hope you find this useful!
To use:
1. Download and unpack the ZIP file.
2. Edit the first 2 lines in the MSCR file, notepad works fine for this.
set AltCalendarName, "ThumbCal"
set AltCalendarPath, """\Program Files\ThumbApps\ThumbCal\ThumbCal.exe"""
3. Copy to your device, and make a shortcut.
4. Click the shortcut and answer the "Yes or No" question.
5. Repeat step 4 to swap between the two calendar managers!
NOTICE: I have seen this many of times, some softkey mapping software (most likely Spb Mobile Shell, this one does it the worst) hijacks the "calendar" softkey and redirects it to the "exe" instead of the "lnk". In any case this patch will still effect the Calendar Today Plug-in. You can remap your softkey with the mapping utility, how ever Spb Mobile Shell limits what you can select, so an additional one is recommended.
WOW..great thinking..
It has been asked abt Hundred of times to replace the Default Crappy Calender
Any screen shoot???
this is EXACTLY what i was looking for. thank you very much. if it doesn't take too much of your time and you can make one for changing the HTC Home Media Player to S2P instead of MP or HTC Audio Manager.. it would be fantastic.
THANK YOU
Just what I have been waiting for. There was nothing worse than having calendar items on the today screen, then pressing on them and it taking me to the default calendar, which I dont even use anymore. i had taken calendar off my today screen altogether. Now its back!!! thanks a bunch for this one.
Any news to get this feature on SPB mobile shell ?
change it easy guys.
as far as I know,I changed my calendar with the thumbcalc 0.51 simply with SK TOOLS.
There is a button change option.And many other offcours as well.But this is the easy way,without aknoledge of serious programming or programms..
helios
heliosismagic said:
as far as I know,I changed my calendar with the thumbcalc 0.51 simply with SK TOOLS.
There is a button change option.And many other offcours as well.But this is the easy way,without aknoledge of serious programming or programms..
helios
Click to expand...
Click to collapse
Hi!
Can u tell me which menu plz?
black_shadow69 said:
Any screen shoot???
Click to expand...
Click to collapse
No screens to shoot actually, its just a simple click "yes" or "no" dialog.
nir36 said:
this is EXACTLY what i was looking for. thank you very much. if it doesn't take too much of your time and you can make one for changing the HTC Home Media Player to S2P instead of MP or HTC Audio Manager.. it would be fantastic.
Click to expand...
Click to collapse
Dont use that program, but I will take a look just to see if its do-able.
flouk said:
Any news to get this feature on SPB mobile shell ?
Click to expand...
Click to collapse
Will be looking into that this week, looks complicated at the moment, but I think it will be possible.
is this not working for anyone else? :/
EDIT: NiteStalker, I checked my file paths, and everything is correct, when I press the .mscr file to toggle calendars, it tells me my default calendar has changed, but when I actually check my calendar "softkey" it has not changed.
Is there another script I could run to acheive the same effect?
UPDATE: I have also tried changing the File paths, and then changing the file location acoordingly with no result. I'm going to try to run it from the root, and see if it works.
UPDATE II: Launch off the root doesnt work, im going to check and see if the original Calendar is in the place referenced in the script for my device. (XV6900)
damnitryon said:
is this not working for anyone else? :/
EDIT: NiteStalker, I checked my file paths, and everything is correct, when I press the .mscr file to toggle calendars, it tells me my default calendar has changed, but when I actually check my calendar "softkey" it has not changed.
Is there another script I could run to acheive the same effect?
UPDATE: I have also tried changing the File paths, and then changing the file location acoordingly with no result. I'm going to try to run it from the root, and see if it works.
Click to expand...
Click to collapse
I run it from \Application Data\Mortscripts, but where its placed doesn't matter. When I run it my 'Softkey', 'Program Menu Link', and 'Today Screen Calendar Plug-in' all work. I'm using ThumbCal 0.51, but it shouldn't matter what app you run.
If the today plug-in works, but your softkey isn't, it's possible you have remapping software changing the default calendar link. If you have a softkey editor ensure it's pointed to the "calendar.lnk" in your start menu.
Also make sure you have 3 quotations (""") in front of and after the {set AltCalendarPath, """\Program Files\ThumbApps\ThumbCal\ThumbCal.exe"""}. If your missing even one, it will malfunction.
If none of this works, I don't know what to say, except that I run it on WM6.1, and my friend runs WM6.0, and it works on those.
I'm stumped, can anyone point me in the right direction?
EDIT: one sec. i posted at the same time as you. im reading.
damnitryon said:
I'm stumped, can anyone point me in the right direction?
EDIT: one sec. i posted at the same time as you. im reading.
Click to expand...
Click to collapse
Most important thing, did you download and install MortScript?
If need be, paste your edited lines so I can take a look.
NiteStalker said:
Most important thing, did you download and install MortScript?
If need be, paste your edited lines so I can take a look.
Click to expand...
Click to collapse
EDIT: Yes I have MortScript.
Well, I re-installed TouchCal and whent back to the original script, it works on the today plugin, but not the softkey, so, as you said somethiing is being remapped. How would I fix this?
damnitryon said:
EDIT: Yes I have MortScript.
Well, I re-installed TouchCal and whent back to the original script, it works on the today plugin, but not the softkey, so, as you said somethiing is being remapped. How would I fix this?
Click to expand...
Click to collapse
find your remapping software, "EZ Softkey" or "Mobile Shell 2" and remap to the "calendar.lnk" in the start menu.
NiteStalker said:
find your remapping software, "EZ Softkey" or "Mobile Shell 2" and remap to the "calendar.lnk" in the start menu.
Click to expand...
Click to collapse
How about a plot twist, I've never heard of either, and havent used any form of remapping software, should I just remap it to the correct place anyhow?
I may as well give it a shot.
UPDATE! I did it, when I looked at the mapping of the softkey it was going to "calendar.exe" instead of "calendar.lnk" so I just mapped it straight to touchCal for now, but now im curious and want to see if i can find the "calendar.lnk"
damnitryon said:
How about a plot twist, I've never heard of either, and havent used any form of remapping software, should I just remap it to the correct place anyhow?
I may as well give it a shot.
UPDATE! I did it, when I looked at the mapping of the softkey it was going to "calendar.exe" instead of "calendar.lnk" so I just mapped it straight to touchCal for now, but now im curious and want to see if i can find the "calendar.lnk"
Click to expand...
Click to collapse
Calendar.lnk is in [\windows\startmenu\programs] usually, it can move around there. Remapping to that would allow you to successfully swap between the apps if needed.
ANYWAY I am glad we were able to solve your problem.
NiteStalker said:
Calendar.lnk is in [\windows\startmenu\programs] usually, it can move around there. Remapping to that would allow you to successfully swap between the apps if needed.
ANYWAY I am glad we were able to solve your problem.
Click to expand...
Click to collapse
Yes, thank you for taking the time to help me out, I apreciate it. I also apologize for going off topic.
NiteStalker said:
find your remapping software, "EZ Softkey" or "Mobile Shell 2" and remap to the "calendar.lnk" in the start menu.
Click to expand...
Click to collapse
I am using "mobile shell 2" how do I remap it to "calendar.ink" so that thumbcal works please.
ozmale said:
I am using "mobile shell 2" how do I remap it to "calendar.ink" so that thumbcal works please.
Click to expand...
Click to collapse
settings> System> SPB Mobile Shell> Today Tab
Thats the path to your softkey remap in mobile shell

(19/8/2008) S2U2SettingsPlus 2.3.1

Originally created to add functionality to S2U2Settings.
Can edit:
S2U2 Lock/Unlock wave files.
S2U2 Text
S2A Text
S2U2Unlock Path (what is launched when S2U2 unlocks).
Usage:
Install and load.
Select wav/exe files by clicking on the "..." buttons next to the text box. (NOTE: No file filters are applied, so you need to select the correct kind of file your self!!!)
Edit S2U and S2A text.
Hit "File->Save", and then hit "Close". (iLock is automatically restarted! )
Requires:
S2U2 (1.02 or above)
.Net CF 2.0
S2U2SettingsPlus supports MoDaCo AppToDate!
Download it
Download MoDaCo AppToDate
post sum pix man...what is this?
malibu_23 said:
post sum pix man...what is this?
Click to expand...
Click to collapse
Some pictures will be up soon.
BTW, do you actually read posts, or thread titles?
...add functionality to S2U2Settings.
Click to expand...
Click to collapse
and the name is a dead giveaway!
My question would be "Whats wrong with the way the settings function now in S2U2?"
So some pics would be helpful for me too. Thanks
Can edit:
S2U2 Lock/Unlock wave files.
S2U2 Text
S2A Text
My PCs playing up so screenshots will have to come tomorrow...
Hello,
First off I have WM 6.1
What is Unlock EXE for? I tried the path to s2u2.exe and it only kept the lock screen on permanently. I had to do a reset to get back to today.
Also, once file->save is selected, the close button does nothing, but the options are saved anyway.
it's good great tool setting, thank you
cool. thanks
Yes this most useful. I believe without you have to edit the registry manually.
hasnt this been out for a while now? i remember dling something similiar if not the same app but older and it let me set lock, unlock wavs, slide and answer txt..
Nice....
Great works...Hopefully in future we will see more function. Likewise changing background,clock etc..We can still do these things. But you can add those function, so anybody can change it with settingplus..Thanks again..
Just a feedback, the soft key <Close> did not close the program, the screen still remains. Need to close it via the [x] at the top right hand corner.
Overall, a nifty program. Thanks for sharing!!
for sum reason the wav file for me dont work
Shifuej said:
hasnt this been out for a while now? i remember dling something similiar if not the same app but older and it let me set lock, unlock wavs, slide and answer txt..
Click to expand...
Click to collapse
Yes it has. I've recently gone back to it, and added the "Unlock EXE" and tweaked it a bit.
BTW, UnlockEXE is what S2U2 will launch when you unlock the device.
webbywebb said:
for sum reason the wav file for me dont work
Click to expand...
Click to collapse
How large files were they?
Were they wav files, or some other format?
And, was the path generated in the text box correct?
2.3.1 released. Close button should do something now!
l3v5y said:
2.3.1 released. Close button should do something now!
Click to expand...
Click to collapse
Will test out the ApptoDate for your latest version, once I go home.
Update:
The soft key works, even ask you for a confirmation..
will this still work in the latest cersion os S2U2 v1.30?
I believe not for the S2U2 and S2A text.. cos' A_C moves it to another location now.
Sian said:
I believe not for the S2U2 and S2A text.. cos' A_C moves it to another location now.
Click to expand...
Click to collapse
Oh thats sad....this Setting Plus has been useful in changing the text of my own choice Will wait then for a new version of Setting Plus
thanks...

SMS in landscape

Hi guys,
Does anyone know of a way of being able to type sms in landscape mode as a default.
i.e. if i choose to type an sms the phone switches to landscape until it's sent and then flips back to portrait.
I prefer typing in landscape but so far i have had to map the hardware key to rotate the screen and have to press this before typing an sms
Just wondering if there is a more elegant method.
TIA
acg said:
Hi guys,
Does anyone know of a way of being able to type sms in landscape mode as a default.
i.e. if i choose to type an sms the phone switches to landscape until it's sent and then flips back to portrait.
I prefer typing in landscape but so far i have had to map the hardware key to rotate the screen and have to press this before typing an sms
Just wondering if there is a more elegant method.
TIA
Click to expand...
Click to collapse
Hi,
I was wondering if you have found an answer for that. I'm looking to be able to do that too. Please let me know. So far, I was looking into the registry cause I guessed that we just create a key or something and it would work..or maybe not...and I have found two values for the Camera within the registry so I am sure that it would be possible to do that for the SMS and Browser as well.
I will keep on searching and let you know.
Work Around
I know this isn't the ideal way of doing it. But until someone smart enough figures out the registry entry for this idea...you can youse wisbar advanced 3, it has a setting that lets you set certain programs to rotate... hope this helps until someone figures it out!
unforseenenemy said:
I know this isn't the ideal way of doing it. But until someone smart enough figures out the registry entry for this idea...you can youse wisbar advanced 3, it has a setting that lets you set certain programs to rotate... hope this helps until someone figures it out!
Click to expand...
Click to collapse
Thanks I have tried that but I didn't like it. The app took over all my settings and I would prefer just to add or change a reg key then to install another software.
Thanks again and hope to have the perfect solution for that one day...
Remarkable idea!I feel like I will love typing sms in landscape too!

Auto Virtual Keyboard in contacts menu[Request]

Guys!
Is there a way that the virtual keyboard will popup as soon as I open the contact. I use TF3D panel. Some kind of script or registery key that would help. It would be really helpful as the A B C D on the left are too tiny and a keybord will save a lot of time in hunting the name from 100s of contacts that i have.
Can anyone help me on this?
What's wrong with just sliding open the real keyboard and using that? You don't even need to use the stylus then, which you don't realy want to be holding while making a call, or putting back in the phone in the middle of one.
moleculez said:
Guys!
Is there a way that the virtual keyboard will popup as soon as I open the contact. I use TF3D panel. Some kind of script or registery key that would help. It would be really helpful as the A B C D on the left are too tiny and a keybord will save a lot of time in hunting the name from 100s of contacts that i have.
Can anyone help me on this?
Click to expand...
Click to collapse
I don't know how to resolve YOURS problem, but i think much better use some contacts managers, like VITO FunContacts of Inesoft AdressBook.
I like FunContacts. http://iwindowsmobile.com/contact-manager.html
Yeah u can use the slider undoubtly but then when ur driving or in a real hurry its better.
Thanks AlexDem
will check that option too
Try Advance config
Input --> Auto deploy SIP --> Enable
Ashwm
Unable to find Input --> Auto deploy SIP --> Enable in the advance config s.w.
Lol
Ashwm said:
Try Advance config
Input --> Auto deploy SIP --> Enable
Click to expand...
Click to collapse
You're just full of these little AC tips arent you? That's 2 so far you've helped me out with!
moleculez said:
Ashwm
Unable to find Input --> Auto deploy SIP --> Enable in the advance config s.w.
Click to expand...
Click to collapse
Are you using the latest version?
Look again?
alias_neo said:
You're just full of these little AC tips arent you? That's 2 so far you've helped me out with!
Click to expand...
Click to collapse
LOL, no problem
Glad I could help.

Hd2 lock (ideas)

May i know if someone could answer to this question? Is the lock screen hackable? i meant the slide button? where i wan it to be up and down instead of left or right?
Regards
Aviao
edit the file LS_LockScene_480x800 in windows/lockscreen using a text editor.
I've been looking into having a vertical slider for the lock screen.
No look after 2 days of searching and playing around.
samsamuel said:
edit the file LS_LockScene_480x800 in windows/lockscreen using a text editor.
Click to expand...
Click to collapse
Edit what particularly though?
Specific directions? What to look for? What to change?
bump 10 char
How to remove it
I want to actually remove the HTC lock screen as I want to install S2U2.
Is there a way I can stop the HTC lock from working??

Categories

Resources