Monday, July 4, 2011

[android-developers] Re: Android device require to be re-booted in order to view newly added contact - code snippet attached

Dear Mark,

I have seen your comments regarding this before and I have taken them
into account with due respect. But this occurs at the final stages of
framework modification.

The precise issue which I reported here seemed bit strange to me, as I
could not understand, what precisely the issue here is.

As you can see, now the issue precisely is refined and focussed to a
point, wherein it is required to have a device re-boot in order to
print the contacts which was inserted before the device was turned
off. And displaying the contacts in logs without any errors clearly
indicates a flawless insertion.

Insertion occurs perfectly, but why it need a reboot is what I am not
able to understand!

On Jul 4, 10:52 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Mon, Jul 4, 2011 at 1:42 PM, Anees <aneesahame...@gmail.com> wrote:
> > I am trying to insert contacts into SIM card and delete from it. But
> > it needs the phone to be re-started in order to update the changes.
> > For your reference, I am quoting the code I use for inserting a
> > contact.
>
> :: snip ::
>
> > Can any of the experts kindly review this and throw some light for the
> > reason behind, the newly added contact details (name and number) not
> > getting displayed immediately after insertion (while observed through
> > logs) and displayed correctly in logs after the device device is be re-
> > booted.
>
> What makes you think any of what you wrote should work at all? Bear in
> mind that the content provider you are attempting to use is
> undocumented, unsupported, may not exist on all devices, may not exist
> in all versions of Android, etc.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training in London:http://bit.ly/smand1,http://bit.ly/smand2

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment