[Q] OS Porting/Emulating - Android Software Development

Heyho fellas!
As this is my second post.. and first thread.. I would like to take a second to introduce myself a bit
As my nick states I call myself "Puenos", and after visiting this place for quite a while, I've finally decided to register here too!
Enough chitchat, here's my [Q]:
______________________________
I've recently read quite a lot about ppl asking for a port of WinMo for Android..and after some reading I realised something..
Besides those simple answers asking ppl WHY somebody would want that, most arguments where about how legit it was.. Because WinMo is closed source..
Well... I'm no dev or anything like that.. I'm simple wondering about a few ppl, their ideas and find myself thinking about something abstract myself.. sooo...
QUESTION:
What do you think about ports of
Basilisk II - an Open Source 68k Macintosh emulator
--> There's even a port for Sony PSP and it's quite fun to use it
and before you ask..
AFAIK! Apple provides downloads for the old classic system discs without any charges legally! (correct me if I'm wrong pls..)
Link would be basilisk.cebix.net/
Maemo/MeeGo - an open source, Linux project
-->As Nokia is about to lauch their first MeeGo-Device I would believe it's quite an interesting idea
Link would be meego.com/about
Windows Mobile/Windows Mobile 7
--> Yeahyeah, I know.. closed source and well.. but there are already some Windows Mobile emus on the net I believe? Some even written in Java?
So there would exist a possibility to optimize Android's Java-Engine.. I mean.. the apps converting Java-files to Android-APK for more convient use so it would be possible to port some Java-emus?
I couldn't find the link to the Java-emulator now.. but by searching, I found this:
Link: downloadsquad.com/2008/03/02/microsoft-device-emulator-lets-you-run-windows-mobile-6-on-your/
So there seems to be an application for Windows to be called "Microsoft Device Emulator" which let's you test WinMo-Apps on your PC by emulating a WinMo-Device! Microsoft also seems to provide some ROM-Image to use for this Device Emulator as seen here:
Link: microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&DisplayLang=en
Again.. I know WinMo is not open source.. but as Microsoft seems to provide those ROMs.. I wonder if it's legit to use those ROMs to test a self-written or ported emulator for e.g. Android?
x86
Uh... there was a port of Bochs/Qemu for Android some while ago.. but the "port" was rather a proof of concept I think?
There was not much for me to do, using this port I got the same error messages I got using Dosbox, which I thought where problems due to usage of the DOS-environment..which I hoped to escape using this "Bochs/Qemu"-port..
But there's also a Java-emu for x86 architecture...called JPC!
More some kind of proof of concept too, but really interesting! At least for me!
But I somehow don't get along with FreeDOS...and can't seem to boot DSL, even though the applet on their website showed it working... but oh well..
Also, I was wondering if it's possible to run more Linux distros on Android using Bochs/Qemu.. but can't seem to get it to work by now...
Maybe it's just my fault :/
Bochs/Qemu for Android: forum.xda-developers.com/showthread.php?t=692682
JPC- Java x86 VM: jpc.sourceforge.net/home_home.html
__________________________________________________
Well... that are my 0.02$.. Again.. I'm not a dev..nor do I have the massive knowledge other ppl have here.. Just thought I share some ideas and hope some ppl might find themself interested in working on something.. not necessaryly ports, stable emus are enough work I believe.. But yeah.. here you go!
Oh and well.. just for the people asking "why would you want that? WinMo/Linux/Whoeva is fo da **** 'n Android is da best, yo!" who seem to be present here..
Why not? This place is called "xda-DEVELOPERS" Why joining a website/community when you're not interested in changing/experimenting?
I believe that some people here should be more open to various things.. If you don't want to change a thing on your device.. why going through the effort even reading some topics here or buy such a versatile phone? Just use your old Nokia and play "snake" and call ppl &write messages!
____
Uh and yeah.. I'm sorry if I did anything wrong.. used "search" and most infos are from this pages.. so I don't really think I've digged something old closed up again... and yeah.. links.. are not links without permission I do not have (new user and such ;3) but I hope the linked pages are alright to be linked.. if not.. I'm sorry guys
______
So... I'm interested in your opinion! What do you guys think?

Related

something NEW for everyone and all the developers

why doesnt xda have its own custom app? maybe somethine like a community made ui and every designer and dveloper has a hand in it?.... im sure if we all work together we can make a custom ui just for xda then they can either sell it or just give it away kind of like how google has android but ours will be much much much! better... we can make something completely new and original.... our powers on here if we band together is limitless
heck! we can even make a totally new os!! if we all put our heads together!
Kudos to XDA
i second u bro... nice thought..
well th developers n everyone here can join hands (if they want too!!) n accomplish this for sure..
it can be a kind of project as like th already up n movin "Touch Surface ROM" for elf... well by th means of it
"MORE than tht n on a BIGGER n HUGE basis" ~~ with all th devs n ppl here!!!
two thumbs up bro for th thought .. cheers.. XDA rules ^.^
I think you underestimate the complexy of that. This requires a lot of organization, planning, free time from developers and organizators, a common development base (EVC? DevStudio '05? '08? .NET or native? Any/which existing libraries? ...), and so on.
Another problem is: you can't make a program everybody likes. Just look at all the different "iPhonish" contact managers (PCM, iContact and derivations, FFF, ...). They all seem alike at first glance, but everybody here preferes another one. And adding 20 pages of settings wouldn't make it much better... Or have a look at Linux: still two major desktops, lots of different window managers, long lasting (and partly really good) tries to get all different APIs in one "super library" for developers, ...
And then there are so human things like vanity and greed, that can make working together really hard (Who gets the credit? Who the donations? And how much for which work?).
Great Idea boy,
or at least waht about an xda-dev pack with all the dev tools for the dirrerent devices?
I mean without this page many things still would be impossible
Just an idea but I'd like a program that works seamlessly with the xda site instead of using the browser. Kinda like how yahoo or some of the other companies try to make things to work with their stuff. Only, this would blow all the others away. Just some ideas.
1) Have a today plugin that scrolls through threads you've subscribed to.
a) It could alert you when a new version of something is released
2) Have a latest news on xda area in the main program.
3) Let you see your favorite section or phone and only recieve those updates but from there be able to browse the others.
I'm just brainstorming but I imagine it could be something really cool. Just a thought after reading the 1st post.
The biggest problem there is, we still don't know much about the hardware - to be more specific - the HTC board. To overcome this we need a lot of work on reverse engineering the HTC drivers, guessing the GPIOs... etc, which is, not really possible.
Writing code for embedded devices is quite different from PCs. It's very hard to get good performace, or even working programs without knowing the hardware.

I'm a new member with Questions about my HD2

Well, it's more than just questions.
I have the HD2 and I really enjoy it. Think it's a great piece of hardware. WM6.5 gets the job done for the most part, but I can understand some of the concerns with the OS. It's good to hear that you guys are already working on WM7 and the port to this phone!
Truth is, I put my coin in google's corner, so I'm hoping that Android finds its way into the HD2 via T Mobile.
I'm a bit tech savy, been involved with computer animation and can build computers as well. I thought I ask about the learning curve when it comes to development on PDA's such as mine. With the drop of Android, I flirted with the idea of learning code.
Is Android Linux based?
You guys hear anything about Android getting a port to this phone? I've done the google search and can only find the sprint version of HD2 with Android installed. That does nothing for TMobile customers.
I read up a bit on XDA and they appear legit. My concern is code being used for identity theft. Anyone have bad experiences with XDA and the software that is released here for share? Does the software under go some sort of QA before it's provided for download?
I have no problem with donations, trust is what earns my donations...fair enough, right?
Ultimately, I really like this phone and look forward to further enhancing it...I hear XDA is the place to be!
Thanks guys/gals.
FAQ's and sticky threads are your friend as is google.
Try reading abit, get a feel for the site.. Then ask..
Yes Winmo7 is being ported to the touch HD, though at the moment it's sluggish due to lack of graphical acceleration (and not really something i"m excited by since it doesn't have copy and paste and no multitasking. IMHO it's really more like an iphone/toy meant for none-techy people).
I don't expect an official update/ROM for the HD2 with android to ever be released by htc/tmobile. However, I would be surprised if one wasn't ported by xda from other devices (like nexus/evo 4g).
Yes, android is unix based. (develepment done in java (for upper stuff) and C (for lower stuff)).
Anything you download and install from xda you do so at your own risk. However, I would argue that the risk is minimal (almost none existent) as long as you follow directions and read posts. The only thing that can brick your phone is a failed radio/SPL update/change. Anything else can be cured by a hard reset.
(and what kable said)
As unfriendly as my reply may seem, for a "tech savvy" guy you asked several questions which would have been abundantly answered if you properly used the search tools of the forum, or if you simply browsed through the most active threads
ephestione said:
As unfriendly as my reply may seem, for a "tech savvy" guy you asked several questions which would have been abundantly answered if you properly used the search tools of the forum, or if you simply browsed through the most active threads
Click to expand...
Click to collapse
Thick skin...you grouches don't faze me
I've been through the site a bit, what can I say, life outside of the computer caught up and I got a little impatient!
I'm still reading through the forum. Have yet to find an answer to this question.
If I install Android on my HD2 (US), something goes wrong...will I be able to do a hard reset, or reinstall WM6.5?
I really think Android would benefit more out of this hardware. It seems as if everything Unix based always requires less resources and gets the job done!
I also would like to know how I can uninstall these game demos that are eating up space? Will this be a registry edit?
I feel as if Android would FLY on this device. WM6.5 is getting the job done, but it's to late for Microsoft with me. I've used Linux for some time and I just think it's better. Huge supporter of Linux!
Devils1stBorn said:
Thick skin...you grouches don't faze me
I've been through the site a bit, what can I say, life outside of the computer caught up and I got a little impatient!
I'm still reading through the forum. Have yet to find an answer to this question.
If I install Android on my HD2 (US), something goes wrong...will I be able to do a hard reset, or reinstall WM6.5?
I really think Android would benefit more out of this hardware. It seems as if everything Unix based always requires less resources and gets the job done!
I also would like to know how I can uninstall these game demos that are eating up space? Will this be a registry edit?
I feel as if Android would FLY on this device. WM6.5 is getting the job done, but it's to late for Microsoft with me. I've used Linux for some time and I just think it's better. Huge supporter of Linux!
Click to expand...
Click to collapse
oh, no grouches intended (and the "I have a life" excuse is old )
There's no way to install Android on the HD2, currently, that's why you couldn't find on these forums how to uninstall it from the hd2
Game demos were not included in my stock rom, if you're using a customized rom from a carrier, then either you find and delete the relevant files, if that's even possible, or you flash a clean custom rom from the rom dev forums which includes onyl the necessary software... but then again, I know all this info because I found it on the forums
ephestione said:
oh, no grouches intended (and the "I have a life" excuse is old )
There's no way to install Android on the HD2, currently, that's why you couldn't find on these forums how to uninstall it from the hd2
Game demos were not included in my stock rom, if you're using a customized rom from a carrier, then either you find and delete the relevant files, if that's even possible, or you flash a clean custom rom from the rom dev forums which includes onyl the necessary software... but then again, I know all this info because I found it on the forums
Click to expand...
Click to collapse
Look at you, browsing through forums and stuff. When I grow up, I wanna be just like you.
Thanks for the info. I do have a custom ROM from TMOUS. Has games like guitar hero, prince of persia...more bloated ware. I estimate about 30 mbps of used space.
Devils1stBorn said:
Look at you, browsing through forums and stuff. When I grow up, I wanna be just like you.
Thanks for the info. I do have a custom ROM from TMOUS. Has games like guitar hero, prince of persia...more bloated ware. I estimate about 30 mbps of used space.
Click to expand...
Click to collapse
If they allow you to uninstall the games this is how you would go about it:
Go to the settings tab in Sense -> menu(lower right corner) -> all settings -> system -> remove programs.
Now the other option would be to flash your current rom to something faster and less bloated. T-Mobile US Rom Development Forum
I definitely recommend you read the Stickies before going about flashing your phone. If you have any questions don't hesitate to ask! Would suck if you brick your new HD2 just because you didn't! This is what these forums are for despite what some members might claim.
As for your other questions yes Android is Unix based and is probably going to be available for the HD2 sometime in the future(don't ask when). There's already a dual boot app so when Android becomes available switching between the two operating systems should be a breeze.
Welcome to the forums and enjoy your new phone!
Hi,
A bit irrrelevant to reply here, but I did not any other place. Have been following this forum for quite sometime. Been around with windows mobile app development for sometime. But what really interest me is when people from this forum tweaks Rom image or port to other harware. Here things look quite easy. Is it really easy? I saw one single person tweaking a ROM image and porting to different hardware?
Hope I have not offended anyone.
- Herojit
Toss3 said:
If they allow you to uninstall the games this is how you would go about it:
Go to the settings tab in Sense -> menu(lower right corner) -> all settings -> system -> remove programs.
Now the other option would be to flash your current rom to something faster and less bloated.
I definitely recommend you read the Stickies before going about flashing your phone. If you have any questions don't hesitate to ask! Would suck if you brick your new HD2 just because you didn't! This is what these forums are for despite what some members might claim.
As for your other questions yes Android is Unix based and is probably going to be available for the HD2 sometime in the future(don't ask when). There's already a dual boot app so when Android becomes available switching between the two operating systems should be a breeze.
Welcome to the forums and enjoy your new phone!
Click to expand...
Click to collapse
Thanks. And no, it only allows me to uninstall apps I've installed after the initial setup. I've been through system files and the sorts and I can only find icons and other "blah" that's not the actual install directory. I show all the hidden files and still, can't find it.
Yeah, I'm looking forward to Android. Don't need the dual boot. Just a solid port with solid drivers.
Sorry everyone for the irrelevant post again.
I was hoping that someone will reply saying - "porting ROM is not a big deal, this is how you do it"
- Herojit
herojits said:
Sorry everyone for the irrelevant post again.
I was hoping that someone will reply saying - "porting ROM is not a big deal, this is how you do it"
- Herojit
Click to expand...
Click to collapse
Say what?
What's with your post?
OP. I'll port Android on HD2 for you for $50. You gotta send me your phone tho.
I am a tek savy guy too. I fix microwaves!
FloatHeavy said:
OP. I'll port Android on HD2 for you for $50. You gotta send me your phone tho.
I am a tek savy guy too. I fix microwaves!
Click to expand...
Click to collapse
Epic fail.
one thing that has been alittle pain is how the albums are viewed. i created an album for videos, yet when i view I can't have a name of the file visable, just a thumbnail. that doesn't work well at all. works fine with pictures cuz what you see is what you. videos start with a black screen; becomes a guessing game. am i missing something?

Porting FreeCiv to Android help

Hey guys I was hoping you could help me out. Great site here and awesome community. Can someone just simply give me the proper reading material in order to port this? I am trying android developing I use to do some minor developing but never with android, I will have about a year of free time and I was thinking I might as well be productive. Just a start, yes I googled it, and I just get lots of crap of games ported to android not how it was ported. Just some beginner sites would be awesome. I know I can't just port games I need to know android basics just don't know where to look
Maybe here: http://developer.android.com/guide/index.html ?
JasonX-NL said:
Maybe here: http://developer.android.com/guide/index.html ?
Click to expand...
Click to collapse
Like I said anything would help
I love how every application or program have the same tutorial.. damn you to hell "Hello World"!!!!
A port is in progress at hackcasual dot net
Help is most definitely welcome.

[Q] Ubuntu on Notion Ink Adam?

Hi. Thinking about CPU and the big screen, I think it will be very nice to have Ubuntu in Adam. What do you think?
Also I won't want to lose Eden. So I think we need something like HTC HD2 owners have. (They can start Ubuntu from the SD card like they opening a normal application as far as I saw) What do you think? Can it be possible for our Adam tablet too?
Anything is possible just put ur mind into it
Sent from my Droid using XDA App
It should be similar with HTC HD2. The good thing is, their project is open source
can90 said:
It should be similar with HTC HD2. The good thing is, their project is open source
Click to expand...
Click to collapse
Please let me know when a good solution is found. I am keen to have it on my Adam.
That way, I don't need to worry about the warranty issue?
I would love to see this too. Really hope that some developer here can port the ubuntu to Adam. Please please please please
Why will you install Ubuntu on Adam? Is the new Maverick Meerkat fully mature on the touchscreen?
A lot of stuff needed here. I'll make a place holder in Development section with some necessary steps and such.
If anyone wants to make this happen though we need Eden Plus to be successful as full root and unlock will be required. Help out with that process first and then we can focus on Ubuntu.
if you install natty dont forget to pin libc6 to 2.12
Ubuntu port on Adam
Check this one if it helps...
http://forum.xda-developers.com/showthread.php?t=931214
Also, I saw some activity regarding Ubuntu port to Adam on NIH and tabletroms, some while ago.
Lets hope that this comes together eventually. I'd love to try it out on Adam
Hi, I too am waiting to see the development move ahead. It seems the attention is on Honeycomb these days.
$25 for the person recognized as having ported Ubuntu successfully on the Adam, either here or on TabletROMs.
kinda tired of android
I'm kinda tired of android. I just got an HP Veer and webOS is pretty nice. Only issues I have had so far is posting to message boards like what am doing right now. I got through it but had some trouble. Sorry off topic
I have loaded ubuntu onto my adam following the steps on the dev thread. I can't post there because I new here. Well I'm not new here I just don't post much. I've been reading posts for six months now but rules must be followed! Again off topic.
Ubuntu works. I have a question. I was trying to install a USB ethernet device and ran
Code:
modprobe --list
and came up with
Code:
FATAL: Could not load /lib/modules/2.6.32.9/modules.dep
I looked and only found a /lib/modules/2.6.32-1208-omap4 directory. I might have screwed up a symlink and I was hoping someone could let me know where the modules.dep file should link to.
Still waiting for tillum, rayman and paronnax to resume their work on ubuntu, especially now that nVIDIA have released the first alpha of Linux4Tegra 12, based on Natty.
I read this post by Tillum on the Ubuntu Methods development thread.
It is very disheartening to note that developers have lost interest, but that was inevitable given the low volumes and disappointment associated with the tablets. On the other hand, quite a few of us users are interested in getting a real operating system on the Adam.
I am sure that any successful port would be easily transferable to other Tegra 2 devices as well, and so efforts won't be wasted.
If we can help in any way, just let us know.

[Q] Learning Android SDK

Hi I am new to Android SDK, I know a little like creating an android project, android project structure, compiling it & testing it on a phone, but I do not understand anything in the source code. So I need to start from the basics, is this tutorial good for basics ?
http://www.cbtnuggets.com/series/219
Have a look at the official developers guides: http://d.android.com/guide/index.html
Theres really a lot of helpful guides that should teach you (almost) all basics you need to code on android.
Why should I not learn this first ?
http://www.cbtnuggets.com/series/219
Springles said:
Why should I not learn this first ?
http://www.cbtnuggets.com/series/219
Click to expand...
Click to collapse
Oh sorry, I didn't notice the topic list further down the page. If you really have no knowledge of (object-oriantated) programming some tutorial like this would indeed be a good idea. About this one I can't tell you if this will help you, since its paid content. Looking at the topic you will get all basics you need for starting with the link i wrote above. (Also theres some videos you won't ever need using the Android SDK)
IMHO: I would not pay that much money for video tutorials without excactly knowing its worth it! (Independent reviews!)
Theres a lot of free tutorials explaining the java basics out there, if you're not in hurry I would rather read some of those. (I sadly only know some in my native language)
Well I am in a hurry, ill watch it on my friend's laptop, hehe.
Springles said:
Well I am in a hurry, ill watch it on my friend's laptop, hehe.
Click to expand...
Click to collapse
In that case I would at least have a look at local courses that you could take since its always better if you can ask back for an explaination if you don't understand something. (And if you are new to programming I'm pretty sure this will happen )
Forsaken said:
(Also theres some videos you won't ever need using the Android SDK))
Click to expand...
Click to collapse
Can you tell me which video chapter's are not needed to learn ? http://www.cbtnuggets.com/series/219
1-19 and 28+29 should be everything you need to understand how to use the android sdk. 12 & 18 (swing) is also different on android (afaik its not swing there) even it's quite simlar to it, so depending on how specific those videos are they might be a help anyway.
Can you tell me what is the equavelent package for:
java.awt & javax.swing for android ?
Springles said:
Can you tell me what is the equavelent package for:
java.awt & javax.swing for android ?
Click to expand...
Click to collapse
There is no equivalent package, as the graphical interface is completly different. I will suggest you take a look to developer.android.com under the section of activity and view:
http://developer.android.com/guide/topics/fundamentals/activities.html
http://developer.android.com/guide/topics/ui/index.html

Resources