Smiley Face vs Enter Button Coding - Android Q&A, Help & Troubleshooting

I'm attempting to code the messaging app so that the smiley face button that is normally present is replaced with the enter button. I found in one of the .xml files
"android:imeOptions="flagNoEnterAction"
What all do I need to change to make the enter button appear instead of the smiley faces?

Related

[Q] Android Keyboard

how to change keyboard key besides the smiley key and the enter key back to english? thanks
Not sure what you mean because to enter smilies you need to go to menu Insert smiley.
To change the keyboard language long press in the writing area and choose the keyboard you want.
Hope this comes close to what you want.

[Q] "Enter Key" for text messages

(search is down, sorry if this has been answered)
While text messaging, there seems to be no enter (return?) key to start a new line, just a smiley face button. any way to enter a blank line in a text?
I would love to know this too.

[Q] Replace smiley key with enter CM9 stock ICS keyboard and Messaging app

I hate the smiley key, but love the cm9 ics messaging app and keyboard. I'm currently using go sms pro in which the ics keyboard has an enter/ new line key instead of the smiley key. Is it possible to somehow get this key to replace the smiley one in the stock app? Thanks
Note. I also really like the the touchwiz sms app, and it does have the enter key, is there an apk i could download that would work on CM9 (im assuming if you extracted it from stock samsung leaked XXKP8 or XXPKPA It woud work.
I think you have to decrypt (or something like this) the extracted apk, so for now use a market keyboard...
However, I sometimes use go keyboard, which has enter key (if you long press the smile button) and when i press it, it just sends the sms!
I like the default keyboard too
ttouch said:
I think you have to decrypt (or something like this) the extracted apk, so for now use a market keyboard...
However, I sometimes use go keyboard, which has enter key (if you long press the smile button) and when i press it, it just sends the sms!
I like the default keyboard too
Click to expand...
Click to collapse
yeah, i heard you had to decompile the mms apk and remove / edit a line, but i dont know how to decompile
As for market keyboard, i dont really love any, i much prefer the stock ics keyboard
ddpruel said:
I hate the smiley key, but love the cm9 ics messaging app and keyboard. I'm currently using go sms pro in which the ics keyboard has an enter/ new line key instead of the smiley key. Is it possible to somehow get this key to replace the smiley one in the stock app? Thanks
Note. I also really like the the touchwiz sms app, and it does have the enter key, is there an apk i could download that would work on CM9 (im assuming if you extracted it from stock samsung leaked XXKP8 or XXPKPA It woud work.
Click to expand...
Click to collapse
Search the Market for Keyboard from Android 2.3 by Steven Lin..its just the stock keyboard but it has the Enter key by default and you just hold the Return/Enter key and it brings up the smilies
scott8281 said:
Search the Market for Keyboard from Android 2.3 by Steven Lin..its just the stock keyboard but it has the Enter key by default and you just hold the Return/Enter key and it brings up the smilies
Click to expand...
Click to collapse
i know but i lik the ics keyboard, not the gingerbread one
https://play.google.com/store/apps/details?id=inputmethod.latin.ported&feature=nav_result#?t=W251bGwsMSwxLDMsImlucHV0bWV0aG9kLmxhdGluLnBvcnRlZCJd
Works the same and has the return/enter key versus the smiley button.
McHenry_kramer said:
https://play.google.com/store/apps/details?id=inputmethod.latin.ported&feature=nav_result#?t=W251bGwsMSwxLDMsImlucHV0bWV0aG9kLmxhdGluLnBvcnRlZCJd
Works the same and has the return/enter key versus the smiley button.
Click to expand...
Click to collapse
it changes to the smiley in the messeges app, but cm9 now has an option to what the soft key is

[Q] Using menu button to pick up call

Hi there. The topic says it all. Does there a way exist for me to use my menu button (the physical button) to pick up a call? I looked around in the settings, (I'm on ICS Final Mod, kevinlekiller's) couldn't find it.
Tried to look for it, but turned up empty handed. So, does it exist?
Nope it doesn't. Never heard of such a thing.
You can edit /system/usr/keylayout/sec_key.kl .
ketut.kumajaya said:
You can edit /system/usr/keylayout/sec_key.kl .
Click to expand...
Click to collapse
sec_key.kl is not present. The following files are present
Code:
AVRCP.kl
qwerty.kl
sec_touchscreen.kl
I looked around but it seems to me that remapping would change the keys behavior for the entire time, but the key mapping should change only when there is an incoming call.
Okay so there is no key state as such for picking up a call. The nearest key state being ENDCALL (ironically).
Code:
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #^
The above is from the here
In the above link, Decad3nce puts forward the idea of custom app launching inspired by BuglessPete's How to make script run by using hardware keys
After reading both, I think might be a way of enabling the menu key/home key to pick up a call.

{help} how to use a button to change text

Hello, I am a very new developer and i am starting off with a calculator app, i was wondering how i can make it so when i press one of the buttons it will change the text from the "Hello" to the number that is pressed. Thanks.

Categories

Resources