[mono-android] Windows Azure Toolkit

2012-01-12 Thread Tomasz Cielecki
Just to let you know I have ported a part of the Windows Azure Toolkit
for Windows Phone 7 to Mono for Android. This is now available through
Githib.
It allows for authenticating against Windows Azure and receive the
token necessary to make further communication with WA.

Grab it here:
https://github.com/Cheesebaron/MonoDroid.WAToolkit

-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] SplashActivity and single instance

2012-01-12 Thread devbuzz
I removed the noHistory option because I'm using the SplashActivity as a kind
of initial workflow processor.

So if the user has already logged in before they get:
SplashActivity -> Login Screen-> SplashActivity.OnActivityResult -> Home
Screen

If this is the first time they are logging in they get:
SplashActivity -> Auth Screen -> SplashActivity.OnActivityResult -> Login
Screen-> SplashActivity.OnActivityResult -> Home Screen

So I can't use noHistory because I need SplashActivity to process
OnActivityResult.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/SplashActivity-and-single-instance-tp5138098p5139699.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] SplashActivity and single instance

2012-01-12 Thread Tomasz Cielecki
Ahh OK, I understand now.

I think it would be better to do it this way:

Have a Splash Screen Activity as you have now.

Make a BaseActivity, which keeps some functionality which checks
whether you are logged in or not and have all your Activities
implement that.
So when you are not logged in it starts the Log In Activity and forces
a user to log in. This eliminates the need of calling Finish on your
Splash Screen Activity which most likely is causing you this trouble.

Does this make sense?

On Thu, Jan 12, 2012 at 12:28 PM, devbuzz  wrote:
> I removed the noHistory option because I'm using the SplashActivity as a kind
> of initial workflow processor.
>
> So if the user has already logged in before they get:
> SplashActivity -> Login Screen-> SplashActivity.OnActivityResult -> Home
> Screen
>
> If this is the first time they are logging in they get:
> SplashActivity -> Auth Screen -> SplashActivity.OnActivityResult -> Login
> Screen-> SplashActivity.OnActivityResult -> Home Screen
>
> So I can't use noHistory because I need SplashActivity to process
> OnActivityResult.
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/SplashActivity-and-single-instance-tp5138098p5139699.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



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] SplashActivity and single instance

2012-01-12 Thread devbuzz
Hi Tomasz, many thanks that makes complete sense!

One thing I'm still struggling with though is having only a SingleInstance
of my application running at a time.

I have uploaded a sample app here showing the issue:

http://www.devbuzz.com/downloads/SplashAndSingleInstance.zip

I am aware that this is somewhat contract to standards, but as I mentioned
my app has a background service and it's imperative that the user doesn't
run more than one instance of it at the same time.

If I click on the Launcher icon when my application is already running the
app runs again from the beginning irrespective of the fact that it is
already running - any idea what I am doing wrong?

I have spent ages messing about decorating the different activities etc and
I just can't seem to get it right.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/SplashActivity-and-single-instance-tp5138098p5139888.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] View PDF file in App

2012-01-12 Thread Marc Reiter
We use PDFs to view some content in iOS by the help of monotouch. As I can
see PDF is not included in Android as in iOS. Does someone have a solution
to view PDF files. Or do you know an other way to view a 100 page document
within a Android app?

We want to distribute the app for free, but we don't want to publish source
code. So some solutions can end up in licence problems.

Regards marc

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/View-PDF-file-in-App-tp5140064p5140064.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] View PDF file in App

2012-01-12 Thread Daniele Salvatore Albano
Consider that in Android, if you don't need that the view pdf feature
is part of your software, you can broadcast an intent so a registered
app will start and show the pdf.

Naturally when the final user will go back, your last activity will be shown.

Specifically, you can try an ACTION_VIEW intent with a uri pointing to
the file (just be sure that the file is world readable putting it on
sd or using MODE_WORLD_READABLE) and application/pdf as mime type.
You can try to force the package setting it to com.adobe.reader, but
if adobe reader isn't installed it will file.

2012/1/12 Marc Reiter :
> We use PDFs to view some content in iOS by the help of monotouch. As I can
> see PDF is not included in Android as in iOS. Does someone have a solution
> to view PDF files. Or do you know an other way to view a 100 page document
> within a Android app?
>
> We want to distribute the app for free, but we don't want to publish source
> code. So some solutions can end up in licence problems.
>
> Regards marc
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/View-PDF-file-in-App-tp5140064p5140064.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



-- 
Daniele Salvatore Albano
---
IT Consultant
Website Design and Development
Software Engineer and Developer
Linux Servers SetUp And Administration
Embedded Network Solutions

http://www.daccii.it
http://www.itechcon.it
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] View PDF file in App

2012-01-12 Thread Marc Reiter
Yes, but i have a content search, so if user put in a part or item number
then it navigates to the page with relevant informations.
So this would be more complex by doing it outside?


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/View-PDF-file-in-App-tp5140064p5140134.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] View PDF file in App

2012-01-12 Thread Jonathan Pryor
On Jan 12, 2012, at 9:42 AM, Daniele Salvatore Albano wrote:
> Naturally when the final user will go back, your last activity will be shown.

Bwa-ha-ha-ha-ha-ha-ha *cough* *splutter*.

While I agree that creating a new Intent to display a PDF is The Android Way, 
tapping the Back button MAY not, necessarily, display the last activity.

Case in point: use an Intent to open a web page. This will bring Browser to the 
foreground, and pressing the Back button will not return to your activity, but 
instead will go back one page in Browser's history.

This is a long-standing complaint by "Apple fanbois": as a user, you never know 
what the Back button is going to do, as it depends on whether the current app 
has decided to override the default behavior.

That said, using an Intent to launch a web page/PDF/etc. is The Android Way, 
and may be perfectly acceptable...assuming that PDFs can be handled. 
(Presumably they can by Browser, at least, though I haven't actually tried 
this.)

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] VS2010 crash on F5

2012-01-12 Thread subsembly
Hi,

where do I find the "release notes"? I can't find them anywhere in the
documentation linked from xamarin.com.

Also, how can I check which version of Mono for Android is currently
integrated in VisualStudio? Can't find any "about" dialog or something.

Finally: I just downloaded the free preview, but it seems that it only
supports MonoDevelop now, and VisualStudio is no longer supported. Is this
true?


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/VS2010-crash-on-F5-tp5135114p5140214.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] VS2010 crash on F5

2012-01-12 Thread Jonathan Pobst
On 1/12/2012 9:33 AM, subsembly wrote:
> where do I find the "release notes"? I can't find them anywhere in the
> documentation linked from xamarin.com.

http://android.xamarin.com/Releases

I've asked the web team if they can add a link to that somewhere.

> Also, how can I check which version of Mono for Android is currently
> integrated in VisualStudio? Can't find any "about" dialog or something.

In VS, Help -> About Visual Studio -> Install products

> Finally: I just downloaded the free preview, but it seems that it only
> supports MonoDevelop now, and VisualStudio is no longer supported. Is this
> true?

Visual Studio is still supported, the plugin is automatically installed 
if you have VS2010 installed.

I passed this on the installer guy.  Apparently the installer never 
mentions Visual Studio.  It would be nice if it did.

Jonathan
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


[mono-android] mapping sample

2012-01-12 Thread Wally McClure

Does anyone have a mapping sample that I can use that use the integrated google 
maps support?  I am looking for something that displays a location and then 
just puts some points on the resulting map.  I have a need for something 
simple, but am in a time crunch.  Any help is appreciated.

Waly
  ___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] MonoDevelop updater problem.

2012-01-12 Thread jheerman
Has anyone resolved this?  I still get the error every time I fire up
MonoDevelop on OSX Lion.  I'm running the latest stable build for both
MonoDevelop and M4A.  Unsure if it's an activation issue or a bug.  Please
advise.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/MonoDevelop-updater-problem-tp5058157p5140990.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] mapping sample

2012-01-12 Thread Tomasz Cielecki
I have a sample on my github with an itemized overlay.
http://github.com/Cheesebaron
It should be the one called SimpleOverlay or something like that (writing
this from my phone)
On Jan 12, 2012 8:52 PM, "Wally McClure" 
wrote:

>  Does anyone have a mapping sample that I can use that use the integrated
> google maps support?  I am looking for something that displays a location
> and then just puts some points on the resulting map.  I have a need for
> something simple, but am in a time crunch.  Any help is appreciated.
>
> Waly
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

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