why export true in android at list one screen like splace screen when using
intent-filter
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I have used Google sign-in feature in my android app. I have used their
standard code for login and have tested it by deploying it on my mobile
device in debug mode. Everything works fine this way.
I have now moved my app to Google Play Store for closed beta testing. When
I install my app from
I saw since API 11 we can add in the AndroidManifest.xml: android:largeHeap
= true
Can I set this programmatically ?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Updating the documentation to clearify the fact that it works like this,
would be a very good thing.
I haven't run into this issue myself, but the more clearification there is
in documentation, the better. Makes all devs happy.
On Tuesday, April 20, 2010 10:42:49 PM UTC+2, Nathan wrote:
Cause
I still think the documentation could be clearer.
On Tuesday, April 20, 2010 10:42:49 PM UTC+2, Nathan wrote:
Cause it doesn't.
I have a service running an Asynctask to do some work.
I bind to it from an activity and call a cancel method. The service,
in turn, calls
If doInBackground() is already running, cancel can only stop the
operation if your implementation periodically check for isCancelled().
For instance:
for (int i = 0; i count; i++) {
if (isCancelled()) break;
doStuff(i);
}
In addition, the parameter passed to cancel can be used to
I have a small screen camera preview being shown on top of a larger
video (see layout at the end). I use
SurfaceView#setZOrderMediaOverlay(true) on the small camera preview,
and this works most of the time. However, occasionally, the camera
preview is not fully displayed. Only the part of it not
Could any one from android support please confirm that Paid Aandroid
apps from indian origin can not be published, it is true?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Good hint. I was able to do
int h1 = computeVerticalScrollExtent();
int h3 = computeVerticalScrollRange();
if (h1 == h3)
{
//switch to linearlayout wrapper
}
inside a ScrollView wrapper. The above methods return the same thing
on a LinearLayout though (and probably also on regular Views),
Good hint. I was able to do
int h1 = computeVerticalScrollExtent();
int h3 = computeVerticalScrollRange();
if (h1 == h3)
{
//switch to linearlayout wrapper
}
inside a ScrollView wrapper. The above methods return the same thing
on a LinearLayout though (and probably also on regular Views),
bb = (xx==Local1);
should be
bb = (xx.equals(Local1));
2011/4/20 Perry168 perry...@netvigator.com
Hi,
Today, I wrote a program. The function is to get the installed
packages name through the provider name. But I find a problem, when I
compare two SAME strings. The Boolean result will
Hi,
Today, I wrote a program. The function is to get the installed
packages name through the provider name. But I find a problem, when I
compare two SAME strings. The Boolean result will be FALSE.
I used the Eclipse to watch the value change. From expression, I saw
the Local1 and xx are same. But
You can do this via the LayoutParams. E.g. like below:
RelativeLayout relativeLayout = new RelativeLayout(this);
RelativeLayout.LayoutParams relativeParams = new
RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT);
i have a View subclass and i overrode the onDraw method
void onDraw(Canvas canvas)
when i do a canvas.getHeight() - i get 480 in the emulator.
that's the full screen height - i'm pretty sure the canvas
does not include the title bar etc.
shouldn't canvas.getHeight() return the true height of
You are mistaking the size of the Canvas with the size of your View.
There is usually one Canvas shared by all the Views, so the Canvas is
as big as the window.
On Sat, Oct 2, 2010 at 4:50 PM, dashman erjdri...@gmail.com wrote:
i have a View subclass and i overrode the onDraw method
void
How do you know it isn't clickable? Did you try adding an onClick
listener?
Just because a view is clickable, does NOT mean it will change
background colors when clicked. You have to use state to change the
backgrounds when something is focused, pressed, etc.
-Matt
On Jul 8, 5:52 am, dxw_es
Cause it doesn't.
I have a service running an Asynctask to do some work.
I bind to it from an activity and call a cancel method. The service,
in turn, calls AsyncTask.cancel(true);
AyncTask.cancel returns true. Nonetheless, the thread is still running
happily and still doing the things in
Because it isn't.
AsynTask.cancel(true) is called from a service on its AsyncTask
It returns true.
After the call, AsyncTask.iscancelled() is true.
Nonetheless, the thread is still running happily and performing the
tasks in doinBackground as if nothing had happened. I can see this all
in the
Killing threads is horribly bad and not something anyone should do. You
need to check in your task if it has been canceled, and return if so.
On Tue, Apr 20, 2010 at 2:04 PM, Nathan nathan.d.mel...@gmail.com wrote:
Because it isn't.
AsynTask.cancel(true) is called from a service on its
Evening all,
I had a quick questions around animations and what is going on. So I
have buttons in a vertical row down the side of the screen. Upon
clicking the last button the row animates and slides out at the top of
the screen. This works HOWEVER when the user clicks the same button
again (the
Loki117 wrote:
I had a quick questions around animations and what is going on. So I
have buttons in a vertical row down the side of the screen. Upon
clicking the last button the row animates and slides out at the top of
the screen. This works HOWEVER when the user clicks the same button
again
There's an SDK sample on this: platforms\android-?.?\samples\ApiDemos
\src\com\example\android\apis\view\List9.java
On Jan 27, 10:28 pm, pawpaw17 georgefraz...@yahoo.com wrote:
Hi Guys,
I added android:fastScrollEnabled=true to the xml description of my
listview class.
I was (probably
Thanks!
--
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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options,
Dianne,
Firstly, many thanks for your reply!
(1) This is a debugging feature, not something to turn on for normal
production.
I understand this.
(2) It doesn't finish the activity; it destroys the current instance, which
will thus needed to be re-instantiated the next time the user
I love the suggestion though, it beats modifiying the manifest for
debugging. I recall finding a way to do it from code too, but so far I
have resisted my bosses suggestions to change our back functionality
only for the Droid.
What I am tempted to do is noHistory all but one or a few of my
I thought finishing the activity when it becomes invisible was a
taboo (i.e. against the activity and Task design guidelines); however,
I can imagine cases where not maintaining a History would help keep
the memory footprint of the app low.
Dianne Hackborn wrote:
Another thing you can do is use
On Thu, Dec 10, 2009 at 7:33 PM, Samuh samuh.va...@gmail.com wrote:
I thought finishing the activity when it becomes invisible was a
taboo (i.e. against the activity and Task design guidelines); however,
I can imagine cases where not maintaining a History would help keep
the memory footprint
I received an email from a friend containing a link.
This link: http://919422kew6qdoe7ghqibu8tvam.hop.clickbank.net/
I joined him and to my surprise everything seems ok.
This guy says he makes about $ 2 000 000 per year.
What you say about this thing?
--
You received this message because you
Hi,
I had a bug in my code where Service.onBind() returned null, in a
local Service. But, Context.bindService() returned true, though the
ServiceConnection was not called back.
Isn't this inconsistent with the docs? In onBind():
Return the communication channel to the service. May return null if
hi Dianne,
Thanks for the reply. One small clarification.
From your response I understand the following:
If the activity instance was created in a task for which it did not
have an affinity and lets assume that this task goes in the
background. After some time when the task comes back in the
On Wed, Oct 7, 2009 at 2:00 AM, Amitkeerti amitkee...@gmail.com wrote:
From your response I understand the following:
If the activity instance was created in a task for which it did not
have an affinity and lets assume that this task goes in the
background. After some time when the task comes
hi,
can anybody help with the query.
Basically the query is, if I make allowTaskReparenting to true, will
there be a single instance of the activity that gets re-parented from
one task to another ?
From developer.android.com, i gather,
If an activity has its
On Tue, Oct 6, 2009 at 8:42 PM, Amitkeerti amitkee...@gmail.com wrote:
Basically the query is, if I make allowTaskReparenting to true, will
there be a single instance of the activity that gets re-parented from
one task to another ?
No. New instances will be created as needed, like usual.
Hi all,
Whe you try to manage the event on an element using OnTouchListener
you have 3 states:
DOWN, MOVE and UP.
The implement of this method must return a boolean value.
If in my MOVE case, I return true...the method continues to be parse
until the last return value. Why?
What is the normal
AFAIK--
onKeyDown will be called first. Only if it does not consume the event
(only if it returns false) does
the filter processing happen.
Mike Wei wrote:
1. write a activity extends ListAcitivity. set a
ResourceCursorAdapter.
2. set getListView().setTextFilterEnabled().
3. write
I use getListView().setTextFilterEnabled(true) to fillter the resutl
list,
now I want to get the filter text , how do it?
and how to set default filter text when call this intent?
seem is internal object. can you help me?
thanks
--~--~-~--~~~---~--~~
You
36 matches
Mail list logo