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
On Thu, Oct 25, 2012 at 3:28 AM, Archana ramalingam.arch...@gmail.comwrote:
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
On Sat, Feb 4, 2012 at 11:35 PM, Abhishek Singh singh.abhi4...@gmail.comwrote:
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
Hi...
I m Developing 2 activities both of them should be
fired when the mimeType is text/plain
as shown below..
intent-filter
action
android:name=android.nfc.action.NDEF_DISCOVERED /
category
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
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
On Wed, Jul 27, 2011 at 6:42 AM, rambabu mareedu
rambabu.mare...@gmail.comwrote:
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.
thankQ..so i can use intent in the alertdialog box..,am i right
On Wed, Jul 27, 2011 at 7:18 AM, TreKing treking...@gmail.com 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
On Wed, Jul 27, 2011 at 9:20 AM, rambabu mareedu
rambabu.mare...@gmail.comwrote:
so i can use intent in the alertdialog box..,am i right
Try it, see what happens.
-
TreKing
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(packageNameString,
fullyQualifiedClassNameOfActivity ));
startActivity(i);
as
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
On Sat, Jan 8, 2011 at 6:48 AM, Tux guillaume.ben...@gmail.com 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
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
On Thu, Jan 13, 2011 at 12:13 AM, mithun hr mithun.hallik...@gmail.comwrote:
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.
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
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
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
On Fri, Jul 9, 2010 at 10:00 AM, ranjan ar ranjan@gmail.com 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.
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,
19 matches
Mail list logo