Thanks for ur reply...i tried what u said ..i made a jar for whole
custom content povider and imported to my second application
but got
java.lang.NoClassDefFoundError:com.mypack.android.mycontentprovider.MyProvider
what might be the cause?
Thanks u
--
You received this message because you are
hi grace i solved the issue and my custom content provider is working
fine..but by importing content provider class to our application its
more or similar to write content provider in same application..what my
intentation is to create a content provider like contact content
provider so it can be
I think that if you do not enforce any permissions in your
ContentProvider, it is, by default, open to all applications that know
about it and wish to interact with it.
On Mar 11, 5:50 am, Musafir musafir4frie...@gmail.com wrote:
hi grace i solved the issue and my custom content provider is
The error stack trace indicates that you are using
com.mypack.android.mycontentprovider.MyProvider class directly in
com.mypack.android.appwidgetsettingstest.TestActivity where I assume
your second application is located.
You *cannot* import classes or reference classes that does not belong
to
hi,
the idea of moving the content provider on to some common library
seems quite reasonable.
but i have a doubt whether all the content providers (like
contacts,etc..) are implemented in the same way..
and moreover we do import them in our applications right?
can somebody shed some light on
hi friends,
i also have have doubt what grace asked. i want to know any frameowrk
change is required to add our custom content provider and to act like
inbuild content provider like (contact,settings,etc..)?
Regards
--
You received this message because you are subscribed to the Google
Groups
The regular content providers are just regular content providers. Their
protocol classes are in the framework, and of course you can't put yours
there, so you will need to compile a copy of yours into each app using it.
On Thu, Mar 11, 2010 at 9:21 PM, Musafir musafir4frie...@gmail.com wrote:
hi,
i have also got the same problem.
i have made a jar file of the content provider and imported in the
second application that is using this content provider.
don't know whether this is the correct approach,but things worked out
fine for me.
so u can also try it out ..
On Mar 9, 5:28 pm,
8 matches
Mail list logo