[android-developers] why export true in android at list one screen like splace screen when using intent-filter

2023-06-15 Thread Anil kr Maurya
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

[android-developers] GoogleSignInResult.isSuccess() is true but GoogleSignInAccount's fields are null - Android

2016-09-10 Thread vilas patil
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

[android-developers] Set android:largeHeap = true programmatically ?

2012-11-14 Thread Anthony Prieur
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

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Håvard Christensen
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

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Håvard Christensen
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

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Romain Guy
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

[android-developers] SurfaceView#setZOrderMediaOverlay(true) not working as expected

2011-07-13 Thread Shri
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

[android-developers] Is it true, Paid Aandroid apps from indian origin can not be published?

2011-05-13 Thread mack2978
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

[android-developers] Re: obtaining true dimensions of a View larger than the screen

2011-05-05 Thread kellogs
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),

[android-developers] Re: obtaining true dimensions of a View larger than the screen

2011-05-05 Thread kellogs
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),

Re: [android-developers] This is True / False or a bug!?

2011-04-21 Thread Hyvi
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

[android-developers] This is True / False or a bug!?

2011-04-20 Thread Perry168
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

[android-developers] Re: android:layout_alignParentBottom=true on code

2010-10-28 Thread tobias429
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);

[android-developers] getting the true paint dimensions of a canvas

2010-10-02 Thread dashman
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

Re: [android-developers] getting the true paint dimensions of a canvas

2010-10-02 Thread Romain Guy
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

[android-developers] Re: android:clickable = true makes layout not clickable?

2010-07-09 Thread Matt
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

[android-developers] Should AsyncTask.cancel(true) work?

2010-04-20 Thread Nathan
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

[android-developers] Should AsyncTask.cancel(true) work?

2010-04-20 Thread Nathan
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

Re: [android-developers] Should AsyncTask.cancel(true) work?

2010-04-20 Thread Dianne Hackborn
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

[android-developers] Animation fillAfter(true) and click locations

2010-02-28 Thread Loki117
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

Re: [android-developers] Animation fillAfter(true) and click locations

2010-02-28 Thread Mark Murphy
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

[android-developers] Re: android:fastScrollEnabled=true: Is there more to getting the alphabetical index?

2010-01-28 Thread Nerdrow
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

[android-developers] Re: android:fastScrollEnabled=true: Is there more to getting the alphabetical index?

2010-01-28 Thread pawpaw17
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,

[android-developers] Re: noHistory=true rocks

2009-12-11 Thread Samuh
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

[android-developers] Re: noHistory=true rocks

2009-12-10 Thread Matt Kanninen
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

[android-developers] Re: noHistory=true rocks

2009-12-10 Thread Samuh
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

Re: [android-developers] Re: noHistory=true rocks

2009-12-10 Thread Dianne Hackborn
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

[android-developers] Is this true?

2009-11-05 Thread luckyboy31
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

[android-developers] Context.bindService() returns true even when Service.onBind() returns null?

2009-10-25 Thread Miguel Paraz
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

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-07 Thread Amitkeerti
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

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-07 Thread Dianne Hackborn
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

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Amitkeerti
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

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Dianne Hackborn
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.

[android-developers] OnTouchListener: return true or false?

2009-04-18 Thread arnouf
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

[android-developers] Re: setTextFilterEnabled(true) and onKeyDown

2009-01-13 Thread Michael MacDonald
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

[android-developers] getListView().setTextFilterEnabled(true) get the filter text problem

2008-12-02 Thread [EMAIL PROTECTED]
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