Monday, February 24, 2014
How to use other programs defined ContentProvider?
CONTENT_URI and will be used to define the data columns, but how to import these definitions in the new program, is not very clear.
Internet has not been found.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
The other program is the system-supplied or provided by third parties? There are specific apk it
System, then okay, the Internet has uri
Third parties have checked the hard
Reply:
No, I'm doing a program ServerExample custom ContentProvider, which he is to be taken from the data.
I opened another project ClientExample, would not visit this custom ContentProvider.
Client ClientExample, defined CONTENT_URI do not know how to write?
public static final Uri CONTENT_URI = Uri.parse ("content :/ / com.example.serverexample / demo");
Reply:
To have access to, you have to serve in that end of it uri written in Android ... xml file. Provide other programs to access data outside of this program
Reply:
Get, a lot of the results of the investigation data.
Reply:
I ask you how to get the
No comments:
Post a Comment