Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

error connecting to wcf service 'The operation has timed out'

$
0
0

Hi,
I built an app in xamarin forms +wcf service sometime ago and every thing was fine, trying to build it with Visual studio 2017 and/or latest xamarin studio the iOS version gives below error, changed HttpClient impliesementation/ tbs provider settings but all in vain any help?

{System.TimeoutException: The operation has timed out.
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_delegate_end_invoke (object,intptr)
at (wrapper delegate-end-invoke) :end_invoke_object__this___object[]&_IAsyncResult (object[]&,System.IAsyncResult)
at System.ServiceModel.MonoInternal.ClientRuntimeChannel.EndProcess (System.Reflection.MethodBase method, System.String operationName, System.Object[] parameters, System.IAsyncResult result) [0x0001f] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.10.0.33/src/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:460
at System.ServiceModel.ClientBase1+ChannelBase1[TChannel,T].EndInvoke (System.String methodName, System.Object[] args, System.IAsyncResult result) [0x00045] in <6791b27a07b541afb3eca267518ea37b>:0
at OLSajAvexClient+OLSajAvexClientChannel.EndLogin (System.IAsyncResult result) [0x00010] in /Users/avjetroutingprogram/Projects/AVEX/AVEX/olsajavexmgr.cs:6732
at OLSajAvexClient.IOLSajAvex.EndLogin (System.IAsyncResult result) [0x00008] in /Users/avjetroutingprogram/Projects/AVEX/AVEX/olsajavexmgr.cs:5592
at OLSajAvexClient.EndLogin (System.IAsyncResult result, System.String& FullName, avfs.OLSajAvexMgr.OLSettingsCls& Settings) [0x00003] in /Users/avjetroutingprogram/Projects/AVEX/AVEX/olsajavexmgr.cs:5598
at OLSajAvexClient.OnEndLogin (System.IAsyncResult result) [0x00015] in /Users/avjetroutingprogram/Projects/AVEX/AVEX/olsajavexmgr.cs:5615
at System.ServiceModel.ClientBase`1+<>c__DisplayClass39_0[TChannel].b__0 (System.IAsyncResult ar) [0x00006] in <6791b27a07b541afb3eca267518ea37b>:0 }


Integrating PJSIP 2.6 (PJSUA2) Native libraries with Xamarin.iOS (TypeInitializationException)

$
0
0

Hi Xamarin Forums,

I am having difficulty integrating PJSIP Native libraries into my Xamarin.iOS project. I have completed the following steps, but am encountering a System.TypeInitializationException when attempting to create a new Endpoint instance. I do not understand where in the library it would attempt to JIT on iOS. Any assistance is much appreciated.

Libraries / SDK versions:

  • Opus Codec Library 1.1.4
  • PJSIP 2.6 (PJSUA2)
  • Xamarin Studio 6.3
  • Xcode 8.3.2
  • iOS SDK 10.3

Built Opus codec library (PJSIP + Opus)

Built PJSIP library (PJSIP Getting Started iPhone)

  • Built each architecture individually
    ARCHS="arm64 armv7 armv7s i386 x86_64"

  • Unified all architectures
    lipo -arch armv7 armv7/$filename -arch armv7s armv7s/$filename -arch arm64 arm64/$filename -arch i386 i386/$filename -arch x86_64 x86_64/$filename -create -output unified/$filename

Added PJSUA2 to Xamarin.iOS project (Xamarin Native Libraries)

  • Added PJSUA2 Headers
    /pjsip/unified/pjsua2/*.cs

  • Added PJSUA2 Libraries
    /pjsip/unified/*.a (skipped libpjsdp.a, since already linked in libpsjua.a)

  • Added mtouch extra arguments
    -cxx -gcc_flags "-L${ProjectDir}/lib/ -lg7221codec-apple-darwin_ios -force_load ${ProjectDir}/lib/libg7221codec-apple-darwin_ios.a -lgsmcodec-apple-darwin_ios -force_load ${ProjectDir}/lib/libgsmcodec-apple-darwin_ios.a -lilbccodec-apple-darwin_ios -force_load ${ProjectDir}/lib/libilbccodec-apple-darwin_ios.a -lpj-apple-darwin_ios -force_load ${ProjectDir}/lib/libpj-apple-darwin_ios.a -lpjlib-util-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjlib-util-apple-darwin_ios.a -lpjmedia-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-apple-darwin_ios.a -lpjmedia-audiodev-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-audiodev-apple-darwin_ios.a -lpjmedia-codec-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-codec-apple-darwin_ios.a -lpjmedia-videodev-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-videodev-apple-darwin_ios.a -lpjnath-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjnath-apple-darwin_ios.a -lpjsip-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-apple-darwin_ios.a -lpjsip-simple-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-simple-apple-darwin_ios.a -lpjsip-ua-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-ua-apple-darwin_ios.a -lpjsua-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsua-apple-darwin_ios.a -lpjsua2-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsua2-apple-darwin_ios.a -lpjsua2_wrap -force_load ${ProjectDir}/lib/libpjsua2_wrap.a -lresample-apple-darwin_ios -force_load ${ProjectDir}/lib/libresample-apple-darwin_ios.a -lspeex-apple-darwin_ios -force_load ${ProjectDir}/lib/libspeex-apple-darwin_ios.a -lsrtp-apple-darwin_ios -force_load ${ProjectDir}/lib/libsrtp-apple-darwin_ios.a -lwebrtc-apple-darwin_ios -force_load ${ProjectDir}/lib/libwebrtc-apple-darwin_ios.a -lyuv-apple-darwin_ios -force_load ${ProjectDir}/lib/libyuv-apple-darwin_ios.a -lopus -force_load ${ProjectDir}/lib/libopus.a"

Built Debug -> iOS Device

  • Compiles and Links without Errors

Ran built project

  • Encounter TypeInitializationException upon instantiating an Endpoint
  • Pjsua2Manager.cs:164
    var mEP = new Endpoint();

  • Exception
    System.TypeInitializationException: The type initializer for "pjsua2PINVOKE" threw an exception. ---> System.TypeInitializationException: The type initializer for "SWIGExceptionHelper" threw an exception. ---> System.ExecutionEngineException: Attempting to JIT compile method "(wrapper native-to-managed) pjsua2PINVOKE/SWIGExceptionHelper:SetPendingApplicationException (intptr)" while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.

      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_delegate_to_ftnptr (object)
      at (wrapper managed-to-native) pjsua2PINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_pjsua2 (pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate)
      at pjsua2PINVOKE+SWIGExceptionHelper..cctor () [0x00126] in /Voip.iOS/lib/pjsua2/pjsua2PINVOKE.cs:104
       --- End of inner exception stack trace ---
      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
      at pjsua2PINVOKE..cctor () [0x00000] in /Voip.iOS/lib/pjsua2/pjsua2PINVOKE.cs:124
       --- End of inner exception stack trace ---
      at Endpoint..ctor () [0x00001] in /Voip.iOS/lib/pjsua2/Endpoint.cs:48
      at Voip.iOS.Main.InCall.Pjsua2Manager._InitLibrary () [0x00013] in Voip.iOS/Main/InCall/Pjsua2Manager.cs:164
    

Integrating PJSIP 2.6 (PJSUA2) Native libraries with Xamarin.iOS (TypeInitializationException)

$
0
0

Hi Xamarin Forums,

(X-posted in Cross-Platform)

I am having difficulty integrating PJSIP Native libraries into my Xamarin.iOS project. I have completed the following steps, but am encountering a System.TypeInitializationException when attempting to create a new Endpoint instance. I do not understand where in the library it would attempt to JIT on iOS. Any assistance is much appreciated.

Libraries / SDK versions:

  • Opus Codec Library 1.1.4
  • PJSIP 2.6 (PJSUA2)
  • Xamarin Studio 6.3
  • Xcode 8.3.2
  • iOS SDK 10.3

Built Opus codec library (PJSIP + Opus)

Built PJSIP library (PJSIP Getting Started iPhone)

  • Built each architecture individually
    ARCHS="arm64 armv7 armv7s i386 x86_64"

  • Unified all architectures
    lipo -arch armv7 armv7/$filename -arch armv7s armv7s/$filename -arch arm64 arm64/$filename -arch i386 i386/$filename -arch x86_64 x86_64/$filename -create -output unified/$filename

Added PJSUA2 to Xamarin.iOS project (Xamarin Native Libraries)

  • Added PJSUA2 Headers
    /pjsip/unified/pjsua2/*.cs

  • Added PJSUA2 Libraries
    /pjsip/unified/*.a (skipped libpjsdp.a, since already linked in libpsjua.a)

  • Added mtouch extra arguments
    -cxx -gcc_flags "-L${ProjectDir}/lib/ -lg7221codec-apple-darwin_ios -force_load ${ProjectDir}/lib/libg7221codec-apple-darwin_ios.a -lgsmcodec-apple-darwin_ios -force_load ${ProjectDir}/lib/libgsmcodec-apple-darwin_ios.a -lilbccodec-apple-darwin_ios -force_load ${ProjectDir}/lib/libilbccodec-apple-darwin_ios.a -lpj-apple-darwin_ios -force_load ${ProjectDir}/lib/libpj-apple-darwin_ios.a -lpjlib-util-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjlib-util-apple-darwin_ios.a -lpjmedia-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-apple-darwin_ios.a -lpjmedia-audiodev-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-audiodev-apple-darwin_ios.a -lpjmedia-codec-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-codec-apple-darwin_ios.a -lpjmedia-videodev-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjmedia-videodev-apple-darwin_ios.a -lpjnath-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjnath-apple-darwin_ios.a -lpjsip-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-apple-darwin_ios.a -lpjsip-simple-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-simple-apple-darwin_ios.a -lpjsip-ua-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsip-ua-apple-darwin_ios.a -lpjsua-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsua-apple-darwin_ios.a -lpjsua2-apple-darwin_ios -force_load ${ProjectDir}/lib/libpjsua2-apple-darwin_ios.a -lpjsua2_wrap -force_load ${ProjectDir}/lib/libpjsua2_wrap.a -lresample-apple-darwin_ios -force_load ${ProjectDir}/lib/libresample-apple-darwin_ios.a -lspeex-apple-darwin_ios -force_load ${ProjectDir}/lib/libspeex-apple-darwin_ios.a -lsrtp-apple-darwin_ios -force_load ${ProjectDir}/lib/libsrtp-apple-darwin_ios.a -lwebrtc-apple-darwin_ios -force_load ${ProjectDir}/lib/libwebrtc-apple-darwin_ios.a -lyuv-apple-darwin_ios -force_load ${ProjectDir}/lib/libyuv-apple-darwin_ios.a -lopus -force_load ${ProjectDir}/lib/libopus.a"

Built Debug -> iOS Device

  • Compiles and Links without Errors

Ran built project

  • Encounter TypeInitializationException upon instantiating an Endpoint
  • Pjsua2Manager.cs:164
    var mEP = new Endpoint();

  • Exception
    System.TypeInitializationException: The type initializer for "pjsua2PINVOKE" threw an exception. ---> System.TypeInitializationException: The type initializer for "SWIGExceptionHelper" threw an exception. ---> System.ExecutionEngineException: Attempting to JIT compile method "(wrapper native-to-managed) pjsua2PINVOKE/SWIGExceptionHelper:SetPendingApplicationException (intptr)" while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.

      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_delegate_to_ftnptr (object)
      at (wrapper managed-to-native) pjsua2PINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_pjsua2 (pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate,pjsua2PINVOKE/SWIGExceptionHelper/ExceptionDelegate)
      at pjsua2PINVOKE+SWIGExceptionHelper..cctor () [0x00126] in /Voip.iOS/lib/pjsua2/pjsua2PINVOKE.cs:104
       --- End of inner exception stack trace ---
      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
      at pjsua2PINVOKE..cctor () [0x00000] in /Voip.iOS/lib/pjsua2/pjsua2PINVOKE.cs:124
       --- End of inner exception stack trace ---
      at Endpoint..ctor () [0x00001] in /Voip.iOS/lib/pjsua2/Endpoint.cs:48
      at Voip.iOS.Main.InCall.Pjsua2Manager._InitLibrary () [0x00013] in Voip.iOS/Main/InCall/Pjsua2Manager.cs:164
    

How to change the font size of Title in Navigationbar in Xamarin UWP?

$
0
0

I would like to change the font size for title in navigationbar in Xamarin UWP. Also would like to get title in center of navigationbar. How can i achieve it. I am not able find a solution for it. I tried with custom renderers. Nothing seems to work. Has anyone implemented it.

UITableView mvvm light binding

$
0
0

Question to all MVVM Light experts here:

I am looking for some to explain how to properly use the GetTableViewSource overloads to provide data source for the UITableView. I do have the code in it's simplest form and it even works:) But I hope someone can help me to better understand all the details and especially how to properly do cell reuse and how to work with custom cells.

GetTableViewSource method has option func parameter. What is benefit of using it?

private ObservableTableViewSource<KeyValuePair<string, string>>

public override void ViewDidLoad()
{
     _punchSource = vmDayTime.PunchesData.GetTableViewSource(CreatePunchCell, PopulatePunchCell);
         PunchList.Source = _punchSource;
}

private void PopulatePunchCell(UITableViewCell cell, KeyValuePair<string, string> punch, NSIndexPath path)
{
            cell.TextLabel.Text = punch.Key;
            cell.DetailTextLabel.Text = punch.Value;
}

private UITableViewCell CreatePunchCell(NSString cellIdentifier)
{
//This is NOT the proper cell reuse, correct?
            var cell = new UITableViewCell(UITableViewCellStyle.Default, null);
            return cell;
}

Thank you very much.

Adding a contact: no review form shown

$
0
0

Hi there, I used to add contacts programmatically using ABPerson but since I'm now only supporting iOS 9 and iOS 10, I want to move to using CNContact. Another reason for switching is that I figured out that suddenly I cannot add contacts anymore using ABPerson.

My application is using Xamarin.Forms and I call this method from my PCL using dependency, just as usual.

My adapted code is as follows (member being a domain object of mine):

var contact = new CNMutableContact ();

// Common properties
contact.GivenName = member.FirstName;
contact.MiddleName = member.MiddleName;
contact.FamilyName = member.LastName;
contact.Birthday = new NSDateComponents () {
    Day = member.Birthday.Day,
    Month = member.Birthday.Month,
    Year = member.Birthday.Year
};
contact.OrganizationName = member.Company;
contact.JobTitle = member.ProfessionTitle;

// TODO: other properties

// Store the contact
var store = new CNContactStore();
var editor = CNContactViewController.FromNewContact (contact);

editor.ContactStore = store;
editor.AllowsActions = true;
editor.AllowsEditing = true;

// Display picker
var navigation = new UINavigationController (editor);
editor.NavigationItem.LeftBarButtonItem = new UIBarButtonItem ("Done",
    UIBarButtonItemStyle.Plain,
    (s, e) => navigation.DismissViewController (true, null));

// Display the view
UIApplication.SharedApplication.KeyWindow.RootViewController.PresentViewController (navigation, true, null);

The part preparing a view and showing it with UIApplication.SharedApplication... used to work but now just does nothing!

Could someone please point me out what I'm obviously forgetting to do? Thanks

iOS Crash When Entering Text

$
0
0

I am getting an intermittent crash that I'm not sure how to debug. Sometimes when entering text my app will just die. Nothing gets reported to Xamarin Insights. I have captured the device log (below), but I don't know what to do with this information.

My best guess is that UIKit is trying to update a disposed object. Unfortunately, this is a large project and I have no idea what UIKit is updating.

https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.iOS/VisualElementTracker.cs#L204
https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.iOS/CADisplayLinkTicker.cs#L57

I have included the native dump for thread 10, which is the crashing thread.

Any help is greatly appreciated.

John

Incident Identifier: 1963AFEB-1C52-46A9-894D-3C6F498A1DF0
CrashReporter Key:   c990811d7dba452bedb7965d77b5fdb59f369240
Hardware Model:      iPod7,1
Process:             MyApp [261]
Path:                /private/var/containers/Bundle/Application/400D46A5-7536-4025-9D2C-C6C0C0DFFC56/MyApp.app/MyApp
Identifier:          com.tochilife.oils
Version:             3.1.24 (3.1.24)
Code Type:           ARM-64 (Native)
Role:                Foreground

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020
Triggered by Thread:  10

Application Specific Information:
abort() called


Thread 10 name:  tid_aa03
Thread 10 Crashed:
0   libsystem_kernel.dylib          0x0000000186409014 __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001864d3264 pthread_kill + 112
2   libsystem_c.dylib               0x000000018637d9c4 abort + 140
3   MyApp                           0x000000010022198c mono_handle_native_sigsegv (mini-exceptions.c:2462)
4   MyApp                           0x000000010022cf8c mono_sigsegv_signal_handler (mini-runtime.c:2906)
5   libsystem_platform.dylib        0x00000001864cd31c _sigtramp + 52
6   QuartzCore                      0x000000018a76ad34 CA::AttrList::set(unsigned int, _CAValueType, void const*) + 444
7   QuartzCore                      0x000000018a750fc8 CAAnimation_setter(CAAnimation*, unsigned int, _CAValueType, void const*) + 188
8   QuartzCore                      0x000000018a74a880 -[CAAnimation setDelegate:] + 32
9   UIKit                           0x000000018d56f5dc -[UIViewAnimationState setAnimationAttributes:correctZeroDuration:skipDelegateAssignment:customCurve:] + 916
10  UIKit                           0x000000018d817f38 -[UIViewAnimationState animationForLayer:forKey:forView:] + 1156
11  UIKit                           0x000000018d56f068 -[UIViewAnimationState actionForLayer:forKey:forView:] + 120
12  UIKit                           0x000000018d533100 +[UIView(Animation) _defaultUIViewActionForLayer:forKey:] + 120
13  UIKit                           0x000000018ddae4c0 -[UIView(UIKitManual) actionForLayer:forKey:] + 116
14  QuartzCore                      0x000000018a720dfc -[CALayer actionForKey:] + 100
15  QuartzCore                      0x000000018a71c484 actionForKey(CALayer*, CA::Transaction*, NSString*) + 88
16  QuartzCore                      0x000000018a71c3fc CA::Layer::begin_change(CA::Transaction*, unsigned int, objc_object*&) + 172
17  QuartzCore                      0x000000018a71c7ec CA::Layer::setter(unsigned int, _CAValueType, void const*) + 156
18  MyApp                           0x0000000101000b44 wrapper_managed_to_native_ObjCRuntime_Messaging_objc_msgSend_intptr_intptr_CoreAnimation_CATransform3D (/<unknown>:1)
19  MyApp                           0x0000000100f87430 CoreAnimation_CALayer_set_Transform_CoreAnimation_CATransform3D (CALayer.g.cs:2227)
20  MyApp                           0x0000000100edc7c4 Xamarin_Forms_Platform_iOS_VisualElementTracker__c__DisplayClass23_0__OnUpdateNativeControlb__0 (/C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:204)
21  MyApp                           0x0000000100ed5740 Xamarin_Forms_Platform_iOS_CADisplayLinkTicker_StartThread (/C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\CADisplayLinkTicker.cs:57)
22  MyApp                           0x00000001008baefc System_Threading_ThreadHelper_ThreadStart_Context_object + 188
23  MyApp                           0x00000001008b8e1c System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 428
24  MyApp                           0x00000001008b8c5c System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 44
25  MyApp                           0x00000001008b8bd4 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 84
26  MyApp                           0x00000001008bb044 System_Threading_ThreadHelper_ThreadStart + 52
27  MyApp                           0x00000001009f3574 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
28  MyApp                           0x00000001002301a8 mono_jit_runtime_invoke (mini-runtime.c:2552)
29  MyApp                           0x00000001002a8588 do_runtime_invoke (object.c:2820)
30  MyApp                           0x00000001002da618 start_wrapper (threads.c:770)
31  MyApp                           0x000000010032b9d4 inner_start_thread (mono-threads.c:1183)
32  libsystem_pthread.dylib         0x00000001864d168c _pthread_body + 240
33  libsystem_pthread.dylib         0x00000001864d159c _pthread_body + 0
34  libsystem_pthread.dylib         0x00000001864cecb4 thread_start + 4

ListView wrong position

$
0
0

Hello Guys,
I need your help. Unfortunately, i cannot find out the right solution. I have a Listview with custom elements. Everything is fine until the adapter starts to reuse the views. After the first reused row it looks they have the same reference. I set thet EditText's Text property to "5" and scrolled to the top the first row has the same value. I tried out most of the found suggestion on the site and on the internet but i failed every time. The common thing is to use ViewHolders and storing data (position, ViewHolder) in the Tag property. This sample solution worked: appliedcodelog.com/2015/07/working-on-issues-with-listview-in.html#WrongPosition but i can add new items to the ListView by button click and i have Spinners and EditText instead of CheckBox.

Thank you in advance.


App crashes on newer phones (Notifications, AlwaysOnDisplay)

$
0
0

My app is crashing on a couple of devices. Both devices are running Nougat, and are LG phones (G5 and V20). These are the only two models that I have running Nougat, so I'm not sure if the problem is specific to LG phones, or all Nougat devices.

Here's what I notice while running through the debugger:

1) When it happens, I get the following message from the OS on the phone: "Unfortunately, Always-On Display has stopped".
2) I then get an Unhandled Exception. However, there is no stack trace provided in the Stack Trace window. When I click "Continue", I normally get a stack trace in the Output window, but not in this case.
3) I am using HockeyApp, and fortunately, HockeyApp DOES record a specific exception and a stack trace, but unfortunately it isn't very helpful. It contains NONE of my own code - Only system libraries. Here's what I get:

Java.Lang.RuntimeException: Bad notification posted from package [my package name]: Couldn't cache contentViews: package=[my package name]

Stack Trace:
android.app.RemoteServiceException: Bad notification posted from package com.elephanigma.starmygrooves: Couldn't cache contentViews: package=com.elephanigma.starmygrooves
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1675)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6247)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Xamarin caused by: Java.Lang.RuntimeException: Bad notification posted from package com.elephanigma.starmygrooves: Couldn't cache contentViews: package=com.elephanigma.starmygrooves
--- End of managed Java.Lang.RuntimeException stack trace ---
android.app.RemoteServiceException: Bad notification posted from package com.elephanigma.starmygrooves: Couldn't cache contentViews: package=com.elephanigma.starmygrooves
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1675)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6247)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)

The exception makes it sound like it has something to do with Android notifications. My app does not create any notifications itself, but it does use an open source package (Xamarin Media Manager) that does. The stack trace does not show any of that package's code either. I have tried stepping through the notification code, but the exception is not happening on any of the lines of code in that module. It doesn't crash until after exiting that code.

So, I'm not sure where to look. I have tried searching for this exception, and although I get a couple of hits for "Bad notification posted", none of them seem to address my issue. I do not get ANY hits for "Couldn't cache contentViews", other than a StackOverflow post that I made that hasn't received any responses since I posted it 2 months ago.

I think it's interesting that it ALWAYS happens in conjunction with the "Unfortunately, Always-On Display has stopped" message. I don't know if the Always-On Display app is crashing my app or vice versa. I don't know if this "Always-On Display" app is specific to LG phones, or if it's something that's part of the Nougat OS.

Any help would be greatly appreciated. I've been trying to find the source of this problem for a couple of months now, and I need to get it fixed.

How to set row height of a list view cell based on the screen width

$
0
0

I have an app where i'm trying to display images in a list view. It's one image per row but i want the image to goacross the whole width of the screen so I need it to get larger / smaller depending on the screen width. that's fine - i have that working but I therefore also need the height of the cell to adjust so that the aspect ratio of the image stays the same. That's also fine within the cell however i need the listView RowHeight to adjust based on that. Is there a simple way of telling the RowHeight to just expand based on the height of the cell or do i need to get the screen width and calculate it? the aspect ratio will always be the same so each image will be the same height.

java exit code 2 - too many references (multidex not fix the problem)

$
0
0

Hi,

In my project the build failed because I have too many references.
I try to enable multi-dex but this doesn't work nor proguard reduce the amount of reference.
I remove the package "Xamarin Android Support Library - Design" to reduce the amount of reference, but I need to use a CoordinatorLayout in the next version of my app.

How can I fix this problem?

Does anyone know how to detect whether a debugger is connected at runtime?

$
0
0

Working on a project which requires more security than a normal app and we are researching whether we could detect connected debugger at runtime and make security measures based on this. Does the platform allow any specific libraries to achieve this?

Hamburger icon appearing from adding MasterDetailPage, no idea why...

$
0
0

Attached is the image of the far left hamburger icon that is showing up on my app. I don't want this image to be there as I already have a custom hamburger icon from a toolbaritem.

I have tried making the icon and logo both transparent, assuming it was one of those, and it didn't change the image.

So I have no idea how to reach this item in order to alter it. Can anyone tell by the attached photo what this is and how to get rid of it?

How to Raise Behavior Validations on Submit Button Click?

$
0
0

Hi all,
I have used behaviors for validations in signup form and have written behaviors for empty entry, email and password match. These validations work fine but I want all the validations to be checked at the button click “Create Account” so when I click this button, empty entries ‘s color should change to red OR invalid UI controls should alert the user according to the behavior used. Can somebody help me with this ?Below are the given screenshots from code and UI.
Thanks

Xamarin.Forms 2.3.4.247

$
0
0

We've published service release 2.3.4.231 to address some priority issues based on your feedback. Thank you!

Important notes

  • Behavior Change (iOS): ViewDidDisappear may not be reliably called in custom renderers. Please be sure to override Dispose to do any object cleanup that you may be doing in ViewDidDisappear to prevent any possible memory leaks in your custom renderers. (53351)
  • Behavior Change (UWP): Desktop is now a supported Idiom, so your UWP apps will return this value on desktop contexts. Please be aware that Phone will still be returned in continuum scenarios.
  • Behavior Change: Merged ResourceDictionaries will now return a Count that is consistent with the content in the enumeration instead of the total Count of Resources.
  • Breaking Change: Attached Properties are now compiled when XamlC is enabled! If you have XamlC enabled, you must implement a public getter/setter for all attached properties to prevent a compile time error.

2.3.4.247-sr2

  • Fix XAMLC build errors in mono 5.0
  • Fix 55365 – ~VisualElement crashes with System.Runtime.InteropServices.COMException

2.3.4.231-sr1

  • [2.3.4] [Android] OnResume assumed that _application had been set (PR)
  • [Xaml] [2.3.4] Do not emit implict_op if from/to are same type (PR)
  • [C] [2.3.4] Lookup in ResourceDictionary also performans a lookup in merged ResourceDictionary (PR)
  • 54334 - "Styles will override properties on UI-Elements when changing resource dictionaries" (PR)

2.3.4.224

For highlights check out the blog announcement and for all the details review the full release notes.

If you have a bug to report, drop us a detailed report here so we can investigate.


Google Auth Error:disallowed_useragent

$
0
0

I am getting Google Auth Error:disallowed_useragent in iOS when I try to authenticate google login using xamarin.auth.Google Document says Google has changed its Oauth policies, with this it is intended that no native web views initiate Oauth flows.So now, how to authenticate google login using xamarin.auth ?

Not able to refrence a public Label on MainPage

$
0
0

I created the project template for Xamarin.Forms Cross Platform Shared Project
Made the Label public with FieldModifier

<Label Text="Welcome to Xamarin Forms!"
           x:Name="mylabel"
          ** x:FieldModifier="Public"**
           VerticalOptions="Center"
           HorizontalOptions="Center"
/>

Added a new class to the solution

created a new instance of the class
MainPage mp = new MainPage();

why can i not access mylabel from this instance?

mp.mylabel.text = "does not exist"

I have done this numerous times in my regular .net projects.****

Linker error building a release project with a binding project on XM3.4

$
0
0

Got an error building a release version of an app where I have a binding project against Sparkle that's just started failing as soon as I updated from Xamarin.Mac 3.0 to 3.4 (and the rest of the 15.2 release).

Attached is an example project that exhibits the problem - just do a release build and it'll fail. The relevant bit of the build log (I suspect) is this:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_SUUpdater", referenced from:
      objc-class-ref in registrar-4205f1.o
ld: symbol(s) not found for architecture x86_64
clang : error : linker command failed with exit code 1 (use -v to see invocation)

Any idea what's changed and that I'm doing wrong? As I say, built and worked previously, now won't build.

https://www.dropbox.com/s/1qv7tmp5fwi7oc4/TestSparkle.zip?dl=1

E/ArrayAdapter(21302): You must supply a resource ID for a TextView?

$
0
0

Hi, i am working on a xforms app that uses syncfusions SfAutoComplete control. On UWP the app works like a charm but on android the app hits a uncatched system exception whenever i try to use the SfAutoComplete box. The only part of the log in visual studio that makes any sense is "E/ArrayAdapter(21302): You must supply a resource ID for a TextView". What is this and how can i solve it?

Thanks in advance.

My XML
`<?xml version="1.0" encoding="utf-8" ?>

<ContentPage.Content>
    <ScrollView>
        <Grid>

            <Grid.RowDefinitions>
                <RowDefinition Height="4*" />
                <RowDefinition Height="6*" />
            </Grid.RowDefinitions>

            <RelativeLayout HeightRequest="40" VerticalOptions="Fill" Grid.Row="0">

                <Label Text="Group"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.1,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.1,}" />

                <custom:CustomSfAutoComplete HeightRequest="40" x:Name="acGroup"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.2,}"
                RelativeLayout.WidthConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.4,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.1,}" />

                <Button Text="Draw" x:Name="drawGraphBtn"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.6,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.1,}" />

                <Label Text="Stock"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.1,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.3,}" />

                <custom:CustomSfAutoComplete HeightRequest="40" x:Name="acStock"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.2,}"
                RelativeLayout.WidthConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.4,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.3,}" />

                <Label Text="Type"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.1,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.5,}" />

                <custom:CustomSfAutoComplete HeightRequest="40" x:Name="acType"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.2,}"
                RelativeLayout.WidthConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.4,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.5,}" />

                <Label Text="Year"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.1,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.7,}" />

                <custom:CustomSfAutoComplete HeightRequest="40" x:Name="acYear"
                RelativeLayout.XConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.2,}"
                RelativeLayout.WidthConstraint =
                "{ConstraintExpression Type=RelativeToParent,
                                 Property=Width,
                                 Factor=0.4,}"
                RelativeLayout.YConstraint =
                 "{ConstraintExpression Type=RelativeToParent,
                                 Property=Height,
                                 Factor=0.7,}" />


            </RelativeLayout>

            <chart:SfChart x:Name="dataChart" VerticalOptions="Fill" Grid.Row="1" HorizontalOptions="Fill">

                <chart:SfChart.PrimaryAxis>
                    <chart:CategoryAxis/>
                </chart:SfChart.PrimaryAxis>

                <chart:SfChart.SecondaryAxis>
                    <chart:NumericalAxis/>
                </chart:SfChart.SecondaryAxis>

                <chart:SfChart.Legend>
                    <chart:ChartLegend/>
                </chart:SfChart.Legend>
            </chart:SfChart>

        </Grid>
    </ScrollView>
</ContentPage.Content>

`

My Code
`using BenderResearchXamarin.Controls;
using BenderResearchXamarin.ViewModels;
using Syncfusion.SfAutoComplete.XForms;
using Syncfusion.SfChart.XForms;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace BenderResearchXamarin.Pages
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class FloatingColumn : ContentPage
{
public ObservableCollection _MySourceData { get; set; }
public ObservableCollection _LineSourceData { get; set; }
ViewModelFloatingColumn _ViewModelVSignal;

    //Controls
    CustomSfAutoComplete _ACGroup;
    CustomSfAutoComplete _ACStock;
    CustomSfAutoComplete _ACType;
    CustomSfAutoComplete _ACYear;
    SfChart _Chart;
    Button _BtnDraw;

    public FloatingColumn()
    {
        InitializeComponent();

        _ViewModelVSignal = new ViewModelFloatingColumn();

        _Chart = this.FindByName<SfChart>("dataChart");

        _BtnDraw = this.FindByName<Button>("drawGraphBtn");
        _BtnDraw.Clicked += _BtnDraw_Clicked;

        _ACGroup = this.FindByName<CustomSfAutoComplete>("acGroup");
        _ACGroup.SuggestionMode = SuggestionMode.Contains;
        _ACGroup.ValueChanged += _ACGroup_ValueChanged;

        _ACStock = this.FindByName<CustomSfAutoComplete>("acStock");
        _ACStock.ValueChanged += _ACStock_ValueChanged;

        _ACType = this.FindByName<CustomSfAutoComplete>("acType");
        _ACType.ValueChanged += _ACType_ValueChanged;

        _ACYear = this.FindByName<CustomSfAutoComplete>("acYear");
        _ACYear.ValueChanged += _ACYear_ValueChanged;

        _ACGroup.DataSource = _ViewModelVSignal.VmASBList;
        _ACStock.DataSource = _ViewModelVSignal.VmASBList;
        _ACType.DataSource = _ViewModelVSignal.VMMetricOptions;
        _ACYear.DataSource = _ViewModelVSignal.VMYearEnds;
    }

    private void _BtnDraw_Clicked(object sender, EventArgs e)
    {
        _ViewModelVSignal.VMMetricSelected = _ACType.Text.Trim();
        _Chart.Title.Text = _ViewModelVSignal.VMMetricSelected;
        _ViewModelVSignal.VMYearEndSelected = _ACYear.Text.Trim();
        _ViewModelVSignal.UpdateStockShowDetails(_ACStock.Text.Trim());
        _ViewModelVSignal.ProcessGenericRequest();

        List<Record> List1 = _ViewModelVSignal.ListRecords;
        this._LineSourceData = new ObservableCollection<Record>();


        for (int i = 0; i < List1.Count(); i++)
        {
            _LineSourceData.Add(List1[i]);
        }
        LineSeries Lineseries1 = new LineSeries();
        Lineseries1.ItemsSource = this._LineSourceData;
        Lineseries1.XBindingPath = "Name";
        Lineseries1.YBindingPath = "Amount";
        Lineseries1.Color = Color.Green;

        RangeColumnSeries rangeSeries = new RangeColumnSeries();
        rangeSeries.ItemsSource = _ViewModelVSignal.Collection;
        rangeSeries.XBindingPath = "XValue";
        rangeSeries.High = "High";
        rangeSeries.Low = "Low";
        // rangeSeries.ColorModel=

        if (_Chart.Series.Any())
        {
            if (_Chart.Series[0] != null)
            {
                _Chart.Series.RemoveAt(0);
                _Chart.Series.RemoveAt(0);

            }
        }
        _Chart.Series.Add(rangeSeries);

        this._Chart.Series.Add(Lineseries1);
    }

    private void _ACYear_ValueChanged(object sender, Syncfusion.SfAutoComplete.XForms.ValueChangedEventArgs e)
    {
        var matchingSetups = _ViewModelVSignal.GetMatchingYears(e.Value);

        HashSet<string> removeDoubles = new HashSet<string>(matchingSetups.ToList());

        ((SfAutoComplete)sender).DataSource = null;
        ((SfAutoComplete)sender).DataSource = removeDoubles;
    }

    private void _ACType_ValueChanged(object sender, Syncfusion.SfAutoComplete.XForms.ValueChangedEventArgs e)
    {
        var matchingSetups = _ViewModelVSignal.GetMatchingMetricSetupParameters(e.Value);

        HashSet<string> removeDoubles = new HashSet<string>(matchingSetups.ToList());

        ((SfAutoComplete)sender).DataSource = null;
        ((SfAutoComplete)sender).DataSource = removeDoubles;
        _ViewModelVSignal.VMMetricSelected = e.Value.Trim();
    }

    private void _ACStock_ValueChanged(object sender, Syncfusion.SfAutoComplete.XForms.ValueChangedEventArgs e)
    {
        var matchingSetups = _ViewModelVSignal.GetMatchingSetupParameters(e.Value);

        HashSet<string> removeDoubles = new HashSet<string>(matchingSetups.ToList());

        ((SfAutoComplete)sender).DataSource = null;
        ((SfAutoComplete)sender).DataSource = removeDoubles;
        _ViewModelVSignal.UpdateStockShowDetails(e.Value);
    }

    private void _ACGroup_ValueChanged(object sender, Syncfusion.SfAutoComplete.XForms.ValueChangedEventArgs e)
    {
        if(_ACGroup._Reason != Reason.Suggestion)
        {
            var matchingSetups = _ViewModelVSignal.GetMatchingSetupParameters(e.Value);

            HashSet<string> removeDoubles = new HashSet<string>(matchingSetups.ToList());

            ((SfAutoComplete)sender).DataSource = null;
            ((SfAutoComplete)sender).DataSource = removeDoubles;
            _ViewModelVSignal.UpdateGroupShowDetails(e.Value.Trim());
            Debug.WriteLine(_ViewModelVSignal.VMGroupShowDetails.Count);
        }
    }
}

}`

My LOG
05-17 18:33:03.117 V/InputMethodManager(21302): Starting input: tba=android.view.inputmethod.EditorInfo@499f94d nm : BenderResearchXamarin.Android ic=com.android.internal.widget.EditableInputConnection@e12cc02 05-17 18:33:03.118 I/InputMethodManager(21302): [IMM] startInputInner - mService.startInputOrWindowGainedFocus 05-17 18:33:03.122 D/InputTransport(21302): Input channel constructed: fd=81 05-17 18:33:03.122 D/InputTransport(21302): Input channel destroyed: fd=75 05-17 18:33:03.123 D/InputMethodManager(21302): ISS - flag : 0Pid : 21302 view : BenderResearchXamarin.Android 05-17 18:33:03.533 D/ViewRootImpl@9b808de[MainActivity](21302): MSG_RESIZED: ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 846) or=1 05-17 18:33:03.604 D/AbsListView(21302): viewType is heaer or footer 05-17 18:33:05.033 V/InputMethodManager(21302): Starting input: tba=android.view.inputmethod.EditorInfo@74b8ac nm : BenderResearchXamarin.Android ic=com.android.internal.widget.EditableInputConnection@2ff3975 05-17 18:33:05.034 I/InputMethodManager(21302): [IMM] startInputInner - mService.startInputOrWindowGainedFocus 05-17 18:33:05.036 D/InputTransport(21302): Input channel constructed: fd=80 05-17 18:33:05.036 D/InputTransport(21302): Input channel destroyed: fd=81 05-17 18:33:05.042 W/IInputConnectionWrapper(21302): endBatchEdit on inactive InputConnection 05-17 18:33:05.069 D/InputTransport(21302): Input channel constructed: fd=81 05-17 18:33:05.070 D/ViewRootImpl@66cf09d[PopupWindow:dc7b374](21302): setView = android.widget.PopupWindow$PopupDecorView{4207912 V.E...... ......I. 0,0-0,0} touchMode=true 05-17 18:33:05.096 D/mali_winsys(21302): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [432x810]-format:1 05-17 18:33:05.158 D/AbsListView(21302): onsize change 05-17 18:33:05.188 D/ViewRootImpl@66cf09d[PopupWindow:dc7b374](21302): MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 05-17 18:33:06.287 V/InputMethodManager(21302): Starting input: tba=android.view.inputmethod.EditorInfo@5c6803f nm : BenderResearchXamarin.Android ic=com.android.internal.widget.EditableInputConnection@51fd0c 05-17 18:33:06.288 I/InputMethodManager(21302): [IMM] startInputInner - mService.startInputOrWindowGainedFocus 05-17 18:33:06.291 D/InputTransport(21302): Input channel constructed: fd=86 05-17 18:33:06.291 D/InputTransport(21302): Input channel destroyed: fd=80 05-17 18:33:06.298 W/IInputConnectionWrapper(21302): finishComposingText on inactive InputConnection 05-17 18:33:06.298 W/IInputConnectionWrapper(21302): endBatchEdit on inactive InputConnection 05-17 18:33:06.298 W/IInputConnectionWrapper(21302): getTextBeforeCursor on inactive InputConnection 05-17 18:33:06.335 D/mali_winsys(21302): EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [432x90]-format:1 05-17 18:33:06.346 E/ArrayAdapter(21302): You must supply a resource ID for a TextView 05-17 18:33:06.347 D/AndroidRuntime(21302): Shutting down VM

Tiled background image

$
0
0

I have a small image (24px * 24px) that I want to tile and repeat for the background image. Is there a way to do this?

Viewing all 204402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>