Re: [android-developers] Activity on Service

2012-07-25 Thread Rahul Kaushik
i want to start the activity but don't want to show it to the user. As this activity fetch some data on some criteria, through which notification will be shown. Thanks RK On Tue, Jul 24, 2012 at 6:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Jul 24, 2012 at 9:02 AM, Rahul Kaushik

Re: [android-developers] Activity on Service

2012-07-25 Thread Mark Murphy
On Wed, Jul 25, 2012 at 5:11 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: i want to start the activity but don't want to show it to the user. As this activity fetch some data on some criteria, through which notification will be shown. Delete the activity. Move the fetch some data on some

[android-developers] Activity on Service

2012-07-24 Thread Rahul Kaushik
Hi, I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user MyCode on Service public void onCreate() { super.onCreate(); //Toast.makeText(this,StartAtBootService: onCreate,

Re: [android-developers] Activity on Service

2012-07-24 Thread Mark Murphy
On Tue, Jul 24, 2012 at 9:02 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user Then do not call startActivity(). The *only reason*

Re: [android-developers] Activity on Service

2012-07-24 Thread Justin Anderson
I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user Why? That doesn't make sense... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On

Re: [android-developers] Activity on Service

2012-07-24 Thread ashok chakravarthy
or display a notification , so user can start activity by selecting the notification. On Tue, Jul 24, 2012 at 6:32 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote: Hi, I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont

[android-developers] activity and service as a package

2011-01-26 Thread Titus
Hello, I am making a service which is having its own package name while an activity has a diff package name? is it possible to have a single manifest file which will do the job ? The reason why i wanted in one install was that I didn't want the user to have the trouble of multiple installations.

Re: [android-developers] activity and service as a package

2011-01-26 Thread TreKing
On Wed, Jan 26, 2011 at 12:27 PM, Titus titus.mor...@gmail.com wrote: I am making a service which is having its own package name while an activity has a diff package name? That's not a question? is it possible to have a single manifest file which will do the job ? Not only is this

[android-developers] Activity versus Service threads

2010-10-29 Thread jotobjects
After starting a Service (with startService method) the Activity and the Service are running in the same thread according to Thread.currentThread(). I suppose if I start another Activity it will also be running in that same thread. So that makes me wonder if there are reasons why the Activity

Re: [android-developers] Activity versus Service threads

2010-10-29 Thread Dianne Hackborn
On Fri, Oct 29, 2010 at 2:07 PM, jotobjects jotobje...@gmail.com wrote: So that makes me wonder if there are reasons why the Activity cannot just call methods on the Service directly and vice versa, once you get references to the two objects. What is the role of IBinder that is better than

[android-developers] ActivityやService起動中の 着信制御について

2010-03-06 Thread toon0305
石田です、いつも参考にさせていただいてます。 標題の件ですが、自作ActivityやServiceの起動中は、電話着信を受けたときに即切断させたいのですが、うまくいかなくて悩んでいま す。。 着信状態の取得には以下のようにPhoneStateListenerを使用しています。 public void onCallStateChanged(int state, String incomingNumber){ switch(state){ case TelephonyManager.CALL_STATE_RINGING:

[android-developers] Activity or Service

2009-11-12 Thread Android Helebek
Hi All, I am hoping to create an application/service that will serve as an extended Call Log (I learned that default android call log supports up to 500 entries). My aim is to check for phone state and detect when the phone state becomes idle (which means ending the call). After the phone becomes

[android-developers] Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-03 Thread sheik
Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BACK