C Cor Active Member Licensed User Longtime User Dec 28, 2010 #1 I like to act on a receiving sms, depending on the text message Will this be possible in one of the next phone updates? This will need the service lib, i think grCor
I like to act on a receiving sms, depending on the text message Will this be possible in one of the next phone updates? This will need the service lib, i think grCor
B bloxmedia Member Licensed User Dec 29, 2010 #3 Triple that, without it's not near to complete as a platform to program for Android susu said: In my wish list too! Click to expand...
Triple that, without it's not near to complete as a platform to program for Android susu said: In my wish list too! Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2010 #4 Support for reading stored Sms messages was added to the Phone library: http://www.b4x.com/forum/additional...phone-library-v1-25-reading-sms-messages.html While your application is active you can use a timer and check every minute or so for new messages (with SmsMessages.GetSinceDate). without it's not near to complete as a platform to program for Android Click to expand... It may surprise you but the Android API for accessing the SMS messages is not even formal nor documented. There are features that may sound trivial but are not such at all. In Windows Mobile for example it is not possible to retrieve stored messages with managed code at all.
Support for reading stored Sms messages was added to the Phone library: http://www.b4x.com/forum/additional...phone-library-v1-25-reading-sms-messages.html While your application is active you can use a timer and check every minute or so for new messages (with SmsMessages.GetSinceDate). without it's not near to complete as a platform to program for Android Click to expand... It may surprise you but the Android API for accessing the SMS messages is not even formal nor documented. There are features that may sound trivial but are not such at all. In Windows Mobile for example it is not possible to retrieve stored messages with managed code at all.
moster67 Expert Licensed User Longtime User Dec 29, 2010 #5 I can confirm that there are features of Android which are not documented. I was looking for a way to access the screen of the VPN-settings programatically and I finally found the way by using an intent but it was not documented in the SDK-documentation. I later found out that it was not documented due to restrictions in China which Google decided to adhere to. What regards reading incoming SMS-messages, it could be a similar issue but in this case due to privacy-concerns. I wouldn't like a program/service running in the background that without my knowledge is perhaps spying or forwarding my incoming SMS to someone else using the internet-connection of my Android. Just some thoughts....
I can confirm that there are features of Android which are not documented. I was looking for a way to access the screen of the VPN-settings programatically and I finally found the way by using an intent but it was not documented in the SDK-documentation. I later found out that it was not documented due to restrictions in China which Google decided to adhere to. What regards reading incoming SMS-messages, it could be a similar issue but in this case due to privacy-concerns. I wouldn't like a program/service running in the background that without my knowledge is perhaps spying or forwarding my incoming SMS to someone else using the internet-connection of my Android. Just some thoughts....
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2010 #6 It may well be the case here. Though a pedant user should see the READ_SMS permission when the program installs.
It may well be the case here. Though a pedant user should see the READ_SMS permission when the program installs.