I am developing an Android app where I need to show a list of contacts and specify if they are part of the app's network. However, my goal is to only display valid contacts while excluding unwanted ones such as toll-free numbers or data balance check services. Ideally, I would like to focus on showing contacts who are smart phone users only.
To achieve this, I am currently filtering out unwanted contacts based on certain rules such as: 1) Excluding numbers starting with 1-800.. 2) Ensuring that the formatted number is exactly 10 digits
My questions are: Q1. Is there a more efficient method to accomplish this task? Q2. What are some effective rules that can be implemented for this purpose?