File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Not Registering -4 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Not Registering -4" Watch "Not Registering -4" New topic
Author

Not Registering -4

Karuna chauhan
Greenhorn

Joined: Oct 11, 2007
Posts: 13

Hello,

I'm beginner to android, I'm trying to make a small application for making calls (on press of a 'Back button') from my SIP account to mobile number with the help of a "SIP Demo" and documentation provided on "developer.android.com/" website. After following all the necessary steps of registering with the server I'm facing error of "Not Registering" (Error Code is -4 ) and "no data connection" (Error Code -10) alternatively while registration process on a button click.

Kindly correct me for all my mistakes in the code...

Here's the code below:

Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6720

You'll have to narrow down that exception to a particular line/block in your code. Posting the entire (long) code and asking for help doesn't usually work.

[My Blog] [JavaRanch Journal]
Karuna chauhan
Greenhorn

Joined: Oct 11, 2007
Posts: 13

I guess you right Jaikiran...because the code was really lengthy to post...now i'll try to make it clear and brief here -

In my application, I am registring with the SIP Server and after registration making an 'Outgoing Call' to any random number on press of 'Back Button'. Registration has been done successfully but not getting any response while calling to the number (except the dialer window is displayed).

Here's my code below for making call on 'Back Press' ...hoping to get the reason and solution for this issue -



Thanks in advance!!
 
IntelliJ Java IDE
 
subject: Not Registering -4
 
Threads others viewed
how to get progress bar after selecting a view
android uncaught handler: thread main exiting due to uncaught exception
how to add a google search option
how to transfer images to ftp server in android
Problem in Obtaining Location using GPS
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture