Moving a program from one computer to another

by BobG » Sun, 16 May 2010 07:02:28 GMT


Sponsored Links
 I have an eclipse workspace on my laptop, my desktop at work, and the
company server. If I go home and edit program xx on the laptop, the
only thing that changed is the java file ine the src dir, so thats all
I need to copy to the desktop and the server when I get to work? I
also want to figure out how to move an example from the samples dir in
the sdk dir into my androiddevel dir. One problem is the samples have
different package names... com.exmaples.android or something, and my
androiddevel packages are all com.aiti.xx, so there an item in eclipse
that does this, or does one edit every file in the src dir to change
the package name? Thanks. Not used to eclipse yet.

--



Moving a program from one computer to another

by Justin Anderson » Sun, 16 May 2010 14:40:49 GMT


 First, this is more of an Eclipse question than an Android question....  You
could probably get some better answers here:
 http://www.eclipse.org/home/newcomers.php 

*> I have an eclipse workspace on my laptop, my desktop at work, and the
*
Correct.  However, it seems like you are doing this the hard way...  I would
highly recommend using a source control repository, like subversion.  That
way you can keep your different copies of source code in sync.  Check out
 http://subversion.tigris.org/ 

*> One problem is the samples have
*
I may be wrong but I don't think there is an automated way to do this... I
think you have to manually change them.  Remmber, however, that package
names are based on the actual folder structure...  So you have to change not
only the package statement but the actual folders as well.

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------





>


Sponsored Links


Moving a program from one computer to another

by Keith Williams » Wed, 26 May 2010 23:28:28 GMT


 I found it very difficult to transfer Eclipse workspaces between
computers. Checking in a project from one machine and out to another
through CVS (or an equivalent) however, works great.



>



Other Threads

1. Is it possible to change text color of all child TextViews ?

Is it possible to change text color of all child TextViews? Actually I
want
to change text color of all columns(TextViews) of a TableRow when it
is
clicked.

--
Best Regards,
Atif Gulzar

I  Unicode, zln 
--~--~---------~--~----~------------~-------~--~----~

2. Memory Leak when creating OnClickListener

After some more testing, it doesn't look like it has anything to do with
creating a new OnClickListener each time.  The following snippet (using the
same Layouts), produces the same leak.

Its significantly shorter, and when looking at a heap dump, from what I can
tell, an array called mActions in ViewRoot is filling with Runnables
(presumably these callbacks), but I'm no expert (and have very little
experience in heap dump analysis).

public class SetContentTest extends Activity implements OnClickListener {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setMode();
    }

    @Override
    public void onClick(View v) {
        setMode();
    }

    public void setMode() {
        setContentView(R.layout.main);
        ((Button) findViewById(R.id.btn_main)).setOnClickListener(this);
    }
}

Anyone have any ideas?

- Dan

On Sat, Aug 15, 2009 at 11:56 PM, Balwinder Kaur (T-Mobile USA) <






--~--~---------~--~----~------------~-------~--~----~

3. Scam or true?

4. Is there any good Android Development board available?

5. what's wrong w/ my code?

6. Starting thread from the Application object

7. Determine what's the active package or activity running?