Forums Register Login

Does anyone has the example of Content Provider

+Pie Number of slices to send: Send
Does anyone have the simple code for content provider to use with database.
Code snippets with Manifest are welcome.


[AG: The problem boils down to Storing images in DB, another topic on same problem, closing this one]
+Pie Number of slices to send: Send
search in google you will get many examples like this
+Pie Number of slices to send: Send
If you have android installed on your system, go to {installation_dir}\platforms\android-x.x\sample\SearchableDictionary application, this is a sample application which uses a Content Provider and database.

[Edit] The dictionary project is also available online here or you can see the Notepad Sample App...
+Pie Number of slices to send: Send
Actually I wanted how to store the image using content provider I have tried the example they gave on developer.android.com
But there you have to use Media class.
I want to store in my own database which I have created and has the fields like string , integer.

Not able to understand the issue on androids official portal.
Here's the link.
Android issue

Thanks in advance.
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


Reply locked
This thread has been viewed 3217 times.
Similar Threads
what does this do?
Encrypting Password in Database
how to get distinct raw contact id
It is possible to start another session within the pages?
Unicode problem with Reading XML with utf-8 content into Unicode database
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:14:08.