Bayesian Spam Detection Framework on Mobile Device