android send intent to specific contact (whatsapp, sms, hike, etc.) -
i have implemented app in can pick contact , list custom information contact in tablelayout. in each row of tablelayout have column (button) should send message specific user using sms, whatapp, hike, etc. on click event, action_send intent should open instead having pick contact want put contact or contact id not have choose contact list in whatsapp/sms/hike intent. possible or have implement send picker on own , start specific intent each app?
cheers magnus
you have implement send action different messaging apps hike whatsapp hike etc. can't tell these apps send message specific contact database protected.
reason
- you never know contact has id in these apps may "foo" can else in whatsapp database.
so have put data , package name.
hike - com.bsb.hike whatsapp - com.whatsapp intent i=new intent(); i.setpackagename(""); startactivity(i);
hope helps.
Comments
Post a Comment