tizen on gear s3 get/set information to app on connected phone - widget

I am developing a widget/app for the gear s3 smartwatch. In particular, I would like to build something similar to the Alarm widget that comes pre-installed on the gear.
What I can't find is any information about is connecting to the phone and getting alarm info. There are android java api's for doing this (on a phone device), but, again, I can't find anything for a native tizen app on the gear s3.
Any info, pointers, etc. greatly appreciated.
TIA
ken
(PS: I do know that the tizen IDE comes with a sample alarm widget, but it is only a GUI, no functional code. That's what I need.)
Sorry guys. I guess I wasn't clear enough: 1) I have built the "alarm widget" sample- it is mostly the GUI part (see #2); 2) the "alarms" that you have pointed out are really just "timed callbacks". They have nothing to do with the alarms available on the phone's clock app.
I did find something about "com.android.alarmclock" on github (here). How does one get access to something like that via tizen c?

See this link on how to develop Tizen Wearable Native Widget Application.
https://developer.tizen.org/development/training/native-application/getting-started/creating-your-first-tizen-wearable-native-widget-application
Alarm Sample Overview with code hint
https://developer.tizen.org/development/sample/native/AppFW/Alarm
API: The Alarm API allows setting an "alarm clock" for the delivery of a notification at some point in the future.
https://developer.tizen.org/development/api-references/native-application?redirect=/dev-guide/latest/org.tizen.native.mobile.apireference/group__CAPI__ALARM__MODULE.html

I found this on github (https://github.com/aosp-mirror/platform_packages_apps_alarmclock/tree/master/src/com/android/alarmclock) This is pretty much what I need. Now I just have to translate from android/java to tizen/c. For the latter this (https://developer.samsung.com/galaxy/accessory) will also be useful, although it might not look so.
Just to clarify and maybe help with the next poster: I really should have been more careful when using the word "alarm". I know about the alarm api's in tizen, but as mentioned these are specific to one app instance. I really wanted to communicate with an app running on the connected phone - ie, the alarmclock app.

Related

Static notification in Android application [AS3]

A few days ago I've been looking for a solution to using a Push Notification, but I have not found ANE's functional for the problem.
I'm finalizing an application in the ActionScript3 language, and I only found something related to Cloud Messaging, which is something much more advanced than I need.
I try to present a simple Push Notification to the user, static, only with Title and Message. However, I could not find ways to find such a resource.
Does anyone using the ActionScript language have achieved the feat of using Push Notifications without Google's Cloud Messaging feature? Waiting for answers :)
I went after explanatory projects on GitHub, but 60% of ANE's content is cloud-centric or not working. In addition to having some I'm not targeting the AS3 language.
why you don't try local notification?
in this ANE you can display local notifications with only a few lines of code
I have the same project and use this ANE, it works like a charm
https://airnativeextensions.com/extension/com.distriqt.Notifications

TestFlight API and stats with as3

I'm using TestFlight to test my app.
I uploaded on itunesConnect and after some problems, now it works fine and I think I understood itunesConnect's flow.
Now I want to monitor the user experience (just for my testers) and I want to know where the user is clicking and if sometimes the app crashes.
I remember that TestFlight had some API to do this, but now I can't find them!
Maybe it was an old features when it wasn't buy from Apple. I don't know... but I don't find any good information about the API.
I'm working inside Flash Builder using as3. Any idea?
Thanks a lot!
As I mentioned in my comments, this is not acheivale at full by ItunesConnect and its App Analytics, I am using and recommend you to try this tool: https://www.appsee.com/ it matches what you want and shows really good UX analytics.

Implement Realtime Barcode Scanner on Windows Phone 8.1 Runtime using ZXing and MFT

I'm working on a Windows Phone 8.1 Runtime shopping application which needs barcode scanner feature. I'm using the ZXing lib, which is fine. My problem isn't about decoding the picture, ZXing does a great job, but to get the Camera Preview realtime, and feed it to ZXing. After a little research I found this forum https://web.archive.org/web/20150328233747/http://developer.nokia.com/community/discussion/showthread.php/247707-Windows-Phone-8-1-Windows-Media-Capture-API-and-Preview-Frames. Can someone give me a working sample of combining an MFT and ZXing? Or how can I get the preview and handle it in my C# code?
My project is close to the deadline, so please help me out!
Right now the barcode scanning is really messy, I have a "Scan" UI button, which calls the MediaCapture.CapturePhotoToStreamAsync method, but that's not a good solution. I need realtime, automatic scanning.
Thank you!
I finally found a solution. I Microsoft engineer, Matthieu Maitre, hacked together something very useful. The main purpose of his project was "Apply image effects from the Nokia Imaging SDK and DirectX HLSL pixel shaders to videos in Universal Store Apps..". He had an "effect" called "QrCodeDetector", which I tried out and worked, but was really slow. So I asked him if he could enhance the effect, and in two days he updated the nuget package, and it works, and it is lightning fast now: https://github.com/mmaitre314/VideoEffect#realtime-video-analysis-and-qr-code-detection

Can I use App Insights in a background agent?

I want to add analytics to my Windows Phone 8 app and that's all fine except I now want to trace when my background agent triggers a specific event.
Does App Insights support this?
I'd like to say that Application Insights does support the scenario you are describing. Recent versions of the Application Insights should support background tasks. However, you should use the "core" package, and not the full platform package.
This core package provides all the APIs needed to send telemetry to AppInsights. It doesn't provide any of the automatic context or telemetry collection, and hence doesn't have any dependencies (for example on the dispatcher) which allows it to work on a background task.
We would love to hear more about how this scenario is working out for you.

need to add crash reporting functionality in wp8 app

I have developed a Windows Phone app in WP7.1 and WP8. I need to implement crash reporting functionality to my app. Whenever a force-close happens, I'd like to get all the details of what happened. Does anyone know the best way to go about this?
The diagnostics element of Telerik's Windows Phone control suite includes error reporting.
Alternatively, you could look at one of the many Little Watson implementations.
On WP8 you can use Flurry which has an event handler for Unhandled Exceptions. It's not incredibly detailed I've noticed but it's free. The advantage being you can throw log error calls around to try and narrow it down.
I'm using BugSense and am very happy with it. Beside the crash reporting with notifications, you also get nice statistics, like which app version on which device is the most affected by a problem and so on. Usage is as simple as referencing the assembly and calling one init function, although you can customize what gets reported (custom values like a userId or some other metric). They provide free and paid versions of the system. The support has also been great. I highly recommend it.
you can try yandex appmetrica for win phone https://github.com/yandexmobile/metrica-sample-dotnet