Just for anybody who comes across this link wondering the same thing,
this worked for me:
http://www.androidsnippets.org/snippets/166/
I only used a gmail account, but it worked.
Good luck.
On Apr 7, 8:32 am, RMD wrote:
> Thanks for all the responses. I was just getting the phone toem
;, knowing that I will burn up a few hours trying it see it
work.
thanks again,
Robert
On Apr 5, 9:39 am, RMD wrote:
> Is there and accepted way to send an email in the background?
>
> RMD
--
You received this message because you are subscribed to the Google
Groups "Android Devel
intln
> needs a message" was caused by ex.getMessage(). Message can be null,
> use ex.printStackTrace() to track down the source of error.
>
> On Apr 5, 7:31 pm, RMD wrote:
>
> > I've narrowed it down to this line in the sendSMS method
>
> >
Thanks!
Robert
On Apr 5, 11:38 am, Jiri wrote:
> See this:
>
> http://groups.google.com/group/android-developers/browse_thread/threa...
>
> Jiri
>
> On 05/04/2010 15:58, Mark Murphy wrote:
>
>
>
> >> Is there and accepted way to send an email in the background?
>
> > You would need to integrate
I've narrowed it down to this line in the sendSMS method
PendingIntent pi = PendingIntent.getActivity(this, 0,new
Intent(this, SimpleSMS.class), 0);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, s
At the risk of being annoying I'll keep on sharing...
I put this catch in for when I try to send a SMS
try {
sms.sendSMS(phoneNo, v);
} catch (Exception ex)
{
Log.d("EXCEPTION
SendSMS
Mark I really appreciate your help. It can frustrating to learn a new
language.
I have tried different logcat options trying to sift out some of the
chatter, but at this point I'm not sure what is chatter and what is of
value.
./adb logcat ActivityManager:D myProject:V *:S
On Apr 5, 10:38 am,
Thanks,
There appear to be a bunch of errors:
E/dalvikvm( 237): Unable to open stack trace file '/data/anr/
traces.txt': Permission denied
I'm new to java and down in the log I see an "uncaught exception". I
guess a figure out exception handling and do it on the sendSMS class?
adb logcat resu
The class below sends and SMS message onLocationChange of the GPS,
well I want it to anyway.
Alone it works fine, but as a class it doesn't. If I comment out the
code in sendSMS() the program doesn't crash on the phone but it also
doesn't send the SMS. The same code runs as a standalone sends SM
Is there and accepted way to send an email in the background?
RMD
--
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, sen
I think I found it.
getBestProvider()
Thanks again for your help everyone,
rd42
On Apr 5, 8:41 am, RMD wrote:
> >No, LocationManager.GPS_PROVIDER, presently, has a value of "gps". It's
> >more that, in case for some crazy reason they change that convention,
>
&
>No, LocationManager.GPS_PROVIDER, presently, has a value of "gps". It's
>more that, in case for some crazy reason they change that convention,
Great info, thanks.
Would would be a good way to code it if I want the LocationManager to
use network if GPS is not available, like when your in a buildi
I had tried LocationManager.GPS_PROVIDER but for some reason I didn't
work. I can't remember now if I tried it before or after I realized
the GPS was off :)
LocationManager.GPS_PROVIDER is supposed to use whatever location
source is available right?
Thanks,
RMD
On Apr 3, 8:05 am, M
es("network", 0, 0,onLocationChange);
} else {
locm.requestLocationUpdates("gps", 0, 0,onLocationChange);
}
Thanks Again,
RMD
On Apr 2, 8:02 pm, HeHe wrote:
> someone said Config.DEBUG or Config.RELEASE may help.
>
> however, when i build and run my apk b
The following code will display location data on the screen in the
emulator but not on an actual device. Any ideas on why?
Thank you for any help.
line from android manifest:
.java file:
package xxx..;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
i
15 matches
Mail list logo