Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

android - how to start conference call programatically -


i creating app depend on parent child relationship, in when child got call particular no, should changed in conference call parent automatically. possible?

i read class com.android.internal.telephony.gsm.gsmphone
can functionality. not getting class directly. please me this. got call incoming call receiver.

you cannot application. com.android.internal.telephony.gsm.gsmphone internal class , cannot access it. can try instantiate using java reflection, exception. can set phone state listener etc. application or can intercept out going call receiving broadcast "new_outgoing_call". try this, not work :-)

try {             final class<?> classphonefactory = classloader                     .loadclass("com.android.internal.telephony.phonefactory");             class.forname("com.android.internal.telephony.phonefactory");              // object objphonefactory = classphonefactory.newinstance();                method method_getdefaultphone;             method_getdefaultphone = classphonefactory                     .getdeclaredmethod("getgsmphone");             method_getdefaultphone.setaccessible(true);             object phoneproxyinstance = method_getdefaultphone.invoke(null, null);              if (null == phoneproxyinstance) {                 log.i("callactivity", "exception!");             } else {                 log.i("callactivity", "got phoneproxyinstance!");             }          } catch (classnotfoundexception e) {             log.e("callactivity", "phonefactory", e);             e.printstacktrace();         } catch (nosuchmethodexception e) {             // todo auto-generated catch block             e.printstacktrace();         } catch (illegalargumentexception e) {             // todo auto-generated catch block             e.printstacktrace();         } catch (illegalaccessexception e) {             // todo auto-generated catch block             e.printstacktrace();         } catch (invocationtargetexception e) {             // todo auto-generated catch block             e.printstacktrace();         } 

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -