[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 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. 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 пользователь Piren написал:

 that's a bad idea... unless your application is just one activity, it 
 will probably piss your users off that they have to navigate it from the 
 start every time it is being backgrounded.
 take mbanzon's idea - each activity will need to request the password if 
 needed. 
 You can do it easily by extending an activity with code that handles 
 that, then having all the needed activities inherit from it.




-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 пользователь mbanzon написал:

 You could add an application service and have each activity query the 
 service for entered password upon creation/resume. 

 On Tue, Aug 13, 2013 at 4:41 PM, passer pass...@gmail.com javascript: 
 wrote: 
  But on which event should i do finish()? 
  
  How can i know that the application minimized? All events happen on 
 calling 
  going to activity too(( 
  
  
  вторник, 13 августа 2013 г., 19:21:29 UTC+5 пользователь Kristopher 
 Micinski 
  написал: 
  
  You don't close the application, you can finish() the activity, 
 however. 
  
  Kris 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Android Developers group. 
  To post to this group, send email to 
  android-d...@googlegroups.comjavascript: 
  To unsubscribe from this group, send email to 
  android-developers+unsubscr...@googlegroups.com javascript: 
  For more options, visit this group at 
  http://groups.google.com/group/android-developers?hl=en 
  --- 
  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+unsubscr...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  



 -- 
 Michael Banzon 
 http://michaelbanzon.com/ 


-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 onCreate/onPause/onResume eg. methods of your other
activities.


On Fri, Aug 16, 2013 at 8:34 AM, passer passer...@gmail.com wrote:

 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 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. 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 пользователь Piren написал:

 that's a bad idea... unless your application is just one activity, it
 will probably piss your users off that they have to navigate it from the
 start every time it is being backgrounded.
 take mbanzon's idea - each activity will need to request the password
 if needed.
 You can do it easily by extending an activity with code that handles
 that, then having all the needed activities inherit from it.


  --
 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 this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Michael Banzon
http://michaelbanzon.com/

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 get Log for a specified tag: logcat -v time -d 
AndroidRuntime:E +TAG+:W *:S

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, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 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 get Log for a specified tag: logcat -v time -d 
 AndroidRuntime:E +TAG+:W *:S

 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, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 at 2:43 AM, cybersun quoc...@gmail.com javascript:
  wrote:

 How can I do that?


 Try the first hit on Google for logcat filter by application


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 code 
 now. In the NotesDbAdapter class, it defines a close() method to close the  
 DatabaseHelper. However I cannot find this method get called anywhere. 

 So my question is when shall we close the DB connection. I suppose we 
 should call it in the onDestroy() mehod of each Activity class. Or will 
 Android framework will take care of this so we don't have to worry about 
 it? 

 Please advise. thanks.


 -Jay


-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 do it correctly. I am not getting a logical explanation on why 
 only the first column is not setting the parameter. If I add a blank column 
 before the first column ( id column ) then the first blank column will be 
 of the fixed size and id column will become fit to the text size. It was a 
 bit puzzling. 

 Thanks for taking time to look into this. will wait for the analysis of 
 the experts.

 Thanks
 Salil 

 On Tuesday, August 13, 2013 11:11:05 PM UTC+5:30, TreKing wrote:


 On Tue, Aug 13, 2013 at 1:38 AM, Salil sal...@gmail.com wrote:

 I think I didn't understand your question correctly. the project file is 
 attached.


 Few people are going to download an attachment off a posting in a public 
 forum on the internet. Even fewer are going to weed through it to debug 
 your problem for you. When posting, you need to post the relevant bits of 
 your code to make easier for others to see what you're doing and offer help.
  

 The following is what I am doing.


  Checkout the docs for 
 TableLayouthttp://developer.android.com/reference/android/widget/TableLayout.html,
  
 particularly the section about setting columns shrinkable.

 Also make sure you're using the correct layout params:

 http://developer.android.com/reference/android/widget/TableLayout.LayoutParams.html

 http://developer.android.com/reference/android/widget/TableRow.LayoutParams.html


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  


-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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, 2013 8:34:29 AM UTC+2, passer wrote:

 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 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. 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 пользователь Piren написал:

 that's a bad idea... unless your application is just one activity, it 
 will probably piss your users off that they have to navigate it from the 
 start every time it is being backgrounded.
 take mbanzon's idea - each activity will need to request the password 
 if needed. 
 You can do it easily by extending an activity with code that handles 
 that, then having all the needed activities inherit from it.




-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 
 eaz...@gmail.comjavascript:
  wrote:

 I am having a hard time using Google Analytics EasyTracker in my 
 Activities that extend SherlockFragmentActivity.


 Are you saying that this works otherwise?


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 any help here,
perhaps asking on that library's project forum would be a good idea, if the
issue is specific to it?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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. I guess the only 
real key to making money with apps is being able to provide a quality 
product, regular updates and continuously promoting it with a solid 
advertising plan and budget. It's usually not done with just releasing the 
app and announcing it on a few forums and social websites. As with all 
things related to business: you have to have money in order to make money.

Talking about most revenue... I read a few articles on Gamasutra where 
mobile app developers swear on freemium (free download with in app 
payments for feature upgrades).
Here are various opinions on that matter from different game developers:

http://www.gamasutra.com/view/news/191047/Paid_vs_freetoplay_Advice_from_notable_mobile_studios.php

Related links:

   - Maximizing your launch on iOS and 
Androidhttp://gamasutra.com/blogs/BetableBlog/20120822/176369/Maximizing_your_launch_on_iOS_and_Android.php
   - Maximizing your ad revenue 
potentialhttp://www.gamasutra.com/blogs/BryanAtwood/20111220/9127/
   - Todd Moore: How to get a million downloads (sounds provocative but 
   it's worth a watch) http://www.youtube.com/watch?v=GxNDmOlODL8
   - Increasing monetization by using 
Pay-per-Engagementhttp://game-insider.com/2013/04/04/dawn-of-the-dragons-developer-monetizes-33-more-users-through-tapjoys-pay-per-engagement-solution/


On Thursday, August 15, 2013 9:25:50 AM UTC-5, navanshu wrote:




-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 
 eaz...@gmail.comjavascript:
  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 any help here, 
 perhaps asking on that library's project forum would be a good idea, if the 
 issue is specific to it?


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 by looking at the Top Grossing list on Google 
Play. Notice that most of them are free with in app purchases.  It doesn't 
mean it is necessarily a good fit for every app, though, and that is where 
the opinions come in. 

You can do more specific research somewhere like App Annie to look for the 
most successful apps that are similar to the one you want to build. For any 
of them, though, you can probably find some other similar ones that aren't 
making squat. So plan to be like the best in quality and marketing plans. 

Nathan

On Friday, August 16, 2013 12:45:17 PM UTC-7, Nobu Games wrote:

 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. I guess the only 
 real key to making money with apps is being able to provide a quality 
 product, regular updates and continuously promoting it with a solid 
 advertising plan and budget. It's usually not done with just releasing the 
 app and announcing it on a few forums and social websites. As with all 
 things related to business: you have to have money in order to make money.

 Talking about most revenue... I read a few articles on Gamasutra where 
 mobile app developers swear on freemium (free download with in app 
 payments for feature upgrades).
 Here are various opinions on that matter from different game developers:


 http://www.gamasutra.com/view/news/191047/Paid_vs_freetoplay_Advice_from_notable_mobile_studios.php

 Related links:

- Maximizing your launch on iOS and 
 Androidhttp://gamasutra.com/blogs/BetableBlog/20120822/176369/Maximizing_your_launch_on_iOS_and_Android.php
- Maximizing your ad revenue 
 potentialhttp://www.gamasutra.com/blogs/BryanAtwood/20111220/9127/
- Todd Moore: How to get a million downloads (sounds provocative but 
it's worth a watch) http://www.youtube.com/watch?v=GxNDmOlODL8
- Increasing monetization by using 
 Pay-per-Engagementhttp://game-insider.com/2013/04/04/dawn-of-the-dragons-developer-monetizes-33-more-users-through-tapjoys-pay-per-engagement-solution/



-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 works 
but if I replace the number with a variable (float) it does not.
Any suggestions greatly appreciated. Perhaps a totally different approach to 
turning the degrees ring?


RotateAnimation myanim = new RotateAnimation 
(0,278,Animation.RELATIVE_TO_SELF,0.5f,Animation.RELATIVE_TO_SELF,0.5f,);

(The above works)

float rot = degrees.getText().toString();
RotateAnimation myanim = new RotateAnimation 
(0,rot,Animation.RELATIVE_TO_SELF,0.5f,Animation.RELATIVE_TO_SELF,0.5f,);

(Does not work)


-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 a complete 
answer, not involving grep, BTW. 

It agrees with and clarifies the information given by 
  adb logcat --help

Why not do what he suggested, hm?

TreKing wrote:


 cybersun wrote:

 How can I do that?


 Try the first hit on Google for logcat filter by application

 
Really, do try that.

Here, let me help:
http://stackoverflow.com/questions/6854127/filter-logcat-to-get-only-the-messages-from-my-application-in-android

This came from the search TreKing suggested. It's a really good suggestion, 
if you actually follow it.

-- 
Lew

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 = current_user.authentication_token } }

My doubt is how to catch the return from webservice and populate the User
object?

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 by looking at the Top Grossing list on Google
 Play. Notice that most of them are free with in app purchases.  It doesn't
 mean it is necessarily a good fit for every app, though, and that is where
 the opinions come in.

 You can do more specific research somewhere like App Annie to look for the
 most successful apps that are similar to the one you want to build. For any
 of them, though, you can probably find some other similar ones that aren't
 making squat. So plan to be like the best in quality and marketing plans.

 Nathan


 On Friday, August 16, 2013 12:45:17 PM UTC-7, Nobu Games wrote:

 Following AppBrain statistics show that the top ranking categories are
 personalization and entertainment:

 http://www.appbrain.com/stats/**android-market-app-categorieshttp://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. I guess the only
 real key to making money with apps is being able to provide a quality
 product, regular updates and continuously promoting it with a solid
 advertising plan and budget. It's usually not done with just releasing the
 app and announcing it on a few forums and social websites. As with all
 things related to business: you have to have money in order to make money.

 Talking about most revenue... I read a few articles on Gamasutra where
 mobile app developers swear on freemium (free download with in app
 payments for feature upgrades).
 Here are various opinions on that matter from different game developers:

 http://www.gamasutra.com/view/**news/191047/Paid_vs_**
 freetoplay_Advice_from_**notable_mobile_studios.phphttp://www.gamasutra.com/view/news/191047/Paid_vs_freetoplay_Advice_from_notable_mobile_studios.php

 Related links:

- Maximizing your launch on iOS and 
 Androidhttp://gamasutra.com/blogs/BetableBlog/20120822/176369/Maximizing_your_launch_on_iOS_and_Android.php
- Maximizing your ad revenue 
 potentialhttp://www.gamasutra.com/blogs/BryanAtwood/20111220/9127/
- Todd Moore: How to get a million downloads (sounds provocative
but it's worth a watch) http://www.youtube.com/watch?v=GxNDmOlODL8
- Increasing monetization by using 
 Pay-per-Engagementhttp://game-insider.com/2013/04/04/dawn-of-the-dragons-developer-monetizes-33-more-users-through-tapjoys-pay-per-engagement-solution/

  --
 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 this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/3DnuZcymrhg/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Thanks  Regards,
  Navanshu

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 version (like 2.3)?

Any idea? 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, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 map. I followed all steps mention in google map
api v2 doc. In logcat, unable to find Lmap message showing.

-- 
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 this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.