[android-beginners] Re: Google Maps Api - No image displayed

2009-12-15 Thread mapper
Thanks to all,
Now i have issue same as Denis.
As i have made one application for displaying maps.
It was running fine for first 2 to 3 times then encounter same problem
as Danish.
I have set all the permission of ACCESS_COARSE_LOCATION, INTERNET and
as all of you told and also  uses-library
android:name=com.google.android.maps/
It shows me only Grid, no pictures.
So how can I resolve it now?
And if i want to display Map on Buton OnClick event theb how can i do
it?

Thanks,

On Dec 14, 3:04 am, Denis 87elem...@gmail.com wrote:
 Everyone thanks for responses. I've solved it myself - first of course
 all those steps with Key obtaining and registration (be aware always
 to direct Eclipse to right .keystore file!). My problem was here:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
       package=eatfind.stdpackage
       android:versionCode=1
       android:versionName=1.0

 //*These 2 lines are required**

 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /
     uses-permission android:name=android.permission.INTERNET /

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

  //***But I added also this one here and only after that it worked
 (Don't what to change anything anymore (enough experiments for me -
 development time;))

 uses-permission android:name=android.permission.INTERNET /
         activity android ..

 On 11 дек, 05:12, Yousuf Syed yousuf.syed@gmail.com wrote:

  Do you have the right key generated

   com.google.android.maps.MapView
          android:id=@+id/mapview
          android:layout_width=fill_parent
          android:layout_height=fill_parent
          android:clickable=true
          android:apiKey=*Your Maps API Key*
      /

  step 1: create your key store by going to cmd_promt

  step 2: copy the key store and paste it 
  herehttp://code.google.com/android/maps-api-signup.html

  you will recieve your Maps API key . Place it in the code above. You
  will be able to see  the google mapview.

  For more details on how to visit this link 
  :http://code.google.com/android/add-ons/google-apis/mapkey.html

  regards,
  Yousuf.

  On Thu, Dec 10, 2009 at 1:15 PM, TreKing treking...@gmail.com wrote:
   Also make sure you have the internet permission in your manifest, 
   otherwise
   the maps can't download the image tiles.

   -

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

   On Tue, Dec 8, 2009 at 11:06 AM, Denis 87elem...@gmail.com wrote:

   Hi, guys,

   It is interesting, but I have the same problem. I've found a guide to
   construct Google Maps-aware application (as simple as possible, just a
   map even without zoom...) and it doesn't work (Well, it works - shows
   me nice grey grid). The advice is always one - check API keys. But the
   key is correct, because another application (that is built-in MapsDemo
   in Eclipse) runs well using my key!

   Regards,
   Denis

   On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
Thanks for the answer,

Yes i am running in debug mode.

But i think i did it right, as i gave the debug keystore fingerprint to
   the
registration process.
I have not performed yet the creation of a release keystore for wndows
   nor
macosx.

Regards,

Raphaël

2009/11/11 TreKing treking...@gmail.com

 Looks like you're running in debug mode. Are you sure you're using 
 the
 debug key? If you tested a release version on your Mac it would
   explain why
 it works there.

 2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

 Hi Folks,

 Some updates,
 I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

 I have 2 hypothesys on my problem :
 - OS but i don't believe it
 - Java version but i don't believe also

 Raphaël

 Le 10 novembre 2009 12:36, Raphaël Piéroni 
 raphaelpier...@gmail.com
   a
 écrit :

 Hello folks,
 In my map view i have NO image displayed.
 I did get an apiKey from my keystore fingerprint.
 I using the ant script that affirms to sign the apk with the same
 keystore.
 I have proper permissions and library usage.
 But still I got no image.
 If anyone has a clue for displaying the map in my simulator i will
   be
 very happy.
 Regards,
 Raphaël
 Extracts from the manifest :
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android
   
   android:versionCode=1
   android:versionName=1.0
   *uses-permission android:name=android.permission.INTERNET /
   uses-permission
   android:name=android.permission.ACCESS_FINE_LOCATION
 /
   uses-permission
  

[android-beginners] Re: Google Maps Api - No image displayed

2009-12-15 Thread mapper
Hi,

I have set all the permissions and also google library as all of you
said.
When i have started it working fine but after 3 to 4 times it shows me
grids same as Denis.
I have not change any settings or not the keystore file.
What will be the problem?

Thanks in Advance

On Dec 14, 3:04 am, Denis 87elem...@gmail.com wrote:
 Everyone thanks for responses. I've solved it myself - first of course
 all those steps with Key obtaining and registration (be aware always
 to direct Eclipse to right .keystore file!). My problem was here:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
       package=eatfind.stdpackage
       android:versionCode=1
       android:versionName=1.0

 //*These 2 lines are required**

 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /
     uses-permission android:name=android.permission.INTERNET /

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

  //***But I added also this one here and only after that it worked
 (Don't what to change anything anymore (enough experiments for me -
 development time;))

 uses-permission android:name=android.permission.INTERNET /
         activity android ..

 On 11 дек, 05:12, Yousuf Syed yousuf.syed@gmail.com wrote:

  Do you have the right key generated

   com.google.android.maps.MapView
          android:id=@+id/mapview
          android:layout_width=fill_parent
          android:layout_height=fill_parent
          android:clickable=true
          android:apiKey=*YourMapsAPIKey*
      /

  step 1: create your key store by going to cmd_promt

  step 2: copy the key store and paste it 
  herehttp://code.google.com/android/maps-api-signup.html

  you will recieve yourMapsAPIkey . Place it in the code above. You
  will be able to see  thegooglemapview.

  For more details on how to visit this link 
  :http://code.google.com/android/add-ons/google-apis/mapkey.html

  regards,
  Yousuf.

  On Thu, Dec 10, 2009 at 1:15 PM, TreKing treking...@gmail.com wrote:
   Also make sure you have the internet permission in your manifest, 
   otherwise
   themapscan't download theimagetiles.

   -

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

   On Tue, Dec 8, 2009 at 11:06 AM, Denis 87elem...@gmail.com wrote:

   Hi, guys,

   It is interesting, but I have the same problem. I've found a guide to
   constructGoogleMaps-aware application (as simple as possible, just a
   map even without zoom...) and it doesn't work (Well, it works - shows
   me nice grey grid). The advice is always one - checkAPIkeys. But the
   key is correct, because another application (that is built-in MapsDemo
   in Eclipse) runs well using my key!

   Regards,
   Denis

   On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
Thanks for the answer,

Yes i am running in debug mode.

But i think i did it right, as i gave the debug keystore fingerprint to
   the
registration process.
I have not performed yet the creation of a release keystore for wndows
   nor
macosx.

Regards,

Raphaël

2009/11/11 TreKing treking...@gmail.com

 Looks like you're running in debug mode. Are you sure you're using 
 the
 debug key? If you tested a release version on your Mac it would
   explain why
 it works there.

 2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

 Hi Folks,

 Some updates,
 I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

 I have 2 hypothesys on my problem :
 - OS but i don't believe it
 - Java version but i don't believe also

 Raphaël

 Le 10 novembre 2009 12:36, Raphaël Piéroni 
 raphaelpier...@gmail.com
   a
 écrit :

 Hello folks,
 In my map view i haveNOimagedisplayed.
 I did get an apiKey from my keystore fingerprint.
 I using the ant script that affirms to sign the apk with the same
 keystore.
 I have proper permissions and library usage.
 But still I gotnoimage.
 If anyone has a clue for displaying the map in my simulator i will
   be
 very happy.
 Regards,
 Raphaël
 Extracts from the manifest :
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android
   
   android:versionCode=1
   android:versionName=1.0
   *uses-permission android:name=android.permission.INTERNET /
   uses-permission
   android:name=android.permission.ACCESS_FINE_LOCATION
 /
   uses-permission
 android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
   uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /*
   uses-sdk android:minSdkVersion=5 /
   application 

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-12-13 Thread Yousuf Syed
Do you have the right key generated

 com.google.android.maps.MapView
android:id=@+id/mapview
android:layout_width=fill_parent
android:layout_height=fill_parent
android:clickable=true
android:apiKey=*Your Maps API Key*
/

step 1: create your key store by going to cmd_promt

step 2: copy the key store and paste it here
http://code.google.com/android/maps-api-signup.html

you will recieve your Maps API key . Place it in the code above. You
will be able to see  the google mapview.


For more details on how to visit this link :
http://code.google.com/android/add-ons/google-apis/mapkey.html

regards,
Yousuf.




On Thu, Dec 10, 2009 at 1:15 PM, TreKing treking...@gmail.com wrote:

 Also make sure you have the internet permission in your manifest, otherwise
 the maps can't download the image tiles.


 -

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


 On Tue, Dec 8, 2009 at 11:06 AM, Denis 87elem...@gmail.com wrote:

 Hi, guys,

 It is interesting, but I have the same problem. I've found a guide to
 construct Google Maps-aware application (as simple as possible, just a
 map even without zoom...) and it doesn't work (Well, it works - shows
 me nice grey grid). The advice is always one - check API keys. But the
 key is correct, because another application (that is built-in MapsDemo
 in Eclipse) runs well using my key!

 Regards,
 Denis

 On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
  Thanks for the answer,
 
  Yes i am running in debug mode.
 
  But i think i did it right, as i gave the debug keystore fingerprint to
 the
  registration process.
  I have not performed yet the creation of a release keystore for wndows
 nor
  macosx.
 
  Regards,
 
  Raphaël
 
  2009/11/11 TreKing treking...@gmail.com
 
   Looks like you're running in debug mode. Are you sure you're using the
   debug key? If you tested a release version on your Mac it would
 explain why
   it works there.
 
   2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com
 
   Hi Folks,
 
   Some updates,
   I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.
 
   I have 2 hypothesys on my problem :
   - OS but i don't believe it
   - Java version but i don't believe also
 
   Raphaël
 
   Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com
 a
   écrit :
 
   Hello folks,
   In my map view i have NO image displayed.
   I did get an apiKey from my keystore fingerprint.
   I using the ant script that affirms to sign the apk with the same
   keystore.
   I have proper permissions and library usage.
   But still I got no image.
   If anyone has a clue for displaying the map in my simulator i will
 be
   very happy.
   Regards,
   Raphaël
   Extracts from the manifest :
   ?xml version=1.0 encoding=utf-8?
   manifest xmlns:android=http://schemas.android.com/apk/res/android
 
 android:versionCode=1
 android:versionName=1.0
 *uses-permission android:name=android.permission.INTERNET /
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION
   /
 uses-permission
   android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
 uses-permission
   android:name=android.permission.ACCESS_COARSE_LOCATION /*
 uses-sdk android:minSdkVersion=5 /
 application android:label=@string/application_name
 *uses-library android:name=com.google.android.maps /*
 activity android:name=InitializationActivity
   android:label=@string/application_name
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 /application
   /manifest
 
   Extracts from the layout.xml
   ?xml version=1.0 encoding=utf-8?
   ScrollView xmlns:android=
 http://schemas.android.com/apk/res/android;
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 com.google.android.maps.MapView
 android:id=@+id/map_view
 android:layout_width=fill_parent
 android:layout_height=fill_parent
   *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
 /
   /ScrollView
   Extract from the activity which extends MapActivity with proper
 override.
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.map_test);
 MapView map = (MapView) findViewById(R.id.map_view);
 map.setClickable(true);
 MapController mc = map.getController();
  double latitude = 47.3869316;
 double longitude = -2.9516315;
 GeoPoint location = new GeoPoint((int) (latitude * 100.0),
 (int)
   (longitude * 100.0));
 mc.setCenter(location);
 mc.setZoom(10);
 map.setEnabled(true);
 map.setSatellite(true);
 map.invalidate();
 }
 
   Installing the 

[android-beginners] Re: Google Maps Api - No image displayed

2009-12-13 Thread Denis
Everyone thanks for responses. I've solved it myself - first of course
all those steps with Key obtaining and registration (be aware always
to direct Eclipse to right .keystore file!). My problem was here:

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=eatfind.stdpackage
  android:versionCode=1
  android:versionName=1.0

//*These 2 lines are required**

uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION /
uses-permission android:name=android.permission.INTERNET /

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


 //***But I added also this one here and only after that it worked
(Don't what to change anything anymore (enough experiments for me -
development time;))

uses-permission android:name=android.permission.INTERNET /
activity android ..

On 11 дек, 05:12, Yousuf Syed yousuf.syed@gmail.com wrote:
 Do you have the right key generated

  com.google.android.maps.MapView
         android:id=@+id/mapview
         android:layout_width=fill_parent
         android:layout_height=fill_parent
         android:clickable=true
         android:apiKey=*Your Maps API Key*
     /

 step 1: create your key store by going to cmd_promt

 step 2: copy the key store and paste it 
 herehttp://code.google.com/android/maps-api-signup.html

 you will recieve your Maps API key . Place it in the code above. You
 will be able to see  the google mapview.

 For more details on how to visit this link 
 :http://code.google.com/android/add-ons/google-apis/mapkey.html

 regards,
 Yousuf.

 On Thu, Dec 10, 2009 at 1:15 PM, TreKing treking...@gmail.com wrote:
  Also make sure you have the internet permission in your manifest, otherwise
  the maps can't download the image tiles.

  -

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

  On Tue, Dec 8, 2009 at 11:06 AM, Denis 87elem...@gmail.com wrote:

  Hi, guys,

  It is interesting, but I have the same problem. I've found a guide to
  construct Google Maps-aware application (as simple as possible, just a
  map even without zoom...) and it doesn't work (Well, it works - shows
  me nice grey grid). The advice is always one - check API keys. But the
  key is correct, because another application (that is built-in MapsDemo
  in Eclipse) runs well using my key!

  Regards,
  Denis

  On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
   Thanks for the answer,

   Yes i am running in debug mode.

   But i think i did it right, as i gave the debug keystore fingerprint to
  the
   registration process.
   I have not performed yet the creation of a release keystore for wndows
  nor
   macosx.

   Regards,

   Raphaël

   2009/11/11 TreKing treking...@gmail.com

Looks like you're running in debug mode. Are you sure you're using the
debug key? If you tested a release version on your Mac it would
  explain why
it works there.

2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

Hi Folks,

Some updates,
I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

I have 2 hypothesys on my problem :
- OS but i don't believe it
- Java version but i don't believe also

Raphaël

Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com
  a
écrit :

Hello folks,
In my map view i have NO image displayed.
I did get an apiKey from my keystore fingerprint.
I using the ant script that affirms to sign the apk with the same
keystore.
I have proper permissions and library usage.
But still I got no image.
If anyone has a clue for displaying the map in my simulator i will
  be
very happy.
Regards,
Raphaël
Extracts from the manifest :
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android
  
  android:versionCode=1
  android:versionName=1.0
  *uses-permission android:name=android.permission.INTERNET /
  uses-permission
  android:name=android.permission.ACCESS_FINE_LOCATION
/
  uses-permission
android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
  uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION /*
  uses-sdk android:minSdkVersion=5 /
  application android:label=@string/application_name
  *uses-library android:name=com.google.android.maps /*
  activity android:name=InitializationActivity
android:label=@string/application_name
  intent-filter
  action android:name=android.intent.action.MAIN /
  category android:name=android.intent.category.LAUNCHER /
  /intent-filter
  /activity
  /application
/manifest

Extracts from the layout.xml

[android-beginners] Re: Google Maps Api - No image displayed

2009-12-10 Thread Denis
Hi, guys,

It is interesting, but I have the same problem. I've found a guide to
construct Google Maps-aware application (as simple as possible, just a
map even without zoom...) and it doesn't work (Well, it works - shows
me nice grey grid). The advice is always one - check API keys. But the
key is correct, because another application (that is built-in MapsDemo
in Eclipse) runs well using my key!

Regards,
Denis

On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
 Thanks for the answer,

 Yes i am running in debug mode.

 But i think i did it right, as i gave the debug keystore fingerprint to the
 registration process.
 I have not performed yet the creation of a release keystore for wndows nor
 macosx.

 Regards,

 Raphaël

 2009/11/11 TreKing treking...@gmail.com

  Looks like you're running in debug mode. Are you sure you're using the
  debug key? If you tested a release version on your Mac it would explain why
  it works there.

  2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

  Hi Folks,

  Some updates,
  I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

  I have 2 hypothesys on my problem :
  - OS but i don't believe it
  - Java version but i don't believe also

  Raphaël

  Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com a
  écrit :

  Hello folks,
  In my map view i have NO image displayed.
  I did get an apiKey from my keystore fingerprint.
  I using the ant script that affirms to sign the apk with the same
  keystore.
  I have proper permissions and library usage.
  But still I got no image.
  If anyone has a clue for displaying the map in my simulator i will be
  very happy.
  Regards,
  Raphaël
  Extracts from the manifest :
  ?xml version=1.0 encoding=utf-8?
  manifest xmlns:android=http://schemas.android.com/apk/res/android;
    android:versionCode=1
    android:versionName=1.0
    *uses-permission android:name=android.permission.INTERNET /
    uses-permission android:name=android.permission.ACCESS_FINE_LOCATION
  /
    uses-permission
  android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
    uses-permission
  android:name=android.permission.ACCESS_COARSE_LOCATION /*
    uses-sdk android:minSdkVersion=5 /
    application android:label=@string/application_name
    *uses-library android:name=com.google.android.maps /*
    activity android:name=InitializationActivity
  android:label=@string/application_name
    intent-filter
    action android:name=android.intent.action.MAIN /
    category android:name=android.intent.category.LAUNCHER /
    /intent-filter
    /activity
    /application
  /manifest

  Extracts from the layout.xml
  ?xml version=1.0 encoding=utf-8?
  ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
    android:layout_width=fill_parent
    android:layout_height=fill_parent
    com.google.android.maps.MapView
    android:id=@+id/map_view
    android:layout_width=fill_parent
    android:layout_height=fill_parent
  *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
    /
  /ScrollView
  Extract from the activity which extends MapActivity with proper override.
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.map_test);
    MapView map = (MapView) findViewById(R.id.map_view);
    map.setClickable(true);
    MapController mc = map.getController();
     double latitude = 47.3869316;
    double longitude = -2.9516315;
    GeoPoint location = new GeoPoint((int) (latitude * 100.0), (int)
  (longitude * 100.0));
    mc.setCenter(location);
    mc.setZoom(10);
    map.setEnabled(true);
    map.setSatellite(true);
    map.invalidate();
    }

  Installing the application
  ...
   -package-resources:
    [echo] Packaging resources
   [aaptexec] Creating full resource package...

  -package-debug-sign:
  [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with a
  debug key...
  *[apkbuilder] Using keystore: C:\Documents and
  Settings\raphael\.android\debug.keystore*

  debug:
    [echo] Running zip align on final apk...
    [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk

  BUILD SUCCESSFUL
  Total time: 5 seconds
  C:\SVNLOCAL\DexemGuiDynamicadb install -r bin\MapTest-debug.apk
  1087 KB/s (1061868 bytes in 0.953s)
    pkg: /data/local/tmp/MapTest-debug.apk
  Success

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

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

  --
  You received this message because you are subscribed to the 

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-12-10 Thread TreKing
Also make sure you have the internet permission in your manifest, otherwise
the maps can't download the image tiles.

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


On Tue, Dec 8, 2009 at 11:06 AM, Denis 87elem...@gmail.com wrote:

 Hi, guys,

 It is interesting, but I have the same problem. I've found a guide to
 construct Google Maps-aware application (as simple as possible, just a
 map even without zoom...) and it doesn't work (Well, it works - shows
 me nice grey grid). The advice is always one - check API keys. But the
 key is correct, because another application (that is built-in MapsDemo
 in Eclipse) runs well using my key!

 Regards,
 Denis

 On 14 ноя, 21:27, Raphaël Piéroni raphaelpier...@gmail.com wrote:
  Thanks for the answer,
 
  Yes i am running in debug mode.
 
  But i think i did it right, as i gave the debug keystore fingerprint to
 the
  registration process.
  I have not performed yet the creation of a release keystore for wndows
 nor
  macosx.
 
  Regards,
 
  Raphaël
 
  2009/11/11 TreKing treking...@gmail.com
 
   Looks like you're running in debug mode. Are you sure you're using the
   debug key? If you tested a release version on your Mac it would explain
 why
   it works there.
 
   2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com
 
   Hi Folks,
 
   Some updates,
   I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.
 
   I have 2 hypothesys on my problem :
   - OS but i don't believe it
   - Java version but i don't believe also
 
   Raphaël
 
   Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com
 a
   écrit :
 
   Hello folks,
   In my map view i have NO image displayed.
   I did get an apiKey from my keystore fingerprint.
   I using the ant script that affirms to sign the apk with the same
   keystore.
   I have proper permissions and library usage.
   But still I got no image.
   If anyone has a clue for displaying the map in my simulator i will be
   very happy.
   Regards,
   Raphaël
   Extracts from the manifest :
   ?xml version=1.0 encoding=utf-8?
   manifest xmlns:android=http://schemas.android.com/apk/res/android;
 android:versionCode=1
 android:versionName=1.0
 *uses-permission android:name=android.permission.INTERNET /
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION
   /
 uses-permission
   android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
 uses-permission
   android:name=android.permission.ACCESS_COARSE_LOCATION /*
 uses-sdk android:minSdkVersion=5 /
 application android:label=@string/application_name
 *uses-library android:name=com.google.android.maps /*
 activity android:name=InitializationActivity
   android:label=@string/application_name
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 /application
   /manifest
 
   Extracts from the layout.xml
   ?xml version=1.0 encoding=utf-8?
   ScrollView xmlns:android=
 http://schemas.android.com/apk/res/android;
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 com.google.android.maps.MapView
 android:id=@+id/map_view
 android:layout_width=fill_parent
 android:layout_height=fill_parent
   *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
 /
   /ScrollView
   Extract from the activity which extends MapActivity with proper
 override.
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.map_test);
 MapView map = (MapView) findViewById(R.id.map_view);
 map.setClickable(true);
 MapController mc = map.getController();
  double latitude = 47.3869316;
 double longitude = -2.9516315;
 GeoPoint location = new GeoPoint((int) (latitude * 100.0),
 (int)
   (longitude * 100.0));
 mc.setCenter(location);
 mc.setZoom(10);
 map.setEnabled(true);
 map.setSatellite(true);
 map.invalidate();
 }
 
   Installing the application
   ...
-package-resources:
 [echo] Packaging resources
[aaptexec] Creating full resource package...
 
   -package-debug-sign:
   [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with
 a
   debug key...
   *[apkbuilder] Using keystore: C:\Documents and
   Settings\raphael\.android\debug.keystore*
 
   debug:
 [echo] Running zip align on final apk...
 [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk
 
   BUILD SUCCESSFUL
   Total time: 5 seconds
   C:\SVNLOCAL\DexemGuiDynamicadb install -r bin\MapTest-debug.apk
   1087 KB/s (1061868 bytes in 0.953s)
 pkg: /data/local/tmp/MapTest-debug.apk
   Success
 
--
   You received this message because you are subscribed to the 

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-11-15 Thread Raphaël Piéroni
Thanks for the answer,

Yes i am running in debug mode.

But i think i did it right, as i gave the debug keystore fingerprint to the
registration process.
I have not performed yet the creation of a release keystore for wndows nor
macosx.

Regards,

Raphaël

2009/11/11 TreKing treking...@gmail.com

 Looks like you're running in debug mode. Are you sure you're using the
 debug key? If you tested a release version on your Mac it would explain why
 it works there.

 2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

 Hi Folks,

 Some updates,
 I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

 I have 2 hypothesys on my problem :
 - OS but i don't believe it
 - Java version but i don't believe also


 Raphaël


 Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com a
 écrit :

 Hello folks,
 In my map view i have NO image displayed.
 I did get an apiKey from my keystore fingerprint.
 I using the ant script that affirms to sign the apk with the same
 keystore.
 I have proper permissions and library usage.
 But still I got no image.
 If anyone has a clue for displaying the map in my simulator i will be
 very happy.
 Regards,
 Raphaël
 Extracts from the manifest :
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
   android:versionCode=1
   android:versionName=1.0
   *uses-permission android:name=android.permission.INTERNET /
   uses-permission android:name=android.permission.ACCESS_FINE_LOCATION
 /
   uses-permission
 android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
   uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /*
   uses-sdk android:minSdkVersion=5 /
   application android:label=@string/application_name
   *uses-library android:name=com.google.android.maps /*
   activity android:name=InitializationActivity
 android:label=@string/application_name
   intent-filter
   action android:name=android.intent.action.MAIN /
   category android:name=android.intent.category.LAUNCHER /
   /intent-filter
   /activity
   /application
 /manifest

 Extracts from the layout.xml
 ?xml version=1.0 encoding=utf-8?
 ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   com.google.android.maps.MapView
   android:id=@+id/map_view
   android:layout_width=fill_parent
   android:layout_height=fill_parent
 *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
   /
 /ScrollView
 Extract from the activity which extends MapActivity with proper override.
   @Override
   public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.map_test);
   MapView map = (MapView) findViewById(R.id.map_view);
   map.setClickable(true);
   MapController mc = map.getController();
double latitude = 47.3869316;
   double longitude = -2.9516315;
   GeoPoint location = new GeoPoint((int) (latitude * 100.0), (int)
 (longitude * 100.0));
   mc.setCenter(location);
   mc.setZoom(10);
   map.setEnabled(true);
   map.setSatellite(true);
   map.invalidate();
   }


 Installing the application
 ...
  -package-resources:
   [echo] Packaging resources
  [aaptexec] Creating full resource package...

 -package-debug-sign:
 [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with a
 debug key...
 *[apkbuilder] Using keystore: C:\Documents and
 Settings\raphael\.android\debug.keystore*

 debug:
   [echo] Running zip align on final apk...
   [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk

 BUILD SUCCESSFUL
 Total time: 5 seconds
 C:\SVNLOCAL\DexemGuiDynamicadb install -r bin\MapTest-debug.apk
 1087 KB/s (1061868 bytes in 0.953s)
   pkg: /data/local/tmp/MapTest-debug.apk
 Success



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




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

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

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

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-11-12 Thread TreKing
Looks like you're running in debug mode. Are you sure you're using the debug
key? If you tested a release version on your Mac it would explain why it
works there.

2009/11/10 Raphaël Piéroni raphaelpier...@gmail.com

 Hi Folks,

 Some updates,
 I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

 I have 2 hypothesys on my problem :
 - OS but i don't believe it
 - Java version but i don't believe also


 Raphaël


 Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com a
 écrit :

 Hello folks,
 In my map view i have NO image displayed.
 I did get an apiKey from my keystore fingerprint.
 I using the ant script that affirms to sign the apk with the same
 keystore.
 I have proper permissions and library usage.
 But still I got no image.
 If anyone has a clue for displaying the map in my simulator i will be very
 happy.
 Regards,
 Raphaël
 Extracts from the manifest :
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
   android:versionCode=1
   android:versionName=1.0
   *uses-permission android:name=android.permission.INTERNET /
   uses-permission android:name=android.permission.ACCESS_FINE_LOCATION
 /
   uses-permission
 android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
   uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /*
   uses-sdk android:minSdkVersion=5 /
   application android:label=@string/application_name
   *uses-library android:name=com.google.android.maps /*
   activity android:name=InitializationActivity
 android:label=@string/application_name
   intent-filter
   action android:name=android.intent.action.MAIN /
   category android:name=android.intent.category.LAUNCHER /
   /intent-filter
   /activity
   /application
 /manifest

 Extracts from the layout.xml
 ?xml version=1.0 encoding=utf-8?
 ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   com.google.android.maps.MapView
   android:id=@+id/map_view
   android:layout_width=fill_parent
   android:layout_height=fill_parent
 *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
   /
 /ScrollView
 Extract from the activity which extends MapActivity with proper override.
   @Override
   public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.map_test);
   MapView map = (MapView) findViewById(R.id.map_view);
   map.setClickable(true);
   MapController mc = map.getController();
double latitude = 47.3869316;
   double longitude = -2.9516315;
   GeoPoint location = new GeoPoint((int) (latitude * 100.0), (int)
 (longitude * 100.0));
   mc.setCenter(location);
   mc.setZoom(10);
   map.setEnabled(true);
   map.setSatellite(true);
   map.invalidate();
   }


 Installing the application
 ...
  -package-resources:
   [echo] Packaging resources
  [aaptexec] Creating full resource package...

 -package-debug-sign:
 [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with a
 debug key...
 *[apkbuilder] Using keystore: C:\Documents and
 Settings\raphael\.android\debug.keystore*

 debug:
   [echo] Running zip align on final apk...
   [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk

 BUILD SUCCESSFUL
 Total time: 5 seconds
 C:\SVNLOCAL\DexemGuiDynamicadb install -r bin\MapTest-debug.apk
 1087 KB/s (1061868 bytes in 0.953s)
   pkg: /data/local/tmp/MapTest-debug.apk
 Success



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




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

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

[android-beginners] Re: Google Maps Api - No image displayed

2009-11-11 Thread Raphaël Piéroni
Hi Folks,

Some updates,
I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.

I have 2 hypothesys on my problem :
- OS but i don't believe it
- Java version but i don't believe also


Raphaël


Le 10 novembre 2009 12:36, Raphaël Piéroni raphaelpier...@gmail.com a
écrit :

 Hello folks,
 In my map view i have NO image displayed.
 I did get an apiKey from my keystore fingerprint.
 I using the ant script that affirms to sign the apk with the same keystore.
 I have proper permissions and library usage.
 But still I got no image.
 If anyone has a clue for displaying the map in my simulator i will be very
 happy.
 Regards,
 Raphaël
 Extracts from the manifest :
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
   android:versionCode=1
   android:versionName=1.0
   *uses-permission android:name=android.permission.INTERNET /
   uses-permission android:name=android.permission.ACCESS_FINE_LOCATION
 /
   uses-permission
 android:name=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS /
   uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION
 /*
   uses-sdk android:minSdkVersion=5 /
   application android:label=@string/application_name
   *uses-library android:name=com.google.android.maps /*
   activity android:name=InitializationActivity
 android:label=@string/application_name
   intent-filter
   action android:name=android.intent.action.MAIN /
   category android:name=android.intent.category.LAUNCHER /
   /intent-filter
   /activity
   /application
 /manifest

 Extracts from the layout.xml
 ?xml version=1.0 encoding=utf-8?
 ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   com.google.android.maps.MapView
   android:id=@+id/map_view
   android:layout_width=fill_parent
   android:layout_height=fill_parent
 *  android:apiKey=0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ*
   /
 /ScrollView
 Extract from the activity which extends MapActivity with proper override.
   @Override
   public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.map_test);
   MapView map = (MapView) findViewById(R.id.map_view);
   map.setClickable(true);
   MapController mc = map.getController();
   double latitude = 47.3869316;
   double longitude = -2.9516315;
   GeoPoint location = new GeoPoint((int) (latitude * 100.0), (int)
 (longitude * 100.0));
   mc.setCenter(location);
   mc.setZoom(10);
   map.setEnabled(true);
   map.setSatellite(true);
   map.invalidate();
   }


 Installing the application
 ...
 -package-resources:
   [echo] Packaging resources
  [aaptexec] Creating full resource package...

 -package-debug-sign:
 [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with a
 debug key...
 *[apkbuilder] Using keystore: C:\Documents and
 Settings\raphael\.android\debug.keystore*

 debug:
   [echo] Running zip align on final apk...
   [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk

 BUILD SUCCESSFUL
 Total time: 5 seconds
 C:\SVNLOCAL\DexemGuiDynamicadb install -r bin\MapTest-debug.apk
 1087 KB/s (1061868 bytes in 0.953s)
   pkg: /data/local/tmp/MapTest-debug.apk
 Success




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