Gracenote Entourage Demo Application Crashing - gracenote

I have downloaded the demo app from the Gracenote Developer website but its crashing for me and gives Exe_Bad_access on below line in ViewDidLoad method of GNViewController.m.
self.sdkManager = [[GnSdkManager alloc] initWithLicense:LICENSE_INFO error:nil];
What's going wrong?

Related

CrossFirebasePushNotification.Current.RegisterForPushNotifications(); throwing NullReference iOS

to do push notifications in my Xamarin Forms App, I am using the CrossGeeks FirebasePushNotification Plugin. My android setup is working alright, but for the iOS app, when I try to run the app, the line
CrossFirebasePushNotification.Current.RegisterForPushNotifications();
is causing a NullReference Exception. What I have done to set up:
Set "FirebaseAppDelegateProxyEnabled" to "No"
Changed the GoogleService plist to Bundle Resource
Added the FirebasePushNotificationManager.Initialize(options, true); in the App Delegate (and it is saying it is unreachable?"
I am testing on a simulator but I believe this should only prevent the receiving of notifications, not the registering?
How would I solve this problem? In the documentation, it states that these are the steps needed for iOS setup.

Xamarin.Android crash after upgrading to Xamarin.Forms 4.2

I upgraded to Xamarin.Forms 4.2. For Android, it crashed immediately after launch.
The error message is
Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code).
After tracing through the code, the app has launched and there is no code left to execute. Then, it crashed.
Thanks Lucas. As suggested, in SplashActivity.cs, change the class declaration to
public class SplashActivity : global::Android.Support.V7.App.AppCompatActivity

ZXing Scanner Camera is not activating in UWP and WP 8.1

I am using the example code from the ZXing page .
Details are :
Windows 10 Pro N, Visual Studio Enterprise 2015 ,
Xamarin.Forms 2.3.1.114 , ZXing.Net.Mobile 2.1.47 ,
ZXing.Net.Mobile.Forms 2.1.4.7
I am using below code
btnScan.Clicked+=async(sender,e)=>{
var scanPage = new ZXingScannerPage ();
await Navigation.PushModalAsync (scanPage);
scanPage.OnScanResult += (result) =>
{
scanPage.IsScanning = false;
Device.BeginInvokeOnMainThread (async () =>
{
await Navigation.PopModalAsync ();
await DisplayAlert("Scanned Barcode", result.Text, "OK");
});
};
}
Also I have added the below line in the MainPage.xml file of the UWP project just before LoadApplication method call
ZXing.Net.Mobile.Forms.WindowsUniversal.ZXingBarcodeImageViewRenderer.Init();
Also I have provided access to the WebCam from the application manifest.
When I run the application in Debug or Release mode in the emulator then it opens the scanner but small black/white /red /green square comes and computer webcam is not accessed.
When I run it as windows 10 app then nothing comes, only blank screen comes.
When I run it in the real windows 10 mobile, then scanner opens but camera doesn't opens, the white screen with red line opens and camera doesn't activates.
The same thing happens with WIndows 8.1 also.
Any help would be deeply appreciated. I have wasted lot of time to explore the internet used almost every combination. If anyone have the solution please please provide me.
Note:
The above code works fine for Android and I am able to scan the bar code and QR code.
I have tried all options given by users in different forums, but none of them were working.
if you are also facing same issue then please check you camera. If you are using Windows Pro N or KN version, then you have to install the media feature pack to make camera working.
I installed the media fature pack for windows K and KN versions but still it was not working.
When I try to open the Camera App then also it was saying that Media Fature Pack Required for Windows K and KN versions.
Finally I installed Windows 10 Pro version (removed Pro N/KN version) and reinstalled VS 2015 and tried of of the solution given by user at xamarin forum
https://forums.xamarin.com/discussion/76035/zxing-scanner-camera-is-not-activating-in-uwp-and-wp-8-1#latest
But still I am still facing this issue for WP 8.1

Launch watch kit app from within another watch kit app

I know on the phone it is possible to launch an application from within another using something along the lines of...
-(IBAction) openYoutube:(id)sender {
UIApplication *ourApplication = [UIApplication sharedApplication];
NSString *ourPath = #"http://www.youtube.com/watch?v=TFFkK2SmPg4";
NSURL *ourURL = [NSURL URLWithString:ourPath];
[ourApplication openURL:ourURL];
}
This will launch the youtube app
My research hasn't led to anything useful and I doubt there is something out there, but what's the harm in asking to be sure. Is there anyway to accomplish this sort of functionality from the apple watch? Like if the user hits a button, I want my watch kit app to launch the instagram or twitter watch kit app
Fortunately, you can. You can ask the iOS app to do this. Use this method
[WKInterfaceController openParentApplication:#{[results firstObject]:[results firstObject]} reply:^(NSDictionary *replyInfo, NSError *error) {
}];
To call your parent iOS app. Within the iOS app, implement this delegate method to achieve what you want (in your AppDelegate).
(void)application:(UIApplication *)application handleWatchKitExtensionRequest:(NSDictionary *)userInfo reply:(void (^)(NSDictionary *))reply{}

Error coming up when trying to open up file browser

Currently on my website i am trying to get it so that a user can upload an image from their local images. I have followed a tutorial, but when i debug it and try to open up my images folder i get this error message:
"Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process."
Please can someone help me here, i have read a few posts; but seen as this is my first time doing this; i dont really understand them.
Thanks for any response!
You are trying to use Windows Forms functionality in a ASP.NET Web Page. Line 140:
FileDialog fldlg = new OpenFileDialog();
Windows Forms is desktop technology. You can't mix that with a ASP.NET web app. You can use the FileUploadControl to enable file uploads in your web application:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx

Resources