Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-21 Thread Kristopher Micinski
Personally I use emacs for android development... My comment as to your finding a security loophole was merely sarcasm... Kris On Jul 21, 2012 11:35 PM, "Harsh Vardhan" wrote: > My eclipse info: > > Eclipse SDK > > > Version: 3.7.2 > > Build id: M20120208-0800 > > So you resorted to some other

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-21 Thread Harsh Vardhan
My eclipse info: Eclipse SDK Version: 3.7.2 Build id: M20120208-0800 So you resorted to some other IDE for android development..which one if answer is yes? Kris can you tell me what according you is the problem here..just making sure that we are on the same page!! Because I am sure that I ha

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-19 Thread Kristopher Micinski
On Thu, Jul 19, 2012 at 6:41 AM, Harsh Vardhan wrote: > Well either its a revolutionary break-through or you haven't got what the > problem is because its working now. > I would assume you've made a revolutionary breakthrough that has evaded security experts in the Android community, this should

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-19 Thread Harsh Vardhan
Well either its a revolutionary break-through or you haven't got what the problem is because its working now. The crashing problem was with the eclipse IDE..it was crashing If I put a break point anywhere in my threads. There is some stupid problem which vanishes if you remove "Unused Imports" fr

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Kristopher Micinski
I'm not sure what you're going after, and you haven't said very well.. In any case, "extending" your app is pretty hard. You say that you want to distribute the code for your app, in a third party jar, that the users won't have access to? Is this because you don't want your code to get taken? I

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Kristopher Micinski
Also, if your thread is crashing, you should do an 'adb logcat' and post the relevant stack trace relevant to the crash. kris On Wed, Jul 18, 2012 at 11:15 AM, Kristopher Micinski wrote: > I'm not sure what you're going after, and you haven't said very well.. > > In any case, "extending" your ap

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Harsh Vardhan
Hey, I have an interface called IFunctionDictionary which has a function called Execute. In my main thread run() function I register few functions and there corresponding key/command. In the same function I wait for key From socket and when I receive it I call the interface function Execute() whic

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-17 Thread Harsh Vardhan
Thanks Ali. I am aware of the what the design patterns are, what i needed to know is which one hits the spot in my case. Anyways I have gone ahead with something that I have figured after some head scratching and will let you all know if i succeed. On Tue, Jul 17, 2012 at 12:42 PM, Ali Chousein

[android-developers] Re: Adding functions dynamically from application to Jar

2012-07-17 Thread Ali Chousein
You cannot extend case statements in your code dynamically, but take a look at the strategy design pattern (http://en.wikipedia.org/wiki/Strategy_pattern). I think that's what you need. Design patterns are not Android specific by the way, they are just a set of best practices in designing softw