public void onClick(View button_one)
{
new Thread(new Runnable()
{
public void run()
{
final SoapObject request;
request.post(new Runnable() // THIS post over HERE !!!
{
public void run()
{
request = new SoapObject(NAMESPACE, METHOD_NAME);
}
});
}
}).start();
}
问题:帖子带有下划线,eclipse的解决方案如下,但这会产生大量新问题
-The method post(new Runnable(){}) is undefined for the type SoapObject
另外,这会成功运行吗?还是我做错了什么????