JAVA PROGRAM FOR IPHONE: UNEXPECTED EXCEPTION ERROR

Asked By 30 points N/A Posted on -
qa-featured

Hi!

I have written a Java program for iPhone with the help of HTML tags. I have completed writing an executable file. The file must run when clicked, however, there is an error came up. The error is about “UNEXPECTED EXCEPTION”.  Please enlighten me on this matter. Any ideas will be accepted.

Thank you!

More Information
Error: Unexpected exception: java.lang.reflect.InvocationTargatException
Launch File
<?xml version = "1.0" encoding = "utf-8"?>
<! – JNLP File for the SocketClient Application – >
<jnlp
href="TwoFrame.jnlp">
<information>
<title>Frames</title>
<vendor>Shivesh Pathak</vendor>
<offline-allowed/>
</information>
<resources>
                      <j2se version = "1.6"/>
                      <jar href = "TwoFrame.jar"/>
                      </resources>
                      <application-desc main-class = "TwoFrame">

 

SHARE
Answered By 20 points N/A #149508

JAVA PROGRAM FOR IPHONE: UNEXPECTED EXCEPTION ERROR

qa-featured

Hi, you can build iPhone app using Html, CSS, and JavaScript by following these steps.

1.   Create your iPhone app  and JavaScript.

2.  Upload your app to the PhoneGapBuildService.

3.  Download and install Titanium Appcelerator

If you have already followed these 3 important  steps. Maybe the restriction is the reason why there is an error, but it can be overcome by jail breaking and terminal installed. But your iPhone is prone to computer viruses  however only few cases reported. iPhone SIM carriers also restricted  (for postpaid subscribers) the use of some aspect of iPhone, but  it can be open, when you  finish the contract with the provider.  Maybe the slow internet connection is the cause too of the error. Or maybe Java is not updated to the latest version. You may also refer to this link for troubleshooting your iPhone:

https://support.apple.com/en-ph/HT201398

 

Related Questions