Eclipse android setup, cannot for the life of me!

by chrisfg...@gmail.com » Mon, 27 Apr 2009 16:25:50 GMT


Sponsored Links
 I have unzipped eclipse, installed android tools through "add
site" (they are listed in the installed tab) and have installed JDK
and JRE that came with netbeans. I have the installations to date. I
cannot for the life of me find out why Android is not showing up in
the last step for installation (The part of going to menu in eclipse:
"Windows->preferences and select Android on the left"). It simply is
not listed here! I have uninstalled all java installations and
folders, and reinstalled with the latest copy, and have reinstalled
android for eclipse. What am I doing wrong? I have looked around the
web and the only help I saw was about getting the right Java JRE
installed. My copy is JDK with netbeans, but I saw EE and Jfx bundles
to download. I am so confused why it does not show up in preferences,
yet it says it is installed in the Software Updates section...Any help
would be much appreciated!

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



Eclipse android setup, cannot for the life of me!

by m...@josephlancaster.com » Wed, 29 Apr 2009 15:04:49 GMT


 Did you figure it out? I have similar issue.

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


Sponsored Links


Other Threads

1. How to display Camera

So I made a class called CameraSurfaceView.java that has a constructor
and all of the Camera methods, but what I'm confused about is how to
instantiate and display the camera in my activity I called
TypeWalker.java. For that, I have this:

package com.schleudaastudios.typewalker;

import android.app.Activity;
import android.os.Bundle;

public class TypeWalker extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        CameraSurfaceView cam = new CameraSurfaceView(this);
        cam.surfaceCreated(null);
    }


}

But when I run it, it crashes immediately. I have no idea how to make
the camera display, any help?

-- 

2. Thread in Service paused after screen is turned off?

Hi
In my application I created a service in which I download stuff from the
internet.
The code of the service looks like this:

class SomeService ... {
 @Override
    public void onCreate() {
        super.onCreate();
        Thread t = new Thread(fetch);
        t.start();
    }

    private Runnable fetch = new Runnable() {
        public void run() {
           while (true) {
             do_fetch();
             sleep(1000);
             counter ++;
           }
        }
    }
}

The problem is, when I turn the screen off, the thread t seems to be paused
(I used the counter to find this).

How can I keep the thread running even if the screen is off?
 (BTW Strangely, if I connect the phone to the computer, the thread will
keep running even if the screen is turned off.)

Thx in  advance.

-- 
Sincerely Yours,
Chi Zhang

elecpa...@gmail.com
College of Computer Science and Technology, Zhejiang University

-- 

3. GPS:: The Application GPS_4 has stopped unexpectedly

4. HttpClient persisting for whole application

5. APIs to access email accounts or SMS/MMS messages

6. Market problems again

7. Help CSSParser.cpp build error in the 2.1 Source Code