Hi Zsolt, IMHO this is the wrong group, as you question is related to the platform, not to the sdk. ( use android-platform instead)
Beside this I think you have to change the framework code too otherwise you could break the whole security architecture and incooperate your own things even without having the platform key. Good luck ! Frank On 1 Mrz., 06:38, Krt <[email protected]> wrote: > Hi Zsolt, > > Thanks for the response. > > I am trying to alter something in android framework source , and this > calls for an addition of a new class in framework source. > But I did not want to add any new source under framework, instead > planned to have it under vendor and load that new class dynamically in > framework later. > > So I was thinking if reflection will come in handy. > > Regards, > Krt > > On Mar 1, 9:47 am, Zsolt Vasvari <[email protected]> wrote: > > > > > The answer is, of course, not. They are probably using different > > class loaders. > > > The better question is, why would you want to do this? > > > On Mar 1, 12:09 pm, Krt <[email protected]> wrote: > > > > Hi All, > > > > I am trying reflection in android. > > > > It works fine for classes, say A and B, under same project(same > > > process in other words). > > > > It does not work between two different processes. > > > i.e. I have > > > project A, package name com.ref.classA > > > project B, package name com.ref.classB > > > > Can I call from project B, Class.forName("com.ref.classA"); > > > > I get exception class not found when I do this. > > > Please note I have not imported package of calssA in classB. > > > > Am I missing something? or it is just not possible to do it between > > > different processes. > > > > Any input would be of great help. > > > > Regards, > > > Krt- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

