[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
So i downloaded the system images of cupcake for my emulator , my emulator shows that it is now upgraded to version 1.5 ,i wrote an app which can install other apps, gave this app INSTLL_PACKAGES permission and installed this app in normal /data/app folder. But still when i run this app i get the

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread admin.androidsl...@googlemail.com
I don't know the answer to this but it got me thinking that it would not be in Google's interests to allow this behavior otherwise alternative marketplaces could be released to the phone which would compete with the Android's Market. On Apr 14, 9:13 am, tiwana tiwana.birj...@gmail.com wrote:

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
Ok so has anybody tried to do this with the unofficial release of cupcake and has been successful? Yes actually it can lead to alternative marketplaces.. On Apr 14, 4:29 am, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: I don't know the answer to this but it got me

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Dianne Hackborn
This is exactly as I have already said: this API is not available to third party apps, and cupcake will not change this. Addressing the original poster, there is a new API in cupcake to be able to dynamically load classes with Dalvik. On Tue, Apr 14, 2009 at 1:13 AM, tiwana

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
I am sorry i am not sure if i get it . So are you tryin to say that one third party app would not be able to install another app which will run as a separate app but it can add classes to the existing process On Apr 14, 8:39 pm, Dianne Hackborn hack...@android.com wrote: This is exactly as

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Dianne Hackborn
Correct. The user needs to be involved in installing apps by confirming it in the UI (you can invoke this UI if you want). In cupcake you can load arbitrary Dalvik code in to your process, though you need to be aware that the code will be running as your own app. On Tue, Apr 14, 2009 at 7:06

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Birjodh Tiwana
good enough! thanks a lot for clearing it up.. that answers my speculations about security.. On Tue, Apr 14, 2009 at 10:37 PM, Dianne Hackborn hack...@android.comwrote: Correct. The user needs to be involved in installing apps by confirming it in the UI (you can invoke this UI if you want).

[android-developers] Re: Permissions to install other apps...

2009-04-13 Thread tiwana
So when will be the cupcake available? On Apr 9, 7:06 pm, Dianne Hackborn hack...@android.com wrote: That's why apps can't install other apps without the user being involved.  I was addressing the first part of the original poster's request, being able to download and run Dalvik code in your

[android-developers] Re: Permissions to install other apps...

2009-04-13 Thread Dianne Hackborn
Nothing has been announced yet. On Mon, Apr 13, 2009 at 1:37 PM, tiwana tiwana.birj...@gmail.com wrote: So when will be the cupcake available? On Apr 9, 7:06 pm, Dianne Hackborn hack...@android.com wrote: That's why apps can't install other apps without the user being involved. I was

[android-developers] Re: Permissions to install other apps...

2009-04-13 Thread zhoubo shi
I think we should not write anything to the system folder. 2009/4/14 Dianne Hackborn hack...@android.com Nothing has been announced yet. On Mon, Apr 13, 2009 at 1:37 PM, tiwana tiwana.birj...@gmail.com wrote: So when will be the cupcake available? On Apr 9, 7:06 pm, Dianne Hackborn

[android-developers] Re: Permissions to install other apps...

2009-04-09 Thread Dianne Hackborn
There is an API in cupcake to allow you to perform the dexopt into your own directory. That will be available when cupcake is available. On Thu, Apr 9, 2009 at 2:05 AM, Eborix13 ebori...@yahoo.com wrote: Hi, We are a team of Android developers and we are facing a serious problem for quite

[android-developers] Re: Permissions to install other apps...

2009-04-09 Thread BIRJODH
Would not it be somewhat dangerous to allow apps is /data/app folder to install other applications?? An app can just create an infinite loop in which downloads applications which do not require any permission and keep on installing them and fill out the memory space? Birjodh On Apr 9, 1:56 pm,

[android-developers] Re: Permissions to install other apps...

2009-04-09 Thread Dianne Hackborn
That's why apps can't install other apps without the user being involved. I was addressing the first part of the original poster's request, being able to download and run Dalvik code in your own process. In that case the new API will let you do this, though of course you are running the other