Related
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
With the Moonlight source available at http://ftp.novell.com/pub/mono/sources/moon/, I'm curious as to how difficult it might be to compile and package Moonlight for use with the Xoom's browser. My university uses Silverlight/Moonlight for online lecture viewing (pretty sure the software they use is called MediaSite), and it would be awesome to be able to access these from my Xoom.
I run Ubuntu on all my PCs and I've been able to compile applications like MythTV, but I have no experience with Android in that regard. Any ideas?
I'm actually curious to know if that could work. I seriously doubt it, but if Silverlight could be added onto the Xoom's browser, it means that the Xoom could have Netflix support, until they block the Xoom.
Suntarus said:
I'm actually curious to know if that could work. I seriously doubt it, but if Silverlight could be added onto the Xoom's browser, it means that the Xoom could have Netflix support, until they block the Xoom.
Click to expand...
Click to collapse
Unfortunately, Moonlight doesn't support the DRM features required by Netflix that are present in Silverlight. It's the same reason why Linux users have issues getting Netflix working. Moonlight is decent, but the lack of DRM support makes it a little less useful for a home user.
Sent from my ADR6300 using XDA App
This may sound stupid, but since Silverlight is available for Google Chrome, and the browser on the Xoom (Honeycomb) is basically Chrome, is it possible to port Silverlight to it? I'm thinking while Silverlight is not open source, it might be possible to tweak the Honeycomb browser itself (which is open source) to better match it to Chrome (also open source), and thus provide us with Silverlight in some way.
Of course, doing this would be very difficult, and I'm not even sure that my idea is solid.
It's not possible. Silverlight is compiled for x86 platform and we don't have source code of it. Xoom has ARM processor which is much different.
I see.
Of course, there'll be a Netflix app for any Tegra 2 device (Xoom included) soon enough. ("Netflix is using the Tegra 2 development platform to bring the Netflix experience to Android super phones and tablets. We're working closely with NVIDIA to ensure Netflix takes full advantage of Tegra's outstanding acceleration and security capabilities." -- Greg Peters, Vice President, Product Development at Netflix)
But what about Moonlight? Same issue concerning x86 and ARM? The fact that Silverlight for Mobile exists means that there is a chance to get it working properly.
Suntarus said:
This may sound stupid, but since Silverlight is available for Google Chrome, and the browser on the Xoom (Honeycomb) is basically Chrome, is it possible to port Silverlight to it? I'm thinking while Silverlight is not open source, it might be possible to tweak the Honeycomb browser itself (which is open source) to better match it to Chrome (also open source), and thus provide us with Silverlight in some way.
Of course, doing this would be very difficult, and I'm not even sure that my idea is solid.
Click to expand...
Click to collapse
The Android browser uses the same rendering engine, WebKit, but it doesn't have that much in common with Chrome. Additionally, plugins like Flash and Silverlight need to be compiled for the OS, not the browser. Silverlight works in Firefox on Windows, but not on Linux.
Sent from my ADR6300 using XDA App
Moonlight on Android
This may sound stupid, but since Silverlight is available for Google Chrome, and the browser on the Xoom (Honeycomb) is basically Chrome, is it possible to port Silverlight to it? I'm thinking while Silverlight is not open source, it might be possible to tweak the Honeycomb browser itself (which is open source) to better match it to Chrome (also open source), and thus provide us with Silverlight in some way.
Of course, doing this would be very difficult, and I'm not even sure that my idea is solid.
The Android browser uses the same rendering engine, WebKit, but it doesn't have that much in common with Chrome. Additionally, plugins like Flash and Silverlight need to be compiled for the OS, not the browser. Silverlight works in Firefox on Windows, but not on Linux.
Click to expand...
Click to collapse
So I took up your question with Miguel De Icaza...having wondered this same thing myself just recently.....and his answer...
Miguel de Icaza
@marcelol<omitted> Don't think so.
7 minutes ago in reply to marcelol<omitted> from web
Click to expand...
Click to collapse
There you go folks....straight from the man himself. Pesky DRM will get ya every time.
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
http://www.ubuntu.com/devices/android
So how long till we see this on roms?
This is awesome. I use Ubuntu as my OS on my home PC.
Propably not anytime soon. Devs at the Atrix forums still haven't gotten webtop ported to CM and our bootloaders have been unlocked for many months now. Even with the webtop source released they still haven't ported it. FYI, webtop is Motorola's crappy implementation of this.
Sent from my MB860 using xda premium
going forward this is going to be pretty sweet to see this side-by-side on an android phone <-> docked PC style
Not exactly sure it has a place on a xoom though - I guess when you 'dock' the xoom up to the TV it might be nice - but I like my xoom as a xoom - although the concept for getting it in a phone to dock up with laptop is far more feasible for me... but then this could be because i'm a fairly casual user of the xoom and only use it at home in place of a laptop...?
anyway its an awesome idea so I hope it works well!
i agree 100% Good idea but not so practical
d3athsd00r said:
Propably not anytime soon. Devs at the Atrix forums still haven't gotten webtop ported to CM and our bootloaders have been unlocked for many months now. Even with the webtop source released they still haven't ported it. FYI, webtop is Motorola's crappy implementation of this.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Personally I think that webtop didn't have enough want for it, I personally didn't need it. Airdroid did more than enough for me. But with this it's an entire operating system that everyone knows well and has MANY uses including being able to use android apps inside of it. I know I would LOVE to see it on my phone and perhaps the tablet.
I'd love to see this on my xoom.
I, too, would love to have something like this on my Xoom. A tablet would be a more practical platform for Ubunto, IMO, especially on the go when/if the need arises to use Ubuntu away from the dock. This could be implemented as a virtual machine running inside of Android (or vice versa) or as a dual boot solution. Either way, I'm all for it.
Sent from my Xoom using xda premium
omac_ranger said:
Personally I think that webtop didn't have enough want for it, I personally didn't need it. Airdroid did more than enough for me. But with this it's an entire operating system that everyone knows well and has MANY uses including being able to use android apps inside of it. I know I would LOVE to see it on my phone and perhaps the tablet.
Click to expand...
Click to collapse
I agree with the lack of need, however, from what I understand (never actually used webtop) it is a full Ubuntu OS, just highly modified by Motorola, and can be modified (not easily) by rooted and/or unlocked users. Also, some standard applications like open office and gimp have been successfully installed I believe. But with only a 1GHz dual core CPU and 1GB of RAM shared b/t Android and webtop, I could imagine that it would be very difficult to get the feel of a full laptop/desktop out of an android phone or tablet.
IMO, the best implementation of Ubuntu for Android would have two parts.
Tablets: Dual-boot to a full OS that either has minor Android capabilities or none at all (use apps in a way similar to WINE perhaps) but also include the option to switch to Ubuntu (with or without a dock) while Android is running, but disable certain memory/CPU hogging features of the full OS.
Phones: Strip down Ubuntu to its bare minimums and create a Repo specifically for UfA so that users can install basic productivity applications. A mobile view, similar to how webtop is implemented, would allow you to manipulate the phone in another window and run all of your available Android applications along with UfA. Also, I would like to see the feature that would allow phones to switch to the tablet UI automatically when they detect a dock or HDMI cable, instead of having to manually switch it over similar to this thread:
http://forum.xda-developers.com/showthread.php?t=1483221
After reading and watching multiple demonstrations of the Ubuntu phone os. I just can't seem to find features that I can't already do on my android. The notifications drawer is pretty neat in that you can pull it down at different places, but other than that, it just seems like a lightly modded android.
Sent from a galaxy far far away.
luc.highwalker said:
After reading and watching multiple demonstrations of the Ubuntu phone os. I just can't seem to find features that I can't already do on my android. The notifications drawer is pretty neat in that you can pull it down at different places, but other than that, it just seems like a lightly modded android.
Sent from a galaxy far far away.
Click to expand...
Click to collapse
I think for most users, they may not find value in this yet (until more apps are available and/or cheaper phones come out), but for those familiar with linux it will make a lot of sense.
I have been a linux developer for 3 years now (as a full time job) and I am just imagining all the cool stuff I can do with this device (at home and at work).
For one thing, you will likely be able to develop (native) apps on the phone itself instead of having to have a separate computer to do it. It might even be possible to develop Android apps!
It's basically a PC in your pocket so the apps will not be as limited as Android and iOS apps. There is still software out there that is not available on Android and iOS because those systems are designed for phones and tablets and don't fully support a desktop style interface. The appeal to an Ubuntu phone is that it can function as both, and you can develop software that will be interchangeable as both.
Thanks for your reply.
I'm not a developer (yet) so I can't say much on the subject. But I do know that you can develop apps directly on an Android device. There's even a Linux terminal Window.
I guess I'll just have to wait and see what people can make out of the phone. till then, I'll just stick to my beloved android
Sent from a galaxy far far away.
If you love linux, this *could* be a game changer if it's done right. As BukaKing mentioned, the ability to run native apps on the OS is a huge plus, as you would then be able to make the most of the hardware presented rather than utilising a java engine.
Customisation I am assuming will also be a huge factor - Ubuntu Desktop can be so heavily customised, to function exactly how you want it to, so I am *assuming* that Ubuntu for Phones will be similar. So, just because the OS behaves a particular way on those video's circulating, does not necessarily mean that is how it is destined to remain. Once it's out there in the wild, I would even assume people unhappy with the lack of soft buttons may find them re-appear, as gnome/unity has the ability to create custom panels.
The oportunities I think this OS presents to smartphones is amazing, but in the end it comes down to 2 things for me. Will it be completely open source? If yes, then there could be a bunch of forks/derivitives explode around the webs where teams have customised the OS the way they want it. Developing for it would be far easier, so i'd expect if popularity gets high enough, apps will appear from everywhere. And, implimentation - will it be as easy for a non-linux user to pick up and use, as it will be for a linux user? Hopefully, that answer is yes too.
According to Shuttleworth, it will be 100% opensource! I can't wait till the code is released and we can all play with this. Since it will be using an android kernel and drivers I'm hoping it won't be to hard to compile from source for my phone.
onlychevys said:
According to Shuttleworth, it will be 100% opensource! I can't wait till the code is released and we can all play with this. Since it will be using an android kernel and drivers I'm hoping it won't be to hard to compile from source for my phone.
Click to expand...
Click to collapse
Helllooo! This what i was waiting for....Open source! so that ports can be made for devices that cant be officially supported by ubuntu. For those who keep saying ubuntu cant on GT-$5660 just STFU! No offense but Samsung said ICS or JB cant fully run properly on gio! and look it runs almost perfectly! So a bit of tweaking ubuntu for my device and we can run this!
Sent from my GT-S5660 using xda premium
batman38102 said:
Helllooo! This what i was waiting for....Open source! so that ports can be made for devices that cant be officially supported by ubuntu. For those who keep saying ubuntu cant on GT-$5660 just STFU! No offense but Samsung said ICS or JB cant fully run properly on gio! and look it runs almost perfectly! So a bit of tweaking ubuntu for my device and we can run this!
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
:banghead: :banghead: No.. It won't work on the S5660... Ubuntu phone is not android... Have you ever wrote a program? Compiled software? The binary is compiled using the arm hard float v7 instructions, you will need to recompile the kernel, the OS and every damn app.. the native apps are made with C++ not java ... You may be able to get a running build on a arm v6 like the S5660 but you can't install 3rd party apps from the store or proprietary apps unless the developer thought about that and supports it .. Likely not, they will be natively for arm v7 hf only...
If canonical would have chosen soft float instead of hard float then it would have worked, but it will be freaking slow and laggy..
Getting JB on that device is something else, it and android apps are running of a virtual machine .. That is the good thing about managed code and virtual machines and the reason sun Microsystems invented java in the first place ...
QML and c++ is not running off a virtual machine.. Its 100% native ...
Sent from my Galaxy Nexus using xda premium
I'm wondering if native C++ Apps will not only be more efficient than Java on Android but if Ubuntu can take more advantage of multi-core systems than Android does. At least I have heared that Android isn't that optimized for multi-core phones.
jscurtu said:
:banghead: :banghead: No.. It won't work on the S5660... Ubuntu phone is not android... Have you ever wrote a program? Compiled software? The binary is compiled using the arm hard float v7 instructions, you will need to recompile the kernel, the OS and every damn app..
Click to expand...
Click to collapse
Why does it have to be him that has to do that, some one else could do it and provide an image.
the native apps are made with C++ not java ...
Click to expand...
Click to collapse
Yeah, who ever heard of making native apps in java!
The Ubuntu Phone OS equivalent to java will be HTML5.
You may be able to get a running build on a arm v6 like the S5660 but you can't install 3rd party apps from the store or proprietary apps unless the developer thought about that and supports it .. Likely not, they will be natively for arm v7 hf only...
Click to expand...
Click to collapse
You go from saying "No.. it won't work" to saying "You may be able to get a running build", nice!
And what proprietary apps are there right now? The only apps that I have seen are either HTML5 or the one native app (the gallery app) that Canonical made which will be open source and can be rebuilt for any device.
Also this same problem exists for Android native app (android has a lot of them), the developers have to build binaries for the different Android devices. So you can port Android to an x86 device but you will not be able to run a lot of games unless they include binaries that support it. Games built with Unity 3D are native apps, games built on Adobe Flash/Air are native apps. Native apps *can be* more efficient in performance, memory and battery than Java apps. Also C++ in the case of mobile devices is more cross platform than Java, since it can be used on both iOS and Android, and the libraries in Android Java are not available on other platforms with Java.
QML itself is not technically native, it depends on how it is used. QML is a mix of objects/widgets and javascript (similar to HTML5), but native C++ code can access QML objects/widgets through Qt.
But that said, if Canonical doesn't officially support a device I would steer clear of updates. I just spent the weekend trying to update my HP Envy from Ubuntu 10.10 to 12.10 and I had a ton of problems, and while it works now, my USB is disabled for some reason (even though internal USB devices work). This isn't the first time this has happened to me with Ubuntu updates.
I wouldn't worry about it for the Galaxy Nexus since it is an officially supported device, but for devices that are ported too by some one else, I would avoid updates coming from Canonical.
Valve is testing Steam games for Ubuntu so we could be playing some real games on our phones soon.
Sent from my SGH-T999 using xda app-developers app
getrdy said:
Valve is testing Steam games for Ubuntu so we could be playing some real games on our phones soon.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
ARM != x86 .....
blackout23 said:
ARM != x86 .....
Click to expand...
Click to collapse
What about those x86 based phones?
Sent from my Galaxy Nexus using xda premium
Lesicnik1 said:
What about those x86 based phones?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
The smartphone GPU drivers and chips probably don't support OpenGL 3.0 like Steam games require.
Smartphones never had full blown OpenGL only OpenGLES (Embedded System).
Desktop PCs are still waaay more powerful than any smartphone. Any cheap Celeron CPU for 40 bucks will obliterate your Intel Atom powered smartphone.