What basically prevents webtop for cm9? - Motorola Photon 4G

Is it the lack of drivers ? Appropriate software ?
I'm a dev myself, so thought looking into it, but I need a place to start with.

I think, you need to implement services and activities from stock iextdispservice.jar, imirrorservice.jar, nativehdmiapis_v1.jar, framework.jar, DockService.apk, PortalApp.apk, MirrorService.apk, ExtdispService.apk, WebtopSession.apk and maybe something more, into ICS framework.
But with a team of good devs, it can be done

Sorry for such a dumb or basic question, but isn't an apk supposed to run the same logic on every android platform (like java's jar, war or ear)?
Is it the lack of corresponding services in the kernel ?

There are missing things in ics framework and surplus things in hdmi and webtop apps. All would have to be reworked.
Kernel in photon ics is basically still the same, with modifications.

Related

[Q] Wine-like iOS emulation?

Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
kupiakos42 said:
Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
Click to expand...
Click to collapse
Hey and welcome to the forum's I would like to know this as well but I do not know any project and any that gets started and gains popularity gets chased down by Apple's legal team quite quickly. I have my doubts that this could happen (I would be glad if someone could prove me wrong) because iOS and its apps work on 12 devices and Android has hundreds of devices, most with different hardware. Windows apps are built for variable hardware, likewise with Linux and now Mac OS X. Sorry but as much of a pessimist as I seem I do not think it's possible but I'd love to be proven wrong. (Can someone at least make a frigging Windows Mobile runtime)

Developer workflow?

Hi there! I was curious as to the ROM developer workflow. I'm somewhat familiar with building AOSP for x86 VMs and have done some skinning and manipulating system apk's ... but I have some other questions:
1. What distinguishes a ROM package from other zip installers, I guess since it is *nix, everything's a file and most ZIPs then just have the files changed?
2. Jokersax makes mention of doing all development on the device itself... What this workflow, just doing a lot of nandroid backups then, or just replacing things on the fly and hoping for the best?
3. What options exist for adapting system level native code, perhaps I guess I'm asking if, for instance, the camera works with Blur stock SBFs, how could one go disassembling the functionality and deriving CM9 compatible packages? Are the drivers that tightly coupled with the UI elements? That would seem impossible to maintain, and say what you want about Motorola, I couldn't imagine this to be the case.
Thanks -ap
Sent from my MB855 using xda app-developers app
antipasto said:
Hi there! I was curious as to the ROM developer workflow. I'm somewhat familiar with building AOSP for x86 VMs and have done some skinning and manipulating system apk's ... but I have some other questions:
1. What distinguishes a ROM package from other zip installers, I guess since it is *nix, everything's a file and most ZIPs then just have the files changed?
2. Jokersax makes mention of doing all development on the device itself... What this workflow, just doing a lot of nandroid backups then, or just replacing things on the fly and hoping for the best?
3. What options exist for adapting system level native code, perhaps I guess I'm asking if, for instance, the camera works with Blur stock SBFs, how could one go disassembling the functionality and deriving CM9 compatible packages? Are the drivers that tightly coupled with the UI elements? That would seem impossible to maintain, and say what you want about Motorola, I couldn't imagine this to be the case.
Thanks -ap
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
1) You are pretty much correct....and rom can be turned into a simple one file zip or vice versa
2) He actually uses the device along with a build machine. You can do some simple stuff on the device itself, but if you're going to get into decompiling jars or apks, you will need a bot or a PC.
3) Apktool (Linux/Windows) or Android Suite (Windows) will allow you to break down the apks like you are describing. I'm sure you can make a blur apk work with CM9 (obviously app developers on the Play market do manage to make both). I'm not very familiar with Blur/CM7, as I started work on ROMs after ICS had hit, and I really didn't see much real desire to do something that wasn't forward from where my phone was.
Mainly, you can do source work, which you are most likely familiar with the process of.
I do "port" work...taking the framework, apps and some other necessary functionality-related parts and making a new rom for my device with it.
If you are interested in the process, by all means get in touch with me via PM. We are in need of some people to help with a void that has been left by our team member Spleef taking on a second job.
Thank you so much for the extensive reply. I have about a kabillion personal projects, it would be perhaps interesting to ruminate some on the metadevelopment as it were, I do notice that the Cyanogen project seems to have a lot more ability to automate their workflows, it would be cool to try and get more people into those kinds of logistics to help out... Anyway, I'm trying to remain productive, I'm a long time lurker, and I can't bring myself to post unnecessarily to even get to the 10 posts I need to provide feedback in the development forums, but I'll try
I've been really inspired with the Clojure / Java community, especially "Leiningen" and things like Jenkins for continuous integration. Could be cool to try and think at this level, perhaps like a chrooted VM or something that enthusiasts could run to assist in build CPU times, or hell I dunno, this kind of thinking is all pie in the sky and is hell to set up possibly for little gain, although I'm encouraged that Bittorrent is being used a little more here and there perhaps to offload some of the hosting costs. FWIW I have used S3 in my own projects, and for various static sites I have, I've been hard pressed to pass 30 cents a month in hosting costs on S3, but this is all low traffic stuff and there's a lot of options out there with various kinds of advantages and disadvantages.
All in all, thank you all for your continued efforts, especially going into the later part of this year when JB will mature, and the possibility of ICS drivers being integrated. You guys rock!

[Q] Best way of Co-operation and Modification of Android

Hi!
Some guys and me are working on Android now for long time. Most times we had clear different parts we where working on, so two guys working on kernels, one on adaption of Android, one was testing and keeping contact to the community.
Now, cloning a kernel and merging some changes on drivers is a simple thing. And even changing a file on android, putting it into a git or simply on an ftp is easy too...
Well, now things have changed. Android is getting more complex and kernel work is mostly done.So we do more and more work in Android with more and more people.
Ok, one would say, take a plain android by using repo sync. Add your vendor parts for kernel and android and add them as a separate git. Ready you are...
Unfortunately that may work if you build your own device, based on plain naked android and a well supported mainlined kernel... But reality is different and chinese reality is even different^2. Hacking andoid devices where you do not have access to the OEM gits, kernels, not even datasheets or schematics is a hell of work... and all of these OEMs just checked out the complete android, put it in their own git and modified 1000 parts 'n pieces of it.
This isn't only a problem of bandwidth to upload such a monster, but all your friends supporting you have to clone that monster again. And after a while a new android version comes and you have great mess:
You cannot find differences from your old version to the new google version as many files have been changed by the OEM.
But you cant just "repo upload" cause google or CM might not be very eager to get dumb chinese deep down below android changes in their repos.
How do you team up with others and sync your android changes? Is there a good tutorial that handles not only the way it should be, but covers all these real-life issues?
I'd really appreciate your tips
Astralix

[Q] Best way to make our droid kiosk like? (Custom ROM?)

Hi Guys
I've been developing a http based Server Software that uses an android device as a single purpose device.. say an input terminal. So I developed a very simple app just for this input purpose (including some data from sensors on the device). It aslo loads a web view for a little html banner.
So it's really simple and the design is to basically turn an android device into a single purpose hardware... and with that said i really dont need 90% of what's installed and running on android, I dont need complicated launchers, and i DO need to kind of "lock the device down" to my app only (i guess kiosk like?)
I basically need the hardware and the OS to run my app.
if possible make everything as lightweight as possible (again as i dont need most of the android features)
and I would love it if my app can run on top of everything and at every start up (it can even pretend to be the SHELL or OS on top of Android OS, or kind of like that approach)..
So yeh, I'm hoping you guys can give me some advise/suggestions as to how best to approach this? (honestly i'm fairly new to android as a whole)
Things off the top of my head are:
1) Custom ROM like really plain/lightweight w/ lock down features <-- is there even any rom like this? or could i ask someone to code this for me?
2) Root, SuperSU, and xPosed Framework plugins and tweaks ? <-- i've not tried xPosed Framework and Im not sure if it's meant to be, or good for, my purpose.
3) Use an APP that can pretty much make a Kiosk out of the phone, w/ my app running permanently? <-- i've seen one kiosk app www.kioware.com but it's crazy expensive and i guess a bit of an overkill to what i need.. Perhaps there's a cheaper more simple kiosk app you can recommend? or perhaps an opensource project i can tinker with?
Would really appreciate your thoughts on this..
Thank you very much!
A common request
Can anyone direct me to a thread where this issue is resolved? It seems more complicated than it seems at first glance.

[Q] Would it be possible to port the essentials of the Steam OS to Android.

First of Im not a dev just self taught myself alot "basic things" And im Probably going to us the wrong Jargon and what have you so be warned
I wanted to Get this Conversation going and see if there is a way to Port all the necessary things ( runtimes, frameworks and API's) From the Steam OS To android
Im looking to see if its possible and maybe getting some Dev's discussing It.
Im not expecting this to be developed just that the possibility if their is any be explored
Im also not talking about 100% compatibility (for either the games available or phones) as either of those options are ridiculous (the latter is more so IMO )
Download for the steamOS
The Aggrement may infact stop this from being developed
(ii) you may not modify the Steam Client, except that, in the case of the Linux version of the Steam Client, you may modify scripts and other documentary and graphical files, but not any files containing the term "bootstrap" in the file name, provided that you do not modify any icons, change any copyright or other notices, or alter this or any other license agreement that is included with the Steam Client, and provided further that any modifications you make are identified by you as modifications from the original Steam Client provided by Valve;
Click to expand...
Click to collapse
Some Q: Is SteamOS open source?
All of the base operating system components are open source. The Steam client itself is proprietary, as are some proprietary third party drivers.
Click to expand...
Click to collapse
Posibly Helpful Links
SteamOS FAQ
Valve's Github

Categories

Resources