• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Class File Editor; source not found; change attached source

krishna.c

Newbie
Hello,

In the following program, the debugger enters and exits the lines in bold. Why doesn't it step-on to the proceeding lines? Instead, it throws the following message:

Class File Editor

Source not found
-----------------
The source attachment does not contain the source for the file Instrumentation.class. (What is this Instrumentation.class?)

Change Attached source (button)


__________________________________________________________
package com.hascode.tutorial.soap;

import javax.jws.WebMethod;
import javax.jws.WebService;

import android.app.Activity;
import android.os.Bundle;

public class testWSActivity extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}


@WebService
public class testWS extends testWSActivity{
@WebMethod(operationName = "getInfo")
public String getInformation() {
return "hasCode.com";
}

public String doubleString(String inString) {
return inString + inString;
}

}

}
 
I had the same problem and i soled it in this way. The activity I was trying to invoke was not defined in the androidmanifest.xml.
Good luck
 
Back
Top Bottom