[android-developers] Error retrieving a Serializable from a Bundle with a ClassLoader set

2009-05-21 Thread Eborix13
Hello, I'm trying to retrieve a Serializable object (Bundle.getSerializable (String key)) from a Bundle I've constructed using the Bundle (ClassLoader loader) constructor. While doing this I get a ClassNotFoundException. The comment of the Bundle constructor states: "Constructs a new, emp

[android-developers] Re: 1.5 release - DexClassLoader issue

2009-04-17 Thread Eborix13
Hi Fadden, My question was not: why can't I use 2 classes loaded with different class loaders. My question has to do with the way Android implements the dynamical class loading thing. It won't let you load a class using this.getClass().getClassLoader() as the "parent" parameter in the DexClassL

[android-developers] 1.5 release - DexClassLoader issue

2009-04-16 Thread Eborix13
Hi, Seeing that the new 1.5 pre-release has support for loading classes dynamically I immediately tried to see if it works. I used the DexClassLoader(String dexPath, String dexOutputDir, String libPath, ClassLoader parent) constructor. But I soon found out that it works only partially. Wha

[android-developers] Re: Programmatically delete a home-screen shortcut

2009-04-16 Thread Eborix13
Thank you... --~--~-~--~~~---~--~~ 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-de

[android-developers] Programmatically delete a home-screen shortcut

2009-04-10 Thread Eborix13
Hi, I have some questions related to Android's home-screen contents: 1) Is there a way to programmatically delete a home-screen shortcut on Android? I know that it can be done manually but I want to do it in code. 2) Is there a directory where all the contents of the home-screen are sto

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

2009-04-09 Thread Eborix13
Hi, We are a team of Android developers and we are facing a serious problem for quite some time. Our app (a game client) is designed in such a way, that once it's installed it can be used to download games from a game server. In order for the downloaded games to work, they have to be installed an