Hi,
I have an Activity A as launch mode 'singleTask'.
And i am launching B from A by using startActivityForResult().
From i am calling setResult().But onActivityResult() of A not being
called.
Is there any problem with launch mode of A?
--
You received this message because you are
Hi all,
I have started my application and did some orientation changes
and clicked back button from my application's main activity.
I went to application launcher and tried to launch my
application.
I got blank black screen and clicked menu button it gave me ANR.
And the logcat
Hi All,
While opening my application from application launcher.
some times i am getting blank screen for long time (almost 3 min).
if i perform some key events then i am getting ANR.
Log is as follows.
I/ActivityManager( 57): Starting activity: Intent
{ action=android.intent.action.MAIN
Any Help??
On Apr 6, 2:31 pm, pink 444 pnk...@gmail.com wrote:
Hi All,
While opening my application from application launcher.
some times i am getting blank screen for long time (almost 3 min).
if i perform some key events then i am getting ANR.
Log is as follows.
I/ActivityManager( 57
@gmail.com wrote:
Show some code. I guess, you are blocking the UI with a loop.
Thanks and regards,
Kumar Bibek
On Apr 6, 4:11 pm, pink 444 pnk...@gmail.com wrote:
Any Help??
On Apr 6, 2:31 pm, pink 444 pnk...@gmail.com wrote:
Hi All,
While opening my application from application launcher
...@android.com wrote:
On Mar 4, 3:28 am, pink 444 pnk...@gmail.com wrote:
Some times after installing my application and first running my
application is creating two processes as follows.
app_1 9064 34 111088 15912 afe0d3e4 S com.test
app_1 9077 9064 102764 8932 c006b6dc
Hi all,
Some times after installing my application and first running my
application is creating two processes as follows.
app_19064 34111088 15912 afe0d3e4 S com.test
app_19077 9064 102764 8932 c006b6dc afe0d3e4 S com.test
Why is it happening like that.
Any help would
Hi,
Some times at the time of application starting up two processes
are created one has default process as parent and second has first as
parent.
In this scenario neither activity nor application is coming up.But
application code is being executed.
Any idea.
Thanks,
--
You received
Hi,
I have an application,in which customized preferences are defined
by inheriting from Preference class.
In my application i have to change the preference title color
dynamically.For that i am calling
View view = Preference.getView(null,null).
And doing as follows.
((TextView)
Hi,
I have an application,in which customized preferences are defined
by inheriting from Preference class.
In my application i have to change the preference title color
dynamically.For that i am calling
View view = Preference.getView(null,null).
And doing as follows.
((TextView)
Hi,
I am starting an activity with
startActivityForResult(intent,requestcode).
And i am receiving result onActivityResult() call back .
The target acivity which gets the intent should get the request code
And based upon the request it has to do the specified operation.
How can target
Hi,
I have a listactivity in which i am displaying list of items more
than 8 items.Thus there is scroll bar eneabled.
When i click on list items some times getChildAt returing wrong
View from the list.
Why is it happening like that and how can i prevent from happening?
Thanks in
Hi,
I have to drag and drop items of listview.After a lot searching i
found one class of launcher as DragLayer.java.
How can i use DragLayer.java to drag and drop items of listview.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups Android
Hi,
I have to drag and drop items of ListView,which typically have an
image and text.
How can i implement this.
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
Hi,
In my application i have to close the application.
Hence i am using System.exit(1).
But some times it is trying to restart entire application.
What is the problem?
How can i close an application safely?
Thanks in advance.
--
You received this message because you
Thanks for your replay.
And i went through the link , which you specified.
As i understood process will be killed by android only.
But my question is Why does user has to wait till android closes
particular application, Instead why doesn't user do this?
Instead of waiting till android system
Hi all,
My application has some native code,which waits on some network
related stuff,as soon as native
code receives events from network native code is trying to broadcast a
request which will be received
by android application.
Native code is part my application and runs in same process.
Hi all,
My application has two components,one is Activity and
BroadcastReceiver.
I am using the BroadcastReceiver as inner class of my Application.
The BroadcastReceiver's onReceive method is initiating a new Thread as
Thread object,every time.
In that i am trying to update the
at the threads
in the debugger).
On Tue, Dec 15, 2009 at 10:25 PM, pink 444 pnk...@gmail.com wrote:
Hi all,
What is Heap Worker thread ?
What does it do?
In my application's HeapWorker thread is taking most of the
CPU around 80%.
How can i reduce
at dalvik.system.NativeStart.run(Native Method)
HeapWorker daemon prio=5 tid=5 VMWAIT
| group=system sCount=1 dsCount=0 s=0 obj=0x42af3e58
| sysTid=292 nice=0 sched=0/0 handle=1311408
at dalvik.system.NativeStart.run(Native Method)
On Dec 16, 1:32 pm, pink 444 pnk...@gmail.com wrote
Hi all,
What is Heap Worker thread ?
What does it do?
In my application's HeapWorker thread is taking most of the
CPU around 80%.
How can i reduce this usage Percentage?
Any help would be appreciated highly.
--
You received this message because you are
Hi all,
Why is task switcher(Which appears when we press home button
for long time) provided.
We have application launcher ,from where we can launch any
applications.
Then what is the need of the task switcher.
Even though some task are not running , still
Hi all,
Notifications are displayed in status bar.Any thing , which
appears to user in android is an activity.
Thus can i assume status bar as an activity . Because user can
see it.
In that case there are always two activities in running
mode ,one is home or any user
the window.
And one more doubt is can we update any activity's widgets status even
though that activity is not running.
On Nov 18, 7:42 pm, Mark Murphy mmur...@commonsware.com wrote:
pink 444 wrote:
Notifications are displayed in status bar.
Yes.
Any thing , which
appears to user
Hi all,
I have a task,which is created when an activity with
singleTask launch mode is activated.
I added some more activities to the task.But whenever i move
out of the task and come back to the task, activity stack is being
cleared up to root of the stack.
Why is this
Hi all,
I have two activities in my application and both have
different affinities . One activity is
launcher and another one is normal one.The normal activity has
standard launch mode .
In this scenario i am trying to activate normal activity from
launcher activity
for more
Hi all,
activities, services, and broadcast receivers — are activated
by asynchronous messages
called intents.
Like activities and the other components, services run in the
main thread of the application
process. So that they won't block other components or the user
interface,
Hi,
I have created an application and installed on the HTC mobile.
while launching the application some times it is giving the ERROR
application is not installed on your phone .
And some other times even though application is installed it is
being displayed in application launcher.
--
RichardC
On Oct 19, 1:57 pm, pink 444 pnk...@gmail.com wrote:
Hai,
In my application i wait on socket for network events.On some
events i have to bring activity into foreground(make activity as
running) if at all it is not in the foreground.
How can i do this?
Any
.
How can i implement that scenario using Notifications ?
Thanks,
-Siva.
On Oct 20, 1:24 pm, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
Can u give me a working example for letting an activity to
foreground using notifications.
On Oct 19, 6:17 pm, RichardC
be
interrupted right now? What if they are doing something more
importent than your application such as trying to phone the emergency
services.
--
RichardC
On Oct 20, 10:39 am, pink 444 pnk...@gmail.com wrote:
After studying some articles regarding notifications .I have
understood
(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
Thanks
Nithin
On Oct 20, 3:20 pm, pink 444 pnk...@gmail.com wrote:
What i want to implement is i have a service which will wait on a
socket for network events.
On some network events service has to notify the application activity
to update GUI elements
of interest occurs
- update your activity's GUI from the database the next time the USER
brings it to the foreground
String
On Oct 20, 12:17 pm, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
But the thing here is if at all we click on the notification only
intent
/seamlessness.html
Regards,
Bartosz
On Tue, Oct 20, 2009 at 1:17 PM, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
But the thing here is if at all we click on the notification only
intent will bring the Activity up.
I want to bring the activity to foreground without clicking any
Hai,
I have an application ,in which i have to start a service
( in same process) automatically means without user intervention and
that service should run till it is stopped.
How can i implement service so that i t can be started
automatically?
Any help would be
/
category
android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
Is there any wrong with above manifest file.
On Oct 19, 10:16 am, pink 444 pnk...@gmail.com wrote:
I am starting my service in an Activity with StartService
I wanna ask you a question.
If at all i have intent-filter for service in manifest file.Then
will Service be started automatically??
On Oct 18, 7:25 pm, Mark Murphy mmur...@commonsware.com wrote:
Jiri wrote:
If i have a service tag in my manifest, does that mean that the service
Hai,
In my application i wait on socket for network events.On some
events i have to bring activity into foreground(make activity as
running) if at all it is not in the foreground.
How can i do this?
Any suggestions would be appreciated highly.
Thanks,
-Siva
, Farproc farp...@gmail.com wrote:
You can try to code, and then post the problem you encounter.
On 10月17日, 下午1时10分, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
Can you give me a example .
On Oct 16, 2:55 pm, Farproc farp...@gmail.com wrote:
First, you do not have tostart/stop
.
Finally, Call Context.stopService() to terminate the service when it
is
not needed.
ps: Though a service runs in background, it runs in the main(UI)
thread.
On 10月16日, 下午12时38分, pink 444 pnk...@gmail.com wrote:
Hai,
My application has a background process which continuously
Hai,
My application has a background process which continuously waits
on a socket for receiving messages and it should be started only once
and at the time of application starting.Thus i want to do that
background job in a service.
The service should not be started from the activity
Hai,
I am newbie to Android ,Hence can you explain it in detail .
Thanks in Advance,
-Siva.
On Sep 10, 11:02 am, Dianne Hackborn hack...@android.com wrote:
Hi, you are more likely to get help on android-ndk.
On Wed, Sep 9, 2009 at 9:36 PM, pink 444 pnk...@gmail.com wrote:
hai
hai folks,
In Android , Native code is written as follows.
JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject
obj)
{
printf(THIS IS TEST);
}
JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved)
{
JNIEnv *env;
JNINativeMethod meth;
Hackborn hack...@android.com wrote:
Just make a Handler, have your thread post messages to it, and update the UI
when receiving the message. Don't run your thread/service in another
process, that adds a whole lot more complexity for nothing you need.
On Sun, Sep 6, 2009 at 9:20 PM, pink 444 pnk
of overhead.
Thanks,
-Siva.
On Sep 2, 9:49 pm, Dianne Hackborn hack...@android.com wrote:
On Wed, Sep 2, 2009 at 5:16 AM, pink 444 pnk...@gmail.com wrote:
I got one way to solve my problem and it resembels your solution.What
i did is i made my EditText as static.Whenever oncreate
are doing this, you should turn off the text view's
auto-saving of its data in the saved instance state, since you no longer
need that.)
On Tue, Sep 1, 2009 at 11:44 AM, Mark Murphy mmur...@commonsware.comwrote:
pink 444 wrote:
Hai,
I have a EditText filed in my Activity class
Hai,
I want to know how can we make use of native dialer to make
our own calls.What i want to know here is i want to get events
generated when native buttons pressed but those should be handled as
per my program.
We have TelephonyManager to get events generated when call state is
Hai,
I have a EditText filed in my Activity class,Where i need to
retain data,when orientation is changed or HOME button is pressed or
BACK(FINISH) is pressed.
Android internally maintaining EditText when orientation is
changed or HOME button is pressed .But it is not maintaining
48 matches
Mail list logo