But how activity knows if user already authenticated.
if I use static variable isAuthenticated. Value of this variable will
true after application minimized. and the problem remains.
I think alone way to do this is handle of minimizing.
среда, 14 августа 2013 г., 13:51:25 UTC+5 пользователь
You could have a timestamp set in onPause that you check in
onCreate/onResume. If it has been too long redirect to your login activity.
On Thursday, August 15, 2013 1:29:55 PM UTC+2, passer wrote:
But how activity knows if user already authenticated.
if I use static variable isAuthenticated.
Have you profiled your code? See if it's optimized? Any O(n^2) code parts
that are eating up CPU time?
Beyond that, check these if you haven't already.
1. Analyzing the memory usage of your Android
applicationhttp://kohlerm.blogspot.in/2009/04/analyzing-memory-usage-off-your-android.html
Also, this might help:
http://stackoverflow.com/questions/15490770/android-emulator-memory-usage-keeps-increasing
On Thu, Aug 15, 2013 at 11:44 AM, android-developers@googlegroups.comwrote:
Today's Topic Summary
Group: http://groups.google.com/group/android-developers/topics
- any
--
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, visit
Hello,
i try to let grow a bar which actually is a simple View with a color in
hight for animating a voting display. My code looks like this:
ScaleAnimation anim = new ScaleAnimation(1, 1, 0, 1, 0, 0);
anim.setDuration(5000);
anim.setFillEnabled(true);
Hi Daniel,
can you post the layout in which these bars are embedded? You may be able
to solve it with some bottom gravity setting in the parent container
layout
On Thursday, August 15, 2013 9:53:29 AM UTC-5, Daniel Rindt wrote:
Hello,
i try to let grow a bar which actually is a simple View
2013/8/15 Nobu Games dev.nobu.ga...@gmail.com
Hi Daniel,
can you post the layout in which these bars are embedded? You may be able
to solve it with some bottom gravity setting in the parent container
layout
Hey,
cool thats what i haven't played with. Here is the layout:
RelativeLayout
I'm not sure if that really works properly with animations, since I'm not
sure how and if they trigger re-layouts. But in theory you could try
android:gravity=bottom in your RelativeLayout or use
android:alignParentBottom=true in your bar child views.
If this doesn't work, you may have to
Shoot! I just saw that you're using alignParentBottom... so that may answer
my doubts about Animations and re-layouts. It probably doesn't work. At
least not with that attribute :-/
On Thursday, August 15, 2013 1:24:48 PM UTC-5, Nobu Games wrote:
I'm not sure if that really works properly
Shoot! I just saw that you're using alignParentBottom...
Maybe you can just tweak the ScaleAnimation and feed it with negative
values or flip the from / to values
On Thursday, August 15, 2013 9:53:29 AM UTC-5, Daniel Rindt wrote:
Hello,
i try to let grow a bar which actually is a simple
But what if you need to close the connection and you don't want to put it
in the onDestroy, coz the onDestroy gets called when you change the
orientation.
We don't need to keep closing and opening the connection when ever the
activity gets recreated. Also we need it such a way that the
I am having a hard time using Google Analytics EasyTracker in my Activities
that extend SherlockFragmentActivity. When I try to use
EasyTracker.getInstance().activityStart(this);in onStart, the compiler
doesn't complain but the app crashes with:
On Thu, Aug 15, 2013 at 2:42 PM, igor ganapolsky eazy...@gmail.com wrote:
I am having a hard time using Google Analytics EasyTracker in my
Activities that extend SherlockFragmentActivity.
Are you saying that this works otherwise?
14 matches
Mail list logo