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 I
every row and do something with it.
It may not be a bad idea to wrap the cursor 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 taisa.san...@gmail.com
wrote:
Hi
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.
In
, 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 Cristina taisa.san...@gmail.comwrote
is handled
harmlessly when the activity is finished then you don't need to do
anything special about it. Just leave it in the queue and it let your
handler take care of it.
Hope this helps.
Greg
On Apr 3, 11:31 am, Taísa Cristina taisa.san...@gmail.com wrote:
On Fri, Apr 3, 2009 at 3:21
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 hack...@android.com wrote:
Hi, Android does not currently provide any way for an application to run
when it is being
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 ?
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 Engineer
Brazil, SP
55
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...@googlemail.com wrote
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 hack...@android.com wrote
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 hack...@android.com wrote:
You can't.
On Tue
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 Tue, May 5
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
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
of the
activity to be deleted,true);
And Accordingly you can start the other activity
actitivitygroup.getLocalActivityManager().startActivity(id);
--
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
--~--~-~--~~~---~--~~
You received
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
Anybody?
I do need it...
Taísa
On Tue, May 19, 2009 at 4:36 PM, Taísa Cristina taisa.san...@gmail.comwrote:
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
not work.
Is there a way it can work?
Taísa
On Tue, May 19, 2009 at 5:24 PM, Taísa Cristina taisa.san...@gmail.comwrote:
Anybody?
I do need it...
Taísa
On Tue, May 19, 2009 at 4:36 PM, Taísa Cristina taisa.san...@gmail.comwrote:
Hi all,
I need to populate a RelativeLayout (mainLayout
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
activity).
\o/
Thanks a lot for the attention!
On Thu, May 21, 2009 at 8:48 AM, Android Users androidmai...@gmail.comwrote:
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ísa Cristina Costa
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,
Any idea?
Taísa
On Thu, May 21, 2009 at 10:21 AM, Taísa Cristina taisa.san...@gmail.comwrote:
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
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 any woman I have ever known.
--
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
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
it.
--
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
--~--~-~--~~~---~--~~
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
...@4376ad40 is not valid;
is your activity running?
Any ideas?
On Thu, May 28, 2009 at 10:07 AM, Taísa Cristina taisa.san...@gmail.comwrote:
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 have a similar problem...
Any answer?
On Tue, Apr 14, 2009 at 4:24 PM, Arnaudweb arnaud...@gmail.com 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
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
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 because
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
30 matches
Mail list logo