If you haven't already heard Sprint has denied access to the MMS service with PPC devices. We used to get around this by installing Arcsoft MMS but even that won't work anymore.
Since the only way to send MMS or PictureMail is through E-Mail I was wondering if it's possible to develop an application to make this an easier process. The application will ask for phone number or contact name, the carrier, the media to be sent, the subject, and the message. With all that information it'll compose an e-mail to [phonenumber]@[carrier'saddress].com
-- Edit --
no2chem is working on a workaround. see his post on ppcgeeks from more info.
http://forum.ppcgeeks.com/showthread.php?t=19122
A simple workaround...is to send the pic to urself...([email protected]) and once u receive it jus forward the url to people u wanna send it to. thaz wut they get anyway. that way you dont have to worry about different carrier mms addresses.
Others have a working MMS application installed through their carriers or none PPC Sprint phones. The beauty of MMS is the fact that it's so simple to send and retrieve the media. If it wasn't for that then we can just e-mail each other photos and skip the whole process.
this sounds like a great idea, until sprint lets us use it again, which i don't see happening
malibu_23 said:
A simple workaround...is to send the pic to urself...([email protected]) and once u receive it jus forward the url to people u wanna send it to. thaz wut they get anyway. that way you dont have to worry about different carrier mms addresses.
Click to expand...
Click to collapse
When you say send the pic to your self at [email protected] I am assuming you mean to your 10 digit phone #@sprint.pm.com
I sent a pic to myself via hotmail and I get the message returned to me...how did you do this?
you have the address wrong.
it's [email protected][B]pm.sprint.com[/B]
initial said:
you have the address wrong.
it's [email protected][B]pm.sprint.com[/B]
Click to expand...
Click to collapse
meh, im thinking about working on this. but believe me, i have a looooot of other things on my hands.
wouldn't be that hard though, a simple app where it just asks you the photo/audio/video you want to send and the destination number... and whisks it away....
no2chem said:
meh, im thinking about working on this. but believe me, i have a looooot of other things on my hands.
wouldn't be that hard though, a simple app where it just asks you the photo/audio/video you want to send and the destination number... and whisks it away....
Click to expand...
Click to collapse
Actually thats funny, because I have been working on this lol. Building the DB right now still. Do you happen to know of any third party MMS applications? Open source or the API's?
what language are you writing it in.. I would be more then Happy to help with the dev work.
I better start preparing to bow down to you guys if you crack this
fr0st said:
what language are you writing it in.. I would be more then Happy to help with the dev work.
Click to expand...
Click to collapse
Visual Basic
i developed a beta workaround,
see
http://forum.ppcgeeks.com/showthread.php?p=192013#post192013
COUNT ME IN.. I would rather c# but I would love to help. My roommate and I both are programmers and would love to assist? You looking for some help blue?
do you have any problems with sharing your code (which I am sure in in c++) no2chem
fr0st said:
do you have any problems with sharing your code (which I am sure in in c++) no2chem
Click to expand...
Click to collapse
Frost be more then happy. As I told u in pm my last post is still pending it will shed some nfo on this. NU said he wrote in C++ not sure if he is willing to help. As far as I go I haven't wrote C in 7yrs never took on ++ though there not far off.
NUC - I will go check out what you have.
Someone posted this
Someone over on the PPCGeeks forum posted this site:
http://pktpix.com/
Seems like it might be a workaround as well as no2chem's... Just like teleflip and other SMS Gateways, but this one is international (and free)...
fr0st said:
do you have any problems with sharing your code (which I am sure in in c++) no2chem
Click to expand...
Click to collapse
no problems really, but the code is very simple and is in c#...
c++ would have been too much time...
this code does nearly all the work...
OutlookSession os = new OutlookSession();
EmailAccount ea = os.EmailAccounts[0];
EmailMessage em = new EmailMessage();
em.BodyText = textBox1.Text;
em.To.Add(new Recipient(textBox2.Text + "@" + ((carrier)comboBox1.Items[comboBox1.SelectedIndex]).address));
em.Importance = Importance.Normal;
em.Sensitivity = Sensitivity.Normal;
if (imagename != null)
{
em.Attachments.Add(new Attachment(imagename));
}
ea.Send(em);
mapi.setAccountName(ea.Name);
if (mapi.forceSyncbyName())
{
MessageBox.Show("Message Sent");
}
else
{
MessageBox.Show("Forcing sync failed, message is in your outbox.");
}
Visual Basic, I could use help new to developing on a PPC platform.
This is the function. The idea is to build a small DB because most people only have a small group of people they MMS. Easily containable in a personal config. A DB of all the carriers MMS addresses on file where users also configure a parameter of numaric class carriers with exceptions for ported numbers. Look a little like this to give you a basic idea. Like local zone 850-532-XXXX = ATT and 850-543-XXX = Sprint.
User adds contact in send list. App verify value as.
Load contact in string as send_to but we will only load first 7 chars
Open DB config file
Load DB config file
If send_to is = to a char value in config we auto address sending address as textBox.Text = string_to + carrier match
Else
Prompt string carrier_db user selects a carrier from list load to string usr_carrier
Then textBox.Text = send_to + user_carrier
Write send_to+usr_carrier to DB config
call Send_btn
EndIf
Obviously more then 1 IF statement is needed lol just a concept idea so you know what I am doing. As well an exempt file is needed for ported numbers to reference before the DB carrier file is called. Then if number is not listed we can call an ElseIf statement to carry onto the above. The grab contacts reference is also still needed.
no2chem said:
no problems really, but the code is very simple and is in c#...
c++ would have been too much time...
this code does nearly all the work...
OutlookSession os = new OutlookSession();
EmailAccount ea = os.EmailAccounts[0];
EmailMessage em = new EmailMessage();
em.BodyText = textBox1.Text;
em.To.Add(new Recipient(textBox2.Text + "@" + ((carrier)comboBox1.Items[comboBox1.SelectedIndex]).address));
em.Importance = Importance.Normal;
em.Sensitivity = Sensitivity.Normal;
if (imagename != null)
{
em.Attachments.Add(new Attachment(imagename));
}
ea.Send(em);
mapi.setAccountName(ea.Name);
if (mapi.forceSyncbyName())
{
MessageBox.Show("Message Sent");
}
else
{
MessageBox.Show("Forcing sync failed, message is in your outbox.");
}
Click to expand...
Click to collapse
"EmailAccount ea = os.EmailAccounts[0];" So you change the 0 to whatever number the email account on your phone is right? 0 being outlook... and i'm guessing an autonumber from then on?
Also what namespaces and assembly references are you using?
fr0st said:
"EmailAccount ea = os.EmailAccounts[0];" So you change the 0 to whatever number the email account on your phone is right? 0 being outlook... and i'm guessing an autonumber from then on?
Also what namespaces and assembly references are you using?
Click to expand...
Click to collapse
well, that was code for the quick beta.
Microsoft.Windowsmobile namespace, look into it =) its quite nice.
EmailAccounts[0] would pick the first e-mail account, it only can use e-mail accounts in outlook. i used[0] as a quick hack and slash test, but now i let them choose which e-mail they want to use, , you would just enumerate thorugh all the email accounts,
foreach (EmailAccount ea in os.EmailAccounts)
{
....
}
static void Main()
{
if (!MessageInterceptor.IsApplicationLauncherEnabled("aPush"))
{
MessageInterceptor rule = new MessageInterceptor(InterceptionAction.NotifyAndDelete,false);
MessageCondition condition = new MessageCondition(MessageProperty.Body,
MessagePropertyComparisonType.Contains,
"NEW EMAIL jjj123", true);
rule.MessageCondition = condition;
rule.EnableApplicationLauncher("aPush", @"\Program Files\push\push.exe", "EventFired");
}
OutlookSession session = new OutlookSession();
Microsoft.WindowsMobile.PocketOutlook.MessagingApplication.Synchronize(session.EmailAccounts["asu.edu"]);
Application.Exit();
}
The application is successfully launched, syncs my email, and exits, but the SMS message still comes through after a short delay - what am I doing wrong?
I hae also noticed that all other pending sms messages are delayed until this one comes through too which can be up to a minute... What gives?
Hi All,
I have an app that based on certain conditions will add a new contact to the Contact db (Pocket Outlook). I can programatically add a new user without a problem however i'd like to use pocket outlooks Add/Edit contact dialog to do it so i don't have to duplicate that functionality.
I'm developing in C/C++.
Thanks for any help.
garthus said:
Hi All,
I have an app that based on certain conditions will add a new contact to the Contact db (Pocket Outlook). I can programatically add a new user without a problem however i'd like to use pocket outlooks Add/Edit contact dialog to do it so i don't have to duplicate that functionality.
I'm developing in C/C++.
Thanks for any help.
Click to expand...
Click to collapse
the easiest way I can think of would be to use POOM (google 'POOM API'). add a contact would be something like this:
Code:
if ( SUCCEEDED(m_pPOOMApp->CreateItem(olContactItem,
(IDispatch**)&pContact)) )
{
hr = pContact->Display();
if ( S_OK == hr )
pContact->Save();
}
More info here:
http://www.developer.com/ws/pc/article.php/10947_3519721_1
Hope this helps
It worked
Thanks that did it with some tweaking. If you want the user to give the option to edit you can't add any values to the pContact until after the call to pContact->Display
I'm trying to save a message ad draft. I know, its an undocumented API, but it would be nice to see the messaging in any application.
Here is the code
Code:
Uri drafts= Uri.parse("content://sms/draft");
values = new ContentValues();
values.put("body", "Draft Body");
values.put("type",3);
values.put("address","+1234567890");
long date = System.currentTimeMillis()-60000; //just to test
values.put("date", date - date % 1000);
values.put("read", 1);
//values.put("status", -1);
//values.put("seen", 0);
//values.put("modified", 1);
contentResolver.insert(drafts, values);
I'm testing on android 2.2 froyo and the message get saved but in the standard messaging application no label "Draft" is shown. as you try to reply you get a message with the same address but empty body. Now, when pressing the return button and you get back to the conversation list the message disappear.
-- in my LG Optimous One the type get changed to MMS, date is set to 1/jan/1970 and CANNOT BE DELETED!
-- in the emulator the message simply gets deleted.
I tried other apps for testing and none was successful in saving a draft on my phone: (ChompSMS, [SMSdroid], Handcent SMS, GO SMS). The draft they save is seen in the standard application but the same problem applies when opening the standar application.
-- In Android 2.1 using the emulator everything works like a charm!
I'm really unpleased to see that basic messaging functionalities are so problematic and NOT OFFICIALY SUPPORTED in Android.
Anyone experienced similar problems? Did you managed to solve this issue?
Best Regards,
Marco
I am creating an application where it will send a pre-prepared text to selected people at a push of a button. The reason for this is that I am a volunteer firefighter and most of us have pagers. Some of us do not have pagers since the department ran out and they are not in the budget to buy more right now.
Anyways, I have the basic layout that I would like set up.... And that's about it. I am used to javascript but that is a little different then Java. I am using the Eclipse program to code.
Here's my priorities to get working first:
-Have a message sent when button is pushed (message can be hard coded now so it works. would like to be able to edit it later)
-Be able to select contacts the message is sent to
Future wishes:
-Be able to add new messages
-Be able to edit messages
-Manage messages (mainly a list of the messages in scrollable list view)(popup for Edit|Delete)
Example Message:
(DEPT NAME) Alert:
Fire Alarm Activation
Time sent: 1830
Click to expand...
Click to collapse
So right now I need help with:
Adding the SMS service to send out the text message when the button is pressed
Selecting contacts to send the message to
Coding in the message
If you can find a guide on how to do that, it would be greatly appreciated. I am completely new to android programming so please don't bash me for something that may seem completely easy.
Thanks in advance for any help.
Probably a free app out there.
Why not just make a Contact with multiple phone numbers in it and create the text using default SMS app? If speed is of the essence, then pre-define some "codes" for certain events much like on a pager where you get a "911" from a caller.
And don't take this the wrong way because I know a few volunteers and appreciate their service because it is NOT "easy", but a PAGER? Haven't they gone the way of the floppy disk? LOL That's a damn tight budget there!
I have looked and haven't seen one that will fit my needs.
Speed is essence in this case because i want to be able to open up the app and then hit a button to send the text so I am not fiddling with my phone while driving to the station.
I have the basics of the program worked out. I have all the messages pre-set and sendable, but only to one person.
(for those looking for a guide on how to implement SMS messaging, this is a great one that shows you step by step: http://mobiforge.com/developing/story/sms-messaging-android)
I am now stuck on being able to send it to multiple people at the same time. Current code:
callStructureFire.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String msgText = "IHBVFD PAGE OUT:\nStructure Fire\nTimeout:"+formattedTime;
String contacts = "5556";
sendSMS(contacts, msgText);
}
});
Click to expand...
Click to collapse
(Red is where the numbers go. I am using Eclipses emulator's to test so i have 5554(main) 5556 and 5558 (testing for receiving messages))
When I try to do "String contacts = "5556, 5558(with and without the space)";", it will send the message to the first phone but not the second. On a real phone, it does not send the messages at all.
I also still need to implement a contact selection which I have been looking on google for a few hours now and cant find a guide on how to do it. What I would like to happen is when you press the phones menu button, it gives the option to manage the recipients (or even a group) and for that selection to stick even if I leave the app/restart the phone/whatever.
I really would like to get this all done by Thursday night so I can start using it.
No offense taken. The thing is that my department is strictly volunteer. We get about 100 calls a year so we do not have the call volume to get paid. Being strictly volunteer also means the the city does not charge taxes to the residents. We are really only funded by donations and fundraisers (which we do 2-3 a month). With pagers (Minitor IV) being around $140+ on ebay and then $30-50 for programming them... Yeah... It gets kinda pricy for 4 pagers lol.
Can anyone help me get multiple contacts working at least? Really want to have this done soon.
Skull, I am guessing your Communications center does not support any type of email or txt ripnruns for calls?
If either are supported, we use IamResponding.com and also CADPage (free on the market). Our center only sends emails but we have it getting parsed down to a compact format and resent as TXT. PM me if you want/need more info.
I cannot speak enough about both of these solutions!
Our dispatcher is our police dept. We have recently talked about IAmResponding within the dept but that got shot down by the officers because that's an extra 3-800 a year... And again, not everyone has pagers so they still wouldn't really know if we have a call. I am still trying to get them to do the 2 month trial. CADpage isn't supported in my county.
We have looked into those, but for now this program is the only option that I can see :/