Re: [mono-android] Open Pdf

2011-06-23 Thread jnmahi
Hi all ,
   i am using intent to display my pdf ... i want that in my intent
there will be two buttons with pdf also so that on clicking button user can
move forward or backword  how to achive this kind of functionlity 
Thanks in advance 

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Open-Pdf-tp4490793p4516547.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] A new activity with parameters of old activity

2011-06-23 Thread david.chhang
Thank you very much, it works !!!

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/A-new-activity-with-parameters-of-old-activity-tp4514263p4517805.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] Maintaining state

2011-06-23 Thread Dean Cleaver
According to what I've read, if I start my app, navigate through to a different 
screen, then press the home button to run another app, when I return to my app, 
it should return to where it left off?

Currently, it's returning to the first screen, and my first activity is getting 
called (OnCreate). Have I done something wrong, or is this expected?

How can I get it to return to the screen the user left from?

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

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


Re: [mono-android] Maintaining state

2011-06-23 Thread Glen Hassell
Hi,
http://developer.android.com/reference/android/app/Activity.html
Activity entire lifetime happens between first call to onCreate(Bundle)
through to a single final call to onDestroy().
http://docs.mono-android.net/Android.App.Activity.OnSaveInstanceState(Android.OS.Bundle)
Visible lifetime of activity happens between call to onStart() until call to
onStop()... Everything else is like this;

public class Activity extends ApplicationContext {
 protected void onCreate(Bundle savedInstanceState);
 protected void onStart();
 protected void onRestart();
 protected void onResume();
 protected void onPause();
 protected void onStop();
 protected void onDestroy();
 }

Monodroid implementation is as such;

View.OnSaveInstanceState ()

OnSaveInstanceState ()
Syntax
protected virtual Android.OS.IParcelable OnSaveInstanceState ()
Return 
ValueAndroid.OS.IParcelable
Remarks

Hook allowing a view to generate a representation of its internal state that
can later be used to create a new instance with that same state. This state
should only contain information that is not persistent or can not be
reconstructed later. For example, you will never store your current position
on screen because that will be computed again when a new instance of the
view is placed in its view hierarchy.



On Fri, Jun 24, 2011 at 8:49 AM, Dean Cleaver <
dean.clea...@xceptionsoftware.com> wrote:

>  According to what I’ve read, if I start my app, navigate through to a
> different screen, then press the home button to run another app, when I
> return to my app, it should return to where it left off?
>
> ** **
>
> Currently, it’s returning to the first screen, and my first activity is
> getting called (OnCreate). Have I done something wrong, or is this expected?
> 
>
> ** **
>
> How can I get it to return to the screen the user left from?
>
> ** **
>
> Dino
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Glen Hassell
Inner Technique
http://innertech.com.au/
Office: 03 9687 0006
Mobile: +61 (0) 438 340 385
___
Monodroid mailing list
Monodroid@lists.ximian.com

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