Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread dashman
Any system launcher is fine.

What I'm trying to solve is the piracy issue.

i.e. someone just wrapping my app and launching it.

i want to disable that.


-- 
-- 
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] Detect activity was started by the Android launcher

2013-02-28 Thread Mark Murphy
On Thu, Feb 28, 2013 at 7:46 AM, dashman erjdri...@gmail.com wrote:
 Any system launcher is fine.

What about users who download their own home screen app?

What about users who click on an entry in the recent-tasks list? Or
click on one of your notifications? Or click on one of your app
widgets?

 i.e. someone just wrapping my app and launching it.

 i want to disable that.

First, anyone who can wrap your app can disable your check.

Second, wrapping is sometimes done intentionally (e.g., by Amazon for
their AppStore DRM, IIRC).

Third, the way to check for wrappers is to confirm that your app's
package name is what you expect and that your app's signing key
matches what you expect. See http://stackoverflow.com/a/6203440/115145
for the latter. Again, all of these checks can be deactivated if
somebody puts their mind to them.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.6 Available!

-- 
-- 
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] Detect activity was started by the Android launcher

2013-02-28 Thread Kristopher Micinski
Mark's right, this is a complete nonsolution to the piracy issue.

Kris

On Thu, Feb 28, 2013 at 7:46 AM, dashman erjdri...@gmail.com wrote:
 Any system launcher is fine.

 What I'm trying to solve is the piracy issue.

 i.e. someone just wrapping my app and launching it.

 i want to disable that.



 --
 --
 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.



-- 
-- 
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] Detect activity was started by the Android launcher

2013-02-28 Thread dashman
ok - message received.

on to other things...

On Thursday, February 28, 2013 11:25:47 AM UTC-5, Kristopher Micinski wrote:

 Mark's right, this is a complete nonsolution to the piracy issue. 

 Kris 

 On Thu, Feb 28, 2013 at 7:46 AM, dashman erjd...@gmail.com javascript: 
 wrote: 
  Any system launcher is fine. 
  
  What I'm trying to solve is the piracy issue. 
  
  i.e. someone just wrapping my app and launching it. 
  
  i want to disable that. 
  
  
  
  -- 
  -- 
  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. 
  
  


-- 
-- 
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] Detect activity was started by the Android launcher

2013-02-27 Thread Kristopher Micinski
What happens when users install a different launcher...?

Kris

On Wed, Feb 27, 2013 at 9:15 PM, dashman erjdri...@gmail.com wrote:
 Is there any way to detect whether an activity was started by the
 Android os launcher as opposed to another activity.

 Or put another way - is there wa way to force an activity not
 be launchable (sp?) by another activity.

 --
 --
 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.



-- 
-- 
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.