Hi Mike,
Yes I have done similar thing earlier. And it surely works.
You should have missed some entries in Activity, manifest, styles etc
for making the Activity background blur/translucent.
I have created a demo project to demonstrate this. Tell me how can I
send u the project. mail or some
Hi Mike,
I have mailed u a sample project.
Check out and reply back in case of any issues.
--
Regards,
UD
On Jun 17, 8:15 am, mike hasitharand...@gmail.com wrote:
hi UD,
thanks for your explanation. but this solution will not work for Blur
Screen. i have tried it out before.
if you
Hello Mike, I somehow missed your last email.
On Wed, Jun 16, 2010 at 5:16 AM, mike hasitharand...@gmail.com wrote:
Hi Sean,
i hope you also has gone out of answers. any way kindly let me know
this.
A -- B -- C --
C -- where? C to A? C to finished? C to force close dialog?
What I'm
hi Sean,
finally finally i have sorted out. but not 100% but by 99% i have
achieved it.
give me your mail address so i'll mail you a sample code.
this is my Activity A
public class blur extends Activity {
/** Called when the activity is first created. */
@Override
Hi Mike,
I would suggest a better approach for this.
Firstly I will put your problem in my worlds what I understand:
You have 3 Activities ActivityA, ActivityB, ActivityC.
ActivityA is starting activity.
Activities launch sequence is:-
ActivityA --(On some
hi UD,
thanks for your explanation. but this solution will not work for Blur
Screen. i have tried it out before.
if you starts Activity C (Blur Activity) like
Intent i = new Intent(ActivityB.this,
ActivityC.class);
startActivityForResult(i, 1001);
then the
Hi Sean,
i hope you also has gone out of answers. any way kindly let me know
this.
A -- B -- C --
if i'm going to start Activity C from Activity B like this
startActivity(Activity C);
and when i press back button from activity C
@Override
public boolean onKeyDown(int keyCode,
Hi Sean,
when you set
activity android:name=ActivityB android:noHistory=true.../
activity
like this what happens is
Activity C runs on top of Activity A not on Activity B.
that is not what i want i want Activity C to run on top of Activity B
regards,
Mike
--
You received this message because
OK I must have misinterpreted your description, so you want:
A - B - C - B - (close)
The simple answer is to move the android:noHistory=true from the
Activity B declaration, to the Activity A one.
On Sat, Jun 5, 2010 at 3:25 PM, mike hasitharand...@gmail.com wrote:
Hi Sean,
when you set
hi Sean,
yep true. then it'll redirect to the Activity A. but then it is
breaking my requirement.
i want Activity C to run on top of Activity B.
when you set android:noHistory=true when i'm starting Activity C,
Activity B will be cleared from the stack. it's almost similar to
finish() before
hi Sean Hodges,
it's working correctly. and is there a way to achieve this thing using
startActivity()???
Starting Activity B like this
startActivity(intent);
so when i press back button from Activity B i'm doing this
@Override
public boolean onKeyDown(int keyCode, KeyEvent
hi Sean Hodges,
it's working correctly. and is there a way to achieve this thing using
startActivity()???
Starting Activity B like this
startActivity(intent);
so when i press back button from Activity B i'm doing this
@Override
public boolean onKeyDown(int keyCode, KeyEvent
Mike,
You need to think of activities like a stack of cards. If you open
one, it will be placed on top of the pack. So if you want to open a
new activity from Activity B, just do use startActivity() as normal.
Activity A --- Activity B -- Activity C
When you close Activity C, do a
hi Sean,
this is what i have done.
i Have 3 activities. Activity A, Activity B, and Activity C.
Activity A is the starting Activity.
according to a user action Activity A will navigate to Activity B like
this.
finish();
startActivityForResult(Activity B, 102);
Activity A -- Activity B
after
hi Sean,
this is what i have done.
i Have 3 activities. Activity A, Activity B, and Activity C.
Activity A is the starting Activity.
according to a user action Activity A will navigate to Activity B like
this.
finish();
startActivityForResult(Activity B, 102);
Activity A -- Activity B
after
OK Mike, so reading carefully through your explanation, it looks to me
that the process you want is this:
A - B - C - A - (app close)
Whilst what you are actually getting, with your current code, is this:
A - B - C - A - A - B - (unknown)
The complex nature of your activity jumping suggests
Hi Sean,
when you set
activity android:name=ActivityB android:noHistory=true.../
activity
like this what happens is
Activity C runs on top of Activity A not on Activity B.
that is not what i want i want Activity C to run on top of Activity B
regards,
Randika
--
You received this message
do not startactivityfor result just start another activity
On 2 June, 05:29, mike hasitharand...@gmail.com wrote:
hi guys,
i have 2 activities. (Activity A and Activity B).
Main Activity A is the Starting Activity. Activity B will run on top
of Activity B and is a Blur View.
when i'm
hi kamiseq,
so then how can i finish the Activity A from Activity B???
can't use finishActivity()
regards,
Randika
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi Mike,
How about sending a broadcast to A when pushing back button in B ?
NightGospel
On 6月2日, 下午5時03分, mike hasitharand...@gmail.com wrote:
hi kamiseq,
so then how can i finish the Activity A from Activity B???
can't use finishActivity()
regards,
Randika
--
You received this
hi NightGospel,
what exactly did u mean? could u please give me a sample?
regrads,
Randika
On Jun 2, 3:48 pm, NightGospel wutie...@gmail.com wrote:
Hi Mike,
How about sending a broadcast to A when pushing back button in B ?
NightGospel
On 6月2日, 下午5時03分, mike hasitharand...@gmail.com
hi NightGospel,
what exactly did u mean? could u please give me a sample?
regrads,
Randika
On Jun 2, 3:48 pm, NightGospel wutie...@gmail.com wrote:
Hi Mike,
How about sending a broadcast to A when pushing back button in B ?
NightGospel
On 6月2日, 下午5時03分, mike hasitharand...@gmail.com
Hi Mike,
I mean you can register one BroadcastReceiver in A to receive the
broadcast taht is sent from B.
For example,
public class A extends Activity{
public void onCreate(Bundle b){
.
.
.
registerFinishedReceiver();
}
private void registerFinishedReceiver(){
hi NightGospel,,
what exactly did u meant??? could you please give me a sample???
regards,
Randika
--
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
Mike,
You've done half the work already, except there is a little confusion
on the purpose of the finishActivity() method. That method only works
the other way around (closing Activity B from Activity A).
What you need to do now is send a result back to Activity A telling
it to call finish().
I am a little confused by what you are trying accomplish here.
You are starting ActivityB and not finishing ActivityA.
When you hit the back button you want it to finish ActivityB but NOT
return to ActivityA?
If you didn't want ActivityA anymore, why didn't you finish it?
If you want to keep
26 matches
Mail list logo