Hi all,
I have a Service which enables/disables an application launcher
activity as follows. Can I change the application label from my code,
while enabling the application launcher?
"
ComponentName cName = new ComponentName("my.package.name",
"my.launcher.activity");
int state = install ? Packa
I have a Service which enables/disables an application launcher
activity. Can I change the application "user-friendly" name from my
code?
Tks
On Aug 11, 2:18 pm, Dianne Hackborn wrote:
> Hi, Android does not currently provide any way for an application to run
> when it is being uninstalled.
>
>
Is it possible?
I have an EditText which needs to use a certain input method which is
already "installed" in the device (but is not currently running). How could
I do this?
Taísa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Hi all,
I have an EditText which can only accept some specific characters (7-bit
encoding).
How is the best way to "control" the user input in such case? Should I have
a dedicated input method for that?
Taísa
--~--~-~--~~~---~--~~
You received this message becaus
Hi all,
Is there a way to disable the notification bar expanded view while my
activity is running?
I could see that voice call does it by using a non-public API. Is there a
public one to do so?
Taísa
--~--~-~--~~~---~--~~
You received this message because you are
Hi all,
Do I have to set the window token for an embedded Activity when using
ActivityGroup?
Whenever I try displaying a dialog from the embedded Activity I get an error
about its window token. I tried getting the parent's token and setting the
embedded one to that value, but the parent's token w
I have a similar problem...
Any answer?
On Tue, Apr 14, 2009 at 4:24 PM, Arnaudweb wrote:
>
> Hello,
>
> I'm trying to run an activityGroup embedded inside another
> activityGroup. (Example : an activityGroup inside a tabActivity)
>
> This seems to display properly but throw an exception when i'
...@4376ad40 is not valid;
is your activity running?
Any ideas?
On Thu, May 28, 2009 at 10:07 AM, Taísa Cristina wrote:
> When I need to show dialog windows I use my parent context. That was the
> only way I could show them with no BadTokenException.
>
> But when showing a search window I d
n Thu, May 28, 2009 at 3:25 AM, Android Users wrote:
> You have to be careful with the context in which you are using an activity
> group. I encountered this problem when i was trying to show a dialog in an
> activity but with different context.
> So if you are using any context as para
Hi all,
I have an ActivityGroup with an embedded TabActivity and another simple
Activity.
The TabActivity has three tabs, each one with a ListActivity.
When I try to start a search from a list (calling onSearchRequested()), I
get a WindowManager$BadTokenException.
I've tried requesting focus i
d post ur code snippet
> > that's responsible for this...
> > --
> > Regards,
> > Sujay
> > Walt Disney <
> http://www.brainyquote.com/quotes/authors/w/walt_disney.html>
> > - "I love Mickey Mouse more than an
Any idea?
Taísa
On Thu, May 21, 2009 at 10:21 AM, Taísa Cristina wrote:
> Hi all!
>
> Is there a way to have a view "always-showing" between activities?
> I say, I need a button to be always appearing on the bottom of the screen.
>
> I could get it working with a
Hi all!
Is there a way to have a view "always-showing" between activities?
I say, I need a button to be always appearing on the bottom of the screen.
I could get it working with an ActivityGroup, but I got a problem. My
application can work with more than one level of activities, or rather,
Activ
single top activity).
\o/
Thanks a lot for the attention!
On Thu, May 21, 2009 at 8:48 AM, Android Users wrote:
> Just a guess. Try destroying the activity B without destroying activity A.
> This may resume the activity A as soon as the activity B is destroyed.
>
> >
>
--
Taí
Hi all,
I have an ActivityGroup with three Activities, A, B and C.
I get the three activities views by using
"View viewA = getLocalActivityManager().startActivity(mActivityAId,
mActivityAIntent).getDecorView()"
(for A, B and C)
I need viewA to be aligned to its parent top edge, and viewC to be a
such rule does not work.
Is there a way it can work?
Taísa
On Tue, May 19, 2009 at 5:24 PM, Taísa Cristina wrote:
> Anybody?
> I do need it...
>
> Taísa
>
>
> On Tue, May 19, 2009 at 4:36 PM, Taísa Cristina wrote:
>
>>
>> Hi all,
>>
>> I need to
Anybody?
I do need it...
Taísa
On Tue, May 19, 2009 at 4:36 PM, Taísa Cristina wrote:
>
> Hi all,
>
> I need to populate a RelativeLayout (mainLayout) via code. I need view A
> to be aligned to its parent top edge, and B to be below A.
>
> I can correctl
Hi all,
I need to populate a RelativeLayout (mainLayout) via code. I need view A to
be aligned to its parent top edge, and B to be below A.
I can correctly position A by using "RelativeLayout.ALIGN_PARENT_TOP" rule.
Then I set an id to view A, and try positioning B below it by using
"RelativeLa
he respective activities.
>
> actitivitygroup.getLocalActivityManager().destroyActivity( activity to be deleted>,true);
>
> And Accordingly you can start the other activity
>
> actitivitygroup.getLocalActivityManager().startActivity();
>
>
> >
>
--
Taísa Cri
Hi all,
I have an ActivityGroup containing three embedded Activities (A, B and C).
Sometimes I need to "destroy" A and B to start another one, D, and when D is
finished, A and B are re-created.
Is it possible? If so, how can I do it?
Thanks,
Taísa
--~--~-~--~~~---~--
Hi all,
Is there any mapping among Network Types and Network Interfaces?
I mean, is it possible to found out whether a Network Interface is related
to MOBILE or WIFI network type, for example?
Thanks,
Taísa
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
e Activity
whenever he wanted to press a key and make stuff...
Is there a way to register for receiving key strokes if my application is
compiled with the emulator/device image? (should I ask it on
android-platform?)
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
On
Whenever I press a key, will the Bookmark activity handle it? Is it a
default behavior that can *not* be configured?
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
On Tue, May 5, 2009 at 1:55 PM, Dianne Hackborn wrote:
> You can't.
>
>
> On Tue,
I don't want to handle end call or home keys. I just want to handle another
key, such as space bar, while my Activity is in background.
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
On Tue, May 5, 2009 at 1:45 PM, Dianne Hackborn wrote:
> No, you can
I receive a
specific key event in a similar situation? Is there a way to register my
activity (or my application) for that?
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
On Tue, May 5, 2009 at 8:02 AM, ellipsoidmob...@googlemail.com <
ellipsoidmob...@googlema
problem is: I need the paused Activity to receive key events.
1) Is that possible?
2) If so, how? (I have already tried setting "takeKeyEvents(true)", but
whenever I press a key, the "Bookmarks" activity comes to the foreground)
Thanks,
Taísa
Taísa Cristina Costa dos Santos
Computer
mplemented handleMessage() in such a way that it
> dropped messages if the activity was finished.
>
> In your case, if the message after the "killer" message is handled
> harmlessly when the activity is finished then you don't need to do
> anything special about it. J
ever it comes up, regardless of what happened to the
> activity. Handler doesn't know anything about the activity state.
Did you say the main thread has its own handler?! So, if mine no more
exists, the it will handle that message?
>
> On Fri, Apr 3, 2009 at 11:17 AM, Taísa Cristi
Hi all,
I have a Handler implementation that is used in my Activity.
While handling the messages, there's a value of "msg.what" which makes my
Activity to finish itself.
My problem is that, when that "killer" message arrives, there's another one
in the message queue also destined to my handler.
r interface and don't expose
> the getCount() and random movement methods and make the contract
> explicit to the clients.
>
> Hope that helps.
>
> On Mon, Dec 8, 2008 at 1:51 PM, Taísa Cristina
wrote:
>> Hi,
>>
>> when a database query retrieves a Curso
Hi,
when a database query retrieves a Cursor, what does it have in fact? I mean,
does it have the whole result set in memory or keep a kind of "pointer" to
each result row, and when I do cursor.moveToNext() it points to the next
row? Or anything else?
I need to deal with a long list of data, and
31 matches
Mail list logo