473,394 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ShortCode in j2me application

254 100+
i'm going to send sms to a shortcode in India through my phone midlet.

i'm not sure whether i need to put the "+" sign or not , but here is my code:

Expand|Select|Wrap|Line Numbers
  1.  
  2. String addr = "sms://+55111";  
  3.  
  4. // OR
  5.  
  6. String addr2 = "sms://55111";
  7.  
  8.  
which line is correct ?


pls give some advice ASAP..
thanks
from
Nick
Nov 16 '07 #1
4 2411
markmcgookin
648 Expert 512MB
i'm going to send sms to a shortcode in India through my phone midlet.

i'm not sure whether i need to put the "+" sign or not , but here is my code:

Expand|Select|Wrap|Line Numbers
  1.  
  2. String addr = "sms://+55111";  
  3.  
  4. // OR
  5.  
  6. String addr2 = "sms://55111";
  7.  
  8.  
which line is correct ?


pls give some advice ASAP..
thanks
from
Nick
I'm not 100% sure but I think you need the "+" as the whole string is sent to the SMS app.
Nov 16 '07 #2
RedSon
5,000 Expert 4TB
it should be a simple test, try one and if it doesnt work try the other...
Nov 16 '07 #3
nickyeng
254 100+
it should be a simple test, try one and if it doesnt work try the other...
i can't try it in my local country(malaysia) because the shortcode is from India and my boss is going to India to deploy the system there, and i'm not going with him so there is no chance to test.
Nov 19 '07 #4
r035198x
13,262 8TB
i can't try it in my local country(malaysia) because the shortcode is from India and my boss is going to India to deploy the system there, and i'm not going with him so there is no chance to test.
In our country when putting a phone number together with the country zip, either you put the + or prepend the country code with 00.
I know it doesn't make it a worldwide rule ...
Nov 19 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Todd Christy | last post by:
I am building a J2ME application for a BlackBerry handheld device. This application connects to an IIS server via HTTP to execute remote ASPX-based services that collect and return data. We are...
0
by: Dave Rathnow | last post by:
We are looking at using J2ME in a embedded device that will be deployed in an industrial application and I've been doing some research to see how practical J2ME would be for our application. Most...
1
by: Sveta | last post by:
Hi, all! I am new with J2ME. I have application that has form with 2 commands (exit and select). All UI uses are high level API, and it is very important to leave it high-level. This...
3
by: pei_world | last post by:
I am doing a project with Client/Server. on the server I have C# Windows application on the Client I want to use J2ME, //============ question is if it is possible to make them communication...
0
by: Tomek | last post by:
Welcome. I`m trying to prepere some project that shows how to use Corba technology i heterogenic systems.I`d like to create CORBA server with Borland Delphi (or C#.NET) and few client...
2
by: mayankcdac | last post by:
Hi i am a new guy in j2me field i am working in j2me gaming but i want to switch from gaming to application. i am facing some problems to build j2me application can any one give me any source code(...
3
by: nickyeng | last post by:
I have a j2me application which will be tested on motorola and sony ericsson phone. the j2me application will loads a image PNG format 6.36kb in size and length is 146x38 pixels ON startup for...
0
by: news.xs4all.nl | last post by:
Hello, For my study I have some questions about Java J2ME: 1. Is it possible to develop a J2ME (CLDC/ MIDP) application, which has a direct connection to a Oracle database? 2. Is there a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.