[DEV] Xamarin XobotOS - Nexus S General

Hello xda devs,
I am a day-1 Android user (good old G1), hobbyst Java developer and good experienced .NET developer.
I am very interested in XobotOS project (https://github.com/xamarin/XobotOS)
Xamarin did a little testing on an HTC Flyer and Acer Iconia Tab, does anyone think that it would be possible to run Xobot on our beloved Nexus S?
blog post from Icaza:
Android Ported to C#

Look , i would help you only because you are italian , like me . We are italian, i am very good with computer but these things I never made
genez81 said:
Hello xda devs,
I am a day-1 Android user (good old G1), hobbyst Java developer and good experienced .NET developer.
I am very interested in XobotOS project (https://github.com/xamarin/XobotOS)
Xamarin did a little testing on an HTC Flyer and Acer Iconia Tab, does anyone think that it would be possible to run Xobot on our beloved Nexus S?
blog post from Icaza:
Android Ported to C#
Click to expand...
Click to collapse

I really dont see why not. It being ported to C# should mean less overhead on the device...and our specs certainly arent bad at all. I am actually in the process of switching distros and then I will be setting up the build environment so I can start playing with it.

I'll be the first to admit that i have no idea what i'm doing, but I'm very interested in this concept and may be able to help; I've gotten mostly functional roms CM9 roms to compile for my nexus s 4g before.
So i'm hoping this goes some where and i'll help in what every ways i might be able to. I'm gonna clean up my dev setup and then pull the source from github.
I would say that this helps clear up questions about devices, support and drivers, a little bit.
XobotOS now has experimental multi-device support.
See http://developer.android.com/guide/practices/screens_support.html and
http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources
XobotOS.exe now takes an optional '--device=handheld' or '--device=tablet'
argument to run with a different screen size. This must be given as first
argument, before the assembly:
$ mono --debug ../build/Debug/XobotOS.exe --device=tablet ../build/Debug/Fragments.dll
samples/Fragments demonstrate an app that looks and behaves differently on a
handheld and a tablet.
Click to expand...
Click to collapse

Pocker09 said:
I'll be the first to admit that i have no idea what i'm doing, but I'm very interested in this concept and may be able to help; I've gotten mostly functional roms CM9 roms to compile for my nexus s 4g before.
So i'm hoping this goes some where and i'll help in what every ways i might be able to. I'm gonna clean up my dev setup and then pull the source from github.
I would say that this helps clear up questions about devices, support and drivers, a little bit.
Click to expand...
Click to collapse
Have the sources, fresh dev environment ...now all I need is the time lol
Sent from my TabletUI CM9'd NS4G

genez81 said:
Hello xda devs,
I am a day-1 Android user (good old G1), hobbyst Java developer and good experienced .NET developer.
I am very interested in XobotOS project (https://github.com/xamarin/XobotOS)
Xamarin did a little testing on an HTC Flyer and Acer Iconia Tab, does anyone think that it would be possible to run Xobot on our beloved Nexus S?
blog post from Icaza:
Android Ported to C#
Click to expand...
Click to collapse
It would be nice, but most/all apps are coded for Java so they wouldn't work, so unless Google goes for it then we will never see it
Sent from my ice cream powered Nexus S

FINALLY C#! a language i can understand instead of all this confusing java
Sent from my Nexus S 4G using Tapatalk 2

luciferii said:
FINALLY C#! a language i can understand instead of all this confusing java
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
+1! I'm managing to learn about how to make a ROM for my Htc Magic or an Dual Core Android slate. I think it'll be awesome!
PD: Oh, god... what have I done...

yeah that's right, it would mean porting to C# and recompiling applications.
I don't think it's a problem in this phase...
the main problem is:
how to start mono runtime environment instead of standard boot?
I think it would be possible to compile a minimal boot image and a mono binary for Nexus S but I don't have the skills to wrap them up together...

Related

programming ON device

Hi,
i wonder if it's possible to code right ON an android device, such as the upcomming tablets?
plz correct me if i'm wrong, but i'm dreaming of coding and compiling direct on the tablet. (on my old wm6 device i did so by using basic4ppc, but it would be great to do so without using fring.)
Is this realistic or am i simply dreaming?
thanks for any reply to my silly noob question
your's
pedro
P.S.: by the way,do you gurus think there will be things like video-editing (similar functionality to pinnacle studio/vegas) and vst support for android?
No reply at all??
PLZ boys....can JDK and eclipse be run on an android device????
The only thing I'm aware of at the moment is the project (formerly) known as "Android Scripting Environment"
http://code.google.com/p/android-scripting
Among other things, it gives you Perl
Sent from my SPH-D700 using XDA App
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Much more realistic would be simply a syntax-highlighting text editor, which would let you write (but not compile, of course) on the go. I looked around for one of those a while ago but couldn't find one. I started writing one, but then decided that my urge to program on my phone wasn't strong enough for the amount of effort it would take to write such a program...
NEWS
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
infantilo said:
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
Click to expand...
Click to collapse
Hello,
it will probably be no version to program with B4A on the device. The IDE runs in conjunction with windows. Net.
Cu
Amalkotey
Basic4Android-Betatester
Steven__ said:
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Click to expand...
Click to collapse
These issues are not the only issue i see...
What about javacc wouldn't this need to be ported as a java application as well?
Which i dont see how you can develop a java compiler in java if you can i'll be amazed.
we'd have to wait for the native library imports to do that from my current knowledge
Please someone correct me if im wrong
I know this thread is old, but if anyone come across this thread search for Aide in the play store.
i think AIDE is the best way to coding ON the tablet/phone!
Try AIDE It's free on Google Play.
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
pedja1 said:
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
Click to expand...
Click to collapse
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Sybregunne said:
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Click to expand...
Click to collapse
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
DoR2 said:
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
Click to expand...
Click to collapse
pasGUI - will try that now. Thanks

[Concept] XobotOS (ICS C#) for Galaxy Note

Anyone interested in comitting?
Here's the intro to the pros and cons [1]
Github [2]
I won't have time to work on this until next year, after a few classes. So I'm just putting this out there to spark some intrigue.
This is the definitive way to leave the ssssslow java and go to the "performer" C#!
I know a number of people who don't buy any Android phone because thay know very well that it is "slow" inside.
Java and its VM cannot compete with the speedness of windows phone 7, that is written in C#.
When i look at my friend's wp7 with a 1GHz processor i can't believe how quick it is, compared to ANY android phone.
I hope that this project will have a bright future.
adario73 said:
This is the definitive way to leave the ssssslow java and go to the "performer" C#!
I know a number of people who don't buy any Android phone because thay know very well that it is "slow" inside.
Java and its VM cannot compete with the speedness of windows phone 7, that is written in C#.
When i look at my friend's wp7 with a 1GHz processor i can't believe how quick it is, compared to ANY android phone.
I hope that this project will have a bright future.
Click to expand...
Click to collapse
Interesting. I didn't know that Java was something that was slowing down Android.
Java slows down everything. It's way too high level a language for what it wants to accomplish to do. I suspect Google takes to closely with it's Stanford roots. Stanford teaches java in intro to computer science classes. Whereas, in unis like MIT one would start with python then C.
If it is slow, the problem is not comming from java and c# is not better or worst, the two languages are very similar. The diference is between the VMs Dalvik and Mono. Dalvik, which run java code, is not yet enougth mature .
I confirm, wp7 runs realy faster than Ics. I had a htc mozart with 1ghz and it was as fast as my current Note with it's dual core 1.4
co2gaz said:
If it is slow, the problem is not comming from java and c# is not better or worst, the two languages are very similar. The diference is between the VMs Dalvik and Mono. Dalvik, which run java code, is not yet enougth mature .
I confirm, wp7 runs realy faster than Ics. I had a htc mozart with 1ghz and it was as fast as my current Note with it's dual core 1.4
Click to expand...
Click to collapse
WP7 is a much more lightweight OS, so of course it is faster. Java certainly isn't helping, though...
Java ain't slow
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
lucid said:
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
Click to expand...
Click to collapse
Both C# and Java compile down to a bytecode which runs inside a virtual machine (VM). The speed at the code runs is dependant on the speed of the VM. The Dalvik VM used by android is completely different to the Java VM used in desktop machines and has different performance characteristics. I wouldn't be suprised to find the Mono VM quite a bit faster, it's much more mature.
Java is certainly not the fastest programming language out there, C# is roughly the same speed while natively compiled languages such as C, C++, Delphi etc are typically 50% - 100% faster.
Thread moved to General
This is not development yet.
reinbeau said:
This is not development yet.
Click to expand...
Click to collapse
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
lucid said:
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
Click to expand...
Click to collapse
I don't know why they chose Java specifically, but I imagine the Java VM those stock traders use are much faster than Google's Dalvik.
The stock brokers only use Java for some clients - I promise you their servers and back end doesn't run Java!
Sent from my superior GT-N7000 using Tapatalk
OrionBG said:
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
Click to expand...
Click to collapse
I guess we'll need you to bump it every few days forever to keep it alive...until some actual work is created.
OrionBG said:
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
Click to expand...
Click to collapse
I do go more often in General than Development...
That being said, I still wish there was a fully native Android experience. All apps written in C/C++, cross-compiled directly for ARM, and BANG : 5000x faster.
Zamboney said:
The stock brokers only use Java for some clients - I promise you their servers and back end doesn't run Java!
Click to expand...
Click to collapse
Just my thought too. I've been working professionally as a software developer for almost 15 years, and I'd definitely pick something else than Java for anything performance critical. Back in the days we used to joke that if you're a fast typer, you can run your Java app while coding it.
Anyhow, I'd be thrilled to see more C# support for Android - it's just so much more comfortable to code. In hindsight I think Microsoft clearly did the right thing to ditch backwards compatibility for the new and improved features such as generics.
Lets get manufacturer release data sheet and then lets start coding in assembly will blow everything out of water (if you can write a 500 line of code for your hello world program ) ,
Java and c# are very different language,Java is slower but its getting faster, although I'd love to see android in c#.
Sent from my GT-N7000 using xda premium
Definitely want to see this fine, would run it in a heartbeat
Sent from my GT-N7000 using Tapatalk 2
awesome-member said:
Lets get manufacturer release data sheet and then lets start coding in assembly will blow everything out of water (if you can write a 500 line of code for your hello world program ) ,
Java and c# are very different language,Java is slower but its getting faster, although I'd love to see android in c#.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Java is getting faster, Dalvik isn't.
Android Audio Latency
Will this potentially improve Androids audio latency issue?
Actually a big time discussion was taking place,which sometimes went out of proportion:
http://www.engadget.com/2012/05/04/Xamarin-XobotOS-ports-Android-to-C-Sharp/

Ubuntu Phone OS

So I've Been a Big fan of Ubuntu for a while and I was thrilled to see that they will be releasing a phone OS sometime hopefully soon. Since I have the laptop dock I have always wanted to try to put full ubuntu on it. However that never fully worked on and had to be done on a blur based rom. I love the new JB rom I have on my phone as It performs well. But at the end of the video 21:00 Mark Shuttleworth, the Founder of Ubuntu stated that Ubuntu Phone runs on ARM based chips and Android Kenerals and Drivers.
I'm just wondering Who else would love to see this run and be compatible on the atrix AND the dock. If we still have a decent amount of developers I'm sure this is more than possible.
Heres the Link for the video:
http://www.ubuntu.com/devices/phone
Just putting the idea out there, but if there are any developers capable of this I'd be more than happy to support.
phone spesification is enough for run and if canonical is behind this i think its possible
I was about to post this as a new thread but when I saw this thread I decided to post it in here.
Happy New Year!
According to the video below Ubuntu for Phones will be compatible with any Android designed-hardware. If I understood it correctly, Atrix last chance is with Ubuntu for Phones for sure.
http://www.androidcentral.com/canonical-announces-its-ubuntu-smartphone-os
I have already said that once before that one reason the OEMs lock the bootloader of their phones is to prevent other platforms to be installed to shorten the life of the devices.
Millions of capable Android devices have already been abandoned due to lack of software support which I blame Google directly to allow the implementation of Wild Wild West on Android platform. The only loser in Android world is and will always be the consumers. Ubuntu for Phones will be the left jab that Google didn't see coming. I personally looking forward to see what Ubuntu for Phones can bring this year.
Update: it seems Ubuntu for Phones will not be available until 2014
Seems BBC covered the story
http://www.bbc.co.uk/news/technology-20891868
and in the article says that it will be released for the samsung galaxy nexus. porting from that to the Atrix may be hard, but it should be like CyanogenMod a little. So thats a little boost to say the least.
I also emailed canonical and showed interest in helping with the project especially with the lapdock capabilities, so ill let you guys know what I get back from them, and If its any useful Ill be sure to forward it to every developer possible.
Yes and simply
Yes it's possible for our Atrix, jus read that :
"Easier hardware enablement
We have teams based in Taipei, Shanghai, London, Beijing and Boston to engage with your engineering and factory operations – and their sole focus is to deliver a crisp Ubuntu experience on your device.
Ubuntu has already been adapted to run on chipsets using the ARM and Intel x86 architectures relevant for mobile devices, with the core system based around a typical Android Board Support Package (BSP). So chipset vendors and hardware manufacturers do not need to invest in or maintain new hardware support packages for Ubuntu on smartphones. In short, if you already make handsets that run Android, the work needed to adopt Ubuntu will be trivial."
So alright we don't MAKE handsets that runs android but we have one, we also have the kernel drivers no ? so with that it's like port a cyanogenmod ROM I think. My quote come from canonical web-site (sorry new member so I can"t post outside links ><) so it's a truth information
leclercqsteeven said:
So alright we don't MAKE handsets that runs android but we have one, we also have the kernel drivers no ? so with that it's like port a cyanogenmod ROM I think. My quote come from canonical web-site (sorry new member so I can"t post outside links ><) so it's a truth information
Click to expand...
Click to collapse
Yep, we have Ubuntu drivers but we're not sure we will be able to use them. But indeed the project of having Ubuntu running as main OS on the Atrix is realistic as we have all the material (HW and SW) required for this, if our devs know how to use them, but I think a whole team would be required for a project this big. It's not just a port of Cyanogen, it's not about taking a kernel and some drivers and snap them with a more recent UI and newer apps. We only got a kernel and an X server, it's far enough but the thing is that this X server was published to run on dev platforms. But also know it can be used on an Atrix, but how to integrate it with a whole new platform ? It will require time mostly. I think. And devs. But we don't have many devs so we only have hope. But maybe the devs on XDA will look more at the Atrix and Webtop.
CSharpHeaven said:
Update: it seems Ubuntu for Phones will not be available until 2014
Click to expand...
Click to collapse
Actually it's supposed to be available late 2013 - according to lifehacker....
http://lifehacker.com/5972559/the-ubuntu-mobile-os-introduced-today-coming-to-phones-in-2014
The Ubuntu Phones that ship with the OS will most likely be available in 2013 in the UK, and will clear american shores in Hopefully late 2013, but most likely will arrive around early 2014.
The OS itself will most likely clear for deployment sometime soon for the samsung galaxy nexus, as for a universal build I'm not sure If/when that will be available, so most likely we will have to see if one can be constructed for the atrix.
As far as the lack of developers, I fell that any and all developers that are still in possession of an operational atrix will want to test this, especially on a phone that isnt their daily driver and has capabilities of bringing back a strong webtop front.
absolutely possible
http://www.youtube.com/watch?v=wzc0uMXGFBY
i like the ubuntu webtop, its run smooth and fast :good:
I think the atrix should be able to run it. just not mine unless the new bootloader gets figured out
Well I really think that Ubuntu can run on the Atrix, because they share the same idea, which is killed by Google: The webtop.
We just plug the phone into a dock, connect it to a monitor and that's it. Besides, the original webtop is just a big browser without many supported applications.
Several webtop-mods have shown that it is possible to run a full Debian or Ubuntu Linux on the phone.
And having one OS for mutliple devices is the stratagy that Microsoft now tries with Windows 8 on Tablets. But other than Windows, Ubuntu really got the chance to do it right.
Possible to run, but...
Well, I'm sure, it won't be a real problem to run the Ubuntu phone OS on Atrix 4g, IMHO, I'm really suprised, they used Atrix 2 and his adventages in testing. It's but I'm sure, HW would not work on 100%. Everyone knows, what is a problem with HWA drivers fot ICS+ even on android. Fingerprint drivers will be problem too... the best roms are (at least in my opinion) GB ones. This is the "tax" we pay for extraordinary HW in Atrix 4G.
Another problem in optimalization is the date of release (futher in future...who knows, how many devs will stay..)
This OS already has its own section on xda and it hasn't even been released yet lol anyways u can share your thoughts on Ubuntu for phone here
http://forum.xda-developers.com/showthread.php?t=2082789
Phone Slow? go HERE
_____________________________________
This post uses the patented TingTingin®™ method I would teach it to you but you are not yet worthy (come back in a hundred years)
--Sent from the future with a galaxy s4 like a freaking BAWS--
Like I said If I got an email back I would let you guys know and sure enough it came and here it is
Thank you very much for your interest towards Ubuntu on smartphones. We have received an incredible response and have been overwhelmed with the general positive feedback! Responses both from the general public and the industry have been far greater that we expected.
In order to make Ubuntu a truly fantastic smartphone experience we will be initially working with manufacturers who will build Ubuntu into their hardware. We anticipate market availability of Ubuntu on smartphones towards the end of 2013.
To reach this goal, and offer a great experience for future consumers, our first priority will be to respond to industry inquiries from manufacturers/OEMs, silicon partners, developers and mobile operators. If you are a potential industry partner, we’d like to learn more about you. Please register your interest through our web form: http://www.ubuntu.com/devices/phone/contact-us
If you are a mobile apps developer, and want to learn how you can help bring Ubuntu to the phone, you can also find more information on:
http://developer.ubuntu.com/gomobile
We are all excited about Ubuntu for phones, but it will take some time to get into the marketplace. If you leave us your email and country details, we will let you know when there is further news:
https://forms.canonical.com/manhattan/
Once again, thank you for your interest in Ubuntu!
Yours sincerely,
The Ubuntu for smartphones team at Canonical
Pretty much everything you could have read up on :/
Greetings to all on this New Year!!!(Almost late!)
Hello people.
Searching the past week about this topic, I found the "How to upload" Ubuntu for phones on Tegra Devices like our Atrix.
Here you could find some info: https://wiki.ubuntu.com/ARM/TEGRA/AC100
This will help un too: http://ac100.grandou.net/nvflash#debian_ubuntu_package
https://developer.nvidia.com/linux-tegra
And here, the Ubuntu for phones. http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/
They recommend the Lubuntu 12:10 because it supposedly run from the box. I did not try this yet until I have all the tools(software & knowledge) ready...
It could be nice to have to opportunity to flash it like any ROM, but, sometimes I like the "hard" way in order to learn and develop myself.
Well guys, BON APPETITE !!!!!
While it's possible from a technical standpoint, I just don't see the developer interest which is a shame really, since the device's only weakness is the lack of updates.
Dav0 said:
Hello people.
Searching the past week about this topic, I found the "How to upload" Ubuntu for phones on Tegra Devices like our Atrix.
Here you could find some info: https://wiki.ubuntu.com/ARM/TEGRA/AC100
This will help un too: http://ac100.grandou.net/nvflash#debian_ubuntu_package
https://developer.nvidia.com/linux-tegra
And here, the Ubuntu for phones. http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/
They recommend the Lubuntu 12:10 because it supposedly run from the box. I did not try this yet until I have all the tools(software & knowledge) ready...
It could be nice to have to opportunity to flash it like any ROM, but, sometimes I like the "hard" way in order to learn and develop myself.
Well guys, BON APPETITE !!!!!
Click to expand...
Click to collapse
This option to install ubuntu is impossible. U would risk to delete/brick partitions or nands. We need a IMG file with the filestructure and flash it with the fastboot/CWM. I can mount ubuntu 11.04 but the problem is no UI loading. Only usable is the terminal.
Sent from my MB860 using xda app-developers app
Hai_Duong said:
This option to install ubuntu is impossible. U would risk to delete/brick partitions or nands. We need a IMG file with the filestructure and flash it with the fastboot/CWM. I can mount ubuntu 11.04 but the problem is no UI loading. Only usable is the terminal.
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
No is not impossible. You partition an SD card load it up with kernel and system and use a dual boot solution to boot into the kernel on SD card. Of course some minor changes needed on the kernel. But not impossible.
also porting cyanogenmod is not as simple as grabbing a few drivers and adding a few kernel bits. It is a monumental task of trial and error with hundreds of lines of code to patch and sometimes full libraries have to be re written. Shoot the radio layer on the atrix was a quick hack job on cm for atrix.
Porting Ubuntu is tho should be quite easy. And maybe could even one day live in that juicy 750mb web top partition.
Sent from my Nexus 7 using XDA Premium HD app
You'd probably have to have /home on the internal sdcard to use /osh for installing Ubuntu.
Funny that this is the third thread in the last few days talking about using stand-alone Ubuntu on the device.
Sent from my MB860 using xda app-developers app
samcripp said:
No is not impossible. You partition an SD card load it up with kernel and system and use a dual boot solution to boot into the kernel on SD card. Of course some minor changes needed on the kernel. But not impossible.
also porting cyanogenmod is not as simple as grabbing a few drivers and adding a few kernel bits. It is a monumental task of trial and error with hundreds of lines of code to patch and sometimes full libraries have to be re written. Shoot the radio layer on the atrix was a quick hack job on cm for atrix.
Porting Ubuntu is tho should be quite easy. And maybe could even one day live in that juicy 750mb web top partition.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I mean like webtop in atrix just docking u phone and start Ubuntu version 12.04 and not 9.04 jaunty . And a small question: why does nobody can make it work? there are big changes to make it work I think. Dual boot is without a proof not working for me
Sent from my MB860 using xda app-developers app

Beginning Development for XT926 (Ubuntu 12.04)

My laptop is running Ubuntu 12.04 x64, and I would love to get started in development. However, many guides on XDA or anywhere really are aimed towards different platforms, old versions of Ubuntu/Android SDK, or they are just poorly written.
I have been using Linux for the past year, and I have learned much about it, including my taking of an Intro to Linux class at my college(CIS140U, intro to unix/linux server management). I am familiar and not afraid of CLI, in terminal or terminal emulator. I am not worried to brick my phone (thanks safestrap!) and I would like to troubleshoot and build roms for this device.
I want this to be a guide in getting set up, as well as the basics in terms of building roms. Somewhat of an anthology of collected information.
Anyone who wants to do this should have a resource, and I want to help you guys establish that, because we need devs!
so lets get this thing started!
Ban-Hammer said:
My laptop is running Ubuntu 12.04 x64, and I would love to get started in development. However, many guides on XDA or anywhere really are aimed towards different platforms, old versions of Ubuntu/Android SDK, or they are just poorly written.
I have been using Linux for the past year, and I have learned much about it, including my taking of an Intro to Linux class at my college(CIS140U, intro to unix/linux server management). I am familiar and not afraid of CLI, in terminal or terminal emulator. I am not worried to brick my phone (thanks safestrap!) and I would like to troubleshoot and build roms for this device.
I want this to be a guide in getting set up, as well as the basics in terms of building roms. Somewhat of an anthology of collected information.
Anyone who wants to do this should have a resource, and I want to help you guys establish that, because we need devs!
so lets get this thing started!
Click to expand...
Click to collapse
i would love this too was looking at 12.04 today but i dont know how to write codes or anything lol just theme things
I've been looking for a hobby project to start in my free time. With the announcement of Ubuntu phone, I'll definitely check up on this, I'd like to see Ubuntu on the Razr HD. I'm only an entry level kind of person (just graduated with a degree in computer engineering about to start my new job soon), but I'd love to help out when and where I can.
y3ahright said:
I've been looking for a hobby project to start in my free time. With the announcement of Ubuntu phone, I'll definitely check up on this, I'd like to see Ubuntu on the Razr HD. I'm only an entry level kind of person (just graduated with a degree in computer engineering about to start my new job soon), but I'd love to help out when and where I can.
Click to expand...
Click to collapse
Same here. I just compiled AOKP, I'll be debugging and trying to get it rolling!
Sent from my DROID RAZR HD using Tapatalk 2
Ban-Hammer said:
Same here. I just compiled AOKP, I'll be debugging and trying to get it rolling!
Sent from my DROID RAZR HD using Tapatalk 2
Click to expand...
Click to collapse
your going to be posting an aokp port for razr hd? thank you! haha have been waiting for a port if you need help testing on the device im willing to.
zooyork0721 said:
your going to be posting an aokp port for razr hd? thank you! haha have been waiting for a port if you need help testing on the device im willing to.
Click to expand...
Click to collapse
I'm trying! No promises though. Never even used AOKP, but I am interested.
Sent from my DROID RAZR HD using Tapatalk 2
Ban-Hammer said:
I'm trying! No promises though. Never even used AOKP, but I am interested.
Sent from my DROID RAZR HD using Tapatalk 2
Click to expand...
Click to collapse
i know still though haha, aokp is pretty cool just saying
Not on x64 but willing to throw in what I can.
I am running 12.04 and windows 7 in open box to compile or decompile as needed. Have the OG razr and the razr hd. Looking to buy a good 775 x64 cpu soon. I have some good knowledge of programming line code in UNIX and still learning the ins and outs of linux. Also know how to make cross platform executable files if needed. Would love to port a pure android rom to my phones. If needed I can remote access to people for realtime help with some issues and even will allow for access to one of my google drives giving us 5gb of free storage space to work.

[Tool] Which IDE do you prefer? Eclipse, Android Studio or something else?

Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
mikereidis said:
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
Click to expand...
Click to collapse
Eclipse is the best right now.
Google Studio may be in the future.
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
jbutewicz said:
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
Click to expand...
Click to collapse
Why would they change to being more dev friendly ?
Why would they spend more money on "expenses" when Android is #1 in terms of penetration ?
I'd be happy to see it, but I don't see them changing, and I highly suspect their team of bean counter accountants continue to conclude their profits are best when their development teams are small.
I've been researching/learning everything I can about audio on Android. It's a big mess, though it works, more or less, as in "good enough". But high performance, low latency audio such as IOS has is extremely difficult, hardware/OEM HAL/kernel driver dependent, and effectively impossible to do without at least occasional glitches on many leading devices.
These audio issues have existed for years, along with MANY others. The Android issue tracker is full of such issues. Some improvements have been made, but it's never enough.
Low level stuff like audio is where Android really falls down. The Google perspective seems to be the user perspective, which is closer to higher level Java stuff and farther away from the nuts and bolts of kernels, HALs, C and assembly language. Most of this is left to the OEMs to figure out and many take major shortcuts to reduce time to market.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
Click to expand...
Click to collapse
wow, these results make me only more confused.
Right now I'm using Android Studio too, and in some ways is better, especially the design views on the right side of the code, but adding libraries was a slowly death inside!!!
IntelliJ is the best. After I first-time used it, I would never switch back to eclipse.
Eclipse as an IDE, Unity3D as an engine.
esoloyu nefs
As along time eclipse user (more then 10 years) I tried out intellij a few month ago and I will never go back. IntellliJ is just the better ide
Well and now since I am using gradle I switched to android studio. Its like intelliJ with more android power
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far
Click to expand...
Click to collapse
Great idea! As of now, it looks like the distribution of Android Studio and Eclipse w/ ADT goes head-by-head.
As for me, I prefer Android Studio. The layout previews and the built-in gradle support are the most important advantages for me. And of course the Darcula theme is also a huge plus
Still sticking with Eclipse. Android Studio has more fancy features, but we're hand coding all the XML's or dynamically creating views anyway, so while a better UI editor works for smaller apps, it's not much help for a complex one.
That and redeploying / releasing is easier (for me anyway) with Eclipse, I've heard too many issues with Gradle to make the switch yet with commercial apps. People still complain about compile time, but with DexGuard packing stuff, it's < 10s between clicking "Run" and having it on the phone, not bad for an 6MB .apk full of code.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Hi , I have been using eclipse IDE for long time.It is great software to do android development.But they say that Android Studio is more context aware that eclipse and you have to write very less code.Through predictions it guesses what you want to do.So I have decided to give it try and Will be posting my finding here.
Yes this is sure that Android studio is still buggy as my team mates using this software often say that.
Let me check and I will get back.
Any one else if find major differences b/w two please explain pros/cons here.
Thanks,
Eclipse
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
aditya.kamble said:
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
Click to expand...
Click to collapse
Have you got examples of when Android Studio has not been stable?
Just because its still in "alpha" stage doesn't mean its not stable... I've never had any issues with it since switching from eclipse. Remember its based off IntelliJ which is stable.
It is stable enough to develop apps. But we should used to that sometimes studio freeze when we plug second device, or when we trying to do something sophisticated with Gradle. Recording video sometimes generate broken mp4 file.
Another thing is Gradle, which is great tool to simplify building app. Flavors and build types wasn't so easy never before.
Now with 0.5.8 version is almost complete code completion for Gradle files. In upcoming releases we will get proguard completion.
There is several crashes here and there, but it cannot be compared to eclipse. Not the same league.
Big problem is lacking support for native code so you do develop mostly on Visual Studio.
If spending couple minutes from time to time with IDE itself doesn't scare you much, the choice is simple.
Sent from my Nexus 4 using XDA Free mobile app
Hi,
Continuing with my previous post ,
I started using android studio a week ago and following are my findings till now.
Android studio is excellent tool for android I guess because it has so many shortcuts or features etc.Sure it has some learning involved because of gradle.But once you pass basics of setting up project using gradle it is most excellent tool.Following are features
1).It will auto import classes when you write code.
2).It is truely context aware tool becuase It will present you with options relevant to piece of code(function, expression,class etc) you are writing when alt+enter is pressed.Consider alt+enter as right click.eg.If you have written any regular expression in your code then it will automatically identify it as regular expression and present you with dialog to test you regular expression there only.Same goes with SQL,HTML,XML etc it presents option with these only.Means you do not have to tell ide that I have written some regular expression please evaluate.It knows what you want.
3).You can search file using ctrl+N by specifying name of file.You can also specify filename:<line> in search box it will go to that file and to that line.
4).Another cool feature is gui editor.When writing any layout then it shows preview side by side, so you dont have to switch.Cool thing is that you can preview multiple devices at the same time.And device skin is of real device.How cool is that.
5).Now coolest feature is that you can set up multiple versions of project at the same time using build flavours using gradle.It is coolest.Just learn this you will love it.
6).No need to install ADT separately and update it separately.Studio comes with everything preloaded , and if any update comes then it is update for Android studio.
7).Real trick of using Android studio is to learn as many shortcuts as possible , Under Help in android studio there is keymapping , it contains complete list of shorcuts.
8).Code navigation is awesome in android studio.
9).It is stable.
Now I am not saying eclipse is not good IDE, but simply android studio is better than it in every aspect.
I feel that if you are new to learning android then please start using Android Studio instead of eclipse.
Please follow this channel for video tutorials on Android Studio : https://www.youtube.com/channel/UC5fT02o8H1NnGfX7j1CmP6Q
Thanks,Hit thanks if it helped.:good:
I used Eclipse for about 1.5 year. I know almost evry bug there, so after that development was pretty starightforward. Recently, I had to use AS, because of commercial project. It looks great, it's fast and I love it. If you are starting, choose AS.
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
bassie1995 said:
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
Click to expand...
Click to collapse
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Jonny said:
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Click to expand...
Click to collapse
Ah cool, I'll try. Thanks!
Sent from my HTC One_M8 using Tapatalk

Categories

Resources