[Q] Any one using Amazon ECS or Rackspace for development - Android Software Development

Hi,
I am in need of a 64 bit machine for compiling android from source, since gingerbread compiling is supported only on 64bit platforms. I am looking into alternatives like using Amazon ECS micro or large instance or Rackspace for compiling from source instead of buying a PC. Does anyone tried this and what setup are you using?

Related

Support Further ARM Development Ubuntu Eclipse SDK etc

Hi guys I am buying a eee pad but currently I am emailing Eclipse Google and others to try and get support to make developing for Android on Android possible.
I wish to start a foundation or support group toward this end if you want to contribute or help in anyway it would be great I will also add a poll for comparison of votes so please vote it all helps.
As I understand it porting Ubuntu to different devices is well still in beta stages for the most part but we all know that personalized mobile computing is the future and tablets or tf style devices will eventually replace laptops netbooks and the like.
As I understand the biggest problem is new tech!! that fresh out the box smell is still lingering and leaves support and development slim in some more common place computing needs where x86 has rained supreme leaving others to wish for such a client base of great support and programs.
So all in all this is to try push things in the right direction. Who to talk to when to talk to them and how to help the eee pad and other similar devices become fully fledged dual boot Android Ubuntu platforms with the option to develop and do all the other great things Ubuntu can offer.
Please only positive criticism or feedback this is the tech community anything is possible so please no comments of OMG YOU CANT DO THAT!!!! etc etc
Currently, you can compile C program or whatever without problems, using a chroot ubuntu or debian.
But developing for android implies that the android sdk has to be ported on arm platform. This is a paradox, but most android and java tools are working only on x86 platform, probably because at this time, phones was not meant to be dev platforms considering their cpu power.
Openjdk seems to work on arm but the android sdk relies on javac from sun.
There are now powerful tablet devices on the market - including our beloved tf - where we could potentially develop android apps ; I think that google will sooner or later release an arm version of the android sdk. Since then, we are almost pretty stuck : I'm not sure that all the android tools are opensource, and even if it is the case, there is still the problem of javac from sun which does not work on arm platform. However, doing our own dev platform implies that we can port ourselves the sdk on arm, and use openjdk as a replacement of sun-java runtime. Not a piece of cake My advice is to wait several months google next move to see what's going to happen, now that there are more and more tablets on the market.
If we get enough support though maybe we can push for both to be ported and released
Sent from my GT540RR using XDA App
Omg this doesn"t belong in the development forum!!!!!!!
Would love to see more development done on this!
As time progresses, more will be done definitely this is more about making sure that it is pushed as i believe at the moment its being over looked. I think manufacturers and Google and eclipse etc all under estimate there own products possibilities and the abilities of the tech community and in particular the xda community. Even if we had beta releases only for xda devs it would be a step in the right direction for developing android on android.
OK I'm going to bite the bullet and ask why would this be considered a good idea? I write software for Android and using Eclipse on lower screen resolutions isn't that productive IMHO, throw in poor keyboards and miniscule touchpads and it makes little sense. Finally considering the performance differences between a tablet and development laptop (i7, 8 GB RAM, SSD, etc) I just can't see getting the development tools working on an Android device to be all that useful at this point in time.
Nvidia is claiming the T3 will be as powerful as a Core 2. Seems a little exaggerated, but in the near future, it may be possible to dev. on a tab. Eclipse (and real games) are the last things tying me to my PC. Now I would not want to run Eclipse on a T2, but a T4??? Now we are talking.
GeraldNunn said:
OK I'm going to bite the bullet and ask why would this be considered a good idea? I write software for Android and using Eclipse on lower screen resolutions isn't that productive IMHO, throw in poor keyboards and miniscule touchpads and it makes little sense. Finally considering the performance differences between a tablet and development laptop (i7, 8 GB RAM, SSD, etc) I just can't see getting the development tools working on an Android device to be all that useful at this point in time.
Click to expand...
Click to collapse
Sent from my Transformer TF101
I tend to agree. I find even a powerful laptop is pretty marginal. I prefer a desktop with at least 2 monitors, one for code and one for the emulator.
All valid points but if no one is looking forward at the glass half full it wont become a reality
What I'm saying is work needs to start now infrastructure then city not a repeat of Auckland central we need the ground work done then the devices can catch up
Sent from my GT540RR using XDA App
I support, its something i would use.
danielmtp.mg said:
I support, its something i would use.
Click to expand...
Click to collapse
Sent from my GT540RR using XDA App
I've a script pack for installing Java's JDK to ARM either hard float or soft float that can be found at the following link
https://github.com/S0AndS0/Debian-Kit-Mods
Check the readme for how to download and enjoy the work I've done to get us this far. Furthermore there are other installers available that may be of interest; such as jMonkey and node.js and NoFlo installers for debian based Linux OS's running on Android.
Sent from my SPH-D700 using xda app-developers app
Anyone alive on this thread?
I've some links to information and projects relating to developments on Android and Linux Android systems.
For running GNU software on Android (better than busybox perhaps)
http://forum.xda-developers.com/showthread.php?t=2613243
Some maybe slower than the busybox versions but its a small sacrifice for better compatibility.
For running SDR (software defined radio) with Android or Android Linux
http://forum.xda-developers.com/showthread.php?t=2108053
https://github.com/martinmarinov/rtl_tcp_andro-
This github is really cool because the drivers are for either.
For running OpenBTS on Android Linux (turn your cellphone into a cell tower)
https://github.com/martinmarinov/rtl_tcp_andro-
Do some digging on this Dev's work; its amazing
For Crypto Currency mining on Android Linux (why buy an app when you'll have more for free here?)
http://bitbiz.io/threads/linux-script-cpu-minerd-installer-android-rpi-vps-32-64bit-pc.138/
Be sure to check out the example scripts I posted too; especially the ones relating to temp. monitoring or ya may blow a battery.
For MPI (message passing interface) on Android Linux (just modify the RPi directions to have the right username and networking options)
http://www.tinkernut.com/2014/04/27/make-cluster-computer/
Be sure to check out TinkerNut's other videos and guides; nearly anything a Raspberry Pi can do we can do on our phones for cheaper and with better specs/built in hardware.
For running Maptools server on Android (software for running custom table top games over a network)
http://forums.rptools.net/viewtopic.php?f=12&t=24082
I play DnD and Pathfinder so having a way to go mobile with it was something I had to do for them
For building Android NDK on Android Linux (step one of writing apps for Android on Android)
http://www.timelesssky.com/blog/building-android-sdk-build-tools-aapt-for-debian-arm
For building Android SDK on Android Linux (step two for writing/modding you phone with your phone)
http://www.timelesssky.com/blog/develop-app-on-android-with-android-sdk
Above two links are fantastic when combined with rdp or vnc for a larger screen size when at home.
For running Linux on Android without root (hidden goodies on FUSE filesystem)
http://www.timelesssky.com/blog/debian-android-with-no-root
There's a narrow window of compatibility but if your apposed to root on Android and still want Linux theses steps might just let you pull it off too.
For modifying Debian Kits' source code so you can have loop files larger than 2 Gigs and install hard floating point instead of soft float
http://www.timelesssky.com/blog/running-debian-armhf-alongside-android#comment-1525580294
If you've not found this Dev's blog then do some digging as there is some really cool guides posted.
For installing GPU drivers to Android Linux (scroll down to Related Projects for the other brands)
http://freedreno.github.io/
The above link and related software should allow for OpenCL/GL support and the added bonus of being able to run Blender on your tablet.
The above links should prove that developments on Android and Android Linux systems is very active; just hard to find sometimes.
I'm currently working at http://bitbiz.io/rf/?c=IGQ3ZLRT with a few other team members to bring together the above subjects into a new mesh-networking crypto coin system that allows users and developers to buy or rent hardware time from networked devices; others have tried and failed to make a AndroidCoin but this one will not as much of the core features have already been tested or scripted up in my other github repo as installers. Feel free to post feature requests and concerns.
http://bitbiz.io/threads/altcoin-taucoin-new-arm-excusive-coin.142/
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.

Run Eclipse with Android

Hey guys,
I am nearly about to buy a Tablet like the "Transformer Prime", but then it came to my mind, it has no sense to buy it because Eclipse wouldn't work on it. However, there is also Eclipse for Linux. Isn't there a project of people who tried to run eclipse on Android? Or is it at least possible?
Thanks in advance.
The problem is, that it's written in Java.
Sounds good you might think because Android-Apps are written in Java, too.
The big problem here is that it uses the sun-libraries like the ones for the SWING-gui.
Unless you are able to port swing to android I think this can't be done
Another thing you could do would be running Debian/Ubuntu with real sun-java and linux-eclipse in an chroot-environment. You can connect to x-server via VNC-client and it should work.
The problem here is that you will need a very good cpu and enough RAM to work with this.
An alternative might be this: http://forum.xda-developers.com/showthread.php?p=19229860
Eclipse has it's uses but I'm happy enough to use vim+tmux+btep for my programming needs and deal with cross compilers or terminalling in to other stuff when x86 is needed.
Sent from my Transformer TF101 using Tapatalk

[Q] Development in VM?

So, I just had to wipe my laptop. Clean install of Windows 7 Home Premium. Was wondering, now that I'm running with a clean slate, should I run a Linux VM for my Nexus 7 development? Would that be conducive to a better, more comprehensive development environment? Would I be better off just using ADB and Eclipse in Windows? If a Linux VM is preferable, is there a particular distro that is preferable? I've heard most of the dev tools are made with Ubuntu in mind, but I want to make absolutely sure of this before I make the jump to dev in Linux. Another solution which is less preferable, all things considered due to the repartitioning involved, but probably better in the way of integration with hardware, would be to set up a dual boot with Win7/Linux...what do you all think?
tl/dr; wiped my hard drive, I want to know what works best for development.
ikoniq said:
So, I just had to wipe my laptop. Clean install of Windows 7 Home Premium. Was wondering, now that I'm running with a clean slate, should I run a Linux VM for my Nexus 7 development? Would that be conducive to a better, more comprehensive development environment? Would I be better off just using ADB and Eclipse in Windows? If a Linux VM is preferable, is there a particular distro that is preferable? I've heard most of the dev tools are made with Ubuntu in mind, but I want to make absolutely sure of this before I make the jump to dev in Linux. Another solution which is less preferable, all things considered due to the repartitioning involved, but probably better in the way of integration with hardware, would be to set up a dual boot with Win7/Linux...what do you all think?
tl/dr; wiped my hard drive, I want to know what works best for development.
Click to expand...
Click to collapse
If you're serious about development, I really recommend dual booting. If you just want to try it out then use a VM and then if you don't like it just delete the VM.
For the Linux distro I recommend Ubuntu or Linux Mint. They're both very easy to use.
Sent from my Nexus 7
veeman said:
If you're serious about development, I really recommend dual booting. If you just want to try it out then use a VM and then if you don't like it just delete the VM.
For the Linux distro I recommend Ubuntu or Linux Mint. They're both very easy to use.
Sent from my Nexus 7
Click to expand...
Click to collapse
Thanks. I just like...I've wanted to get into dev for a while, and I just couldn't stand the workarounds and **** required for Android development in Windows. I know to build Android you have to be running Linux, and many of the guides are written taking a standard install of Ubuntu into consideration. I'll probably just start out with apps since most of my experience is in Java, maybe once I sharpen my skills with C I'll start into working on ROM mods and stuff. All I have to say is thank FSM for the AOSP.
I run VMware on Vista 64 (well I like vista) and I have a variety of Linux systems defined. Android, Rails, Reprap, etc. All Ubuntu 12.04 LTS.
This works well for me. Android on native Windows was unusable.
And I really like Eclipse for an IDE.
Works well with the Android SDK and NDK.
Sent from my Nexus 7 using xda app-developers app

Brainstorming.

Is this going to be like Ubuntu in that Ubuntu is essentially Debian with packages added, some tweaks, and different themes and whatnot? (Basically, not trying to undermine the work canonical puts into the OS.) I'm thinking this could be android , but tweaked in the same way Debian is tweaked to become Ubuntu. Or could this be straight up Ubuntu with the phone elements added in? Does anyone have any insight on this? I'd like to know more about what this is going to be.
Sent from my Nexus 10 using xda app-developers app
teh_cANONs said:
Is this going to be like Ubuntu in that Ubuntu is essentially Debian with packages added, some tweaks, and different themes and whatnot? (Basically, not trying to undermine the work canonical puts into the OS.) I'm thinking this could be android , but tweaked in the same way Debian is tweaked to become Ubuntu. Or could this be straight up Ubuntu with the phone elements added in? Does anyone have any insight on this? I'd like to know more about what this is going to be.
Click to expand...
Click to collapse
In Free software, the individual software components are always being reused, and this is the correct practice.
Debian is the upstream distribution for Ubuntu, so the basic packages are related to Debian, and might have some small changes in Ubuntu.
However, the full composition is Ubuntu, which includes additional packages that are currently found only in Ubuntu.
It is acceptable and encouraged in Free software to reuse software components. That's the purpose of Free software.
teh_cANONs said:
Is this going to be like Ubuntu in that Ubuntu is essentially Debian with packages added, some tweaks, and different themes and whatnot? (Basically, not trying to undermine the work canonical puts into the OS.) I'm thinking this could be android , but tweaked in the same way Debian is tweaked to become Ubuntu. Or could this be straight up Ubuntu with the phone elements added in? Does anyone have any insight on this? I'd like to know more about what this is going to be.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
It's straight up Ubuntu, well a fork of Ubuntu for mobile resolutions, touch screens, etc. With added support for ARM devices and Android kernels. You can currently install the ARM version as a full OS on Nexus 7 devices, although it's far from polished as a full OS on tablets. The mobile OS is something different again, and should be great if it's done right. I already use Ubuntu 13.04 as my daily desktop environment, dual booting with winblows only for some games. Ubuntu for desktop just gets better and grows on me more each week, and each update. I imagine the phone OS will be similar, take a little learning, but become addicted with use.
I want to move my project ubnhd2
http://forum.xda-developers.com/showthread.php?t=1975081
(currently ubuntu 10.10 & HTC HD2 & DesireHD only)
to the new ubuntu version that comes out soon.
I have some Questions:
I there a standard x-org server or do they bake their own bread like android ?
Can i use Modules from a 2.6.x Kernel Source ?
Can they release it closed-source ?
zo1d said:
I want to move my project ubnhd2
http://forum.xda-developers.com/showthread.php?t=1975081
(currently ubuntu 10.10 & HTC HD2 & DesireHD only)
to the new ubuntu version that comes out soon.
I have some Questions:
I there a standard x-org server or do they bake their own bread like android ?
Can i use Modules from a 2.6.x Kernel Source ?
Can they release it closed-source ?
Click to expand...
Click to collapse
1. don't know if there is a xserver involved or what, we will see when released.
2. hmm why would you want to do that? We dont know if canonical is using its own kernel based on the android kernel or if it will be the exact android kernel in which the device comes preinstalled.. We will see..
3. No.. sofar I am aware of, the core might be GPL'ed code, just like the Linux Kernel.. But we will first know when released, it could be LGPL too.. Thats what Qt is released on..
When it is released you will find the code on launchpad.
I really don't see why they can't use the same kernel that ships with the phones, since the android tree is included in the Linux kernel, and it is obviously open source. I think it would be trivial to redo tons of work that has already been done.
Sent from my Nexus 10 using xda app-developers app
Ehh they already said that they're going to use the standard android kernel of the phones....
blackout23 said:
Ehh they already said that they're going to use the standard android kernel of the phones....
Click to expand...
Click to collapse
Not really.. They said it is compatible with the android kernel.. As of using its drivers which makes it easier for manufactures to support Ubuntu phone if they already build android phones .... They never said they support the exact one that came with the phone, they might have their own based of the nexus source with their own settings and patches which is what I believe ..
Sent from my Galaxy Nexus using xda premium
jscurtu said:
Not really.. They said it is compatible with the android kernel.. As of using its drivers which makes it easier for manufactures to support Ubuntu phone if they already build android phones .... They never said they support the exact one that came with the phone, they might have their own based of the nexus source with their own settings and patches which is what I believe ..
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Would make sense as it would create more dev opportunities for everyone to try their hand at.
Sent from my P2H-I777-HTCTerrorist using xda app-developers app

[Q] Compiling code on ubuntu on the nexus 7

Hello, I will be buying a Nexus 7 soon and installing ubuntu on it, I was wondering if anyone tried monodevelop on it and if compiling c# on it actually works well.
This would be very useful for me because I'm a programming student, and I won't have to bring my huge laptop every day.
Greetings, and thanks in advance!
I'm no expert but if you look at the issues with Ubuntu on the N7 at https://wiki.ubuntu.com/Nexus7/KnownIssues then I doubt you could run the Mono IDE and I think openSUSE is the only flavour of Linux directly supported by the Mono project.
https://play.google.com/store/apps/details?id=com.gregshackles.csharptogo&hl=en
Ubuntu is not even in beta stage, it's a developer preview, I highly doubt it will successfully compile anything above 'hello world', if that at all.
You'd be better off using remote desktop.

Categories

Resources