[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-20 Thread Dianne Hackborn
That brings up the system UI, allowing the user to confirm the install.

On Sat, Apr 18, 2009 at 7:13 AM, Peter pkana...@gmail.com wrote:


 Ok...how does this relate to what you said about installing apps being
 prohibited?

 On Apr 17, 1:10 pm, Dianne Hackborn hack...@android.com wrote:
  Yes it can.
 
 
 
  On Thu, Apr 16, 2009 at 8:14 AM, Peter pkana...@gmail.com wrote:
 
   Can't an Activity be started with an Intent created with the
   Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk
   file?
 
   If not, where is information regarding the built-in app installer
   activity?
 
   On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com
   wrote:
Hi Hackborn,
 
Thanks a lot for your quick response.
My application sits on the device with users acceptance only.
Once I have installed my app, I should be  able to download any
 properly
signed APK onto the device and install it on the device without any
 user
intervention.
And the users of the devices will be intimated about the
 installation.
 
This is possible on Symbian.
 
Can you suggest me a way, since I have to have this in my APP.
Is there any workaround for this or any hidden API ?
 
Regards
Surendra
 
On Thu, Apr 16, 2009 at 2:02 PM, Dianne Hackborn 
 hack...@android.com
   wrote:
 
 You can't do this.  The only way a third party app can install
 another
 application is by launching the built-in app installer activity.
 
 On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T 
 surendraredd...@gmail.com wrote:
 
 Hi,
 
 I am developing an app which should be able to install any signed
 APK
 silelently, and I need API to do this.
 
 I was unable to call installPackage(Uri packageURI) method of
 PackageManger on  Android 1.1 SDK.
 I have read in 1.5 docs, that Package Manger API is available.
 
 IF anybody know how to use this API, please help. If is there any
   other
 way to do this, please send me the API name and usage.
 
 Regards
 Surendra
 
 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com
 
 Note: please don't send private questions to me, as I don't have
 time
   to
 provide private support, and so won't reply to such e-mails.  All
 such
 questions should be posted on public forums, where I and others can
 see
   and
 answer them.
 
--
Surendra Reddy T
 
  --
  Dianne Hackborn
  Android framework engineer
  hack...@android.com
 
  Note: please don't send private questions to me, as I don't have time to
  provide private support, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see
 and
  answer them.

 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Peter

Can't an Activity be started with an Intent created with the
Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk
file?

If not, where is information regarding the built-in app installer
activity?



On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com
wrote:
 Hi Hackborn,

 Thanks a lot for your quick response.
 My application sits on the device with users acceptance only.
 Once I have installed my app, I should be  able to download any properly
 signed APK onto the device and install it on the device without any user
 intervention.
 And the users of the devices will be intimated about the installation.

 This is possible on Symbian.

 Can you suggest me a way, since I have to have this in my APP.
 Is there any workaround for this or any hidden API ?

 Regards
 Surendra

 On Thu, Apr 16, 2009 at 2:02 PM, Dianne Hackborn hack...@android.comwrote:





  You can't do this.  The only way a third party app can install another
  application is by launching the built-in app installer activity.

  On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T 
  surendraredd...@gmail.com wrote:

  Hi,

  I am developing an app which should be able to install any signed APK
  silelently, and I need API to do this.

  I was unable to call installPackage(Uri packageURI) method of
  PackageManger on  Android 1.1 SDK.
  I have read in 1.5 docs, that Package Manger API is available.

  IF anybody know how to use this API, please help. If is there any other
  way to do this, please send me the API name and usage.

  Regards
  Surendra

  --
  Dianne Hackborn
  Android framework engineer
  hack...@android.com

  Note: please don't send private questions to me, as I don't have time to
  provide private support, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see and
  answer them.

 --
 Surendra Reddy T

--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Dianne Hackborn
Yes it can.

On Thu, Apr 16, 2009 at 8:14 AM, Peter pkana...@gmail.com wrote:


 Can't an Activity be started with an Intent created with the
 Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk
 file?

 If not, where is information regarding the built-in app installer
 activity?



 On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com
 wrote:
  Hi Hackborn,
 
  Thanks a lot for your quick response.
  My application sits on the device with users acceptance only.
  Once I have installed my app, I should be  able to download any properly
  signed APK onto the device and install it on the device without any user
  intervention.
  And the users of the devices will be intimated about the installation.
 
  This is possible on Symbian.
 
  Can you suggest me a way, since I have to have this in my APP.
  Is there any workaround for this or any hidden API ?
 
  Regards
  Surendra
 
  On Thu, Apr 16, 2009 at 2:02 PM, Dianne Hackborn hack...@android.com
 wrote:
 
 
 
 
 
   You can't do this.  The only way a third party app can install another
   application is by launching the built-in app installer activity.
 
   On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T 
   surendraredd...@gmail.com wrote:
 
   Hi,
 
   I am developing an app which should be able to install any signed APK
   silelently, and I need API to do this.
 
   I was unable to call installPackage(Uri packageURI) method of
   PackageManger on  Android 1.1 SDK.
   I have read in 1.5 docs, that Package Manger API is available.
 
   IF anybody know how to use this API, please help. If is there any
 other
   way to do this, please send me the API name and usage.
 
   Regards
   Surendra
 
   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com
 
   Note: please don't send private questions to me, as I don't have time
 to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see
 and
   answer them.
 
  --
  Surendra Reddy T

 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Dianne Hackborn
You can't do this.  The only way a third party app can install another
application is by launching the built-in app installer activity.

On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T surendraredd...@gmail.com
 wrote:

 Hi,

 I am developing an app which should be able to install any signed APK
 silelently, and I need API to do this.

 I was unable to call installPackage(Uri packageURI) method of
 PackageManger on  Android 1.1 SDK.
 I have read in 1.5 docs, that Package Manger API is available.

 IF anybody know how to use this API, please help. If is there any other way
 to do this, please send me the API name and usage.

 Regards
 Surendra

 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Al Sutton
Allowing the silent of APKs would present a security risk as users should
always be aware of what is being installed on their device, and so it is
unlikely this will ever be possible.
 
Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

==
Funky Android Limited is registered in England  Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.



 

  _  

From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Surendra Reddy T
Sent: 16 April 2009 09:08
To: android-developers@googlegroups.com
Subject: [android-developers] PackageManager.installPackage(Uri packageURI)
error on Androdi 1.5 SDK


Hi,

I am developing an app which should be able to install any signed APK
silelently, and I need API to do this. 

I was unable to call installPackage
file:///D:/NTMS_Sdks/Android/android-sdk-windows-1.5_pre/android-sdk-window
s-1.5_pre/docs/reference/android/content/pm/PackageManager.html#installPacka
ge%28android.net.Uri%29 (Uri
file:///D:/NTMS_Sdks/Android/android-sdk-windows-1.5_pre/android-sdk-window
s-1.5_pre/docs/reference/android/net/Uri.html  packageURI) method of
PackageManger on  Android 1.1 SDK.
I have read in 1.5 docs, that Package Manger API is available.

IF anybody know how to use this API, please help. If is there any other way
to do this, please send me the API name and usage.

Regards
Surendra




--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Surendra Reddy T
Hi Hackborn,

Thanks a lot for your quick response.
My application sits on the device with users acceptance only.
Once I have installed my app, I should be  able to download any properly
signed APK onto the device and install it on the device without any user
intervention.
And the users of the devices will be intimated about the installation.

This is possible on Symbian.

Can you suggest me a way, since I have to have this in my APP.
Is there any workaround for this or any hidden API ?

Regards
Surendra



On Thu, Apr 16, 2009 at 2:02 PM, Dianne Hackborn hack...@android.comwrote:

 You can't do this.  The only way a third party app can install another
 application is by launching the built-in app installer activity.


 On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T 
 surendraredd...@gmail.com wrote:

 Hi,

 I am developing an app which should be able to install any signed APK
 silelently, and I need API to do this.

 I was unable to call installPackage(Uri packageURI) method of
 PackageManger on  Android 1.1 SDK.
 I have read in 1.5 docs, that Package Manger API is available.

 IF anybody know how to use this API, please help. If is there any other
 way to do this, please send me the API name and usage.

 Regards
 Surendra





 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.


 



-- 
Surendra Reddy T

--~--~-~--~~~---~--~~
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: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-16 Thread Dianne Hackborn
I repeat, no.  If this is allowed, the user has effectively granted you
every possible permission in the system.  At this point we absolutely aren't
going to do this.

It isn't a matter of this being a hidden API or there being a workaround.
If the security system is working correctly, you can't call the API whether
it is hidden or not, and there is no workaround.

On Thu, Apr 16, 2009 at 5:10 AM, Surendra Reddy T surendraredd...@gmail.com
 wrote:

 Hi Hackborn,

 Thanks a lot for your quick response.
 My application sits on the device with users acceptance only.
 Once I have installed my app, I should be  able to download any properly
 signed APK onto the device and install it on the device without any user
 intervention.
 And the users of the devices will be intimated about the installation.

 This is possible on Symbian.

 Can you suggest me a way, since I have to have this in my APP.
 Is there any workaround for this or any hidden API ?

 Regards
 Surendra



 On Thu, Apr 16, 2009 at 2:02 PM, Dianne Hackborn hack...@android.comwrote:

 You can't do this.  The only way a third party app can install another
 application is by launching the built-in app installer activity.


 On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T 
 surendraredd...@gmail.com wrote:

 Hi,

 I am developing an app which should be able to install any signed APK
 silelently, and I need API to do this.

 I was unable to call installPackage(Uri packageURI) method of
 PackageManger on  Android 1.1 SDK.
 I have read in 1.5 docs, that Package Manger API is available.

 IF anybody know how to use this API, please help. If is there any other
 way to do this, please send me the API name and usage.

 Regards
 Surendra





 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.






 --
 Surendra Reddy T



 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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