I am working on WIN CE platform and quite new on Linux and android. I want to port android in PXA270 device running with ARM 9 processor. I googled and found, first install linux kernal, modify it according to the target device, add device drivers and install android image. Thats good but it is difficult for a new person like me. As i read somewhere that android is developed by modifying actual linux kernel(adding low memory killer, android logger etc) then why we dont use that modified android directly on our device. Is that available to use? If yes then how?
please tell... thnkx.. :)
Check out the 0xdroid project, they followed more or less the same route you want to take but for another platform (OMAP), nevertheless you'll probably learn some things from them and their project.
Maybe I'm wrong, but what you want to do looks like a major undertaking to me...
Alternatively, you can try the old Android porting for PXA27x:
http://sourceforge.net/projects/android-pxa270/
Related
I would like to port Firefox OS to my device (that is not supported by Mozilla but it has Android 4.2). I've read from net that some of the drivers haven't been developed yet, but if FFOS uses the kernel from Android, then it can load the drivers from my Android ROM, right?
From this point, my real question is: if I build my FFOS ROM correctly, would I still have some bugs from hardware/drivers?
Thank you!
Leakspin, I'll try to give you some context on whether it's doable, and what has been done yet.
if FFOS uses the kernel from Android, then it can load the drivers from my Android ROM, right?
Yes and No. There is much more than that. As you can see, Firefox is built putting together several pieces, such as Gonk(what you were referring to "android kernel", Gecko (our application runtime), and finally Gaia (user interface). Take a look at the Stack. For more info, please follow the architecture blog post at MDN.
Has it been ported yet to any Android devices?
Yes, but it's not a simple process and there is no guarantee that it will work on all android devices. Here, have a look at the list of devices and which tools you will need to perform such operation.
There is also a porting tutorial you might want to follow.
f I build my FFOS ROM correctly, would I still have some bugs from hardware/drivers?
Unfortunately, very likely that you will do.
I tried my best to style this answer, but the stupid stackoverflow limited the amount of links and images I'm able to post. Sorry for that.
Links:
How to port Firefox OS
Pre-requisites.
So, I recently took a job where I need to develop a fairly simple notification app on both iOS and Android. I've never done mobile development, besides a hello world in Android and some very basic stuff in Objective-C. I've never really programmed Java either, but it shouldn't be hard for me to learn enough to make these apps. Here's where I need help:
I need to find the best way to get started, I want to have Android and iOS developing environments up and running by the end of the day. My desktop broke leaving me with only a ubuntu system, however I can install different operating systems if need be. Could somebody show me how to get everything set up nicely? I want to have both of these environments set up before I begin to learn the code necessary, this way I can determine if it will be beyond my abilities and I can tell my employer that he should find another guy.
I am most comfortable in windows, however use ubuntu on a daily basis as well, and would consider myself averagely competent with it. Is iOS development impossible without running os x? Could I run an os x virtual machine if need be?
Sorry for all the questions, I thank anybody that is willing to offer me some help.
EDIT: I am just going to add that I have an android device(Tmobile Samsung Galaxy S2), and an iOS device(Old iTouch), in case this makes any difference.
Ubuntu will work just fine for Android Development. You're going to need a machine with Mac OS for iOS development.
You can always run a Windows machine and get two Virtual Boxes for Mac OS and Ubuntu.
For Android:
You'll need to download the Android SDK and then get an IDE of your choice. Android has a Plug in with Eclipse. You can use Netbeans or whatever.
http://developer.android.com/index.html
Go to this website and follow their instructions.
For iOS you'll need to Download XCode and then they explain everything for that.
There's really not all that much to set up. You may want to add the SDK tools to your path so that you can run them from your command line but that's about it.
Download and code.
As far as I know, for iOS development you need xcode, so on a virtual machine, yes it should work.
My first advice is to begin with the technology you know the most, which seems, in your case to be Objective-C.
Do the first app using Objective-C and after go for Android.
Windows or Ubuntu has no importance for Android development, you could use Eclipse and the emulator provided by the SDK, or better, an Android phone.
To set up your development environment just follow :
Android : http://developer.android.com/sdk/installing.html
iOS : https://developer.apple.com/devcenter/ios/index.action
The developer.android.com has nearly everything you need to know about android development. The recommended IDE is Eclipse, it has a great plugin for managing the virtual devices and using the SDK.
http://developer.android.com/sdk/installing.html
That should cover everything you need for setting up the environment for android.
The XCode IDE for IOS is only available for OSX.
For cross development you can look at something like MonoTouch, which lets you write C# that works on both android and IOS.
For Ios developent u require mac os on which u can need to install Xcode and ios simualtors.
For Android developend u need to install Eclipse and emulator sdk
Android:
Windows,Mac or ubuntu is ok.The Eclipse IDE will work in all.
iOS:
Mac.The IDE xcode will work only in this OS.
Only mac system believe me don't try the Virtual machine,stuffs like that it won't work.I've personally experienced so many problems with the VM thing
The problem is mac os needs higher configurations which our normal laptops and desktops won't support and trying hackintosh is also tiresome and eventually you'll end up wasting lots of time
so if you want to spend less money only then you can try mac-mini
Android & iOS:
Buy Mac product this is the only reasonable way
Nowadays the best variant for developing for both platforms(iOS, Android) is using Mac product with MacOS where you can install necessary IDE(Xcode, Android Studio...) and simulators and emulators
I am working on an Android app for a client of mine, who is unfortunately not very tech savvy. The thought of installing the Android SDK to get to the emulator scares the hell out of them. Is there any third party Android emulators out there that provide the same functionality as the one provided with the SDK, but minus all of the development periphery?
They are in the middle of buying a bunch of Android phones now (physical), where they'll be able to eventually test on a hard device, but in the meantime, I figured this was the best way.
I installed a minimum SDK (minus all the docs and platforms I didn't want) plus a Java runtime on a USB memory stick. Create an AVD on the stick, and put your app on it. Add a few batch files to start up the emulator etc, and give it to your client - all they need is any Windows box. It should fit on a 2GB stick easily enough and these are dirt cheap now.
You can install Android x86 in VirtualBox or VMWare.
I want to know if exists any form to have the Android SDK into a tablet with Honeycomb.
I ask this because I´ve a tablet with honeycomb and I like to programm into this device.
It is now possible to developed on an Android table with AIDE. See more details here https://plus.google.com/101304250883271700981
Running IDE in your tablet? This wouldn't be very practical. Anyway, you could use Android Scripting Engine to edit and run primitive scripts on your tablet.
You can get the SDK here: http://developer.android.com/sdk/index.html
And there is no need to install anything into your tablet. Just download the SDK for your PC and start developing.
Writing replies like -not very practical- doesnt help, that is something relative to each of us, we have tablets with good hardware and comfortable keyboard docks, not to mention quad core tablets with tegra3 that are comming in dicember. I still don't understand why Google has no SDK for Android OS yet. Android already runs great even on PCs (via de Android x86 project).
In fact, i'm a developer and i use some interesting applications to develop from muy tablet, i recommend you to visit JavaIDEdroid and Terminal IDE wich are some examples of projects that are far from being Eclipse but already let us develop applications for Android and also for Java SE. There also more resources in the XDA forum (look for 'Asus Transformer' for example) even if those projects are not enough, there are guides to install Ubuntu dual boot and other posible solutions to your problem.
I have a fairly large windows mobile app (written in NETCF 3.5). Those in power at my company are wanting to convert this app to run on Android.
What similarities are there between Android development and Windows Mobile (not Windows Phone) development? Specifically:
Window Forms (ie the UI)
P-invokes (my app has a lot of these)
WCF/SOAP web services support
C# and Visual Studio Development tools
Also, if you feel inclined, I would like a general statement on how a conversion would be from someone who has done it. (Keep in mind that I have never made an Android app.)
Background:
Someone (a non-programmer) here did a Google search and found a "tool" that converts Windows Mobile apps to Android for you (push of the button kind of thing). That person now has everyone believing that this conversion will take no time at all.
As a developer that has worked on several platforms, I just find that really hard to believe (though I would be happy to be wrong).
check out Will Google Android ever support .NET? as it might be what you're looking for. Not sure how well it works, but if the non-programmer is willing to front the money, I say give it a try
Update:
Looks like mono switched companies:
http://xamarin.com/monoforandroid
The short answer in NONE. Android is running Linux that is restricted to Java applications. If you want to port an application from .net to Android, you are looking at a total rewrite.
Sam
There is the monodroid project, which takes .NET applications and makes them run on Android's OS, but it's still very experimental and in no way ready for production applications. Otherwise, to mirror "Sam's" comment above, there are no similarities really. I've been building mobile apps for 11 years (delivered over 60 on various Windows flavors) and the Android model is very different than what you might have done in the past on Windows CE 5 or Windows Mobile 6 type systems.