Re: [android-developers] Calling Activity from Service

2012-10-25 Thread TreKing
On Thu, Oct 25, 2012 at 3:28 AM, Archana wrote: > Basically, I want my service to wait till the result from activity B is > obtained. Please give me some idea of how this implementation can be > done(and which flag to set in intent)? There isn't really a concept of "start activity for result" fr

[android-developers] Calling Activity from Service

2012-10-25 Thread Archana
Hi, I want to call an Activity A from a Service in Android(and pass some Strings to it). This activity A inturns calls another activity B with startActivityForResult(). Basically, I want my service to wait till the result from activity B is obtained. Please give me some idea of how this impleme

Re: [android-developers] Calling Activity based on Content wrapped in a Activity

2012-02-06 Thread TreKing
On Sat, Feb 4, 2012 at 11:35 PM, Abhishek Singh wrote: > now i want 1 of those activity to be started only when > the text content starts with '@@'and other one for any general > text/plain should launch it. > how can i do this.??? > That's probably a little too specific for Intent Filters

[android-developers] Calling Activity based on Content wrapped in a Activity

2012-02-05 Thread Abhishek Singh
Hi... I m Developing 2 activities both of them should be fired when the mimeType is text/plain as shown below.. now i want 1 of those activity to be started only when

[android-developers] Calling Activity 4m Fragment

2011-11-18 Thread Navindian
Hi I need to call the activity from a fragment, The following code is not working public class MyFragment extends Fragment{ *switch*(number){ *case* 1: Intent intent = *new* Intent(*this*.getActivity(), ActivityOne.*class*); *startActivityForResult*(intent); *break*; *case* 2: Intent inten

Re: [android-developers] calling activity from alertdialogbox

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 9:20 AM, rambabu mareedu wrote: > so i can use intent in the alertdialog box..,am i right Try it, see what happens. - TreKing

Re: [android-developers] calling activity from alertdialogbox

2011-07-27 Thread rambabu mareedu
thankQ..so i can use intent in the alertdialog box..,am i right On Wed, Jul 27, 2011 at 7:18 AM, TreKing wrote: > On Wed, Jul 27, 2011 at 6:42 AM, rambabu mareedu < > rambabu.mare...@gmail.com> wrote: > >> how to call a activity from alert dialog box >> > > You may need to elaborate ... it's

Re: [android-developers] calling activity from alertdialogbox

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 6:42 AM, rambabu mareedu wrote: > how to call a activity from alert dialog box > You may need to elaborate ... it's the same way you call it from anywhere else. - TreKing

[android-developers] calling activity from alertdialogbox

2011-07-27 Thread rambabu mareedu
Hi to all...can one tell me .how to call a activity from alert dialog box -- 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

Re: [android-developers] calling activity from menu

2011-01-14 Thread TreKing
On Thu, Jan 13, 2011 at 12:13 AM, mithun hr wrote: > I tried creating an Intent to start activity using the Class name but > doesn't work. > > please help. > Please explain what "doesn't work" means.

Re: [android-developers] Calling activity from Stub

2011-01-14 Thread Kostya Vasilyev
If you have a Context reference in this code, you can call: myContext.startActivity(...) Might want to set FLAG_ACTIVITY_NEW_TASK flag in the intent to avoid a logcat warning when it's added by the framework. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 14.01.2011 16:21 пользователь "Tux"

Re: [android-developers] Calling activity from Stub

2011-01-14 Thread TreKing
On Sat, Jan 8, 2011 at 6:48 AM, Tux wrote: > > So, to be clear, How can I call an activity from a non-activity class? > You answered your own question: Btw i know I can pass the instance of the calling activity of the > non-activity class as a parameter, but I need something else for design > p

[android-developers] calling activity from menu

2011-01-14 Thread mithun hr
Hi, I have a menu item which when selected would call another activity class. I am using switch case to select between menu items. I tried creating an Intent to start activity using the Class name but doesn't work. please help. Thanks, mithun -- You received this message because you are subscr

[android-developers] Calling activity from Stub

2011-01-14 Thread Tux
Hi all, I have a class extending IPackageManager.Stub (does not really matter here), the point is, I need to start an activity from this class. I cannot do: Intent i = new Intent(); i.setComponent(new ComponentName(, )); startActivity(i); as my class is not an activity. How can I do that? Bt

RE: [android-developers] calling activity from service

2010-11-19 Thread Tommy
1:32 PM To: Android Developers Subject: [android-developers] calling activity from service hi.. i am writing an app in which i need a background service to call an activity and show some result.. pls share some example.. thnx a lot.. kartik.. -- You received this message because you are

[android-developers] calling activity from service

2010-11-19 Thread Kartik Bansal
hi.. i am writing an app in which i need a background service to call an activity and show some result.. pls share some example.. thnx a lot.. kartik.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

Re: [android-developers] Calling Activity

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 10:00 AM, ranjan ar wrote: > Can any one help me fix this. Fix what? You've loosely outlined what you want to do, but not what problem you're actually having. - TreKing - Chic

[android-developers] Calling Activity

2010-07-09 Thread ranjan ar
Hello , I have a broadcast class that blocks the incoming call. I want to call that broadcast receiver from the activity . Can any one help me fix this. I appreciate your help. 1. Class A extends activity will call Class B that extends BroadcastReceiver, now I want to block calls , only based on ce

[android-developers] Calling activity from inside a thread?

2010-02-18 Thread Abhi
Hi, I want to either use WiFiManager to toggle wifi from inside a thread or call another activity to do this, whichever is possible. I tried using the wifimanager class inside the thread but it didn't work. Could anyone tell me how to call an activity using Intents from inside a thread? Thanks,