I think it's because the method uses an *@hide* annotation.


So, I think you have to use Reflection to call it.


Thanks.



On Monday, April 22, 2013 9:39:33 PM UTC-5, [email protected] wrote:
>
> I am trying to get the number of voicemails on an Android using 
> TelephonyManager, seems it should be easy enough using the 
> getVoiceMessageCount() nethod (not documented but its in the source code!  
> But I get an error saying there is no such method ;-( 
>
> any ideas?
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to