Re: [android-developers] Re: Deleting An Application with ContentProvider Other Applications not working

2010-03-24 Thread Rajiv
Hi Kantesh,

Thanks for the reply.

Yes i have used the cursor in the following way:

  Uri allTitles = Uri.*parse*(com.sky.android.project.projectname/data
);

 Cursor c = managedQuery(allTitles, *null*, *null*, *null*, username
desc);
 c.close();

Regards
Rajiv

On Tue, Mar 23, 2010 at 10:23 PM, Kantesh kantesh@gmail.com wrote:

 hi,
 If u r using cursor, r closing after done with that?

 On Mar 23, 7:11 pm, Rajiv rajiv...@gmail.com wrote:
  Hi all
  I have a problem to uninstalling the product in android.
  I have used *ContentProvider* to share data in multiple applications. I
  used  in Android Manifest file
   *provider android:name=Provider
   android:authorities=com.sky.android.project.projectname/
  *
   and uri in Provider Class file
   Uri uri = com.sky.android.project.projectname/data
 
   It is working fine to Insert, delete and update in the application.
 
  In other application I have used the
 
   Uri allTitles = Uri.parse(com.sky.android.project.projectname/data);
   to fetch the data.
 
   It is working fine.
 
   But when i uninstall one of the application other applications using
 same
  Uri(com.sky.android.project.projectname/data) are not working.
 
   I got the Error message while loading the applications are:
  * java.lang.RuntimeException: Cannot determine device identification
  *
  I have also tried this with shared user ID but it also not working.
 
  Let me know how to overcome with these situation, Or any other way to
 share
  the data.
 
  Regards,
  Rajiv

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Deleting An Application with ContentProvider Other Applications not working

2010-03-23 Thread Kantesh
hi,
If u r using cursor, r closing after done with that?

On Mar 23, 7:11 pm, Rajiv rajiv...@gmail.com wrote:
 Hi all
 I have a problem to uninstalling the product in android.
 I have used *ContentProvider* to share data in multiple applications. I
 used  in Android Manifest file
  *provider android:name=Provider
          android:authorities=com.sky.android.project.projectname/
 *
  and uri in Provider Class file
  Uri uri = com.sky.android.project.projectname/data

  It is working fine to Insert, delete and update in the application.

 In other application I have used the

  Uri allTitles = Uri.parse(com.sky.android.project.projectname/data);
  to fetch the data.

  It is working fine.

  But when i uninstall one of the application other applications using same
 Uri(com.sky.android.project.projectname/data) are not working.

  I got the Error message while loading the applications are:
 * java.lang.RuntimeException: Cannot determine device identification
 *
 I have also tried this with shared user ID but it also not working.

 Let me know how to overcome with these situation, Or any other way to share
 the data.

 Regards,
 Rajiv

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.