[android-developers] Re: Service will not stay running

2009-01-02 Thread bparker

I noticed another application on the market (called Missed Call) has
a big message in the about section about how it's not possible to keep
a service running forever. Is this a limitation of the Android OS
itself?
It seems to me that this feature is a real killer for some
applications that must stay running constantly.

On Jan 1, 11:25 am, bparker cbpar...@gmail.com wrote:
 Any way to do this without keeping the phone tied to a PC?

 On Dec 29 2008, 6:17 pm, Tomei Ningen tomei.nin...@yahoo.com wrote:

  You can run logcat in a DOS window. That way it will keep as much log as 
  you have disk space

  DOS adb logcat  file

  
  From:bparkercbpar...@gmail.com
  To: Android Developers android-developers@googlegroups.com
  Sent: Sunday, December 28, 2008 5:21:20 PM
  Subject: [android-developers] Re: Service will not stay running

  I tried the Logcat app and it seems that it (the app itself) only
  keeps about 2 hours worth of data, whereas the Logcat view in eclipse
  shows me at least twice that much... but still not enough to catch the
  service being stopped, which usually takes at least a day or more.

  Any ideas on how to log data for this long?

  On Dec 28, 7:16 pm, Al alcapw...@googlemail.com wrote:

   Does Logcat show any reason for killing the Service? You can install
   Logcat app fromhttp://code.google.com/p/android-random/, which will
   show logcat on the phone. You can also save the data to a text file,
   but by default, it saves it to /data/{package-name}/file, which we
   can't access. You can use this patch to save it to the SD 
   Card:http://pastebin.com/m130c099d

   Hopefully that'll shine more light on why it gets killed.

   On Dec 28, 6:55 pm,bparkercbpar...@gmail.com wrote:

I have a service which is dynamically registered from within an
activity. The service listens for incoming and outgoing phone calls,
so it needs to stay running all the time. But after about 1 day,
without even launching any other applications, the parent activity is
killed and the service stops running. How can I prevent this?

Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Service will not stay running

2009-01-01 Thread bparker

Any way to do this without keeping the phone tied to a PC?

On Dec 29 2008, 6:17 pm, Tomei Ningen tomei.nin...@yahoo.com wrote:
 You can run logcat in a DOS window. That way it will keep as much log as you 
 have disk space

 DOS adb logcat  file

 
 From: bparker cbpar...@gmail.com
 To: Android Developers android-developers@googlegroups.com
 Sent: Sunday, December 28, 2008 5:21:20 PM
 Subject: [android-developers] Re: Service will not stay running

 I tried the Logcat app and it seems that it (the app itself) only
 keeps about 2 hours worth of data, whereas the Logcat view in eclipse
 shows me at least twice that much... but still not enough to catch the
 service being stopped, which usually takes at least a day or more.

 Any ideas on how to log data for this long?

 On Dec 28, 7:16 pm, Al alcapw...@googlemail.com wrote:

  Does Logcat show any reason for killing the Service? You can install
  Logcat app fromhttp://code.google.com/p/android-random/, which will
  show logcat on the phone. You can also save the data to a text file,
  but by default, it saves it to /data/{package-name}/file, which we
  can't access. You can use this patch to save it to the SD 
  Card:http://pastebin.com/m130c099d

  Hopefully that'll shine more light on why it gets killed.

  On Dec 28, 6:55 pm, bparker cbpar...@gmail.com wrote:

   I have a service which is dynamically registered from within an
   activity. The service listens for incoming and outgoing phone calls,
   so it needs to stay running all the time. But after about 1 day,
   without even launching any other applications, the parent activity is
   killed and the service stops running. How can I prevent this?

   Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Service will not stay running

2008-12-28 Thread bparker

I have a service which is dynamically registered from within an
activity. The service listens for incoming and outgoing phone calls,
so it needs to stay running all the time. But after about 1 day,
without even launching any other applications, the parent activity is
killed and the service stops running. How can I prevent this?

Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker

I tried the Logcat app and it seems that it (the app itself) only
keeps about 2 hours worth of data, whereas the Logcat view in eclipse
shows me at least twice that much... but still not enough to catch the
service being stopped, which usually takes at least a day or more.

Any ideas on how to log data for this long?

On Dec 28, 7:16 pm, Al alcapw...@googlemail.com wrote:
 Does Logcat show any reason for killing the Service? You can install
 Logcat app fromhttp://code.google.com/p/android-random/, which will
 show logcat on the phone. You can also save the data to a text file,
 but by default, it saves it to /data/{package-name}/file, which we
 can't access. You can use this patch to save it to the SD 
 Card:http://pastebin.com/m130c099d

 Hopefully that'll shine more light on why it gets killed.

 On Dec 28, 6:55 pm, bparker cbpar...@gmail.com wrote:

  I have a service which is dynamically registered from within an
  activity. The service listens for incoming and outgoing phone calls,
  so it needs to stay running all the time. But after about 1 day,
  without even launching any other applications, the parent activity is
  killed and the service stops running. How can I prevent this?

  Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker

I just noticed that the Logcat app itself was just killed as well,
after not even running for 10 minutes... with the screen off and no
other activities running.
The only message I got was:

12-28 20:24:12.760: INFO/ActivityManager(51): Process
org.devtcg.tools.logcat (pid 5916) has died.

On Dec 28, 8:21 pm, bparker cbpar...@gmail.com wrote:
 I tried the Logcat app and it seems that it (the app itself) only
 keeps about 2 hours worth of data, whereas the Logcat view in eclipse
 shows me at least twice that much... but still not enough to catch the
 service being stopped, which usually takes at least a day or more.

 Any ideas on how to log data for this long?

 On Dec 28, 7:16 pm, Al alcapw...@googlemail.com wrote:

  Does Logcat show any reason for killing the Service? You can install
  Logcat app fromhttp://code.google.com/p/android-random/, which will
  show logcat on the phone. You can also save the data to a text file,
  but by default, it saves it to /data/{package-name}/file, which we
  can't access. You can use this patch to save it to the SD 
  Card:http://pastebin.com/m130c099d

  Hopefully that'll shine more light on why it gets killed.

  On Dec 28, 6:55 pm, bparker cbpar...@gmail.com wrote:

   I have a service which is dynamically registered from within an
   activity. The service listens for incoming and outgoing phone calls,
   so it needs to stay running all the time. But after about 1 day,
   without even launching any other applications, the parent activity is
   killed and the service stops running. How can I prevent this?

   Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker

Yes I'm sure, everything is fine. I have a plain dev phone with
nothing else installed but my application, and I'm sure there is never
a low memory condition, I've checked top and everything I can think
of... also the docs say that your service is supposed to be restarted
by the system if a low memory problem occurs... but I have never seen
my service restarted even once.

On Dec 28, 8:43 pm, Mark Murphy mmur...@commonsware.com wrote:
 Mark Murphy wrote:
  bparker wrote:
  I just noticed that the Logcat app itself was just killed as well,
  after not even running for 10 minutes... with the screen off and no
  other activities running.

  U...how are you determining that there are no other activities running?

 Actually, to be more precise: are you sure there's nothing else running
 in the background that is plowing through memory?

 You can run top from adb shell, for example, to see what's all running.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Manipulating the keyguard lock screen

2008-12-23 Thread bparker

Is it possible to add items to the lock screen? I noticed that when
setting an alarm using AlarmClock, it adds another view to the layout
that has a bell icon and tells the day/time of the next alarm... I was
wondering if it was possible to extend this functionality to my own
activity?

Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: ATT on dev phone, data connection not working

2008-12-16 Thread bparker

Those don't seem to work either...

Everything else I've read shows a different username/password than
yours though.

What I always see when searching is:

User: w...@cingulargprs.com
Pass: CINGULAR1

(everything is all caps)

On Dec 16, 10:18 pm, Dave dlarsonmob...@gmail.com wrote:
 The correct settings for att are as follows
 NAME
 ATT
 APN
 wap.cingular
 PROXY
 not set
 PORT
 not set
 USERNAME
 WAP.CINGULAR.COM

 PASSWORD
 cingular1

 SERVER
 nnot set

 MMSC
 mmsc.cingular.com

 MMS PROXY
 not set

 MCC
 80

 MCC
 310

 MNC
 410

 APN TYPE
 not set

 These work i have  phones running on att settings are Case sensitve

 On Dec 15, 3:50 am, Al Sutton a...@funkyandroid.com wrote:

  Seehttp://groups.google.com/group/android-developers/msg/e4a9172898b7d7cc

  Regards,

  Al.

  bparker wrote:
   I have exhausted all combinations of APN settings possible to get an
  ATTdata connection to work, but nothing seems to help at all. I know
   what the settings are supposed to be (wap.cingular etc etc), it is
   simply not working. I even tried running logcat on the radio and it
   doesn't seem that it ever tries to dial out for a data connection.

   Anyone have some ideas?

   Thanks

  --
  ==
  Funky Android Limited is registered in England  Wales with the
  company number  6741909. The registered head office is Kemp House,
  152-160 City Road, London,  EC1V 2NX, UK.

  The views expressed in this email are those of the author and not
  necessarily those of Funky Android Limited, it's associates, or it's
  subsidiaries.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Modifying the call card (in-call screen)

2008-12-16 Thread bparker

Is it possible to manipulate the TextView fields on the in-call screen
in any way? I'm mainly interested in the upper/lower title views (for
example the one that says Incoming call when the phone is ringing).

Thanks in advance
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: ATT on dev phone, data connection not working

2008-12-15 Thread bparker

Thanks for the link Al, but I have already tried those settings about
a dozen times. ATT will not help because they do not support the
G1. After I told them that it was unlocked, they also told me that
unlocked devices do not work on their network, and that they tell
people this all the time.

On Dec 15, 3:50 am, Al Sutton a...@funkyandroid.com wrote:
 Seehttp://groups.google.com/group/android-developers/msg/e4a9172898b7d7cc

 Regards,

 Al.

 bparker wrote:
  I have exhausted all combinations of APN settings possible to get an
  ATT data connection to work, but nothing seems to help at all. I know
  what the settings are supposed to be (wap.cingular etc etc), it is
  simply not working. I even tried running logcat on the radio and it
  doesn't seem that it ever tries to dial out for a data connection.

  Anyone have some ideas?

  Thanks

 --
 ==
 Funky Android Limited is registered in England  Wales with the
 company number  6741909. The registered head office is Kemp House,
 152-160 City Road, London,  EC1V 2NX, UK.

 The views expressed in this email are those of the author and not
 necessarily those of Funky Android Limited, it's associates, or it's
 subsidiaries.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Receiver to get outgoing phone number

2008-12-15 Thread bparker

What is the best way to retrieve the number of a currently outgoing
phone call?

I tried using a BroadcastReceiver with an intent-filter on
android.intent.action.CALL but it seems to be ignored... because the
same code with a different intent works fine. Am I doing something
wrong?

Thanks

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Receiver to get outgoing phone number

2008-12-15 Thread bparker

Do you remember what the name of the app was or where their post is? I
looked in the market for a while but couldn't find the app.

Thanks

On Dec 15, 6:33 pm, Xavier Mathews xavieruni...@gmail.com wrote:
 Hey there is an app allready on the market that does this made by one
 of the developers in this group he/she has done a post on it also and
 used a Broadcast Reciver! But i am not sure how.

 Good Luck.

 On 12/15/2008, bparker cbpar...@gmail.com wrote:



  What is the best way to retrieve the number of a currently outgoing
  phone call?

  I tried using a BroadcastReceiver with an intent-filter on
  android.intent.action.CALL but it seems to be ignored... because the
  same code with a different intent works fine. Am I doing something
  wrong?

  Thanks

 --
 Xavier A. Mathews
 Student/Browser Specialist/Developer/Web-Master
 Client Based Tech Support Specialist
 Hazel Crest Illinois
 xavieruni...@gmail.com¥xavieruni...@hotmail.com¥truestar...@yahoo.com
 Fear of a name, only increases fear of the thing itself.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Has anybody received an android dev phone in the US yet?

2008-12-15 Thread bparker

I just got an email saying that my phone has shipped... 3 days after I
received it.

On Dec 13, 6:11 pm, Aaron aaronhettiger2...@gmail.com wrote:
 Worked perfectly for me.
 Other people have said it, too.

 On Dec 13, 5:10 pm, Yev yevm...@gmail.com wrote:

  To US customers:

  Has anyone been able to track the phone 
  viahttps://www.fedex.com/AltRefTracking?cntry_code=us

  I was told if you put your order# in the reference, your ship date,
  country,
  it should show up.

  I ordered mine on 12/9 and still nothing.

  On Dec 13, 1:27 pm, sacoskun sacos...@gmail.com wrote:

   It is something really awkward. The time period of shipping ADP to
   Florida is unknown.
   Can we say less than a week or are there any faster shipping option?!

   On Dec 13, 8:05 am, mmitchel mmitc...@gmail.com wrote:

I received my developer phone following an order placed on the 8th.
There was not
any email or tracking information provided, it just showed up FedEx..
Give it a
little bit, we all are excited ;)

On Dec 12, 8:50 pm, Disconnect dc.disconn...@gmail.com wrote:

 For people who haven't yet gotten their ADP (or didn't order one) JF 
 has
 written up a nice summary of how it compares to his original G1 
 athttp://www.gotontheinter.net/node/12(disclaimer, that's my site but 
 its his
 content)

 On Thu, Dec 11, 2008 at 5:19 PM, Aaron aaronhettiger2...@gmail.com 
 wrote:

  So is the Dev Phone essentially the exact same thing as the G1 but 
  it
  has a different case, and it's unlocked?
  I was reading that Google Apps and different features might be 
  missing
  from it and that worried me, and I was just wondering.

  On Dec 11, 11:57 am, Jackson Miller jackson.h.mil...@gmail.com
  wrote:
   I chose overnight shipping.

   FYI: here are my full APN settings for using my Android developer
   device on ATT.  It took me a while to search and try the various
   recommendations.  I am on the iPhone data package if that makes a
   difference:

   Name: ATT
   APN: wap.cingular
   Proxy: Not set
   Port: Not set
   Username: wap.cingulargprs.com
   Password: CINGULAR1
   Server: Not set
   MMSC: mmsc.cingular.com
   MMS proxy: Not set
   MMS port: 80
   MCC: 310
   MNC: 410
   APN type: Not set

   On Dec 11, 10:40 am, Mark K mark.ka...@gmail.com wrote:

   I'm using my G1 on ATT , I had to add wap.cingular as an 
apn, set
'wap.cingular' as the name and apn, left all other settings 
blank.

                       Mark

On Dec 10, 12:05 pm, Jackson Miller jackson.h.mil...@gmail.com
wrote:

 I just received my phone.  I ordered it on Saturday.  I am in
 Nashville, TN.

 Unfortunately I am having a hard time getting the APN 
 settings for
 ATT right.

 -Jackson

 On Dec 10, 12:45 pm, szeldon szeldon@gmail.com wrote:

  I have ordered G1 Dev 1 on Sunday and I didn't get it as 
  yet. I
  assume
  that nobody got it:

 http://groups.google.com/group/android-beginners/browse_thread/thread...

  On Dec 10, 1:02 pm, Rajesh raj...@aaraai.com wrote:

   Where in US are you? How long did it take to reach and 
   what was
  the
   mode of shipping you used?
   I plan to order one if it is sure to reach in two weeks.

   And is it illegal to personally carry a single phone from 
   US to
  UK?
   (Well without the carton box for myself).- Hide quoted 
   text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Show caller ID only to contacts

2008-12-15 Thread bparker

Is there a way to show your outgoing caller ID only when the number
being called is in your contact list? (Or show it only when you dialed
a contact from within the contacts tab)
I know WM5/6 has this feature but I was wondering if it exists here or
could easily be implemented (and how).

Thanks

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Has anybody received an android dev phone in the US yet?

2008-12-14 Thread bparker

Ordered mine on the 8th, got it on the 12th. Never got a tracking
number or anything, and the brightstar website still says that I have
never ordered anything.

Also I have tried setting up APN for ATT about 10 times now and still
no luck...

On Dec 13, 6:11 pm, Aaron aaronhettiger2...@gmail.com wrote:
 Worked perfectly for me.
 Other people have said it, too.

 On Dec 13, 5:10 pm, Yev yevm...@gmail.com wrote:

  To US customers:

  Has anyone been able to track the phone 
  viahttps://www.fedex.com/AltRefTracking?cntry_code=us

  I was told if you put your order# in the reference, your ship date,
  country,
  it should show up.

  I ordered mine on 12/9 and still nothing.

  On Dec 13, 1:27 pm, sacoskun sacos...@gmail.com wrote:

   It is something really awkward. The time period of shipping ADP to
   Florida is unknown.
   Can we say less than a week or are there any faster shipping option?!

   On Dec 13, 8:05 am, mmitchel mmitc...@gmail.com wrote:

I received my developer phone following an order placed on the 8th.
There was not
any email or tracking information provided, it just showed up FedEx..
Give it a
little bit, we all are excited ;)

On Dec 12, 8:50 pm, Disconnect dc.disconn...@gmail.com wrote:

 For people who haven't yet gotten their ADP (or didn't order one) JF 
 has
 written up a nice summary of how it compares to his original G1 
 athttp://www.gotontheinter.net/node/12(disclaimer, that's my site but 
 its his
 content)

 On Thu, Dec 11, 2008 at 5:19 PM, Aaron aaronhettiger2...@gmail.com 
 wrote:

  So is the Dev Phone essentially the exact same thing as the G1 but 
  it
  has a different case, and it's unlocked?
  I was reading that Google Apps and different features might be 
  missing
  from it and that worried me, and I was just wondering.

  On Dec 11, 11:57 am, Jackson Miller jackson.h.mil...@gmail.com
  wrote:
   I chose overnight shipping.

   FYI: here are my full APN settings for using my Android developer
   device on ATT.  It took me a while to search and try the various
   recommendations.  I am on the iPhone data package if that makes a
   difference:

   Name: ATT
   APN: wap.cingular
   Proxy: Not set
   Port: Not set
   Username: wap.cingulargprs.com
   Password: CINGULAR1
   Server: Not set
   MMSC: mmsc.cingular.com
   MMS proxy: Not set
   MMS port: 80
   MCC: 310
   MNC: 410
   APN type: Not set

   On Dec 11, 10:40 am, Mark K mark.ka...@gmail.com wrote:

   I'm using my G1 on ATT , I had to add wap.cingular as an 
apn, set
'wap.cingular' as the name and apn, left all other settings 
blank.

   Mark

On Dec 10, 12:05 pm, Jackson Miller jackson.h.mil...@gmail.com
wrote:

 I just received my phone.  I ordered it on Saturday.  I am in
 Nashville, TN.

 Unfortunately I am having a hard time getting the APN 
 settings for
 ATT right.

 -Jackson

 On Dec 10, 12:45 pm, szeldon szeldon@gmail.com wrote:

  I have ordered G1 Dev 1 on Sunday and I didn't get it as 
  yet. I
  assume
  that nobody got it:

 http://groups.google.com/group/android-beginners/browse_thread/thread...

  On Dec 10, 1:02 pm, Rajesh raj...@aaraai.com wrote:

   Where in US are you? How long did it take to reach and 
   what was
  the
   mode of shipping you used?
   I plan to order one if it is sure to reach in two weeks.

   And is it illegal to personally carry a single phone from 
   US to
  UK?
   (Well without the carton box for myself).- Hide quoted 
   text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] ATT on dev phone, data connection not working

2008-12-14 Thread bparker

I have exhausted all combinations of APN settings possible to get an
ATT data connection to work, but nothing seems to help at all. I know
what the settings are supposed to be (wap.cingular etc etc), it is
simply not working. I even tried running logcat on the radio and it
doesn't seem that it ever tries to dial out for a data connection.

Anyone have some ideas?

Thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Replacing the DIAL action

2008-12-12 Thread bparker

I followed this tutorial, adding an intent-filter to my activity's
manifest for android.intent.action.DIAL:

http://www.anddev.org/tinytut_-_replacing_the_dial-action-t239.html

But when pressing any buttons on the desktop, nothing happens... it
does not ask what activity to launch like the tutorial says... any
ideas?

Thanks

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: TelephonyManager.listen Freezes when the screen is shutted down!

2008-12-12 Thread bparker

Where does your context (ctx) come from? I'm curious because I want
to do the same thing, but getting a correct context to pass to
Toast.makeText is the only part I can't figure out.

On Dec 3, 2:49 pm, vekexasia vekexa...@gmail.com wrote:
 hi, on my onCreate() Activity function i wrote this:
 --
         CambioCellula myCellula=new CambioCellula();
 ...
         TelephonyManager x=(TelephonyManager)this.getSystemService
 (Context.TELEPHONY_SERVICE);
         x.listen(myCellula, PhoneStateListener.LISTEN_CELL_LOCATION);
 --
 Where CambioCellula is my class defined like this excerpt
 --
 public class CambioCellula extends PhoneStateListener {
 
         public void onCellLocationChanged(CellLocation location) {
                 GsmCellLocation myLocation=(GsmCellLocation)location;
                 Log.d(X,Y);
                 Toast.makeText(ctx, Found New Cells
 +myLocation.getCid(),Toast.LENGTH_LONG ).show();
         }

 }

 --
 The program works when the screen is on .. But when i shut down the
 Screen  ( with a short press of the end-call button) it seems to
 doesn't
 work..

 IS this an sdk problem? Am i doing something wrong?
 Are you familiar with this kind of bugs ?
 Thanks Andrea.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---