I have check the thread running but i cant get where s the problem
hai there
this s the code in which i m getting this warning, can you tell what s the problem with this
* Start creates the thread to do the MessageConnection receive
* text.
* It should return immediately to keep the dispatcher
* from hanging.
public void receiving() {
/** SMS connection to be read. */
String smsConnection = "sms://:" + smsPort;
System.out.println("smsConnection" +smsConnection);
/** Open the message connection. */
if (smsconn == null) {
try {
smsconn = (MessageConnection) Connector.open(smsConnection);
smsconn.setMessageListener(this);
} catch (IOException ioe) {
ioe.printStackTrace();
/** Initialize the text if we were started manually. */
connections = PushRegistry.listConnections(true);
if (connections == null || connections.length == 0) {
content.setString("Waiting for SMS on port " + smsPort + "...");
display.setCurrent(resumeScreen);
done = false;
thread = new Thread(this);
thread.start();
* Notification that a message arrived.
* @param conn the connection with messages available
public void notifyIncomingMessage(MessageConnection conn) {
if (thread == null) {
done = false;
thread = new Thread(this);
thread.start();
/** Message reading thread. */
public void run() {
/** Check for sms connection. */
try {
msg = smsconn.receive();
if (msg != null) {
senderAddress = msg.getAddress();
content.setTitle("From: " + senderAddress);
if (msg instanceof TextMessage) {
content.setString(((TextMessage)msg).getPayloadText());
} else {
StringBuffer buf = new StringBuffer();
byte[] data = ((BinaryMessage)msg).getPayloadData();
for (int i = 0; i < data.length; i++) {
int intData = (int)data & 0xFF;
if (intData < 0x10) {
buf.append("0");
buf.append(Integer.toHexString(intData));
buf.append(' ');
content.setString(buf.toString());
content.addCommand(replyCommand);
display.setCurrent(content);
} catch (IOException e) {
// e.printStackTrace();
thankz
Welcome to Apple Support Communities
It's possible that you meet hardware requirements, but OS X Mountain Lion is only compatible with some computer models. In the case of the MacBook, it requires a Late 2008 Aluminum or Early 2009 one. See > http://www.apple.com/osx/specs
Also, note that Mountain Lion requires 2 GB of memory, so if your Mac model is supported, open > About this Mac, and see if you have 2 GB or more of RAM
Similar Messages
-
I updated to iOS 7 but now that I am using my iphone, all my apps are gone. everything else has been recovered from i could except my apps. I have my apps backed up but i cant get them restored.
Right click on the .exe file and select run as admin. This will allow it to run all the processes it needs and should help it work. If the problem is not fixed you should try waiting till a new update, that often fixes ios issues.
On other problem could be a hardware issue, try a new cable and use it in a different USB socket. -
i have lost all my contacts from my iphone 3 gs,i have backup on my laptop,but i cant get to a previous back up with my contacts on
i have been sync once a week on my laptop,but when i go to back up it only shows the two today,and cant get a previous back up with the contacts on it,each time i hook up with usb lead to charge it also does a fresh back up
-
I can't get a capital c when I press the shift key, but I can get one with the with the caps lock key. Help
Hi
How its going?
I understand that you are not able to get the capital letter c.
I want you to change the keyboard and if you have got the warranty please replace at no charge.
Chetan -
My Deskjet990cse printer only prints the sample page but I cant get my resume to print.
My Deskjet990cse printer only prints the sample page but I cant get my resume to print.
Please read this post then provide some details. What operating system? Are there any error messages on the computer screen or blinking lights on the printer? What program are you using to print?
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
for some reason my new iphone 5s forgot my entry code
now i cant get in.
how do i fix this?
my entry code still works on my 4s
restoring the phone or restoring backup didnt work because both demand i change the icloud settings on my phone first, but i cant get in!
helpYou can log in to icloud.com on a computer and do what you need to do there.
-
I call a class using a Button but i cant get rid of the old page??
Hey,
I cant get rid off the current page when i want to go to the next page! this.dispose(); doesnt work because the class doesnt implement ActionListener!! This is the code that i have used:
JButton back = new JButton("BACK");
back.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
VowelmSound s = new VowelmSound();
s.setSize(Toolkit.getDefaultToolkit().getScreenSize());
s.show();
//this.dispose();
}); }); and this is the code for main
public static void main(String[] args)
{JFrame draw = new punjabidraw();
draw.setVisible(true);
}so was wondering if there was another method i could use to get rid of the old page?? repaint maybe???
Hope you can help
Kind Regards
RSH//this.dispose(); 'This' is a nameless ActionListener object. Can't be dispose()ed.
What do you want to dispose() really?
And, what is your punjabidraw class?
Save the currend page reference in a variable called, say, curPage, then do
curPage.dispose();in the event handler for the button. -
i got an ipod from a friend and i tryed to start it up and it is stuck on the connect to itunes screen, it wont even pop up on itunes it says i have to put in my password to continue but i cant because it is stuck please help me!!!!!!!
Disabled
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
i have the iphone 3GS and just updated to IOS 5 but now i cant do anything i cant get in my suff and i cant even unlock it
HELP!!!See if this Support Article offers any assistance for your issue...
Unable to Update or Restore
http://support.apple.com/kb/HT1808 -
I tried everything, including sll command
Ok, it sounds like you will need to start over - make sure you have a backup of your important files, pics, etc. because you have to erase the drive.
Once you have a backup, try this (it should work since you say the original system was Lion):
Press Command + Option + R keys while booting up or restarting - this will show you a rotating globe and you should be able to access Apple's servers. Once you're booted up and connected, choose to open Disk Utility and erase your entire hard drive. When that is finished, it should be ready to reinstall the original system. This will take a while because it has to download the whole thing. Once you're finished with that, run Software Update. When that is finished, you can put back the files you backed up.
After you make sure that everything is working, then you can download Mavericks or Mountain Lion - whichever one you want. -
I need to download my Acrobat Export PDF pro, where could I do this? I can not find the link in (my account) as I have already renewed my annual subscription. PLEASE HELP
It isn't something you download. Sign on in Adobe Reader and the Export button just works.
-
downloading mac os x 10.6
Exactly how old is your Mac?
If it is an old PowerPC CPU Mac, then OS X 10.5.8 is the highest OS X version that can be installed on that Mac.
If your Mac is an older Intel CPU Mac, then you can install OS X 10.6 Snow Leopard on that Mac
To find out info about your system,
Click on the Apple symbol in the upper left of the OS X main menu bar. A drop down menu appears.
Click About this Mac. A smaller popup window appears. This gives you basic info like what version of OS X your iMac is running, the speed of your iMac's CPU and how much RAM is installed.
Click on the button that says More Info. A larger window appears giving you a complete overview of your iMac's hardware specs. Highlight all of this info and copy/paste all of this into another reply to this post, editing out your iMac's serial number before actually posting the reply.
This will tell us everything about your iMac so we may begin to help with your iMac issues. -
Ok so my phone is disabled and i can not connect my phone to itunes a get an error message. what can i do.
Connect in recovery mode and restore, you'll get the option to reset the passcode during this process:
iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software. -
i would really like help fixing it because it still has a 25$ itunes card
If the amount of the purchase is close to $21.07, then you need to take into account taxes may be added.
If you go beyond the credit from a gift card the balance will be billed to your credit card account. -
HT201441 In the activate ipad sceen and cant get ahold of the old owner what can i do
can somebody help me
If you deleted them from your iPad and iCloud, they are gone (unless you made a backup after you took the photos but before you deleted them.
Barry
Maybe you are looking for
-
Hi, following CIF errors occured to me, when i reactivated they disappeared but what could be the root cause of these errors. 1. sql error in the database when accessing a table (APO Inbound) 2. application error during release to livecache (APO inbo
-
Screen gets black when engaged in a call
I am having the same problem with blank screen when using the phone. Hasn't always done this, about one week. Would appreciate suggestions. Moderator's note: The subject was edited as the post was moved to the most appropriate board.
-
User defined packages in TOMCAT HELP PLEASE!!!!
Hello all, I am have created a package (foo). I then tried to import it into a jsp but TOMCAT say the package foo doesn't exist. I have stored the class file for the foo package in the same root directory with the jsp file. I have I stored the class
-
Where to download Safari for Iphone?
For some reason my Iphone doesn't have Safari!!! Where can I download it, I've looked everywhere. Really sorry if this is a stupid question but I'm pulling out my hair!!! Thx in advance
-
IDVD 6 PAL Video for use in an NTSC Country
Hi there, I am putting together a hello video for my girlfriend who lives in Canada. I am from the UK and the content was shot here. I made the movies in iMovie and then setup my DVD in iDVD. My question is this: The DVD I burned was in PAL format as