Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Can anyone recommend a good cloud-based IDE for Android development?
I use Eclipse/ADT on my desktop and AIDE on my Android devices, but it is a hassle to sync the two.
If there is not one available, would anyone recommend using AIDE's premium features to host my application on GIT?
I never found a good cloud-based Android IDE, but here is what I did (an idea for anyone reaching this from Google). This works with Windows, Linux, and (I think) Mac. Please confirm for others if this works for you on a Mac.
Desktop (w/ Eclipse):
Set up Dropbox
Create a new Android application project.
Uncheck the "Create Project in Workspace" option, and change the location to your Dropbox folder
Android (w/ AIDE):
Set up Dropbox sync
That's all there is to it. As long as you make sure you Dropbox before switching from desktop to Android device or vice versa, you essentially have a free, cloud-based Android IDE to develop from a desktop or an Android device.
Here's my workflow for developing for android on android:
Setup a android build server with the android sdk, ant, Ivy Or the new Gradle setup, using
an aws ec2 server or other free/cheap Cloud Server svc.
Setup dropbox Headless Install On That machine.
Setup A Git repo on that machine, put the repo inside Main Dropbox Directory.
---Home
---(User)
---Dropbox
---Repos
---App#1
Setup inotifywait on the dir the app repo Is In....
inotifywait -mr -e ATTRIB /home/user/Dropbox/path/to/repo/ |
while read dir ev file;
do
cd /home/user/Dropbox/path/to/repo;
git pull;
git add .;
git commit -m " something regarding code has changed. check .... for more info";
git push;
buildscript;
Install Dropbox On Your Android Tablet
Install a text/code Editor on Your tab like .....920 Text Editor.
So Now when you Make A code change on your tab dropbox Will Sync It obviously
And That Sync Which Is An attrib event will trigger a Bunch Of Scripts...git Stuff and The Build stuff and any other Scripts You Desire.
The Final apk That The Build Script Created will Be Saved To Your app Project Directory Which is in your Dropbox so Installing/testing on Your Tab is seemless And You Can Have Others Test Your Apk By sharing That folder With them Thru dropbox
Hooking the Code to a Git Repo is Cool B/c you Can Use a service like cloudbees To then build And Test your apk. Aswell As, have the Apk sent To Distributors And other cool services.
Related
I am new in using android studio I an currently trying to build the interface between the Google Glass and computer, for that i first need to debug my glass using some sample examples from Git but i am not able to clone those examples to android studio . It says "Clone Failed" "Failed to start Git process"
I don't have enough reputation to make comments, so I'll try to provide you an answer without knowing the specifics of your setup. If this answer is misleading, please comment below and I'll try to improve it.
First make sure you have the git executable installed. Then go to the menu File->Settings. Under the section Version Control->Git, fill in the Path to Git Executable field. The exact path will depend on your system and version of git installed.
I want to do Ruby development on an Android tablet, just like on any laptop. So, using vim, git, and rspec to run tests. So, I've found the following apps:
Vimtouch
Ruboto
Git (yes, it's an app)
Terminal Emulator (provides bash)
Each app works just fine. By itself. But, I don't know how to put it all together. I'm a bit of a newbie when it comes to how Android works. So, if anyone could help provide a writeup so that I can:
clone a github repository
edit files from that repository
run my tests
NOTE: I don't want to write an Android app. I want to use my tablet to do Ruby development.
The Android Scripting Environment said to plan on Ruby. Might be worth a check how far they got; at least they're tagged "JRuby" at Google Code. According to their project page:
Scripts can be run interactively in a terminal, in the background, or via Locale. Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported, and we're planning to add more.
this can be done
Compile Ruby and Nodejs for android
Install on device and configure with c/c++ ide (You can use
C4droid,CCTools,Terminal IDE.... for installing the expansion
modules on с/с++)
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am about to jump into Phonegap and realize that it doesn't have an IDE of its own. I know that I could use Eclipse to create Android-centric Phonegap apps, but what about the iOS and perhaps Windows Phone and perhaps Blackberry "versions" - can Eclipse be used for all of it? What do most Phonegappers use as an IDE?
Does PhoneGap Build make it possible to do it all in Eclipse, and then throw it up to the cloud for the iOS, etc., builds?
I'm currently using intel-xdk and it's been great so far. It has the ripple emulator embedded which is great to test your app quickly.
Yes, Eclipse is more than enough to target all the platforms.
Using PhoneGap Build, you could write the entire app using any text editor - no IDE required - and upload to their service. Their service handles the compilation in all the target mobile environments for you, and then provides the final files to download for each platform.
From their FAQ:
How do I get started with PhoneGap Build?
Simply upload your web assets - a ZIP file of HTML, CSS and
JavaScript, or a single index.html file - to PhoneGap Build, point us
to your Git or SVN repository. Then we’ll undertake the compilation
and packaging for you. In minutes, you’ll receive the download URLs
for all mobile platforms.
For ease of development I'd recommend installing one of the IDEs (probably whatever matches the physical devices you have for testing or prefer). This way you get IDE assistance like Intellisense, but as I said it's not strictly required to have one.
Your alternative if you want to compile for all those platforms locally is pretty ridiculous:
iOS - install Xcode
Android/BlackBerry - install Eclipse
Windows Phone - install Visual Studio
Even if all you have is a web browser you could edit your code in its repository directly through GitHub.com's web interface, and then tell PhoneGap Build to clone the repo and build, then download the builds for each device.
It seems Visual Studio would be better for someone more familiar with that:
1) http://kencenerelli.wordpress.com/2012/08/10/extending-phonegap-for-visual-studio-to-android-devices/
Excerpt:
"PhoneGap:Build. The online service can take your HTML, CSS and JavaScript files (everything the PhoneGap templates create using Visual Studio) and compile them into apps that are ready for a vendor’s app marketplace."
2) http://anindita9.wordpress.com/tag/visual-studio-phonegap/
3) - you can use Visual Studio Lightswitch and Nomad, too:
https://www.facebook.com/vslightswitch/posts/658678164147712
https://groups.google.com/forum/#!topic/phonegap/_eNL6viCFhs
4) Also, tip on Android/Eclipse:
https://groups.google.com/forum/#!topic/phonegap/-wYLoYWwp-I
5) PhoneGap tutorials:
http://vsnomad.com/documentation/learning-phonegap.html
http://pieterderycke.wordpress.com/2012/03/26/developing-mobile-applications-with-phonegap-and-jquery-mobile/
6) PhoneGap/Cordova vs. Nomad:
http://brantleclercq.com/2012/12/15/vs-nomad-vs-phonegap-build/
UPDATE
But, for somebody more conversant/fluent with Eclipse, perhaps Aptana Studio, an open source IDE based on Eclipse but web-centric:
http://en.wikipedia.org/wiki/Aptana_Studio
I develop apps plus web-service backends (mostly in PHP). Some of my "apps" are designed to run as apps on phones/tablets and as Chrome plugins (or just webpages) on desktop/laptop systems.
I currently use JetBrains PHPStorm (buggy, and service isn't great, but it hassome cool IDE features and reasonably priced) and Eclipse together. In Eclipse, I have Aptana plus web tools platform, and of course the Android ADT plugins installed.
I've got another guy who does builds/plugins for iOS using a Mac/Xcode/etc.
We try to do as much debugging in browsers as we possibly can and just use the simulator/emulator (and devices) for testing plugins and other device-specific stuff.
We're just moving to PhoneGap 3 and are evaluating PhoneGap build as an alternative. (We're particularly interested in the debug capabilities. It's not clear how much they really add over what's already out there.)
It certainly sounds good on paper, but we'll have to see.
If you're doing plugin development, you'll need the appropriate system for development (PC or Mac) and testing.
I need to add scripting layer to my android App. So I can remotely prepare a script that my app download form a web service and execute on the user device.
I found a interesting project called Scripting Layer for Android (SL4A) here:
http://code.google.com/p/android-scripting/
I'm not sure I can execute Python script without installing the PythonForAndroid_r4.apk first. I can't force my customer to install that application!
So my question is, can the SL4A layer be integrated in my app without the need to install other apk?
I need to execute actions like update data in the DB, create/read/delete a file on the sd card... Not so complex but I see SL4A can do a lot of things like these.
Other scripting libraries?
EDIT:
Found also MVEL: http://mvel.codehaus.org/ but I think it needs to be integrated to execute complex operations like accessing a DB...
I found a project that uses SL4A:
http://code.google.com/p/android-python27/
For whom that wants to try it, if error occurs using Eclipse, here is a link that could solve the compilation issue:
http://code.google.com/p/android-python27/issues/detail?id=1
I've just compiled this project:
http://code.google.com/p/android-python27/source/browse/#hg%2Fapk
To download sources, download HG Tortoise from:
http://tortoisehg.bitbucket.io/download/
Make a local copy of the repository with the command:
hg clone https://code.google.com/p/android-python27/
Then import the APK project in Eclipse and compile it.
Just run it on my low cost China tablet and it seems to works fine. Initially the program make an installation:
boolean installNeeded = isInstallNeeded();
if(installNeeded) {
setContentView(R.layout.install);
new InstallAsyncTask().execute();
}
That make some installations on the external storage (fortunately no root privileges are needed).
My main developing phase is done on a Ubuntu machine.
The project is shared on the cloud by Dropbox.
I'd like to access to the project on other PC but, since it is a Windows PC, i receive some errors, first of all, the project path!!
Is there a way, or some guideline, to allow to develop the same project on Linux and Windows?
Instead of Dropbox, use a public version controls service (github, assembla) (or private + vpn etc.) and checkout the project on as many workstations as you want. Make you sure you don't check in IDE Specific files like Eclipse's '.classpath' etc.