get phone number

Post your questions and help other users.

Moderator: Martin

Post Reply
vamzicool
Posts: 67
Joined: 29 Dec 2014 17:47

get phone number

Post by vamzicool » 11 Mar 2016 08:00

Is there a way to get the mobile phone number (not the sim number) using automagic. Init variable phone info does not provide that variable. I want to create a flow that will send sms to my family/friends number when someone puts another sim into my phone( in case of theft). Kindly help... :idea:

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: get phone number

Post by Martin » 11 Mar 2016 19:03

Hi,

Do you want to get your own phone number or the phone number of a family member?
You could write the phone number directly into the action or store it in a global variable and use the variable in a flow.
It's also possible to query the contacts database with action Query Content Provider to get the phone numbers. Use example 'Phone number by contact name' as a starting point.

Regards,
Martin

Post Reply