-
- Posts: 142
- Joined: Mon Dec 03, 2012 4:26 pm
- Location: Deep in the mines of Moria
Why port android. Why not port the apps?
There is an interesting utility here http://forum.xda-developers.com/showthr ... ?t=1910873 that will convert .apk files into java. Rather than port android, an operating system that needs time to port, we should port this, perhaps create an operating system like androidthat takes .apk files and turns them into nice friendly java files? (obviously this would be a very buggy hhack, but it semmes to me that it's the easiest option)
Re: Why port android. Why not port the apps?
The tool actually decompiles to source code rather than an executable jar file.
Android apps dont use the standard java libraries. You would have to port the android libs to run on the JVM instead of dalvik.
It may well be possible to port dalvik to the pi instead of the entire android ecosystem but that would have its own issues too (but is the approach that bluestacks etc takes on windows).
Android apps dont use the standard java libraries. You would have to port the android libs to run on the JVM instead of dalvik.
It may well be possible to port dalvik to the pi instead of the entire android ecosystem but that would have its own issues too (but is the approach that bluestacks etc takes on windows).
-
- Posts: 64
- Joined: Sat Dec 15, 2012 9:18 am
Re: Why port android. Why not port the apps?
And if you're going to port dalvik, you might as well just port Android6677 wrote:The tool actually decompiles to source code rather than an executable jar file.
Android apps dont use the standard java libraries. You would have to port the android libs to run on the JVM instead of dalvik.
It may well be possible to port dalvik to the pi instead of the entire android ecosystem but that would have its own issues too (but is the approach that bluestacks etc takes on windows).

This account is now inactive.
I am now known as 'InverseSandwich'
I am now known as 'InverseSandwich'
Re: Why port android. Why not port the apps?
Could there be a way of installing the apps in a system like wine for windows software? I'm not a programmer so I'm not aware of the intricacies of the software. I've seen a software being created for windows that will run the android apps just not sure if there is anything like that on linux that might also be compatible with the RPi.
Re: Why port android. Why not port the apps?
apkenv -environment wrapper for native android apks - can run a few android programs
http://thp.io/2012/apkenv/
https://github.com/t...b/master/README
I just found this. I haven't tried it yet but worth looking into. It's in active development.
http://thp.io/2012/apkenv/
https://github.com/t...b/master/README
I just found this. I haven't tried it yet but worth looking into. It's in active development.
Re: Why port android. Why not port the apps?
Yes there is, a port of dalvik which is exactly what has already been mentioned. Thats all thats needed, sadly its pretty complex to do that.kevin34ct wrote:Could there be a way of installing the apps in a system like wine for windows software? I'm not a programmer so I'm not aware of the intricacies of the software. I've seen a software being created for windows that will run the android apps just not sure if there is anything like that on linux that might also be compatible with the RPi.
-
- Posts: 142
- Joined: Mon Dec 03, 2012 4:26 pm
- Location: Deep in the mines of Moria
Re: Why port android. Why not port the apps?
Challenge accepted.
Re: Why port android. Why not port the apps?
After a day or so of tinkering, i have been successfull in getting this to run on the pikevin34ct wrote:apkenv -environment wrapper for native android apks - can run a few android programs
http://thp.io/2012/apkenv/
https://github.com/t...b/master/README
I just found this. I haven't tried it yet but worth looking into. It's in active development.

Re: Why port android. Why not port the apps?
and Raspberry Pi?
No, I didn't think so

Re: Why port android. Why not port the apps?
Thant's a very good idea, as the Pi will then be able to run android apps on any OS with java.4thdwarflord wrote:There is an interesting utility here http://forum.xda-developers.com/showthr ... ?t=1910873 that will convert .apk files into java. Rather than port android, an operating system that needs time to port, we should port this, perhaps create an operating system like androidthat takes .apk files and turns them into nice friendly java files? (obviously this would be a very buggy hhack, but it semmes to me that it's the easiest option)
Re: Why port android. Why not port the apps?
No.mrpi64 wrote:Thant's a very good idea, as the Pi will then be able to run android apps on any OS with java.4thdwarflord wrote:There is an interesting utility here http://forum.xda-developers.com/showthr ... ?t=1910873 that will convert .apk files into java. Rather than port android, an operating system that needs time to port, we should port this, perhaps create an operating system like androidthat takes .apk files and turns them into nice friendly java files? (obviously this would be a very buggy hhack, but it semmes to me that it's the easiest option)
Re: Why port android. Why not port the apps?
you didn't read what I posted at the top did you? The tool does not do what you think it does. All it does is reverse engineer an apk into source code, nothing more. There would still be alot of work to port an app to the pi and on top of that it would be illegal for most apps as they are closed source and you would violate copyright.mrpi64 wrote:Thant's a very good idea, as the Pi will then be able to run android apps on any OS with java.4thdwarflord wrote:There is an interesting utility here http://forum.xda-developers.com/showthr ... ?t=1910873 that will convert .apk files into java. Rather than port android, an operating system that needs time to port, we should port this, perhaps create an operating system like androidthat takes .apk files and turns them into nice friendly java files? (obviously this would be a very buggy hhack, but it semmes to me that it's the easiest option)
Re: Why port android. Why not port the apps?
I did manage to get apkenv to run on the pi for one game, aparantly theres some issues with the eglv2 stuff so it won't run much6677 wrote:you didn't read what I posted at the top did you? The tool does not do what you think it does. All it does is reverse engineer an apk into source code, nothing more. There would still be alot of work to port an app to the pi and on top of that it would be illegal for most apps as they are closed source and you would violate copyright.mrpi64 wrote:Thant's a very good idea, as the Pi will then be able to run android apps on any OS with java.4thdwarflord wrote:There is an interesting utility here http://forum.xda-developers.com/showthr ... ?t=1910873 that will convert .apk files into java. Rather than port android, an operating system that needs time to port, we should port this, perhaps create an operating system like androidthat takes .apk files and turns them into nice friendly java files? (obviously this would be a very buggy hhack, but it semmes to me that it's the easiest option)
-
- Posts: 2
- Joined: Sat Jul 20, 2013 2:07 pm
Re: Why port android. Why not port the apps?
Now the real question is, will it run [strike]Crysis[/strike] Netflix?
edit: This issue is of much relevance.
edit: This issue is of much relevance.
Re: Why port android. Why not port the apps?
Yep thats my issue report, havn't tinkered with it much sinceBurritoBazooka wrote:Now the real question is, will it run [strike]Crysis[/strike] Netflix?
edit: This issue is of much relevance.
Re: Why port android. Why not port the apps?
I am trying to boot android OS(2.3) on R pi but I am getting some commands on the screen followed by rainbow color screen on the monitor . I changed the config text file in android OS but I am getting same thing . can you post the commands in the config text file in android OS based on that I will change the modes and groups in file .
Regards
pavan
Regards
pavan