[mono-android] Icon in Settings - Apps

2013-01-25 Thread Stephan Steiner
Hi

My main activity has an Icon - which show up just fine in the title bar when
launched, and it is also used as app icon in the launcher. However, I noted
that under "Settings - Apps", the app doesn't show up with that icon but
instead uses the default Android icon.

Is there any way to change this? To me, the default icon feels a bit like
"somebody forgot to do something" and I'd like to avoid that.

I don't even have the default android icon anywhere in my app anymore (I
first searched for that with the intent to simply replace it by the desired
icon).

Regards
Stephan



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Icon-in-Settings-Apps-tp5712795.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Installation with SDK Manager 21

2013-01-25 Thread Stephan Steiner


>This is the problem with making things "simple": _something_ has to be
installed, and given that a huge number of devices still only have 2.3
installing only recent versions seems silly... That said, we should stop
installing the older API levels; who uses API 4 anymore?

I understand - but I think it would be nice if we either get some kind of
selection screen (knowing that you can still change it easily later on - and
telling the user how that can be achieved). I figure everybody will at some
point have to start the SDK manager anyway.

>Use the .exe-based Android SDK installer. That creates a registry entry
which our installer uses to see if you've already installed the Android SDK.

Actually (forgot to write a followup to my message), things went fine there
- no old release was installed and my version .21 was preserved - it's just
that the M4A installer gave the impression it would install something it
didn't in the end (so perhaps that process of registry checking has some
rough edges.. clearly it didn't install anything, but it initially told it
was going to install sdk r20).

Is there any page where you have download links for the individual m4a
release MSIs so that those who prefer to do things manually can do so? I've
been able to find some links to individual releases but no comprehensive
archive (I think having a link in the revision history would be a good
idea).

Regards
Stephan



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Installation-with-SDK-Manager-21-tp5712698p5712796.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] Monodroid samples/MapsDemo not showing Map

2013-01-25 Thread noobob
Hello,

I am looking to develop an application that uses the Google Map API v2.
I downloaded the monodroid samples  from here
  , and run the *MapsDemo*
after setting my Google API Key:

 

Why can't I see the map? Did I miss something?

IDE: Visual Studio 2010.
I also installed the com.android.vending.apk and com.google.android.gms.apk
after some search.

Thanks in advance,
Ibrahim



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-samples-MapsDemo-not-showing-Map-tp5712798.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Monodroid samples/MapsDemo not showing Map

2013-01-25 Thread Jonathan Pryor
On Jan 25, 2013, at 7:45 AM, noobob  wrote:
> I also installed the com.android.vending.apk and com.google.android.gms.apk 
> after some search.

That's weird/wrong. You should instead use the Google APIs Add-on emulator 
image:


http://docs.xamarin.com/Android/Guides/Platform_Features/Maps_and_Location/Part_2_-_Maps_API#Google_APIs_Add-On

> I am looking to develop an application that uses the Google Map API v2.

First thing to double check is that you provided the correct keystore to Google 
to get the API key. For ease of getting started, Mono for Android creates a 
debug.keystore file, which is referenced here:


http://docs.xamarin.com/Android/Guides/Platform_Features/Maps_and_Location/Obtaining_a_Google_Maps_API_Key#Step_1_-_Obtaining_your_Signing_Key_Fingerprint

However, unless you're working alone, I cannot actually recommend using that 
file (because it'll be different for everyone on your team!). I would instead 
suggest creating a new keystore file for use by your team, and storing it in a 
Well Know Location:


http://docs.xamarin.com/Android/Guides/Deployment%2C_Testing%2C_and_Metrics/publishing_an_application/Part_1_-_Preparing_an_Application_for_Release#Creating_a_Private_Keystore

Then updating the project files to use your new keystore:


http://docs.xamarin.com/Android/Guides/Advanced_Topics/Build_Process#Signing

> Why can't I see the map? Did I miss something?

I would suggest looking at `adb logcat` output as well, as maps will print 
diagnostic and error messages there which may be helpful.

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Installation with SDK Manager 21

2013-01-25 Thread Jonathan Pryor
On Jan 25, 2013, at 5:23 AM, Stephan Steiner  wrote:
> Is there any page where you have download links for the individual m4a 
> release MSIs so that those who prefer to do things manually can do so?

Go to: https://store.xamarin.com/account/Products

Then click the "Show Recent Releases" link for the relevant product. This will 
show links to .msi installers for individual releases.

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Icon in Settings - Apps

2013-01-25 Thread Jonathan Pryor
On Jan 25, 2013, at 5:17 AM, Stephan Steiner  wrote:
> However, I noted that under "Settings - Apps", the app doesn't show up with 
> that icon but instead uses the default Android icon.

I imagine you need to set the application icon as well as the activity icon:


http://developer.android.com/guide/topics/manifest/application-element.html#icon


http://androidapi.xamarin.com/?link=P%3aAndroid.App.ApplicationAttribute.Icon

MonoDevelop: Project Options > Build / Android Application > 
Application icon.

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Monodroid samples/MapsDemo not showing Map

2013-01-25 Thread Tom Opgenorth
I'm a bit confused - you mentioned Google Maps v2 in your e-mail, but the
MapsDemo is for Google Maps v1?

Google Maps v2 requires Google Play Services to work. Unfortunately Google
Play Services isn't universally available - it is not provided in the
emulators for example.

That said, it looks like (based on your screenshot) that you got a v2 key
for Google Maps, and not a v1 key. For the MapsDemo, you will need to go to
https://developers.google.com/maps/documentation/android/v1/maps-api-signupto
get a Google Maps v1 key. You will need to one key for your debug
keystore and another key for your release keystore.




On Fri, Jan 25, 2013 at 4:45 AM, noobob  wrote:

> Hello,
>
> I am looking to develop an application that uses the Google Map API v2.
> I downloaded the monodroid samples  from here
>   , and run the *MapsDemo*
> after setting my Google API Key:
>
> 
>
> Why can't I see the map? Did I miss something?
>
> IDE: Visual Studio 2010.
> I also installed the com.android.vending.apk and com.google.android.gms.apk
> after some search.
>
> Thanks in advance,
> Ibrahim
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Monodroid-samples-MapsDemo-not-showing-Map-tp5712798.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
http://www.opgenorth.net
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid