Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3454604
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:30:47+00:00 2026-05-18T09:30:47+00:00

HI I am trying to send sms in android 1.5 by breaking it in

  • 0

HI
I am trying to send sms in android 1.5 by breaking it in multiple parts as the message text exceeds 160 characters but the problem is that only first part of the sms is forwared. i.e. remaining messages are not sent and NullPointerException is generated.

for eg

original sms is “gaurav is a good boy”

SMS 1 : gaurav
SMS 2 : is a
SMS 3 : good boy

These sms are lying in a String array named smsArray[]
i am sending these these sms in a loop by calling sendTextMessage

‘for(int i=0;i<3;i++)
{

sendTextMessage(“9815798751”,null , smsArray[i],null,null);

}’

I have even tried to use sendMultiPartTextMessage()
but that does not help either.

Please Help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:30:48+00:00Added an answer on May 18, 2026 at 9:30 am

    HI
    I found the solution for the above question..
    Android 1.5 lets u send message with length of 68 chars.. if you are sending multi part message.
    so If you have to send multiple messages then keep the length of all ur messages 68 chars..

    Regards
    Gaurav Gupta

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to send ascii encoded message to a server. My problem is coming
I am trying to send sms programmatically from one android emulator to another on
I am trying to send a sms with smslib but It did not send
I am trying to make an Application, that is posible to send SMS, and
I'm trying to write a lookup method for determining a SMS message to send
I'm trying to intercept incoming SMS right after boot_completed but i'm having a problem
Trying to send a complex type between two systems that have the same code
I'm trying to send an email in Java but when I read the body
I am trying to send an email from a site I am building, but
i'm trying to send fake keyboard input to an application that's running in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.