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. Gps issues in real phone

Hello everybody,

                     I use the following code to play with gps. In
emulator its working with sending manually gps data
but in real phone when i installed it only showing the gps icon but no
data is coming.I am not able to understand whats wrong in this code.
In real phone I enable Gps and in Map application I can able to see my
current Location.

Here is the Java code :

import android.app.Activity;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.widget.Toast;

public class UseGps extends Activity
{

        /** Called when the activity is first created. */

        @Override
        public void onCreate(Bundle savedInstanceState)
        {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                /* Use the LocationManager class to obtain GPS locations */
                LocationManager mlocManager =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
                LocationListener mlocListener = new MyLocationListener();
                mlocManager.requestLocationUpdates( 
LocationManager.GPS_PROVIDER, 0,
0, mlocListener);
        }
        /* Class My Location Listener */
        public class MyLocationListener implements LocationListener
        {

                public void onLocationChanged(Location loc)
                {
                        loc.getLatitude();
                        loc.getLongitude();
                        String Text = "My current location is: " + "Latitud = " 
+
loc.getLatitude() + "Longitud = " + loc.getLongitude();
        
Toast.makeText( getApplicationContext(),Text,Toast.LENGTH_SHORT).show();
                }
                public void onProviderDisabled(String provider)
                {
                        Toast.makeText( getApplicationContext(),"Gps
Disabled",Toast.LENGTH_SHORT ).show();
                }
                public void onProviderEnabled(String provider)
                {
                        Toast.makeText( getApplicationContext(),"Gps
Enabled",Toast.LENGTH_SHORT).show();
                }
                public void onStatusChanged(String provider, int status, Bundle
extras)
                {

                }

        }

}




Here is the Manifest file:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.android.location1"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".UseGps"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
    <uses-sdk android:minSdkVersion="3" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"> </uses-
permission>
</manifest>










Thanks & regards
Arindam Ghosh

-- 

2. Samsung Galaxy S Offers Best Overall Android Graphics Performance

Samsung Galaxy S offers the Best Overall Android Graphics Performance!

http://pocketnow.com/tech-news/samsung-galaxy-s-offers-best-overall-android-graphics-performance

---
This message was sent by eko.m...@gmail.com via http://addthis.com.  Please 
note that AddThis does not verify email addresses.

Make sharing easier with the AddThis Toolbar:  
http://www.addthis.com/go/toolbar-em

-- 
"Indonesian Android Community [id-android]" 

3. OpenGL ES libraries

4. How to Change label of activity dynamically?

5. Where should I change a ListView's backing data from?

6. Android 2.2 and 2.1 Sense for HTC HD2 released [Slashgear]

7. Exclusive: Verizon Wireless Summer devi ce catalog leaked 芦 Boy Genius Report