Sensor management on Tizen - Tizen Software Development

I'd like to develop an application for a smart watch which will periodically turn on & off sensors on the watch/band, ala microphone/camera/etc, record their activity, do minimal processing and store the result on the watch/band. This result will be uploaded to the mobile phone when a bluetooth connection is established.
To my best understanding, this can only be done with Tizen/WearOS/FitbitOS, not with other watch operating systems such as Huami's ones (Amazfit/Xiami MI/etc). This also means that it's a (big) watch and not a (small) band that is suitable for the above.
Is this correct and how to do this otherwise if it's wrong?
How much of a hassle it is to do this in Tizen for a seasoned professional programmer who is a complete noob in Tizen/smartwatches/mobile devices?
Can we develop a headless app that runs constantly?
Are there any tutorials on the subject?

Related

[Q] Best way forward for non professional (with NFC)

I will be developing an app to utilize NFC tags for parts identification. More or less I will need to write stuff into NFC tags, read data from NFC tags, act upon that data - open a webpage, fetch something from external database etc. This will also be more of a proof of concept than a commercial app. I am not aiming for performance either.
The thing is - I am not a professional developer nor I am planning to become one. I am a mechanical engineer with some programming done in the past - I've programmed microcontrollers to work with MEMS sensors and made some basic Visual Basic apps.
What would be the best way forward? Should I just stick to developer.android.com and Eclipse, or there is some software or super-duper tutorials that can make my life easier?

how to create a communication system between an android and other asp.net

Guys, good afternoon.
I'm doing a project where I need a web system, done in ASP.NET, to communicate with an android system.
Thus, the two systems will use the same database.
I came to find out about WEBSERVER, but I found this on a forum that left me a little confused:
"It is worth noting that the consumption of Web services on mobile devices is not recommended by the Android development team due to the processing overhead of SOAP calls. If you have control over the server, the ideal is to use REST-based architectures such as OData . "
It is not recommended to use webserver in android?
How then can I do to create that communication between the two systems?
Now appreciate everyone's help.

[Q] Context Simulation: Decision Help

Hello together,
I`m writing currently my master thesis with the topic "Context Simulator For Mobile Business Application". The goal is, to test how an Android application reacts during changing context conditions: How reacts an application, if the battery is almost empty? How reacts an application, if internet connection breaks down during data transmission? How reacts an application, if a SD-Card is available/not available? ...
I want to simulate all of these factors on the PC and send the data to my android device. Some more examples:
- Simulating sensor data for accelerometer, gyroscope, ...
- GPS
- Camera and microphone (if an application requests a camera image, it should receive a image from my simulator)
- Fake connection for Wi-Fi, HDSPA, EDGE
- Fake time, time zone and date
- Simulate a specific battery level
- Fake calendar entries
------------------ My approaches ------------------
No 1:
Extend an existing custom rom with my features => Some calls should not transfer to OS (example: GPS) but to my simulator on PC. Also send data (example: battery level) to android OS. For example to pretend a low battery level.
No 2:
Write my own sandbox application (I haven`t found information to this topic so far). In this sandbox application, I`m going to start my application to test. So it is possible, to fetch all request from this System under test and I can decide if I want to transfer them to Android OS or to my simulator.
No 3:
Develop my own library, which will be included from my system under test. This library extends some android classes (e.g. Activity, Location Manager, Sensor Manager). My extensions classes will transmit the request to my simulator instead to the OS.
I`m afraid, I only have limited functionalities when I`m using this approach.
No 4:
Take sensor simulator from open intents as basic and extend it as good as possible.
-------- About Me --------
I only have few experience in Android development, but a lot experience in Java development. I know, I should read now a lot about custom roms, ... Unfortunately this thesis should be finish at the end of march.
------- What I want from you -------
Advice. I hope you understand my problem. Which is the best way to realize this project? I would like to have as much functionalities as possible. My prototype doesn`t need to support all context factors, but I should consider all factors in my system design.
I wanted to attached two graphics, but unfortunately I`m not allowed to. These are two possibilities and I`m not sure, which one is better (and also, if they are possible):
http ://s7.directupload.net/images/131212/bnpuo8gh.png
http ://s7.directupload.net/images/131212/e7u8dv4r.png
Thanks a lot,
Michael

Pace - basic dev questions

Hi,
Long time .NET developer, I have suddenly found interest in exploring development for Amazfit Pace. I have a few basic questions and I'd appreciate your help.
1. How do I access the smartwatch features from my code? I don't suppose Android exposes a standardized API for accessing pedometer, barometer, sleep and other data on the device. I would expect it from Wear OS, but since Pace is running Android 5.1, how do I access for example the current pressure or steps for the day?
2. Can my app use Internet? If the watch is Bluetooth connected to the phone, if I make an Internet request from the app, would it succeed?
Thanks
hyankov said:
Hi,
Long time .NET developer, I have suddenly found interest in exploring development for Amazfit Pace. I have a few basic questions and I'd appreciate your help.
1. How do I access the smartwatch features from my code? I don't suppose Android exposes a standardized API for accessing pedometer, barometer, sleep and other data on the device. I would expect it from Wear OS, but since Pace is running Android 5.1, how do I access for example the current pressure or steps for the day?
2. Can my app use Internet? If the watch is Bluetooth connected to the phone, if I make an Internet request from the app, would it succeed?
Thanks
Click to expand...
Click to collapse
1.) It does. There's a sensor API you can use. Check my Step Notify app for an example of using the pedometer: https://forum.xda-developers.com/smartwatch/amazfit/app-step-notify-fitbit-esque-step-t3741724
2.) Yes, it can use either the WiFi on the watch or you can use the communication library to go via Bluetooth and use the phone's internet connection: https://forum.xda-developers.com/smartwatch/amazfit/dev-library-amazfit-communication2-t3779946

App Request : Habitica checklist

Hello everyone.
Amazfit has focused pretty much exclusively on sports and fitness,
I believe for people work in offices, students who have tons of different goals other than basically running,
a checklist app is very essential , and to my understanding, achievable .
Is it possible to port Habitica sync (a gamification of daily tasks) bars to amazfit pace (A1612 ,ver. 2.9.5.0) ?
so that we can swipe to clear tasks,dailies,habits goals from watch interface.
If not possible , is there a workaround method to interact with Habitica thru watch?
uptill now, I have been trying to connect things up with IFTTT, clapier , and some third party codes.
you need a MIPS android 5.1.1 cient of theirs for that, or to write a client that will work with their API directly.

Categories

Resources