[android-developers] Re: close on minimise application

2013-08-16 Thread passer
And if user go to another activity and come back after 10 minute he should enter password again? It is not right. there shoul be correct way to distinguish minimization from going to another activity. четверг, 15 августа 2013 г., 16:57:56 UTC+5 пользователь Johan Appelgren написал: You

Re: [android-developers] close on minimise application

2013-08-16 Thread passer
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. вторник, 13 августа 2013 г., 19:45:34 UTC+5 пользователь

Re: [android-developers] Re: close on minimise application

2013-08-16 Thread Michael Banzon
There isn't a way to distinguish the two - unless you specifically start the other/next activity from within the activity in question. Please do look into the application service method. You can add methods on the application service to perform login and logout (possibly with a timeout) using the

[android-developers] Create Logcat filtered by Application name

2013-08-16 Thread cybersun
Hi, I want to print LogCat just for my application when it's running to test. I can get log message for specified tag (tag was defined in my Activities), but I want to print all log messages for my application. If my app was crashed, I can find out and fix it. How can I do that? I run this to

[android-developers] Re: Create Logcat filtered by Application name

2013-08-16 Thread cybersun
More, I want to say that I use command in code, not in terminal/command line. From my program, I execute: Runtime.getRuntime().exec(logcat -v time -d AndroidRuntime:E +TAG+:W *:S); to get log for a tag. Thanks. On Friday, August 16, 2013 2:43:06 PM UTC+7, cybersun wrote: Hi, I want to print

Re: [android-developers] Create Logcat filtered by Application name

2013-08-16 Thread TreKing
On Fri, Aug 16, 2013 at 2:43 AM, cybersun quocnh...@gmail.com wrote: How can I do that? Try the first hit on Google for logcat filter by application - TreKing

Re: [android-developers] Create Logcat filtered by Application name

2013-08-16 Thread cybersun
Hi TreKing, after searching hours on google, some experts use logcat with grep command, but I can not run it from command line, not like what I expected from my testing. So I posted here, hope someone can help. On Friday, August 16, 2013 3:04:01 PM UTC+7, TreKing wrote: On Fri, Aug 16, 2013

[android-developers] Re: When to close db connection on android?

2013-08-16 Thread al
http://stackoverflow.com/questions/4547461/closing-the-database-in-a-contentprovider https://groups.google.com/forum/#!msg/android-developers/NwDRpHUXt0U/jIam4Q8-cqQJ Am Dienstag, 21. Juni 2011 11:29:52 UTC+2 schrieb Jay: Hi, I am new to Android and I am looking at the Notepad Tutorial sample

Re: [android-developers] Need help setting table column width

2013-08-16 Thread Salil
Any luck on this ... this is a kind of a bit urgent for me. Any pointers or help would be appreciated. Thanks sAlil On Wednesday, August 14, 2013 7:51:32 AM UTC+5:30, Salil wrote: Thanks TreKing for the reply. I referred the online documents for setting layout parameters. But couldn't

[android-developers] Re: close on minimise application

2013-08-16 Thread Johan Appelgren
Another activity within your app? If so, just make all of your activities set the timestamp in onPause to avoid just that. If you with going to another activity mean any activity within any app including things like the launcher I don't understand what you want to do. On Friday, August 16,

Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread igor ganapolsky
I am saying that I have no trouble using EasyTracker in regular *Activities *and *Fragments*. It is the *SherlockFragmentActivity *that is giving me trouble. On Thursday, August 15, 2013 10:39:20 PM UTC-4, TreKing wrote: On Thu, Aug 15, 2013 at 2:42 PM, igor ganapolsky

Re: [android-developers] Need help setting table column width

2013-08-16 Thread TreKing
On Fri, Aug 16, 2013 at 6:00 AM, Salil sali...@gmail.com wrote: Any luck on this ... Are you just sitting around waiting for someone to give you an answer? Did you try the things I suggested to you?

Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread TreKing
On Fri, Aug 16, 2013 at 9:47 AM, igor ganapolsky eazy...@gmail.com wrote: I am saying that I have no trouble using EasyTracker in regular *Activities *and *Fragments*. It is the *SherlockFragmentActivity *that is giving me trouble. I see. Well, I don't use that library, but if you don't get

[android-developers] Re: Which niche of Android app generates the most revenue or is likely to generate the most revenue in the future?

2013-08-16 Thread Nobu Games
Following AppBrain statistics show that the top ranking categories are personalization and entertainment: http://www.appbrain.com/stats/android-market-app-categories I'm not sure if there is any noteworthy niche in these categories. There are always trends and copy-cats of successful products.

Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread igor ganapolsky
Hello, if you don't use that library, then what do you use for analytics in your mobile apps? I don't know of a GA/EasyTracker specific forum... Thanks, Igor On Friday, August 16, 2013 11:30:02 AM UTC-4, TreKing wrote: On Fri, Aug 16, 2013 at 9:47 AM, igor ganapolsky

Re: [android-developers] Re: How to animate a bar which grows in height

2013-08-16 Thread Daniel Rindt
Thans Nobu, but after STFU and RTFM i don't get it. :-( Someone is willing to help me paid? -- 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

[android-developers] Re: Which niche of Android app generates the most revenue or is likely to generate the most revenue in the future?

2013-08-16 Thread Nathan
Nobu has posted some great links. I'll add one to it. http://blog.appannie.com/app-annie-index-market-q2-2013/ It says the top categories are: Games Communication Social Travel and Local Tools There is no dispute possible for the fact that freemium apps are the top earners. You can see that

[android-developers] RotationAnimation creation in code with toDegrees as local variable? Is there a way?

2013-08-16 Thread Boyd Speer
I would like to get user input with EditText (type is signed number) and (onButtonClick) use that char sequence as the toDegrees attribute of a RotationAnimation to rotate a compass ring to the number of degrees that the user entered. I can create the animation with a number and the rotation

Re: [android-developers] Create Logcat filtered by Application name

2013-08-16 Thread Lew
cybersun wrote: Hi TreKing, after searching hours on google, some experts use logcat with grep command, but I can not run it from command line, not like what I expected from my testing. So I posted here, hope someone can help. Did you follow his advice? I did, and the very first hit gives

[android-developers] RotationAnimation

2013-08-16 Thread Boyd Speer
Should have added in previous post of same topic: float rot = Float.parseFloat(degrees.getText().toString()); RotateAnimation myanim = new RotateAnimation (0,rot,Animation.RELATIVE_TO_SELF,0.5f,Animation.RELATIVE_TO_SELF,0.5f,); (This also does not work) -- You received this message because

[android-developers] Any suggestions for Ad platform in addition to AdMob

2013-08-16 Thread limtc
Hi, As an AdMob user, is it possible to add another ad platform when AdMob does not serve enough ads? If yes, what's your preference of choice? How difficult is it to support more than 1 ad platform in an app? Thanks! -- You received this message because you are subscribed to the Google

[android-developers] to fill an object with return after POST

2013-08-16 Thread Ricardo Cardoso
I did the below codes to log into my system @Post https://github.com/Post(/api/v1/sessions.json) User login(UserWrapper user); With that I have to return my webservice ender :status = 200, :json = { :success = true, :info = Logged in, :data = { :user = resource, :auth_token =

Re: [android-developers] Re: Which niche of Android app generates the most revenue or is likely to generate the most revenue in the future?

2013-08-16 Thread Navanshu Mahor
thx for the invaluable advice . really appreciate it and look to follow it On Sat, Aug 17, 2013 at 3:50 AM, Nathan nathan.d.mel...@gmail.com wrote: Nobu has posted some great links. I'll add one to it. http://blog.appannie.com/app-annie-index-market-q2-2013/ It says the top categories

[android-developers] Hide status bar in Nexus 7

2013-08-16 Thread limtc
Hi, I have a game which I wanted to hide the status bar in the game. Tested on Nexus 7 (running Android 4.3) with the code: setSystemUiVisibility(View.STATUS_BAR_HIDDEN); But the status bar remains there. What is the best way to hide status bar? Especially with compatibility with older

[android-developers] Fwd: Google map is not showing

2013-08-16 Thread nemi chhimpa
-- Forwarded message -- From: nemi chhimpa ern...@gmail.com Date: Wed, Aug 14, 2013 at 7:39 PM Subject: Google map is not showing To: android-developers@googlegroups.com Hi friends, I am using map api android v2 for google map. It is only showing the zoom control button and blank