public static void add_vote_location_User_ID(Context context, int Vote_ID, String User_ID) { String Event_ID = Event_Helper.details[Table_Events.Event_ID_num]; add_vote_location_User_ID_MySQL(Event_ID, Vote_ID, User_ID); add_vote_location_User_ID_ServerSQL(context, Event_ID, Vote_ID, User_ID); // Send message to all users. String message = Constants.Insert_Vote_Location + "|" + Event_ID + "^" + Vote_ID + "^" + User_ID; Send_Message_To_All_My_Friend_By_Event_ServerSQL(context, Event_ID, message); }