4 ms·
BTW You can do this kind of thing now, with classloading. I'm doing developmemt on my phone, and it's far faster to load new class versions than install a new a
by hyperpallium 10y ago
BTW You can do this kind of thing now, with classloading. I'm doing developmemt on my phone, and it's far faster to load new class versions than install a new app version. Google will have a framework around this.
Full OS access could mean permissions per page - could be awkward or ok. Much of the app vs. webpage debate here is the same as always - though offline advantage is gome.
- Curious42 10y agoNever looked into Classloader until now. Very interesting. Can a loaded class also be an extension of a view or an activity?
- hyperpallium 10y agoI'm loading a GLSurfaceView, which extends SurfaceView, which extends View. So, yeah. There shouldn't be any problem classloading an Activity, use reflection to instantiate, and treat as you would a runtime Activity (as opposed to being declared in AndroidManifest.xml). But I haven't actually done this; could be some gotchas in incorporating runtime a Activity into the GUI. IIRC google had a few hits on classloading Activities.