[android-developers] Re: Ability to quit/disable an app after trial period?
With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you will record phones IMEI and application version... If user already had your app then disable it... There is probably better way to do this but have no time to think more.. On Jun 10, 9:48 pm, Slater easwar.satras...@gmail.com wrote: I am planning to release a trial version of my app and am looking into best ways to implement the logic. My lite version of the app would have all the features but will be time restricted. I see a couple of issues: - Currently there is no mechanism built into android that allows an app to be closed. I see that you can close the main acitivity, but the user can always press the back button and go back into the app. - After trial period, the user can always un-install the app and re- install it. What do I do to prevent this from happening? Any help is highly appreciated. Thanks, Slater. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Ability to quit/disable an app after trial period?
On Jun 10, 9:48 pm, Slater easwar.satras...@gmail.com wrote: - Currently there is no mechanism built into android that allows an app to be closed. I see that you can close the main acitivity, but the user can always press the back button and go back into the app. - After trial period, the user can always un-install the app and re- install it. What do I do to prevent this from happening? Check it online. Have the users Phone ID compared with the one in your database (on your website) to get the date of first activation. However, then you have to make regular checks (i.e. daily). Another way is, do hardcode it. This way the user can't circumvent it unless they set back the internal time of their phones. Which is kind of useless as stuff like calendar, alerts and similar stuff wouldn't work acurately anymore. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Ability to quit/disable an app after trial period?
We did the database IMEI implementation. Check out a2b trial. Its pretty slick b/c you can update counts from the server, extend, or make into full versions remotely. Chris. On Jun 10, 2:48 pm, Slater easwar.satras...@gmail.com wrote: I am planning to release a trial version of my app and am looking into best ways to implement the logic. My lite version of the app would have all the features but will be time restricted. I see a couple of issues: - Currently there is no mechanism built into android that allows an app to be closed. I see that you can close the main acitivity, but the user can always press the back button and go back into the app. - After trial period, the user can always un-install the app and re- install it. What do I do to prevent this from happening? Any help is highly appreciated. Thanks, Slater. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Ability to quit/disable an app after trial period?
2009/6/12 Androman amirs...@gmail.com With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you will record phones IMEI and application version... If user already had your app then disable it... There is probably better way to do this but have no time to think more.. Have a splash screen displayed while the check is occurring in the background, if it passes load the real activity, if it fails just trigger a call to finish(); --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Ability to quit/disable an app after trial period?
Is the IMEI going to be valid on devices like android netbooks?Wouldn't you be better off using the androidID? On Fri, Jun 12, 2009 at 4:01 AM, Delta Foxtrot deltafoxtrot...@gmail.comwrote: 2009/6/12 Androman amirs...@gmail.com With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you will record phones IMEI and application version... If user already had your app then disable it... There is probably better way to do this but have no time to think more.. Have a splash screen displayed while the check is occurring in the background, if it passes load the real activity, if it fails just trigger a call to finish(); -- Writing code is one of few things that teaches me I don't know everything. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---