Development Using an Android Tablet (e.g. Transformer Prime) - Android Software Development

Let me preface that I am familiar with developing Java web apps in both Linux and Windows, but I am just starting to delve into developing Android applications. Forgive me if this has been addressed somewhere else - I couldn't find anything on this subject.
How viable would it be to use a tablet for development, specifically for developing Android applications? To be clear, I'm not talking about writing apps for the tablet - I'm talking about setting up a development environment on the tablet and using it to develop stuff with. Has anyone successfully done this? It seems like something like the Transformer Prime would be a good candidate for this. Are there IDEs for Android, or anything that could be ported over?

The IDE used by most Android developers is eclipse, which isn't available in Android. Not sure if it's possible on the Prime yet, but you would need to install a full blown OS (like Ubuntu). Once that was done it could be used for development.
EDIT: check out javaIDEdroid in the market. I haven't used it, but it claims to allow exactly what you're looking for.
Sent from my SPH-D710 using XDA App

ioos said:
The IDE used by most Android developers is eclipse, which isn't available in Android. Not sure if it's possible on the Prime yet, but you would need to install a full blown OS (like Ubuntu). Once that was done it could be used for development.
EDIT: check out javaIDEdroid in the market. I haven't used it, but it claims to allow exactly what you're looking for.
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
That's cool, I'll check it out.
I primarily use Eclipse. I wonder if it could be recompiled to run in Android? Or maybe the best solution is just to dual boot the thing with Android and Ubuntu.

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

[Q] building android based apps

Hey guys i am new to xda but not to android so basically i am trying to learn on how to build application to make for honeycomb etc.. but i would like a little how to guide on how to get this started and going hoping someone has a video link of some sort, it will be worth it in the end i promise
I would recommend starting here with the android SDK, then install eclipse (an IDE), and then get the android plug-in for eclipse, and off you go
there are tons of tutorials about how to get your first hello, world program going. they all involve using Eclipse. I would say skip Eclipse and get the Community Edition of IntelliJ IDEA. it is the best Java ide, hands down. and they have integrated Android Dev to the heart of it, not just a plugin. Just one mans opinion. im sure others will disagree.
I agree IDEA, is a better ide imho, for android then eclipse, it just feels better.
Sent from my GT-I9100 using XDA App

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

Maybe someone can shed some light on this?

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.

IDE of choice for newcommers

Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Hmm. Nobody use Android Studio?
druvisk, I think Android Studio is a good choice for you.
Android Studio should be okay for beginners I suppose.
I looked at it a while ago, and as far as I could tell, there was no support for native code/the NDK, and I need that for my apps, so I'm just sticking with Eclipse.
I'm using eclipse i think it's not that hard for beginners (i am a beginner too)
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Hi, I think that you have to go ahead with Eclipse.
You only need to download it in the android developers main web and you can already follow some official tutorials without searching the options on the Android Studio IDE. (That can be different)
After you get some experience you can go with Netbeans or the Android Studio itself.
Only TRUE cross development tool
druvisk said:
Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Click to expand...
Click to collapse
I recommend Gingee IDE. Super easy to use, and most important - helps you to use one code to generate an app in any desired OS, with no extra optimization needed.
Let me know if you need to hear more details. Or just go to gingeegames dot com.
Android Studio is great for those who haven't really been into Android before
Sent from my SM-N9005 using XDA Premium 4 mobile app
I'm working with Eclipse since the beginning and I'm quite happy with it. You can install ADT plugin, control the SDK manager and even profile your app with DDMS view.
I'd vote for Eclipse ...best IDE for beginners..
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
RED_ said:
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
Click to expand...
Click to collapse
This is correct.
Eclipse is the best right now.
Android Studio may be the best but Google really isn't in a rush to help developers out.
adrian.adamiak said:
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Click to expand...
Click to collapse
Like the original poster I'm also a newcomer with only basic knowledge of coding. I'm looking for a multi-platform dev environment thats more a GUI possibly with drag and drop features so I don't have to code. I see there are plenty of app making websites available but rather than cloud based I'm wanting a programme I can download.
Gingee looks good and one of it's features they're marketing is that you can "build your app/game without writing one line of code". Would the options mentioned above be similar to Gingee or do you have any other recommendations to meets my criteria?
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
I think IntelliJ Idea is the best IDE for Java developers. I tried Eclipse several times, but still can't understand, why would anyone switch from IntelliJ Idea to anything else.
andras_k said:
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
Click to expand...
Click to collapse
AS replacing Eclipse, I dont see that happening ever. Google never dedicates time and effort into anything, and an IDE is a big project.
I use netbeans with ndk for android c++ development
http://forum.xda-developers.com/showpost.php?p=53586100&postcount=4
Stick with Eclipse
I would recommend sticking with Eclipse as there is not many examples on using Android Studio for the newbies ... Now this is if you are looking to build native android applications.
I would not recommend any IDE that states you can build a application without coding ... Learn to code would be my honest suggestion.
Livecode??
I am disappoint.
Not one mention of LiveCode!
For anyone who has EVER used HyperCard on an old school Mac, you'll know how to use LiveCode. And they have a community open source edition, and can deploy to pretty much any target, save for Windows Phone.
I've written all kinds of one off custom apps with it.
To code for Android I have only been using Eclipse until now, and it meets all my needs. I think it's a very good tool ... as long as it's working, and to be honest this is not always the case. There where some incompatibilities of the ADT some month ago with the current licensing library, so I downloaded the very new version of Eclipse and ADT this month. Eclipse found some weird errors in Google's very own appcompat library ... I guess this is not my fault at all. Frequently Eclipse simply gets stuck loading content, and the only way to get rid of this problem is rebooting Windows. I don't know if such weird stuff is also occurring on Android Studio.

Categories

Resources