i copied the font cairo under mobile.shared project in ui/assets folder then i added the font int app.xaml in the same project and reference it in label control
<!-- font families -->
<OnPlatform x:Key="RegularFontFamily" x:TypeArguments="x:String">
<On Platform="iOS">HelveticaNeue</On>
<On Platform="Android">/UI/Assets/Cairo-Black.ttf#Cairo-Black</On>
<!--<On Platform="Android">sans-serif</On>-->
</OnPlatform>
<!-- STYLES -->
<Style TargetType="Label" ApplyToDerivedTypes="True" CanCascade="True">
<Setter Property="FontFamily" Value="{StaticResource RegularFontFamily}" />
<Setter Property="FontSize" Value="{ StaticResource BaseFontSize }" />
<Setter Property="TextColor" Value="{ StaticResource LabelColor }" />
</Style>
but it does not show .
selected the cairo.ttf file and set the build mode as content, and always copy.
it throws error "Java.Lang.RuntimeException: native typeface cannot be made "
but i loaded the same font in paint or word it works fine so the .ttf file is not corrupt, also i tried various combinations of file name in lowercase,uppercase with spaces but does not work.
thanks Anwar
hello,
Do you have a document which shows how to call 3rd party APIs from mobile shared application. An Example would be appreciated.
thanks Regards Anwar
any input on this
<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type='text/xsl' href='freb.xsl'?> <!-- saved from url=(0014)about:internet --> <failedRequest url="http://localhost:62114/favicon.ico" siteId="2" appPoolId="Clr4IntegratedAppPool" processId="11164" verb="GET" remoteUserName="" userName="" tokenUserName="DESKTOP-8BDDUKQ\Apple" authenticationType="anonymous" activityId="{80000003-0003-FF00-B63F-84710C7967BB}" failureReason="STATUS_CODE" statusCode="400" triggerStatusCode="400" timeTaken="9015" xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
full request file sent by email
send tracelog file as attahment in email....
this is the log
DEBUG 2018-11-29 18:25:02,338 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
DEBUG 2018-11-29 18:25:02,698 [1 ] Abp.Modules.AbpModuleManager - Found 23 ABP modules in total.
DEBUG 2018-11-29 18:25:02,749 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.Startup.SchedWebMvcModule, NOOR.Sched.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,753 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.SchedWebCoreModule, NOOR.Sched.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,754 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedApplicationModule, NOOR.Sched.Application, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,754 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedCoreModule, NOOR.Sched.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,755 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,755 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,755 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,756 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,757 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,757 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.AbpAspNetZeroCoreModule, Abp.AspNetZeroCore, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,758 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.MailKit.AbpMailKitModule, Abp.MailKit, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,758 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.EntityFrameworkCore.SchedEntityFrameworkCoreModule, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,759 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,759 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,760 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,760 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerEntityFrameworkCoreModule, Abp.ZeroCore.IdentityServer4.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,760 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerModule, Abp.ZeroCore.IdentityServer4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,761 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.Web.AbpAspNetZeroCoreWebModule, Abp.AspNetZeroCore.Web, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,761 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,762 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,762 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.SignalR.AbpWebSignalRModule, Abp.Web.SignalR, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,762 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Runtime.Caching.Redis.AbpRedisCacheModule, Abp.RedisCache, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,763 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:02,773 [1 ] Abp.Modules.AbpModuleManager - 23 modules loaded.
DEBUG 2018-11-29 18:25:03,039 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-11-29 18:25:03,039 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-11-29 18:25:03,039 [1 ] o.Configuration.LanguageManagementConfig - Converted Sched (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-11-29 18:25:03,039 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-11-29 18:25:04,178 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: NOOR.Sched.EntityFrameworkCore.SchedDbContext, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-11-29 18:25:05,796 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
DEBUG 2018-11-29 18:25:05,811 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
DEBUG 2018-11-29 18:25:05,829 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
DEBUG 2018-11-29 18:25:05,884 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Sched
DEBUG 2018-11-29 18:25:05,886 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
DEBUG 2018-11-29 18:25:06,060 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2018-11-29 18:25:06,178 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Found 14 classes define auto mapping attributes
DEBUG 2018-11-29 18:25:06,178 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Friendships.Cache.FriendCacheItem
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Views.Shared.Components.TenantChange.TenantChangeViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Models.TenantRegistration.EditionsSelectViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Models.TenantRegistration.TenantRegisterResultViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Users.CreateOrEditUserModalViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Users.UserPermissionsEditViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Tenants.TenantFeaturesEditViewModel
DEBUG 2018-11-29 18:25:06,185 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.SubscriptionManagement.PaymentResultViewModel
DEBUG 2018-11-29 18:25:06,186 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Roles.CreateOrEditRoleModalViewModel
DEBUG 2018-11-29 18:25:06,186 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Profile.MySettingsViewModel
DEBUG 2018-11-29 18:25:06,186 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.OrganizationUnits.EditOrganizationUnitModalViewModel
DEBUG 2018-11-29 18:25:06,186 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Languages.CreateOrEditLanguageModalViewModel
DEBUG 2018-11-29 18:25:06,186 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Areas.App.Models.Editions.CreateOrEditEditionModalViewModel
DEBUG 2018-11-29 18:25:15,927 [1 ] enancy.SubscriptionExpirationCheckWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpirationCheckWorker
DEBUG 2018-11-29 18:25:15,930 [1 ] cy.SubscriptionExpireEmailNotifierWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpireEmailNotifierWorker
``