Sending messages from mobile to email using J2ME midlet

I am developing a J2ME application that will send messages directly to my email address. I have a problem in connecting to my email.
Please help me... if you have an idea or sample code please send it to my email...( [email protected] )
Thank you..
harlow

Hi..
Client in this case is "MIDlet app" will communicate through http://210.210.1.1/ReceivingServlet (or) http://test.sun.com/ReceivingServlet.
Using the above URL either user QueryString parameters/XML format to transfer what ever data u need from mobile device can be transfered over wire using GRPS connectivity and on receipt of the URL hit from the server side parse the data and store it in any database in this case its MYSQL.
Even there is no limitation proposed by the http querystring parameter we tested for more than 500-1000 records and its workin fine.
Apart from Socket/port we can choose http since its highly reliable and highly proven standards.
Feel free to seek for further clarifications.
with regds,
Senthil g.

Similar Messages

  • Sending Message from Topic1 to Topic2 using OSB proxy service

    Hi all,
    I have created a proxy service which listens to a topic and a business service which writes to a topic.
    In proxy service, in stage i have used publish action to call the business service.
    Through Test console if i test and able to write the message to Topic2.But, when i created a message in Topic1 from weblogic console i'm not able to send the message to Topic2.
    Am i missing any configuration in Topic?
    Please help.
    Thanks

    Thanks vlad and anuj for your replies.
    proxy service is listening to topic when i insert the message from other business service.
    If i directly enter the message in Topic from weblogic console it's not picking up the message.
    What can be the reason for this??
    I have one more doubt. can we call a asynchronous soa composite (BPEL) from OSB.Service callout specifies that it cannot invoke a one way process.Which component can we use to call a asynchronous process?
    Thanks.
    Edited by: 947423 on Jul 23, 2012 3:52 AM

  • Upload image from mobile device by using J2ME

    Dear all.
    I would like to upload the png image to the server.. but I don't know how to do. Is it possible to do so? what should I do?? anyone can help me????
    thanks all experts..~~!

    From Example using POST with HttpConnection in javax.microedition.io.HttpConnection:
        void postViaHttpConnection(String url) throws IOException {
            HttpConnection c = null;
            InputStream is = null;
            OutputStream os = null;
            int rc;
            try {
                c = (HttpConnection)Connector.open(url);
                // Set the request method and headers
                c.setRequestMethod(HttpConnection.POST);
                c.setRequestProperty("If-Modified-Since",
                    "29 Oct 1999 19:43:31 GMT");
                c.setRequestProperty("User-Agent",
                    "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                c.setRequestProperty("Content-Language", "en-US");
                // Getting the output stream may flush the headers
                os = c.openOutputStream();
                os.write("LIST games\n".getBytes()); // Replace with PNG bytes
                os.flush();           // Optional, getResponseCode will flush
                // Getting the response code will open the connection,
                // send the request, and read the HTTP response headers.
                // The headers are stored until requested.
                rc = c.getResponseCode();
                if (rc != HttpConnection.HTTP_OK) {
                    throw new IOException("HTTP response code: " + rc);
                is = c.openInputStream();
                // Get the ContentType
                String type = c.getType();
                processType(type);
                // Get the length and process the data
                int len = (int)c.getLength();
                if (len > 0) {
                     int actual = 0;
                     int bytesread = 0 ;
                     byte[] data = new byte[len];
                     while ((bytesread != len) && (actual != -1)) {
                        actual = is.read(data, bytesread, len - bytesread);
                        bytesread += actual;
                    process(data);
                } else {
                    int ch;
                    while ((ch = is.read()) != -1) {
                        process((byte)ch);
            } catch (ClassCastException e) {
                throw new IllegalArgumentException("Not an HTTP URL");
            } finally {
                if (is != null)
                    is.close();
                if (os != null)
                    os.close();
                if (c != null)
                    c.close();
        }

  • Why won't imessage send messages from my phone number? It jut uses my  email  address.

    Why won't I message send messages from my number? It keeps using my email address. I have signed in and out of my apple id several times but no luck, I have also restored my phone. Imessage says it is waiting for activation could this be the problem?

    Hi there,
    You may want to take a troubleshooting steps found in the article below.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    -Griff W.

  • Mail with multiple gmail accounts sending messages from wrong email, other than the one i select

    mail with multiple gmail accounts sending messages from wrong email, other than the one i select:
    i'm using mail on osx 10.7 with multiple gmail accounts. when i create an email, i check to be sure i'm sending/replying from the correct account. after i send it, somehow it actually sends it from a different account, other than the one i've selected "from." this is evidenced by the reply email i receive. how can i fix this?
    in preferences, i have "send new messages from : account of selected mailbox"

    From the Mail menu bar, select
              Mail ▹ Preferences...
    The Mail preference dialog opens. Select the Composing tab from the row of icons at the top. From the menu labeled
              Send new messages from:
    choose
              Account of selected mailbox
    Note that this setting may have no effect if you start a new message while a VIP or smart mailbox is selected in the mailbox list. Those are saved searches, not actual mailboxes.
    If the problem remains, select the Accounts tab in the preference dialog, then select the affected account in the list on the left.
    In the Account Information pane, select the correct server in the menu labeled
              Outgoing Mail Server (SMTP)
    If there's only one server in the menu, select
              Edit SMTP Server List...
    and add a new server with the correct settings. If you're not sure how to do that, try the Mail Settings Lookup.
    Another possibility is that the wrong card in your address book is selected as yours. Select your card in the Contacts application. Then select
              Card ▹ Make This My Card
    from the menu bar.

  • Why is my iphone sending messages from my email and not my number?

    My phone will send messages from my email rather than my number. I have gone to the settings to switch it to send just from my number. When i do that, it does not send. What do i do to fix this problem!?

    Hello therealdeal333,
    Thank you for participating in the Apple Support Communities.
    It sounds like you're only able to send iMessages using your Apple ID (email address) on your iPhone. If you're not able to send iMessages using your phone number, first try signing out of iMessage and FaceTime on your iPhone:
    Go to Settings > Messages > Send & Receive, tap your Apple ID, then tap Sign Out.
    Go to Settings > FaceTime, tap your Apple ID, then tap Sign Out.
    If you send iMessages from other devices (such as a Mac or iPad), sign out of those as well.
    Then sign back in on your iPhone:
    On your iPhone first, sign back in to iMessage and Facetime.
    Sign back in to iMessage and Facetime on your other devices (if necessary.)
    You can find the steps I quoted above, as well as more troubleshooting help, at this link:
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
    Best Regards,
    Jeremy

  • Can we use MIDP 1.0 to send SMS from mobile phone to server

    hello,
    I want to develop MIDlet which send sms from mobile phone to server
    using midp 1.0
    and also if any one knows about the mobile phone which suppoet midp 1.0 (java enabled) then tell me
    thanks in advance
    s.j.koradiya

    hi,
    SMS API(WMA) is an optional package. It is not a MIDP1.0 or MIDP2.0 api's.
    There are phones which has WMA api with MIDP1.0 support .... Nokia 3650
    Seimens has some phone with their own api's to send sms.Check out seimens site for more info
    BTW, What do you mean buy sending SMS to Server????
    If you want to send message to server you can do it with Http.
    HTH
    phani

  • How do I get my iPhone 4s to send messages from my phone number, NOT email.

    My iPhone 4s is sending messages from my email, not phone number (and I want it to
    send from my phone number). I looked all over the internet and nothing I tried worked.
    Please help it would be much appreciated.

    iOS: Using Messages

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

  • I recently lost my iPod and ive been using find my iPhone to send messages to it, my email instantly tells me that it had been displayed or it suonded off however it doesn't find it's current location. you guys think this app actually works??

    i recently lost my 3rd Gen iPod and ive been using find my iPhone to send messages to it, my email then instantly tells me that it had been displayed or it suonded off however it doesn't find the iPod's current location. you guys think this app actually works? i feel like my alerts are just bouncing back at me. please help. Thanks!

    ... AFAIC Location Services is a joke.
    With both devices sitting side by side on my kitchen table, Location Services has NEVER shown the devices to be any where close to each other, and at times Location Services has been as much as a 1/4 of a mile off between the two devices.
    Your iPod Touch has no GPS receiver so determining its location relies upon wireless routers whose location is known. Its "location" is actually that of a wireless router. Your iPhone 4 can use GPS, cellular triangulation, and Wi-Fi. One would think GPS would be most accurate but urban areas have a greater density of cells and GPS signals are easily obstructed so cellular triangulation is often more accurate.
    Therefore the two devices' locations can be expected to be different. Differences of a quarter mile are easily explained if you understand how location services works: http://support.apple.com/kb/HT1975
    Skyhook Wireless (I think Apple uses its own database now): http://www.skyhookwireless.com/howitworks/
    Location Services is not a "joke"; its intended use is for basic navigation and for such applications as determining where the nearest restaurant is. It cannot tell you that your iPod is under the couch cushions and that your iPhone is in the car.

  • My iphone is sending message from my email and not my number. how do i change this?

    My IPhone is sending messages from my email and not my number. how do i change this?
    Thankyou

    is something which imessage does to safe you money so when you send an sms while having a internet connection it send it across the Internet because thats free vs. a sms which cost pr send sms

  • After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    In your Uninstall a program control panel, uninstall the MobileMe control panel for Windows.

  • My txt message settings recently changed to send txts from my Mac email rather than my phone# and there doesn't seem to be a way to change the settings back. The phone# in receive at screen is under intensified so unselectable. Any suggestions?

    My txt message settings recently changed to send txts from my Mac email rather than my phone# and there doesn't seem to be a way to change the settings back. The phone# in receive at screen is under intensified so unselectable. Any suggestions?

    After reading what you have posted, I checked my iPhone 4S. When looking at messages in settings, my receive at has 2 addresses, my phone number and my Apple ID email address. The phone number is "under intensified" as you describe it. Checking the Caller ID, it shows my phone number and Apple ID email. The phone number is checked. This all seems to be the same as you describe yours. My text messages are all working as they always have, and they are showing as coming from my phone number. Both to people that I iMessage with and people that I can only text with. I'm not sure why you say texts are being sent from your Mac email. Did someone receive a text that shows the email as the return address?

  • Suddenly cannot send messages from ipad. Can send from iPhone and they show up on messages but when sending from ipad a they say not delivered

    Suddenly cannot send messages from ipad. Can send from iPhone and they show up on messages but when sending from ipad a they say not delivered

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Modify Calendar item gives "You don't have the permissions requied to send messages from this mailbox" .

     Situation:
    -Customer has taken over an existing company.
    -New users where created in the domain.
    -Mail accounts where created and the .pst's imported.
    -Everything fine so far.
    Problem:
    When a user tries to edit a calendar item created in the past the message "You don't have the permission required to send messages from this mailbox" appears. After that the item is changed in the users calendar who edited the item but not in the
    other users calendar who where also invited.
    Everything works fine when a new calendar item is generated.
    Cannot find anything on this.
    Please help!!

    Hi,
    According to your description, I understand that you create a new mailbox for a user and imported Calendar items to this mailbox by using PST file.
    If that is the case, the calendar items which are imported should be created by other user. It is just imported in this mailbox. Please check whether the original mailbox which these calendar items created on is still existed in Exchange server or not. Then
    check the calendar items in the original mailbox.
    Additionally, if the original user is still existed in your AD or exchange server, please assign Send As permission for the new user to this mailbox to have a try.
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

Maybe you are looking for

  • Restore power mac g5 from time machine

    i have a power mac g5 that i'd upgraded to 10.5 leopard and backed up on my time capsule. the hard drive died & i replaced it. i reloaded the os from the only disk i could find - a 10.3 panther install disk. unfortunately i don't think panther suppor

  • Intra company STO for product under consigment from vendor

    Hi I know in 4.5 we were unable to transfer inventory under vendor consignment between plants using an STO. This was driven by the STO having item category U and consignment needing item category K. It looks like this also remains true in ECC 6.0 but

  • Move CC from Win 7 laptop to Surface Pro 3 Win 8.1

    Hello all, I subscribe to the full CC and I am going to be moving files from a Win 7 laptop to a Win 8.1 Surface Pro 3 in the next week or so and I was wondering...The laptop is my secondary or mobile production machine and it's also used in training

  • Please help: Nokia file open error

    Hi! I wrote an application. It's opening text files from resource directory. I use getClassAsResource or something like that..... The app. running excellent on every phone, only on Nokia doesn't works. Please help!! What's the different??? Thank you!

  • Extend org unit of materials

    Hi, I have an issue I have created material Ex 32 in combination of plant xu01 and storage location xu01. Now my requirement is to extend this to plant zu01 and storage location zu01. can any one give an idea. Regards Sasi