Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Community > The Lounge > Computers & IT



Reply
 
LinkBack Thread Tools
Old January 3rd, 2012, 10:20 AM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default share eclipse workspace into dropbox between two computers

Hello.

First of all... Happy New Year !

I'm new using eclipse and android sdk.

I Would like to know if it is possible to share the eclipse workspace folder into dropbox to share an eclipse project between 2 computers?

And working with him on both computers but never at same time.

I tried to do a little test and I think it run's ok.
I have the same eclipse and sdk components in both computers, and also the workspace on dropbox.

The eclipse console send this message when open the project in one or other computer (never both at same time)

[2012-01-02 23:10:17 - com.android.ide.eclipse.adt.internal.project.Andro idManifestHelper] Unable to read D:\MisDoc\Dropbox\workspace\test\AndroidManifest.x ml: org.eclipse.core.internal.resources.ResourceExcept ion: El recurso no está sincronizado con el sistema de archivos: /test/AndroidManifest.xml.
[2012-01-02 23:10:17 - test] AndroidManifest.xml does not declare a Java package: Build aborted.
[2012-01-02 23:12:51 - test] ------------------------------
[2012-01-02 23:12:51 - test] Android Launch!
[2012-01-02 23:12:51 - test] adb is running normally.
[2012-01-02 23:12:51 - test] Performing ev3c.android.test.TestActivity activity launch
[2012-01-02 23:12:51 - test] Automatic Target Mode: launching new emulator with compatible AVD 'and2.1'
[2012-01-02 23:12:51 - test] Launching a new emulator with Virtual Device 'and2.1'
[2012-01-02 23:13:01 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-02 23:13:01 - test] New emulator found: emulator-5554
[2012-01-02 23:13:01 - test] Waiting for HOME ('android.process.acore') to be launched...
[2012-01-02 23:14:16 - test] HOME is up on device 'emulator-5554'
[2012-01-02 23:14:16 - test] Uploading test.apk onto device 'emulator-5554'
[2012-01-02 23:14:16 - test] Installing test.apk...
[2012-01-02 23:14:32 - test] Success!
[2012-01-02 23:14:32 - test] Starting activity ev3c.android.test.TestActivity on device emulator-5554
[2012-01-02 23:14:36 - test] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=ev3c.android.test/.TestActivity }

Then the emulator run and the changes I made in the laptop appears in my computer.
Only a line of text... I have to try buttons and more... I'm learning yet.

Is it possible to do ?
Do you know other way to share the android/eclipse code between two computers?

Thank's !

ev3c is offline  
Reply With Quote
Sponsors
Old January 3rd, 2012, 10:25 AM   #2 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 20,658
 
Device(s): 3vo, Evo and Shift
Thanks: 19,381
Thanked 20,646 Times in 8,976 Posts
Default

We don't get many developers in the Android Lounge, and while we do an area for Android development, I think Eclipse is popular enough (I use it) that maybe you'll get more answers here in our Computers & IT forum.

I don't have the answer, but hopefully someone here does.
EarlyMon is online now  
Reply With Quote
Old January 3rd, 2012, 01:56 PM   #3 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

You might want to look at Git/SVN and sharing your repository via dropbox, or even better putting it on a secure server and use some type of SSL or SSH connection.

As for the warnings, I'd say that it might have something to do with your setups. Eclipse and Android save some preferences in your user folder, and it looks like you are on windows.

The user folder is in C:\Users\(your_user_name)\.android\

I'm not sure if that would be enough to fix it. You'd probably want to be sure you have the same paths on both computers, sdk in same places, same username, etc....

You might want to open and look at the project file too.

hth
alostpacket is offline  
Reply With Quote
Old January 3rd, 2012, 02:40 PM   #4 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello.

What is a Git/SVN ? And what recommend you to use ?

Can I change this user folder C:\Users\(your_user_name)\.android\ to the dropbox ?

The project, only a sample "hello world" run's in both computers... I have to try to add a button and some more to test again... I say something...

Thank you !
ev3c is offline  
Reply With Quote
Old January 3rd, 2012, 05:10 PM   #5 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

Git and SVN are version control software: Revision control - Wikipedia, the free encyclopedia

I would advise you not change the location of that folder, however I think dropbox will allow you to add folders for it to "sync" -- check in the dropbox program on your PC and see if there is a place to add folders.

You may not have to though, I'm just trying to give you ideas.

I'm not sure what else I can say as I have not used dropbox this way either. Sorry
alostpacket is offline  
Reply With Quote
Old January 4th, 2012, 02:28 AM   #6 (permalink)
Globally Unique ID
 
BlueBiker's Avatar
 
Join Date: Jan 2010
Location: New England
Posts: 1,359
 
Device(s): OG Droid, Droid Charge, Rezound
Thanks: 1,530
Thanked 1,379 Times in 778 Posts
Default

I don't know whether it's possible/practical to accomplish the OP's question, but another potentially simpler approach would be to use remote desktop software. Then there are no concerns about migrating or integrating parallel development environments. UI performance probably won't be very snappy though.
BlueBiker is offline  
Reply With Quote
Old January 4th, 2012, 01:19 PM   #7 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BlueBiker View Post
I don't know whether it's possible/practical to accomplish the OP's question, but another potentially simpler approach would be to use remote desktop software. Then there are no concerns about migrating or integrating parallel development environments. UI performance probably won't be very snappy though.
Yes, but then I need to have the computer on to access by my laptop... no?

Thank You !
ev3c is offline  
Reply With Quote
Old January 4th, 2012, 04:13 PM   #8 (permalink)
Globally Unique ID
 
BlueBiker's Avatar
 
Join Date: Jan 2010
Location: New England
Posts: 1,359
 
Device(s): OG Droid, Droid Charge, Rezound
Thanks: 1,530
Thanked 1,379 Times in 778 Posts
Default

Yeah you would need to leave it on. It may not be the best solution, I just don't know enough about configuring Eclipse to know what is.
BlueBiker is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:43 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo