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. Android InApp Billing, how to get a list of ALL available Items (+ Infos)

I am currently struggling with the fact that the InApp-Billing API
(http://developer.android.com/guide/market/billing/
billing_reference.html) does not support any type of "get all infos to
all purchaseable items of my app"-like methods.
Even in the Example Application "Dungeon Example" the names of the
items are defined harcoded in the ressources (res/values/strings.xml -

How should i create a proper selection screen of InApp-Billing items
if i can even load their data (name, price, id)? Defining the items
names and prices in the app (res/values/string.xml) again after i have
already defined them in the android market backend of my app seems
quite redundant to me.

Maybe i am all wrong, but this seems like a big mess to me.

An example: what if i need different currencies (for different
countries) and i want them to be displayed IN my Application BEFORE
the user clicks the buy button? Handling all the conversions and
current exchange rates is definitely a task i expected the InApp-
Billing API to do for me.

Anybody out there, who can shed some light on this?

thx

-- 

2. emulator failed to startup with my system.img

ubuntu 10.10 64bit

1. git init ...... -b eclair
2. git sync
3. source build/envsetup.sh
4. lunch, 1-generic
5. make

It takes 2 hours to finish the "make" procedure. And, after that, I
tried to
run the emulator, directly from ubuntu. The emulator failed to get
started,
with these errors caught in logcat.

the logcat tar.gz:  http://att.newsmth.net/att.php?s.1149.29696.1183.gz

Please help



E/Zygote  (  101): Zygote died with exception

E/Zygote  (  101): java.lang.IllegalStateException: Missing class(es)
for
preloading, update preloaded-classes
[java.util.concurrent.CopyOnWriteArrayList$COWIterator]

E/Zygote  (  101):     at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:327)

E/Zygote  (  101):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:582)

E/Zygote  (  101):     at dalvik.system.NativeStart.main(Native
Method)

D/AndroidRuntime(  101): Shutting down VM

-- 

3. ListView click events

4. Send Key Events to my Activity

5. Show ads in opengl app

6. File handling in android

7. FileObserver in 2.1, 2.2