One more thing... as there are about 11 hours left now...I would suggest
backing up and preparing your submission first with whatever is done to this
point and then trying out these changes.
Good luck!
On Mon, Apr 14, 2008 at 12:14 PM, franw <[EMAIL PROTECTED]> wrote:

>
> thanks so much!!
> im going to try this right now!
>
> fran
>
> On Apr 14, 3:03 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > On Mon, Apr 14, 2008 at 11:45 AM, franw <[EMAIL PROTECTED]> wrote:
> >
> > > thanks for replying - maybe i can fix this before the deadline.
> >
> > > i'm not sure how to do this -
> > > here is the issue -
> > > i want to read the contacts when my intent receiver goes off -
> > > i have used the alarm controller as a model -
> >
> > > so how to accomplish this?
> > > seems like this should be possible ...???
> > > tyia,
> > > fran w
> >
> > These are some of my suggestions:
> >
> > 1) You do not need the Intent receiver to be remote, so you might want
> to
> > remove ".remote" from the AndroidManifest.xml.
> > 2)  In my opinion, you do not need an Activity GetContacts, it could be
> a
> > service GetContacts, as it does not need any UI  for user interaction.
> > 3) You will have to make the necessary changes in AndroidManifest.xml
> and
> > GetContacts to convert it to service( its up to you, you can leave it as
> > Activity if you want)
> > 3) Assuming you do the above you could change
> >
> >   GetContacts g= new GetContacts();
> >
> > to
> >  Intent intent = new Intent(context, GetContacts.class);
> >  startService(intent,null);
> >  or
> > startActivity(intent);
> >
> > You may want to move the part below to GetContacts...
> >
> >        body += body + rbutton;
> >    SendContacts s = new SendContacts (body,userid, password,
> >                               email,rbutton);
> >
> > Thanks,
> > Megha
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to