Monotouch - Phone Will Not Vibrate - xamarin.ios

I cant seem to get my phone to vibrate when calling the vibrate method.
SystemSound.Vibrate.PlaySystemSound();
It looks like there is a bug filed that show the same thing but I cant believe it would not be fixed yet.
https://bugzilla.xamarin.com/show_bug.cgi?id=7983
Any ideas? Thanks.

Are you calling it from the UI thread?
I learned many problems with the APIs are solved when invoking them in the UI thread by using InvokeOnMainThread

Related

Local Notifications/Alarms on iOS similar to AlarmManager from Android

I am new to iOS app and I would really appreciate your help.
I want to implement Notifications/Alarms that will run foreground and/or background for my iOS App.
I want to set multiple alarms and being appeared let's say every day.
I couldn't be able to find a proper solution, but I found the following:
https://learn.microsoft.com/en-us/xamarin/ios/platform/user-notifications/advanced-user-notifications?tabs=windows
Do you think that that will work in my case? Any comments will be helpful.
How can I avoid being rejecting from the Apple store?
Thanks

Is there a clean way to get the current Gmail message ID?

I am writing a Chrome extension and I would like to be able to get the current Gmail message ID (in either conversation view or not). I tried using the Gmail.js library but as mentioned here the observers quit firing after a while:
https://github.com/KartikTalwar/gmail.js/issues/304?_pjax=%23js-repo-pjax-container
So is there a different solution? I have searched around and do not see a clean, reliable solution.
Thanks for any tips or pointers.

Invoke a One Midlet from another Midlet

I’m working on J2ME Barcode Scanner using Zxing1.7 Library since 1.7 is the latest version which supports J2ME.
Since barcode functionality is already present as part of this Zxing, I need to call ZxingMidlet.java from my component Midlet.
As I’m very new to J2ME, I’m not getting how to invoke a ZxingMidlet from another Midlet.
Please provide your input/support If anyone has already worked on J2ME/has any experience on this.
It will be of great help to me.
Regards,
Deepak
The ZXingMIDlet.java is just an example of how to use their library. You should copy the parts of the code you need into your own project, instead of trying to start another midlet from your midlet.

Is there any issue in using nsDialogs in experience UI in nsis

As part of solving problem posted here
https://stackoverflow.com/questions/16896705/nsis-getting-error-error-resolving-uninstall-function-un-xpui-skincontrol-in.
I just thought is there any problem in using nsDialogs in experience UI in nsis.
I am strugling like anything while migrating from MUI to experience UI.
can you rule out that nsDialogs is causing this problem, did you try commenting out all nsDialogs-code? just wondering how that error message would indicate such a thing.

DismissModalViewController stuck the app in lower version than iOS 5.0

Let´s see, I am developing an app which uses some ModalViewCotrollers.
When I show any of these modals, everything is going OK, I can work with it and interact with his content. The problem comes when I try to do:
[self dismissModalViewControllerAnimated:YES];
This problem, only happens in lower version than iOS 5.0
The modals are called from my DetailViewController (in Master-Detail app).
Any suggestion??
Thanks everybody in advanced!!!
Have you tried if you are dismissing from the correct view controller??
Like this:
[self.parentViewController.parentViewController dismissModalViewControllerAnimated:YES];
Anyway, I found a couple of good links which could be helpful for you:
Modal view controller won't dismiss itself
dismissModalViewControllerAnimated: (and dismissViewControllerAnimated) crashing in iOS 5

Resources