Stock SMS/MMS changes - Android Software Development

Hi,
I just did my first steps in Android programming. And what is better to learn by improving something that you dislike?
So I changed a very tiny thing: the SMS/MMS app's "Send" button.
It now shows from the beginning the remaining letters of an SMS. All this appears on the "Send" button now (below the "Send", just like the text when you send an MMS).
I put a screenshot of before/after into the attachment, so please take a look and tell me what you think. Does this make sense? Should I make something of this configurable? Any further suggestions?
I did this primarily to learn a bit about Android, but now I'd like to go further. So any comment welcome
My thanks go to olearyp from the CM IRC channel
Cheers
Chris

Love it! Big help, for sure. Is it for the black background mod/CM MMS app?

drod2169 said:
Is it for the black background mod/CM MMS app?
Click to expand...
Click to collapse
I've looked at the patch, and it should require minimal massaging to apply to irrenhaus-based messaging apps. Most of the actual message entry code appears to be unchanged or nearly so from the AOSP version.

Message code is indeed completely unchanged.
I'd like to know if you think that I should add preferences for this like enable/disable it or configure the number of letters before it kicks in. But maybe that would be too much for such a tiny feature.
EDIT:
Now I see what you mean with black background mod: The thing that is on my mobile and enables me to activate a "fullscreen" keybord which disables the "remaining letters" display completely. I'll rebase my changes against CM sources. They are currently against the original ones.
Thanks for the feedback so far!
Cheers
Chris

Patch available
The patch is in the review now, if anyone wants to take a look on it. I'm a new user so I can't post links yet, but it's on the CM reviewboard as number 686.
Cheers,
Chris

nice work ^_^

Nice work papillon81, very usefull

Hopefully they can put this in a nightly.

Can you implement an option that let's you choose with which app you want to send the sms, when pressing the send button or the button for new message?
I use websms for sending sms, but want to use the stock sms app for reading. It's a bit annoying to go back to homescreen and than open the websms app everytime.
Best implementation would be that when you press new message it just asks, if you want to use stock sms app or websms (if installed). For the send button in the message threads it would be nice that it asks and when websms is chosen, it copies the typed text and the recepient to websms (if possible).

Well, the best option would be to use the stock SMS app for reading and writing and supply different backends so that you can send SMS via your provider as well as via an internet service.
The patch is still in review, so if you like it, comment on reviewboard, too
Chris

Related

SMS-Chat by iwindowsmobile!

Hi!
I, like many else have been looking for a good SMS-program with threaded SMS capability.
It looks like the waiting time is over, Vito Technology has finally released SMS-chat!
http://www.iwindowsmobile.com/
I have been using the app for 3 days now, and i really love it. Nice animations, fast loading time and even replaces the ugly "new sms" bar that pops up when new sms arrives with a new good looking one.
The app works seamless with FunContact, that also can be downloaded from the same place.
Too bad it ain't freeware though.... but I'm buying it!
Anyone knows how to assign the SMS-icon on PointUi to the SMS-chat app? I've added a shortcut on Favourites, but thats 2 touches on the screen, not 1, LOL
could someone create a .cab of the free trial? i'd love to try it, but cannot install via activesync
Cheers!
looks good btw
- edit - worked it out for myself lol - i've attached the files if anyone else wants them. Not sure which ones you need to install, so attached both
View attachment SMS-Chat.cab
View attachment SMS-Chat_VITO.cab
mugglesquop said:
- edit - worked it out for myself lol - i've attached the files if anyone else wants them. Not sure which ones you need to install, so attached both
View attachment 69391
View attachment 69392
Click to expand...
Click to collapse
Thanks so much!
There is currently a problem with this app...
Your SMS audio alert disappears!
I uninstalled it because I believe my vibrate disappeared too. Something to do with the fact that all SMS messages are diverted to a different Inbox (If you uninstall, remember to move all your SMS messages back into their correct folder.
Vito assure me that the vibrate works correctly and the audio alert will be fixed in the next version.
Shame they didn't work when it was released! An easy thing to check you'd have thought
Could it be skinned?
Looks a little bit ugly
With PocketCM you get threaded txt and its skinable for free....
MM
Is it just me or do most of the apps on that website remind you of the pocketcm framework by tene. Which are freely available and easily skinnable
I agree
Not exactly "organic" like a conversation is it?
I tell you, those guys (and girls) at Apple are absolute genius designers. If it wasn't tied to O2 I'd have bought an iPhone.
I reckon 70% of these forums are purely down to programmers doing their best to make the WM devices look like an iPhone.
Getting there slowly and it's keeping everyone occupied at least
PocketCM is still looking very promising so I'm looking forward to version .20
Thyraz said:
Could it be skinned?
Looks a little bit ugly
Click to expand...
Click to collapse
That's my thoughts too, but I couldn't see any options for skins when I had a quick play with the trial. It's a shame, because it looks like a great program otherwise.
i think its skinnable
its just that all the icons arent seperate
they're a couple bitmaps in the bin folder with a couple icons together
When a new message arrives the bubble notification is popped up in the center of the screen even if the phone is locked. Can this be disabled? I mean when you want to read the message click the left soft key in order to pop up the notification and read the message. Any hints? Does this program have settings? I couldn't find them...
Uninstalling
I made the bummer of installing this program and would like to revert back to WM6's standard SMS application. However, since all my messages are removed from the standard application, I'm a bit eary of doing this
Where are these files located, and where do I have to move them?
Thanks in advance
davehutch said:
Your SMS audio alert disappears!
I uninstalled it because I believe my vibrate disappeared too. Something to do with the fact that all SMS messages are diverted to a different Inbox (If you uninstall, remember to move all your SMS messages back into their correct folder.
Vito assure me that the vibrate works correctly and the audio alert will be fixed in the next version.
Shame they didn't work when it was released! An easy thing to check you'd have thought
Click to expand...
Click to collapse
Look i your folders in SMS and you'll see...
...the messages have all been moved to SMS-Chat and its sub-folders.
Just highlight all the messages in a folder, hold-click and "move" them back into their original place.
(Inbox and subfolders)
Look in your folders in SMS and you'll see...
...the messages have all been moved to SMS-Chat and its sub-folders.
Just highlight all the messages in a folder, hold-click and "move" them back into their original place.
(Inbox and subfolders)
I installed SMS-Chat to the storage card, but there is no "messages" folder in the applications folder
Not there...
...in your Messages app.
Normally txts go into your SMS/MMS...Inbox.
After SMS-Chat installs, more folders are created.
Move them out of the SMS-Chat...Inbox and back into your SMS/MMS...Inbox
Move your SMS-Chat...Sent itmes back into your SMS/MMS...Sent folder
Same for Drafts
Finally delete the SMS-Chat folder and you're done
message date/time stamp
Did the date/time stamp on your messages get preserved? On my device all the messages are labeled today's date with the time i ran SMS-chat for the first time.
This defeats the purpose of threaded messages as all of them are organized by time and they all have the same time.
I asked this in another tread. I was wondering what thoughts were here.
Is there a reason why non of these chat programs (other than palm) integrate with the phone as a default? In other words how come developers are not making the program so that when I hit messages that sms-chat starts?
davehutch said:
...in your Messages app.
Normally txts go into your SMS/MMS...Inbox.
After SMS-Chat installs, more folders are created.
Move them out of the SMS-Chat...Inbox and back into your SMS/MMS...Inbox
Move your SMS-Chat...Sent itmes back into your SMS/MMS...Sent folder
Same for Drafts
Finally delete the SMS-Chat folder and you're done
Click to expand...
Click to collapse
Thanks a million! You're a saint!!

Emoticons Help

Can someone let me know how you put these in an sms message please?
Thanks in advance
I would also like to know if that is possible, so if any one knows any thing about that please help.
On the text page press menu at the bottom right, insert/picture video/mydocuments/uacontents/emoticon all done.
Hope that helps.
Thank you....
I think what we meant is how to insert an emoticon in line with the text message. The tip above merely creates a Picture message, with the emoticon as the main picture, which is daft.
bloob said:
I think what we meant is how to insert an emoticon in line with the text message. The tip above merely creates a Picture message, with the emoticon as the main picture, which is daft.
Click to expand...
Click to collapse
That is what I am after. I know my old C902 all you had to do was press the full stop twice and then scroll thye emoticons....
why don't you use Smiley SMS? It works perfect. incl. animated smileys'.
Just google it, its free. (version 1.68 is the latest.
Steven
Steven13 said:
why don't you use Smiley SMS? It works perfect. incl. animated smileys'.
Just google it, its free. (version 1.68 is the latest.
Steven
Click to expand...
Click to collapse
I will give that a go...
http://forum.xda-developers.com/showthread.php?t=328363
There is no way to have them by default in WM, but take a look here http://forum.xda-developers.com/showthread.php?t=328363
Or you could just alter the texts in your templates to smileys. They will show up as icons on phones that support smileys.

Screen On when SMS recieved

On friday my trusty MPV M3100 decided to give up the ghost, so as I was in London I decided to look for a new phone and picked up an Touch Diamond 2.
And I have to say; I love it.
Best phone I've had and even the lack of a hardware keyboard hasn't bothered me.
There is only one thing which has caused me some bother; on all my previous phones when an sms/mms has been recieved the screen will turn on for a while to alert me of this, however I can't find a way to do the same thing with the TD2.
The reason I would like this is down to me mostly leaving my phone on silent but in line of sight. The silent factor is because I'm often doing things with headphones on (such as at work) and I'm not going to hear the tone anyways.
So, while the green light is nice and all being able to have the screen turn on as an option would be nice..
As a coder by trade I've been poking around to see what I could do to let me do this myself, however if someone has a better solution or knows of an app which can already do it then I'd appricate it if they could tell me
There is a setting in:
All Settings->Personal->Sounds & Notifications->Notifications
Then select Messaging: New Text Message from the drop down list, and there is an option there "Flash Light For: x Minutes"
This might be what you're looking for?
thanks for the reply, however I'd already found that option and it only effects the green light which flashes when you get a messag; nice and stuble in keeping with the device but not what I'm after
Look for this registry value
HKLM\Drivers\BuiltIn\RIL\DisableSMSWakeUpEvent
It should be 1, set it to 0
ah, excellent, thanks
just curious what program you guys are using to edit registry values...
sorry if this is a stupid question, but i'm new to Windows Mobile.. up until the D2 i've always have symbian phones.
I just did a google for "win mobile reg editor" and installed PHM Regedit to do the job.
Although I'm going to write a quick app to let me toggle this particular setting I think (i'll probably post the resulting cab/exe here encased others want it)
I'm using Total Commander (I just started editing the registry). What do you guys use for making a CAB file?
oruam57 said:
Look for this registry value
HKLM\Drivers\BuiltIn\RIL\DisableSMSWakeUpEvent
It should be 1, set it to 0
Click to expand...
Click to collapse
Thank Oruam, great tweak.
I currently have the option selected to display a new sms message on screen as soon as it arrives, is it possible when i hit reply to get the device to go to the touch flow threaded messaging system rather than the WM6.1 default?
Thanks guys!
Is there any way to have it vibrate & play a sound, but not enable the touch screen? The reason I ask is that I dont want the screen to come on while it's in my pocket etc, and things start to get accidentally pressed!
Awesome! Thanks!
ormz said:
There is a setting in:
All Settings->Personal->Sounds & Notifications->Notifications
Then select Messaging: New Text Message from the drop down list, and there is an option there "Flash Light For: x Minutes"
This might be what you're looking for?
Click to expand...
Click to collapse
I'm sorry ormz.
I'm interesting for that option to have flash light blinking when sms/mail arrives, unfortunately I haven't got the option you mentioned into my settings referred to "new SMS".
I've got the original rom installed (italian version).
May I arrange same setting/option into register also if I haven't it on display?
Could someone help me?
lock the device:
"real lock" - press the hang button (the one on the right) until it shows unlock at the bottom left side
stand-by - press the power button only for 1 second and the screen will go off. When receiving a message, the screen stays black. To see menu-s again, press again power button for 1 second
someone could tell me how to make it works with email event?
You guys might check S2U2 found here: http://forum.xda-developers.com/showthread.php?t=527523
ormz said:
There is a setting in:
All Settings->Personal->Sounds & Notifications->Notifications
Then select Messaging: New Text Message from the drop down list, and there is an option there "Flash Light For: x Minutes"
This might be what you're looking for?
Click to expand...
Click to collapse
That option is grayed out. Anyone else?
Rarebreed said:
That option is grayed out. Anyone else?
Click to expand...
Click to collapse
Same here...
i have total commander and i cant find that path... i get //plugins, application, data, connmgr, doc and sett, my doc, program files, temp, trusted, windows.. looked in all the folders and even typed that address.. nothing..
martyzidek said:
i have total commander and i cant find that path... i get //plugins, application, data, connmgr, doc and sett, my doc, program files, temp, trusted, windows.. looked in all the folders and even typed that address.. nothing..
Click to expand...
Click to collapse
What are you looking for? Are you tryting to navigate to the registry through file explorer? If so, you need a reg editor to do that...
You know this is an old thread, right?
yeah i know its a old thread... i had a registor editor.. actually acouple. i found what i was looking for.. just didnt start with hkml.. thanks though for replying..

Change text size

Any way I can enlarge the text size? Ideally throughout all apps but especially in 'messaging' and the browser.
It's for a friend who has limited eyesight.
Many thanks.
SPARE PARTS
wow that was hard
Thanks man, just got it from marketplace but it doesn't work! It changes it for a moment but as soon as you click 'back' or 'home' it reverts to the usual text size...
Does anyone know of a way to make it 'stick'? Or an alternative application?
Thanks!
Iwould like to have this as well. Who developed "Spare Parts"?
You can find the author in 'market' ... it's too bad - I contacted him already, he just enabled an option that he found in the source by the sound of it, and doesn't know how it works. Can anyone help?

Viewing messages from Notifications bar...

On my old Touch Pro when you recieved a message whatever program you were using at the time if you clicked at the black bar at the top for notifications then on the view message icon it would display in a little bubble at the bottom of the screen overlayed ontop of the program you were using so you could quickly view the message and then minimize it an contiue what you were doing or click reply and it would enter you into text messaging. Is there anyway to enable this feature for HD2. Because I miss it!
Cheers
fillip said:
On my old Touch Pro when you recieved a message whatever program you were using at the time if you clicked at the black bar at the top for notifications then on the view message icon it would display in a little bubble at the bottom of the screen overlayed ontop of the program you were using so you could quickly view the message and then minimize it an contiue what you were doing or click reply and it would enter you into text messaging. Is there anyway to enable this feature for HD2. Because I miss it!
Cheers
Click to expand...
Click to collapse
have you recently flashed a rom? if so what back up program did you use to backup/restore PIM data? When i flashed my first rom i was using SPB Backup and when restoring PIM data, it would loose the bubble you talk about, I have since used PIM Backup and not had an issue.
Its always been like it, with first ROM, i upgraded to 1.66 and now im on 1.72, by the way big mistake! My phone is now slow as hell and doesnt send texts or recieve whether updates!
I assumed that it was the new stly of notifications menu and hoped there was a way to enable the other style?
fillip said:
Its always been like it, with first ROM, i upgraded to 1.66 and now im on 1.72, by the way big mistake! My phone is now slow as hell and doesnt send texts or recieve whether updates!
I assumed that it was the new stly of notifications menu and hoped there was a way to enable the other style?
Click to expand...
Click to collapse
Vodafone UK 1.72?
Also the delivery report always shows up in the bubble but messages it takes you bac to manila and then to the messages tab. Anybody else have messages opening in the bubble like djchubbs. And @ Popeyes_Rat yes Vodafone UK
fillip said:
Also the delivery report always shows up in the bubble but messages it takes you bac to manila and then to the messages tab. Anybody else have messages opening in the bubble like djchubbs. And @ Popeyes_Rat yes Vodafone UK
Click to expand...
Click to collapse
About to flash myself. I'll come back here if I get any problems.
Ok let me know ive found its not so bad now 1.72 I am currently on a personal record(this is not a joke this is the longest ive ever been able to run the phone without reseting) of 17hours 23minutes without needing to soft reset however i have had to do funny things to make that possible see here:http://forum.xda-developers.com/showthread.php?t=666458
Can anybody tell me if in any ROM version when u get a text in and click in the notifications menu it opens the message in a bubble at the bottom rather than taking u too messages tab??
Thanks
Anyone know how to display message in the pop up bubble from the notifications bar rather than sending you straight to the messages tab (useful for reading the message while in another program)???
Many thanks
Still after a way to get this working really want to be able to quickly read a message while in another prograam like i used to on my toch pro. Help would be appreciated thanks
fillip said:
Still after a way to get this working really want to be able to quickly read a message while in another prograam like i used to on my toch pro. Help would be appreciated thanks
Click to expand...
Click to collapse
Very easy: Start, Settings, Menu, More, Sounds and Notifications, Choose New Message from DropdownMenu, Check "Show Message", Done
Greets
If i am in the right place it is greyed out and doesnt let me check the box although for me to get there it is:
start/settings/menu/all settings/sounds & notifications/ then click notifications tab then select New Message from DropdownMenu but the "Display message on screen" is greyed out?
Thanks for the reply
Hmm strange maybe it is ROM-dependant...? Or there are other settings need to be made in order to use this option...? Which ROM are u using? Have you got BSBTweaks installed?
No i dont have bsb tweaks installed i dont like the way you cant reset to defaults, i do have hd2 tweaks installed though.Will bsb tweaks make it work? im running latest voda Rom 1.72.
fillip said:
No i dont have bsb tweaks installed i dont like the way you cant reset to defaults, i do have hd2 tweaks installed though.Will bsb tweaks make it work? im running latest voda Rom 1.72.
Click to expand...
Click to collapse
Actually i dont think that this has to do with BSB. I relly dont have an idea as the checkbox "Show Message" is a standard function of every windows mobile version Anybody else got an idea why the box is greyed out...?
I went searching through the registry and found keys which were in the NOTIFICATIONMGR bit which had a path linking to Messaging_Client which i guess is what directs it to the manilla messaging bit when you get a message. I tried deleting the path and deleting the values in the CMD bit but it still does the same. I restored the key after just incase it affected something else but presumably there is a key somewhere which controls whether or not you can click that check box but i have no idea where i would find it? Anyone know.

Categories

Resources