User Profile & Activity

Ryan Herman Member
Page
of 3
Posted: September 25, 2014 1:10 AM

Do I need to add android and iOS specific platforms to the Facebook developer account?

Posted: September 25, 2014 12:41 AM

I realized I didn't have Facebook installed on my Android.  After installing it, the app just sits there and says Loading...  So I think they need to check on two things, if the user does not have Facebook installed, on the call back the device won't understand fb9329392://auth; if the facebook app is installed, it should process the login but it is not.

On Windows Phone I have no idea why it does nothing.

Posted: September 15, 2014 11:15 PM

I'm having a problem with AddViewModelBinding, its not finding the refrence.  I changed it to AddBinding but it doesn't do anything.

So I have to hardcode the entire top part?  Is there anyway I can make each portion in XIB & XAML and have it load as the header?

Posted: September 10, 2014 5:13 AM

Maybe I didn't explain what I'm trying to do correctly...  Look at the picture I have attached

The top part of the view has a banner image with a button, and the bottom has the listview/tableview.  I've done this in iOS many times.



Posted: August 28, 2014 5:15 AM

Exception of type 'Java.Lang.IllegalArgumentException' was thrown but first I see the attached screenshot.


Posted: August 28, 2014 4:52 AM

For the facebook I get the following error:

Error 4 Cannot implicitly convert type 'System.Threading.Tasks.Task<Intersoft.Crosslight.Services.Social.IUserProfile>' to 'Intersoft.Crosslight.Services.Social.UserProfile' C:\Users\xxx\Dropbox (Personal)\xxx\xxx\xxx.Core\ViewModels\xxxViewModel.cs 256 51 xxx.Core


Posted: August 28, 2014 2:45 AM

1) This did not help, it still says no refrence found.  Do I have to add it manually to another file?

2) How do I get the license file to work?  I put in my runtime code and its not working and I've tried pasting the entire XML file but there are problems when it comes to the quotations.


3). Yes just simple binding to load up a webpage


Thank you for the other response, I have not right the Facebook yet.

Posted: August 13, 2014 1:05 PM

Oh my code didn't post.  

I'd really like to change the background image on the LinearLayout if possible to different images at runtime.  This works fine in iOS but not in Android.  Can't get the source to change.  Let me know if I can change the background of the LinearLayout as well.

using Intersoft.Crosslight;
namespace Incroud
{
    public class SimpleBindingProvider : BindingProvider
    {
        #region Constructors

        public SimpleBindingProvider()
        {
			this.AddBinding ("LoginButton", BindableProperties.CommandProperty, "LoginCommand");
			this.AddBinding ("SignUpButton", BindableProperties.CommandProperty, "SignupCommand");
			this.AddBinding ("background", BindableProperties.ImageSourceProperty, "Image");

        }

        #endregion
    }
}

   public class SimpleViewModel : ViewModelBase
    {
        #region Fields
		private string _image;
        #endregion

        #region Properties
		public string Image
		{
			get { return _image; }
			set
			{
				if (_image != value)
				{
					_image = value;
					OnPropertyChanged("Image");
				}
			}
		}

      public SimpleViewModel()
        {
  this.Image = "fb_button.png";
await TaskEx.Delay (100);
this.Image = "anotherImage.png";
}
      

 

Posted: August 11, 2014 7:40 PM

Fixed it...  I had to Add BCL Packages to the Core.

All times are GMT -5. The time now is 1:34 AM.
Previous Next