I have a hierarchy consisting of 4 levels of depth. My profile has 2nd
level of hieararchy that means that pressing back while being in profile
must always return user to the 1st hierarchy level.
My problem is that link to the profile is available on all levels; so, for
instance, if a user
Hello android developers.I want to know whether we can start the
activity life cycle manually in android.Please reply me.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
On Jul 31, 5:26 pm, Adriano B. Godinho adri...@godinho.eng.br
wrote:
Hi,
You can declare your activity with singleTask launch mode.
activity android:name=.YourActivity
android:label=@string/app_name
android:launchMode=singleTask/
More
Hi!
I'm sorry, looks like the problem is not related with activity or
service.
I have this problem if I have a running MediaRecorder in my service or
some binded service.
The ACTION_CALL activity doesn't appear while the MediaRecorder is
running!
The ACTION_CALL activity appears right after that
Activity can't be started from the service without
FLAG_ACTIVITY_NEW_TASK flag. Probably there is some alternative to
this flag, but activity from the service doesn't started simple
without this flag and without any other flag.
Read about this flag here
On Sun, Jul 4, 2010 at 4:49 AM, alex.tchumel alex.tchu...@gmail.com wrote:
Activity can't be started from the service without
FLAG_ACTIVITY_NEW_TASK flag.
Then do not start that activity from a service.
There better be a user using the device at the time the call needs to
be placed, and the
Could you say more about your idea - what kind of the flags can be
helpfull?
Do you think an alternative to FLAG_ACTIVITY_NEW_TASK flag or some
additional flag(s) to FLAG_ACTIVITY_NEW_TASK?
I spent a lot of time to fix this problem without of understandig it :
(
I started a simple launcher
On Sat, Jul 3, 2010 at 5:54 AM, alex.tchumel alex.tchu...@gmail.com wrote:
Could you say more about your idea - what kind of the flags can be
helpfull?
Position the cursor of your editor at the end of the line containing
you setFlags() call. Press the backspace key enough times to eliminate
Not sure if you have already resolved this. But here is one quick
solution: you can set the flag, FLAG_ACTIVITY_PREVIOUS_IS_TOP when you
create intent for your new activity. This would prevent bringing your
new activity in the foreground.
-Ritu
On Apr 22, 4:13 pm, ~ TreKing treking...@gmail.com
Activities are meant for the user to interact with, so no.
You can create a service, and call it with startService(Intent).
There are some nice examples of services in API Demos:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/index.html
(look for
Are you calling this method to set the action for the tab?
http://developer.android.com/intl/fr/reference/android/widget/TabHost.TabSpec.html#setContent%28android.content.Intent%29
On Jan 5, 3:11 pm, smyl smy...@gmail.com wrote:
the activites are with in the same application , but the thing is
Unless the Activities that you want to show under the tabs are
activities in the same application you may run into the problem
described here regarding TabWidget -
http://groups.google.com/group/android-beginners/msg/17c95a6881e1dfe4
On Jan 5, 5:50 am, smyl smy...@gmail.com wrote:
i am working
the activites are with in the same application , but the thing is that
when the user clicks on a particular city i can start the activity
which contains the forecast for that city but that new activity
launches on the whole screen not within the current tab , i.e it
doesn't replaces the activity
Did you find the solution?
On Nov 30, 12:19 am, Moritzz moritz...@googlemail.com wrote:
Hi!
I'm trying to start an activity out of a widget so I can't use the
startActivity() function. So I'm trying to create the correct intent
but I don't find what I'm missing. Here's my code:
yes instead of making new activity to go back to the main activity u can use
a flag
here screen1 is suppose to be the old activity
/* Intent newIntent=new Intent(*android*.intent.action.SCREEN1);
newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(newIntent); */
if i
semaka wrote:
I have a project in which I have to start an activity which is not
declared in AndroidManifest.xml. Is that possible to register an
activity dynamically by code?
Not that I'm aware of.
Or is it possible to overwrite the
AndroidManifest.xml from an installed .apk or to
As mark has said, nope, its not possible. The manifest registers your
application with the system. This is the only way the system becomes
aware of executable targets.
Cheers,
Justin
Android Team @ Google
On Sep 2, 7:21 am, Mark Murphy [EMAIL PROTECTED] wrote:
semaka wrote:
I have a project
17 matches
Mail list logo