service与activity交互的方式有多种,这里说说使用Messenger来实现两者之间的交互. Service程序 public class MessengerService extends Service { final Messenger mMessenger = new Messenger(new IncomingHandler()); @Override public IBinder onBind(Intent intent) { return mMessenger.getBin
In this article you will learn how to call webservices hosted on asp.net applications from flex. First rewrite webservice class as CYMService: package Services { import mx.controls.Alert; import mx.managers.CursorManager; import mx.rpc.AbstractOperat