[android-developers] about gtalk service and Google's winter cleaning

2012-12-17 Thread alex kyo
Hi everyone!

Google has announced a winter cleaning recently.
http://googleblog.blogspot.jp/2012/12/winter-cleaning.html

They only support those for business, government and education use from 
20130130.
As far as I know, Google sync android  devices via C2DM and local Gtalk 
service.

e.g. You may login with your Gmail account in  Google play on a PC browser, 
choose a app and click install.
The device which has the same account registered will receive the push from 
Google and begin the installation.

Will this kind of behavior still be available when the winter cleaning is 
over?

-- 
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: about gtalk service and Google's winter cleaning

2012-12-17 Thread alex kyo
Does Anyone has any info?

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

Re: [android-developers] about gtalk service and Google's winter cleaning

2012-12-17 Thread alex kyo
THX Niko,
I read this post
http://www.engadget.com/2012/12/14/google-winter-cleaning/
and guess it should be some google-related apps on non-android devices 
stuff.


On Tuesday, December 18, 2012 12:20:02 PM UTC+9, Nikolay Elenkov wrote:

 On Mon, Dec 17, 2012 at 6:32 PM, alex kyo kyokan...@gmail.comjavascript: 
 wrote: 
  
  e.g. You may login with your Gmail account in  Google play on a PC 
 browser, 
  choose a app and click install. 
  The device which has the same account registered will receive the push 
 from 
  Google and begin the installation. 
  
  Will this kind of behavior still be available when the winter cleaning 
 is 
  over? 

 The sync service is not directly related to C2DM and GCM (the new 
 version), 
 it is meant for non-Android devices. Even if there is some connection it 
 is 
 highly unlikely that they will break their own apps (Play Store, 
 etc.). The Play 
 Store client is self-updating, so you can be pretty sure it will 
 either get updated in 
 time, or they will add an exception for Android 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

[android-developers] try to simulate install button on google play

2012-11-08 Thread alex kyo
Guys, I am trying to simulate the click of install button in google play 
store on a android device.

I 've already got token via GoogleAuthUtil.getToken(context, mailAddress, 
oauth2:https://www.googleapis.com/auth/drive;)
and got device id , feature, xhr, offerType everything required for a 
install request.

But I am getting the response below
{status:ERROR,errorCode:GAIA_USER_REQUIRED...

Could you give me some help to work it out?

my code:

HttpPost httpost = new HttpPost(https://play.google.com/store/install;);
List NameValuePair nvps = new ArrayList NameValuePair();   
  
nvps.add(new BasicNameValuePair(id, my app id));  
nvps.add(new BasicNameValuePair(offerType, 1));  
nvps.add(new BasicNameValuePair(device, my device id));  
nvps.add(new BasicNameValuePair(feature, home-cip-2));  
nvps.add(new BasicNameValuePair(xhr, 1));  
nvps.add(new BasicNameValuePair(token, token for google api));
httpost.setEntity(new UrlEncodedFormEntity(nvps));

-- 
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: try to simulate install button on google play

2012-11-08 Thread alex kyo
that seems not possible

On Thursday, November 8, 2012 9:35:57 PM UTC+9, alex kyo wrote:

 Guys, I am trying to simulate the click of install button in google play 
 store on a android device.

 I 've already got token via GoogleAuthUtil.getToken(context, mailAddress, 
 oauth2:https://www.googleapis.com/auth/drive;)
 and got device id , feature, xhr, offerType everything required for a 
 install request.

 But I am getting the response below
 {status:ERROR,errorCode:GAIA_USER_REQUIRED...

 Could you give me some help to work it out?

 my code:

 HttpPost httpost = new HttpPost(https://play.google.com/store/install;);
 List NameValuePair nvps = new ArrayList NameValuePair();   
   
 nvps.add(new BasicNameValuePair(id, my app id));  
 nvps.add(new BasicNameValuePair(offerType, 1));  
 nvps.add(new BasicNameValuePair(device, my device id));  
 nvps.add(new BasicNameValuePair(feature, home-cip-2));  
 nvps.add(new BasicNameValuePair(xhr, 1));  
 nvps.add(new BasicNameValuePair(token, token for google api));
 httpost.setEntity(new UrlEncodedFormEntity(nvps));



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

Re: [android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-28 Thread alex kyo
That's sounds like a good idea, Tim

But I've retrieved the install URL with tokens, but it didn't work, is that 
right?


On Sunday, October 28, 2012 6:28:24 AM UTC+9, strazzere wrote:

 Correct, you basically just need to request the proper auth tokens, then 
 simulate the protocol being used the by Play store / web site.

 Tim Strazzere

 On Friday, October 26, 2012 7:41:54 PM UTC-7, Kevin TeslaCoil Apps wrote:

 I would guess that they simulate a user clicking INSTALL from the web 
 based Play Store. I believe this would be technically doable if they either 
 had the user login or had the users Google password. Then the Play Store 
 takes care of pushing the app to the device and installing it in the 
 background. There would still be the notification icon showing it has been 
 installed and hopefully users are weary of typing their Google password 
 into apps. It's likely that such a setup would violate one or more Play 
 Store policies, but I do not know. I think App Brain did something along 
 these lines at some point?

 -Kevin

 On Friday, October 26, 2012 4:54:28 AM UTC-5, alex kyo wrote:

 Thanks, Mark

 One thing I can definitely confirm is that they are not 
 device manufacturer.

 Suppose there is a google account(*ga*) which contains several apps.

 My guess is that they might register a stock device with the *ga* by 
 AccountManager 
 and then call the sync api (I don't know exactly what api will be here)

 Finally, after the device performed sync process, log 
 out programmatically 
 the apps will be remained and it looks like silent install.


 On Friday, October 26, 2012 4:00:24 PM UTC+9, Mark Murphy (a Commons 
 Guy) wrote:

 On Fri, Oct 26, 2012 at 2:45 AM, Kristopher Micinski 
 krismi...@gmail.com wrote: 
  Or their company is actually TMobile... 

 Oh, true. A device manufacturer can do this stuff without a problem. I 
 was assuming that this was an SDK app, since this is a list for 
 developing SDK apps, but that may not have been a valid assumption. 

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

Re: [android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-28 Thread alex kyo
Thanks Kevin

I've used App Brain but it seems nothing to do with simulate a user 
clicking INSTALL

Is there an other way to simulate the click?

I am using webview in my app.

On Saturday, October 27, 2012 11:41:54 AM UTC+9, Kevin TeslaCoil Apps wrote:

 I would guess that they simulate a user clicking INSTALL from the web 
 based Play Store. I believe this would be technically doable if they either 
 had the user login or had the users Google password. Then the Play Store 
 takes care of pushing the app to the device and installing it in the 
 background. There would still be the notification icon showing it has been 
 installed and hopefully users are weary of typing their Google password 
 into apps. It's likely that such a setup would violate one or more Play 
 Store policies, but I do not know. I think App Brain did something along 
 these lines at some point?

 -Kevin

 On Friday, October 26, 2012 4:54:28 AM UTC-5, alex kyo wrote:

 Thanks, Mark

 One thing I can definitely confirm is that they are not 
 device manufacturer.

 Suppose there is a google account(*ga*) which contains several apps.

 My guess is that they might register a stock device with the *ga* by 
 AccountManager 
 and then call the sync api (I don't know exactly what api will be here)

 Finally, after the device performed sync process, log 
 out programmatically 
 the apps will be remained and it looks like silent install.


 On Friday, October 26, 2012 4:00:24 PM UTC+9, Mark Murphy (a Commons Guy) 
 wrote:

 On Fri, Oct 26, 2012 at 2:45 AM, Kristopher Micinski 
 krismi...@gmail.com wrote: 
  Or their company is actually TMobile... 

 Oh, true. A device manufacturer can do this stuff without a problem. I 
 was assuming that this was an SDK app, since this is a list for 
 developing SDK apps, but that may not have been a valid assumption. 

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

[android-developers] Re: Is it legal to implement APK's silent installation for commercial use?

2012-10-28 Thread alex kyo
Thanks Nitin Sethi
As I know they have not got any agreement with any OEM makers.

On Saturday, October 27, 2012 7:31:32 PM UTC+9, Nitin Sethi wrote:

 It certainly possible if your rivals has got into some kind of agreement 
 with the OEM(s) to sign their app with the system key.

 On Thursday, 25 October 2012 16:00:50 UTC+5:30, alex kyo wrote:

 Download and install apps from google play without prompt.
 I know there are only 2 ways to achieve that, sign the 3rd party app with 
 a system signature or root the device.
 But I think both will cause security trouble and neither will be 
 acceptable to the end user.

 My question is 
 Is it LEGAL to implement APK's silent installation for commercial use?

 I was told that our rival company made it recently.
 And they prepare to release their service next month.

 Does google have any legal regulation on 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

Re: [android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-26 Thread alex kyo
Thanks for your reply*, *Kris

My (3rd party)app was built to install apps on STOCK android via google 
play,
What I did was link to Play store by an url like 
https://play.google.com/store/apps/details?id=com.fusepowered.google.jawsrevenge
, and when user click INSTALL button the installation will begin.

I am wondering if there is any way to install the app directly  
silently On a stock android without pushing a button.
I've tried the url request send by the install button, but it doesn't work 
at all.

the rival company, of course, they won't tell us how they can do it.

thanks again



On Friday, October 26, 2012 3:17:58 AM UTC+9, Kristopher Micinski wrote:

 On Thu, Oct 25, 2012 at 6:30 AM, alex kyo kyokan...@gmail.comjavascript: 
 wrote: 
  Download and install apps from google play without prompt. 
  I know there are only 2 ways to achieve that, sign the 3rd party app 
 with a 
  system signature or root the device. 
  But I think both will cause security trouble and neither will be 
 acceptable 
  to the end user. 
  
  My question is 
  Is it LEGAL to implement APK's silent installation for commercial use? 
  
  I was told that our rival company made it recently. 
  And they prepare to release their service next month. 
  

 I'm not sure what you mean, how and what are they doing, and what do 
 you want to do? 

  Does google have any legal regulation on that? 
  

 Google certainly doesn't regulate it.. 

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

Re: [android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-26 Thread alex kyo
thanks for your reply, TreKing

That's a question for a lawyer if I could afford one.

On Friday, October 26, 2012 2:51:03 AM UTC+9, TreKing wrote:

 On Thu, Oct 25, 2012 at 5:30 AM, alex kyo kyokan...@gmail.comjavascript:
  wrote:

 Is it LEGAL to implement APK's silent installation for commercial use?


 That's a question for a lawyer.


 -
 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

Re: [android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-26 Thread alex kyo
Thanks, Mark

One thing I can definitely confirm is that they are not device manufacturer.

Suppose there is a google account(*ga*) which contains several apps.

My guess is that they might register a stock device with the *ga* by 
AccountManager 
and then call the sync api (I don't know exactly what api will be here)

Finally, after the device performed sync process, log out programmatically 
the apps will be remained and it looks like silent install.


On Friday, October 26, 2012 4:00:24 PM UTC+9, Mark Murphy (a Commons Guy) 
wrote:

 On Fri, Oct 26, 2012 at 2:45 AM, Kristopher Micinski 
 krismi...@gmail.com javascript: wrote: 
  Or their company is actually TMobile... 

 Oh, true. A device manufacturer can do this stuff without a problem. I 
 was assuming that this was an SDK app, since this is a list for 
 developing SDK apps, but that may not have been a valid assumption. 

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

[android-developers] Is it legal to implement APK's silent installation for commercial use?

2012-10-25 Thread alex kyo
Download and install apps from google play without prompt.
I know there are only 2 ways to achieve that, sign the 3rd party app with a 
system signature or root the device.
But I think both will cause security trouble and neither will be acceptable 
to the end user.

My question is 
Is it LEGAL to implement APK's silent installation for commercial use?

I was told that our rival company made it recently.
And they prepare to release their service next month.

Does google have any legal regulation on 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