The invention discloses an automatic payment method based on an Android system, which includes: application A, used to configure information on life payment items; application B, used to build auxiliary application projects; and further includes the following steps: S1, A application configures life payment Project information; S2, create B application project; S3, start the activity, set the excludeFromRecents field value to "true", start the B application, register the auxiliary service connection status broadcast, check whether the auxiliary service is enabled, and only execute the next step if it is enabled. If it is turned on, execute step S5; S4, guide the user to enable the auxiliary service, and inform the user that the auxiliary service can be switched on and off freely, and then proceed to the next step after opening; S5, detect the payment page of the application A, enter the life payment page as needed, query and pay .