[android-developers] mapviewError

2012-07-02 Thread deepak mamdapure
: Couldn't get connection factory client
plz  how to resolve this problem

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] mapviewError

2012-07-02 Thread arun kumar
Its due to map api key problem.please check your map api key.

On Mon, Jul 2, 2012 at 3:27 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 : Couldn't get connection factory client
 plz  how to resolve this problem

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] mapviewError

2012-07-02 Thread deepak mamdapure
: Couldn't get connection factory client
plz  how to resolve this problem

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] mapviewError

2012-07-02 Thread TreKing
On Mon, Jul 2, 2012 at 4:57 AM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 : Couldn't get connection factory client
 plz  how to resolve this problem


Like this:
http://lmgtfy.com/?q=%22Couldn%27t+get+connection+factory+client%22

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-14 Thread Ashish Patel
This is the map key problem .

Please create Google map key stone for u r debugging mode .

On Wednesday, June 13, 2012, deepak mamdapure developer.it.a...@gmail.com
wrote:
 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you


 public class mapDemo extends MapActivity {
MyLocationOverlay mlo;
MapController mpc;
MapView mv;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mv=(MapView)findViewById(R.id.mapview);
   final LocationManager
 lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);

   final LocationListener ll=new MyLocationListener();

   mpc=mv.getController();
   mpc.setZoom(18);
   mlo=new MyLocationOverlay(this,mv);

   mv.getOverlays().add(mlo);
   mv.postInvalidate();
   final Location
 location=lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
updateWithNewLocation(location);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,ll);
mlo.enableMyLocation();
}



private void updateWithNewLocation(Location location) {
// TODO Auto-generated method stub
if (location !=null)
{
final double lat=location.getLatitude();

final double lng=location.getLongitude();

final GeoPoint mylcation=new
GeoPoint((int)(lat*100),(int)
 (lng*100));

mv.getController().animateTo(mylcation);
mv.getController().setCenter(mylcation);

}
}



public class MyLocationListener implements LocationListener{

public void onLocationChanged(final Location location) {
// TODO Auto-generated method stub
updateWithNewLocation(location);
}



public void onProviderDisabled(final String provider) {
// TODO Auto-generated method stub
 Toast.makeText(getApplicationContext(),Gps
 Disabled,Toast.LENGTH_LONG).show();

}

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(),Gps
 enabled,Toast.LENGTH_LONG).show();
}

public void onStatusChanged(final String provider,final int
 status,final Bundle extras) {
// TODO Auto-generated method stub

}

}



@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}

 This is my main.xml


 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

 com.google.android.maps.MapView
 android:id=@+id/map
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0n-H5VH-
 CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw
 /
 LinearLayout
 android:id=@+id/zlayout
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_alignParentBottom=true
 android:layout_centerHorizontal=true
/LinearLayout
 /RelativeLayout


 This is my manifest.xml

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.ashwath.mapDemo
  android:versionCode=1
  android:versionName=1.0
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-
 permission
 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
 permission
 uses-permission android:name=android.permission.INTERNET/uses-
 permission


application android:icon=@drawable/icon android:label=@string/
 app_name
uses-library android:name=com.google.android.maps/

activity android:name=.mapDemo
  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
 /manifest

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you 

Re: [android-developers] mapviewError

2012-06-14 Thread Rahul Radhakrishnanunnithan K
On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you
  You have to change the map API key mentioned in your map xml file for
 example.



 android:apiKey=0BxIjFo7iivRde9YV-YALz4NWoC5-IgZiUqyg7w /



 this is the key of my system. this key is unique so You have to Genarate
 map api for your system and  paste it into android:mapapikey in xml file

 Refer this sites:
http://androidcodeplus.blogspot.in/search/label/MAP%20integration

http://mfarhan133.wordpress.com/2010/10/01/generate-google-maps-api-key-for-android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-14 Thread gurdev singh
Hello deepak,

Use this command-:
keytool -list -v -keystore C:\Documents and
Settings\User\.android\debug.keystore -storepass android -keypass android

If you r using window os.

This will return MD5 code

MD5:  19:13:5F:EB:B4:44:84:B3:7C:C9:64:66:25:A2:12:53 like this


Put it into line that i have given already.


On Thu, Jun 14, 2012 at 10:22 AM, asheesh arya asheesharya...@gmail.comwrote:

 just checked out your map apki key !! try to generate new map api key!!!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-14 Thread gurdev singh
Hello deepak please generate ypur own android:apiKey=0n-H5VH-
CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw.

follow this link-:
https://developers.google.com/android/maps-api-signup

besk of luck

On Wed, Jun 13, 2012 at 4:59 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you


 public class mapDemo extends MapActivity {
MyLocationOverlay mlo;
MapController mpc;
MapView mv;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mv=(MapView)findViewById(R.id.mapview);
   final LocationManager
 lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);

   final LocationListener ll=new MyLocationListener();

   mpc=mv.getController();
   mpc.setZoom(18);
   mlo=new MyLocationOverlay(this,mv);

   mv.getOverlays().add(mlo);
   mv.postInvalidate();
   final Location
 location=lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
updateWithNewLocation(location);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,ll);
mlo.enableMyLocation();
}



private void updateWithNewLocation(Location location) {
// TODO Auto-generated method stub
if (location !=null)
{
final double lat=location.getLatitude();

final double lng=location.getLongitude();

final GeoPoint mylcation=new
 GeoPoint((int)(lat*100),(int)
 (lng*100));

mv.getController().animateTo(mylcation);
mv.getController().setCenter(mylcation);

}
}



public class MyLocationListener implements LocationListener{

public void onLocationChanged(final Location location) {
// TODO Auto-generated method stub
updateWithNewLocation(location);
}



public void onProviderDisabled(final String provider) {
// TODO Auto-generated method stub
 Toast.makeText(getApplicationContext(),Gps
 Disabled,Toast.LENGTH_LONG).show();

}

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(),Gps
 enabled,Toast.LENGTH_LONG).show();
}

public void onStatusChanged(final String provider,final int
 status,final Bundle extras) {
// TODO Auto-generated method stub

}

}



@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}

 This is my main.xml


 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

 com.google.android.maps.MapView
 android:id=@+id/map
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0n-H5VH-
 CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw
 /
 LinearLayout
 android:id=@+id/zlayout
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_alignParentBottom=true
 android:layout_centerHorizontal=true
 /LinearLayout
 /RelativeLayout


 This is my manifest.xml

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.ashwath.mapDemo
  android:versionCode=1
  android:versionName=1.0
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-
 permission
 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
 permission
 uses-permission android:name=android.permission.INTERNET/uses-
 permission


application android:icon=@drawable/icon android:label=@string/
 app_name
uses-library android:name=com.google.android.maps/

activity android:name=.mapDemo
  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
 /manifest

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 

[android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
plz Suggest me any one


 i wrote all code for mapview but it does not appeair on emulator it
shows only blocks on emulator

my code is below pls check is there any correction plz tell me .there
is no any error in this code  plz suggest me.

  thank you


public class mapDemo extends MapActivity {
MyLocationOverlay mlo;
MapController mpc;
MapView mv;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mv=(MapView)findViewById(R.id.mapview);
   final LocationManager
lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);

   final LocationListener ll=new MyLocationListener();

   mpc=mv.getController();
   mpc.setZoom(18);
   mlo=new MyLocationOverlay(this,mv);

   mv.getOverlays().add(mlo);
   mv.postInvalidate();
   final Location
location=lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
updateWithNewLocation(location);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,ll);
mlo.enableMyLocation();
}



private void updateWithNewLocation(Location location) {
// TODO Auto-generated method stub
if (location !=null)
{
final double lat=location.getLatitude();

final double lng=location.getLongitude();

final GeoPoint mylcation=new 
GeoPoint((int)(lat*100),(int)
(lng*100));

mv.getController().animateTo(mylcation);
mv.getController().setCenter(mylcation);

}
}



public class MyLocationListener implements LocationListener{

public void onLocationChanged(final Location location) {
// TODO Auto-generated method stub
updateWithNewLocation(location);
}



public void onProviderDisabled(final String provider) {
// TODO Auto-generated method stub
 Toast.makeText(getApplicationContext(),Gps
Disabled,Toast.LENGTH_LONG).show();

}

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(),Gps
enabled,Toast.LENGTH_LONG).show();
}

public void onStatusChanged(final String provider,final int
status,final Bundle extras) {
// TODO Auto-generated method stub

}

}



@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}

This is my main.xml


?xml version=1.0 encoding=utf-8?
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

com.google.android.maps.MapView
 android:id=@+id/map
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0n-H5VH-
CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw
 /
LinearLayout
android:id=@+id/zlayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentBottom=true
android:layout_centerHorizontal=true
/LinearLayout
/RelativeLayout


This is my manifest.xml

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.ashwath.mapDemo
  android:versionCode=1
  android:versionName=1.0
uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION/uses-
permission
uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
permission
uses-permission android:name=android.permission.INTERNET/uses-
permission


application android:icon=@drawable/icon android:label=@string/
app_name
uses-library android:name=com.google.android.maps/

activity android:name=.mapDemo
  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
/manifest

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
plz Suggest me any one


 i wrote all code for mapview but it does not appeair on emulator it
shows only blocks on emulator

my code is below pls check is there any correction plz tell me .there
is no any error in this code  plz suggest me.

  thank you


public class mapDemo extends MapActivity {
MyLocationOverlay mlo;
MapController mpc;
MapView mv;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mv=(MapView)findViewById(R.id.mapview);
   final LocationManager
lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);

   final LocationListener ll=new MyLocationListener();

   mpc=mv.getController();
   mpc.setZoom(18);
   mlo=new MyLocationOverlay(this,mv);

   mv.getOverlays().add(mlo);
   mv.postInvalidate();
   final Location
location=lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
updateWithNewLocation(location);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,ll);
mlo.enableMyLocation();
}



private void updateWithNewLocation(Location location) {
// TODO Auto-generated method stub
if (location !=null)
{
final double lat=location.getLatitude();

final double lng=location.getLongitude();

final GeoPoint mylcation=new 
GeoPoint((int)(lat*100),(int)
(lng*100));

mv.getController().animateTo(mylcation);
mv.getController().setCenter(mylcation);

}
}



public class MyLocationListener implements LocationListener{

public void onLocationChanged(final Location location) {
// TODO Auto-generated method stub
updateWithNewLocation(location);
}



public void onProviderDisabled(final String provider) {
// TODO Auto-generated method stub
 Toast.makeText(getApplicationContext(),Gps
Disabled,Toast.LENGTH_LONG).show();

}

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(),Gps
enabled,Toast.LENGTH_LONG).show();
}

public void onStatusChanged(final String provider,final int
status,final Bundle extras) {
// TODO Auto-generated method stub

}

}



@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}

This is my main.xml


?xml version=1.0 encoding=utf-8?
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

com.google.android.maps.MapView
 android:id=@+id/map
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0n-H5VH-
CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw
 /
LinearLayout
android:id=@+id/zlayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentBottom=true
android:layout_centerHorizontal=true
/LinearLayout
/RelativeLayout


This is my manifest.xml

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.ashwath.mapDemo
  android:versionCode=1
  android:versionName=1.0
uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION/uses-
permission
uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
permission
uses-permission android:name=android.permission.INTERNET/uses-
permission


application android:icon=@drawable/icon android:label=@string/
app_name
uses-library android:name=com.google.android.maps/

activity android:name=.mapDemo
  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
/manifest

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] mapviewError

2012-06-13 Thread Amey Bapat
check your logcat if u r getting dis line in red color
couldn't get connection factory client

den check your map apikey ..der is smething wrong there..
are u creating the fingerprint using md5 or sha1..(command prompt creation
of map key)
all da best
On Wed, Jun 13, 2012 at 4:59 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you


 public class mapDemo extends MapActivity {
MyLocationOverlay mlo;
MapController mpc;
MapView mv;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mv=(MapView)findViewById(R.id.mapview);
   final LocationManager
 lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);

   final LocationListener ll=new MyLocationListener();

   mpc=mv.getController();
   mpc.setZoom(18);
   mlo=new MyLocationOverlay(this,mv);

   mv.getOverlays().add(mlo);
   mv.postInvalidate();
   final Location
 location=lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
updateWithNewLocation(location);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,ll);
mlo.enableMyLocation();
}



private void updateWithNewLocation(Location location) {
// TODO Auto-generated method stub
if (location !=null)
{
final double lat=location.getLatitude();

final double lng=location.getLongitude();

final GeoPoint mylcation=new
 GeoPoint((int)(lat*100),(int)
 (lng*100));

mv.getController().animateTo(mylcation);
mv.getController().setCenter(mylcation);

}
}



public class MyLocationListener implements LocationListener{

public void onLocationChanged(final Location location) {
// TODO Auto-generated method stub
updateWithNewLocation(location);
}



public void onProviderDisabled(final String provider) {
// TODO Auto-generated method stub
 Toast.makeText(getApplicationContext(),Gps
 Disabled,Toast.LENGTH_LONG).show();

}

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(),Gps
 enabled,Toast.LENGTH_LONG).show();
}

public void onStatusChanged(final String provider,final int
 status,final Bundle extras) {
// TODO Auto-generated method stub

}

}



@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}

 This is my main.xml


 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

 com.google.android.maps.MapView
 android:id=@+id/map
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0n-H5VH-
 CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw
 /
 LinearLayout
 android:id=@+id/zlayout
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_alignParentBottom=true
 android:layout_centerHorizontal=true
 /LinearLayout
 /RelativeLayout


 This is my manifest.xml

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.ashwath.mapDemo
  android:versionCode=1
  android:versionName=1.0
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-
 permission
 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
 permission
 uses-permission android:name=android.permission.INTERNET/uses-
 permission


application android:icon=@drawable/icon android:label=@string/
 app_name
uses-library android:name=com.google.android.maps/

activity android:name=.mapDemo
  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
 /manifest

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you



Well, the possible reasons behind this problem are:
1) wrong api key
2) unavailability of internet

So, it may be either of the two reasons.
Tell me if I am wrong.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread Amey Bapat
exactly..thats what ws trying to suggest..!!

On Wed, Jun 13, 2012 at 5:27 PM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:



 On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure 
 developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you



 Well, the possible reasons behind this problem are:
 1) wrong api key
 2) unavailability of internet

 So, it may be either of the two reasons.
 Tell me if I am wrong.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
live and let LIVE!!!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
in the logcat below msg will displayed then what i do



06-13 18:34:13.114: ERROR/MapActivity(388): Couldn't get connection factory
client


On 13 June 2012 17:32, Amey Bapat amey.n.ba...@gmail.com wrote:

 exactly..thats what ws trying to suggest..!!


 On Wed, Jun 13, 2012 at 5:27 PM, Narendra Singh Rathore 
 nsr.curi...@gmail.com wrote:



 On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure 
 developer.it.a...@gmail.com wrote:

 plz Suggest me any one


  i wrote all code for mapview but it does not appeair on emulator it
 shows only blocks on emulator

 my code is below pls check is there any correction plz tell me .there
 is no any error in this code  plz suggest me.

  thank you



 Well, the possible reasons behind this problem are:
 1) wrong api key
 2) unavailability of internet

 So, it may be either of the two reasons.
 Tell me if I am wrong.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 live and let LIVE!!!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 








   (Deepak Mamdapure)

 You only live once, once is enough.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 6:44 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 in the logcat below msg will displayed then what i do



 06-13 18:34:13.114: ERROR/MapActivity(388): Couldn't get connection
 factory client


Amey has clarified you what to do in that case.
Check your map api key, there may be something wrong.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
But i have generated Map Api key more than three times i have already used
all these three api keys but there is nothing any output on emulator







   (Deepak Mamdapure)

 You only live once, once is enough.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 7:02 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:


 But i have generated Map Api key more than three times i have already used
 all these three api keys but there is nothing any output on emulator


Okay, may you please tell, which fingerprint have you used for generating
the api key. --- *SHA1 or MD5* ?

If its SHA1, please generate using MD5 fingerprint.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
No SHA1 actually i have used MD5 fingerprint

On 13 June 2012 19:18, Narendra Singh Rathore nsr.curi...@gmail.com wrote:



 On Wed, Jun 13, 2012 at 7:02 PM, deepak mamdapure 
 developer.it.a...@gmail.com wrote:


 But i have generated Map Api key more than three times i have already
 used all these three api keys but there is nothing any output on emulator


 Okay, may you please tell, which fingerprint have you used for generating
 the api key. --- *SHA1 or MD5* ?

 If its SHA1, please generate using MD5 fingerprint.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 








   (Deepak Mamdapure)

 You only live once, once is enough.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
This command i used

keytool -genkey -v -keystore Keys/temp.keystore -alias temp.keystore
-keyalg RSA -validity 2

this is MD5 fingerprint
7F:91:64:9F:2A:CA:7F:82:FE:F4:24:A0:D7:13:39:3D

This is my apiKey
 com.google.android.maps.MapView
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:apiKey=0EiZlofWi0A1bWbuAAkvYO92zEsfkfQj7vOT1ig
 /

On 14 June 2012 09:14, deepak mamdapure developer.it.a...@gmail.com wrote:

 No SHA1 actually i have used MD5 fingerprint


 On 13 June 2012 19:18, Narendra Singh Rathore nsr.curi...@gmail.comwrote:



 On Wed, Jun 13, 2012 at 7:02 PM, deepak mamdapure 
 developer.it.a...@gmail.com wrote:


 But i have generated Map Api key more than three times i have already
 used all these three api keys but there is nothing any output on emulator


 Okay, may you please tell, which fingerprint have you used for generating
 the api key. --- *SHA1 or MD5* ?

 If its SHA1, please generate using MD5 fingerprint.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --








  (Deepak Mamdapure)

  You only live once, once is enough.




-- 








   (Deepak Mamdapure)

 You only live once, once is enough.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-06-13 Thread asheesh arya
just checked out your map apki key !! try to generate new map api key!!!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en