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 7927711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:27:58+00:00 2026-06-03T19:27:58+00:00

I have an application to send SMS with J2ME, I generate a JAR file

  • 0

I have an application to send SMS with J2ME, I generate a JAR file and a signed JAD file, I can install and run my app with the JAR file, but I get the “untrusted midlet” message, and I can’t send sms, when I try I get this exception : wma : open denied.

And when I try to install the app with the JAD file, i get the error message “authentication failed”, this file is created with netbeans, and this is its content:

MIDlet-1: smsapp,/res/smsapp.png,ptfs.smsapp
MIDlet-Certificate-1-1: MIIBmzCCAQSgAwIBAgIET6fZJzANBgkqh.....
MIDlet-Jar-RSA-SHA1: Pd68O3nDyskfRQHeAo......
MIDlet-Jar-Size: 765890
MIDlet-Jar-URL: smsapp.jar
MIDlet-Name: smsapp
MIDlet-Permissions: javax.wireless.messaging.sms.send
MIDlet-Vendor: Vendor
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0

and this is my code to send the sms :

MessageConnection mc;
String addr = "sms://6666";
try{
   mc = (MessageConnection)Connector.open(addr);
}catch(Exception e){
   return;
}
try{
   TextMessage textmessage = (TextMessage)mc.newMessage(MessageConnection.TEXT_MESSAGE);
   textmessage.setAddress(addr);
   textmessage.setPayloadText(smsContent.getText());
   mc.send(textmessage);
}catch(Exception e){
   return;
}
try{
   if(mc != null)
       mc.close();
}catch(Exception e){
}

I am using the LG VU cell phone.

  • 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-06-03T19:28:00+00:00Added an answer on June 3, 2026 at 7:28 pm

    Rather than using NetBeans to sign it, use the free service @ http://www.j2start.com/p/sign-your-midlet.html, where you can sign it with a certificate that will be accepted by the phone.

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

Sidebar

Related Questions

I have a client that wants the application to be able to send SMS
I'm trying to have a console application to send a XML file to a
I have to generate some files in my asp.net web application and send it
Can some one please guide me how to send sms from an android application
I have an account in a website by which I can send sms to
I have an .aspx page. User will send an SMS in the application. For
I want to write application to send sms via COM port. Currently I have
I'm writing some sms application for android and i have a problem. I send
I am developing an Android based application in which I have to send SMS
I have to send sms periodically through my android application to a certain group

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.