[android-developers] Re: How change ViewPager animation's duration when setCurrentItem is called?

2013-02-08 Thread tegbird
this is what i did, and use MyViewPager in your xml ISO ViewPager public class MyViewPager extends ViewPager { Method scroller; public MyViewPager(Context context) { super(context); } public MyViewPager(Context context, AttributeSet attr) { super(context,at

[android-developers] Re: Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread tegbird
it captures the last shown screen of my app, when another app comes to foreground or home key is pressed. The captured screenshot is visible on task-switcher button. On Jan 20, 12:37 pm, Harri Smått wrote: > On Jan 20, 2012, at 1:25 PM, tegbird wrote: > > > If you press the task-swi

[android-developers] Re: ICS Recent apps thumbnails

2012-01-20 Thread tegbird
Hi Daz, I am facing the same problem. Did you find any solution. It would be great help if you can provide any guidance. Thanks in advance. Tegbir On Dec 17 2011, 10:55 am, Daz wrote: > Hi Diane, > > Sorry I should have been more specific but this was my 3rd attempt at > asking the question, the

[android-developers] Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread tegbird
In 3.0+ and 4.0+, When user switches applications Android takes a screenshot of the current activity before moving the application in background. If you press the task-switcher button, you can see the snapshot of your app. I want to avoid that android takes snapshot of my activity as it has sensit

[android-developers] Re: what is the ApplicationInfo.uid life cycle, does it ever change for an application

2011-11-30 Thread tegbird
UID might change on users' devices, with the lovely side effect of > causing your app to no longer be able to read its own existing files. > > > > > > > > > > On Tue, Nov 29, 2011 at 1:32 PM, tegbird wrote: > > When I update my app, doesApplicationInfo.uid st

[android-developers] what is the ApplicationInfo.uid life cycle, does it ever change for an application

2011-11-29 Thread tegbird
When I update my app, does ApplicationInfo.uid stays the same. PackageManager.getNameForUid (int uid) says "Retrieve the official name associated with a user id. This name is guaranteed to never change, though it is possibly for the underlying user id to be changed. That is, if you are storing in