Share android project between osx and windows - android

Im using an macbook pro in school and my win stationary at home.
In other programming i have usually just used dropbox as save place,and made sure to sync before opening.
Tried the same with eclipse on android programming but got a real hassle with errors all over. Now i have moved over to Android studio, can anyone suggest how to best handle this?
I mean theres got to be a correct project sharing way?
what do bigger companies do on large projects?

you should use git for that.
create your repository on github or bibucket or your own server and easily share your work.

Related

Cloning and Running outdated Android App?

I'm working on the Udacity Android Basics which is pretty outdated. The problem is when I'm trying to download and run their code. This is the project I'm trying to clone. I've done this a few times and it's usually not too hard but this time for some reason it only has one build.gradle version. Any help or point in the right direction would be great.

Best way of version control, stable builds and exporting/ a project on multiple devices

today it's a shorter question I'd like to ask, to hear your opinions as I suppose some do this differently than others.
First of all,, I have an Android Studio project and am rather a novice on this subject of Android Development. That's why slight changes in the java or xml files could and did make my latest app unstable/ crashing.
Therefore I was asking myself wether Android Studio offers a way to backup stable builds - I could imagine this like a save-as option where you backup the working version and continue working on the the one but have a stable one backed up.
I know there's the export project function but I tried it out a couple of times and having worked on a project on the same device before, prior to reimporting a project causes an error and that's not the way I guess you should handle it in this situation.
I was looking at Google Cloud for using both version control and the option to commit new versions to the trunk and update them at a different location (different device). If that's the solution you propose, I need to look more closely into the documentation to get it up and running (set up the repository already but no clue how to commit changes/ versions).
So, long story short, what tool/ option do you prefer to have an export and a version control option unified for Android Studio?
Interested to hear and thankful for any advice on that!
There are multiple solutions,
Just find your solution/project in your file explorer and back it up, if you need it again just open the project with Android Studio. (not the most popular one)
Use a version control system like git. Link to tutorial (This is the most popular one), If u are unfamiliar with git, just google it and there are tons of examples and documentation. With git you can tag commits and after u mess up revert to the tagged commit
Git is the simpliest.
It's supported by AndroidStudio and later on you can upload your project to GitHub to access it from anywhere.
You can use it with terminal and shorcut keys, incons as well.
You also can make separate branches in order to make and test more versions parallely.
For more info take a look at: https://git-scm.com/about
and of course github: https://github.com/
Regards,
Cs

Pixate to Android studio

i am working on designing Android App UI and i wonder if it is possible to export Pixate prototype to android studio ? have anyone tried or having an idea how to do that ?
As mentioned in their website(Pixate.com) to someone's question, they have mentioned that , for now its just a prototyping app , which means you just design it and show how it is to others and currently there is no feature to export it to android studio but they have mentioned that they are thinking to add that feature as it helps the developer a lot, being a developer myself , I was also looking for exactly what you are looking , Adobe is developing a product with code name Project Comet which is going to be a competitor for Sketch 3 which is also a awesome prototyping software but its available only for mac, I hope adobe will be launching the Project comet to Windows as well and it would be of great help if they include the feature of exporting the code so that we can easily desgin and do the animations in these softwares and export them along with the code so that we can import in our IDE as this would allow us to spend more energy on back end rather than on front end ...

problems in the helloworld app in Eclipse

I am new in developing apps for Android with Java Eclipse.
I get a simple problem: after following the procedure explained here:
http://www.tutorialspoint.com/android/android_hello_world_example.htm
I tried to push the "Finish" button to create my first app, but it doesn't work: the wizard remains open and nothing happens.
Also, I have several problems in the Demo apps, errors like:
'<>' source operator is not allowed for source level
and many more.
I guess I created problems with the configurations.
Thanks if you can help me to create my first app for Android and to load
the demos.
It is really had to tell what is the problem, but as Abdullah advised to use android studio because it is well designed to develop android applications. and most of the company's now days use android studio as there IDE preference, but still its developer's choice. Eclipse ADT plugin is buggy

is it possible to create an android 1.5.1 app using Android Studio?

is it possible to create an Android 1.5.1 app using Android Studio?
Yes it is old but still used...
It only has to read 3 different txt files which are located on local network, containing 1 line of text each and display it under each other in portrait view.
Refresh ones a minute should be ok.
And it has to have a dropdown menu so you can choose which number of device it is, so from 1-10 is ok and according that read the txt files which belongs to that device nr.
I can't use a webpage because i cannot create a local server for it. So i need a little app.
To create the txt files i use a windows program.
I use Livecode (since short) but it can't create apps below Android froyo 2.2.
Any help on this would be highly appreciated. As i don't know anything about java.
It's only for local use, nothing commercial or anything
Thanks for any help on this!
You should try using PhoneGap (Cordova) http://phonegap.com which is basically a HTML-Webview, wrapped up in an App, so you can code the whole thing using JavaScript, and it is still a real app.
With this it should be very easy to do that, even if you "don't speak Java".
But to answer your initial question, yes it should be possible to create an Android App for 1.5.1 with Android Studio. You just need to install the right SDK/Packages etc with the SDK Manager.
Have fun coding.

Categories

Resources