I have read the documentation on Android
I also find a suitable example for no use Is of
According to the documentation, a method is Then in my code I executed I do: But it always gives returns Further research indicates an (alleged) discrepancy in the contract where Reseller has Uri Logic No equivalent PROVIDER parameter: m The Zhe not clearly understand what can someone tell me in the right direction? The next research indicates an inconsistency of the contract where in the resolution There is not an uri argument with a equivalent PROVIDER parameter in the same way he has written it. To identify Provider method does not allow override annotation Yes, it does, as you can see: However, your build target (e.g., Eclipse, Project & gt; Property & gt; Android) must be set to API level 11 or higher. The related Yes I have a method in the provider that has been declared 'public', which has been passed in the content 'logic' method. It is not how it works. call , which is inadequate when the standard provider provider methods can be used as a way to gain access to custom provider methods:
Call the last bundle call (URI Yuri, string method, string ARG, bundle extras) provider-defined method
getContentResolver (). Call (Yuri, Law, RGR, Xtra);
zero bundle In fact, provider The method is never called
Call bundle call (string method, string ARG, bundle extras) provider-defining method
URI just
ContentProvider -
ContentProvider , he knows who is and why it is sent to
URI .
@ Override public bundle call (string method, string arg, bundle extras) {if (SET_KEY_METHOD.equals (method) & amp; amp; arg! = Null} {key = arg; } Return (empty); }
call () looks like this:
getContentResolver (). Call (Provider Specialist CONTENT_URI, Provider SET_KEY_METHOD, "sekrit", null);
Call () at
ContentResolver call
call () on your
ContentProvider .
No comments:
Post a Comment