Send data from Droidscript to ESP32 - esp32

I am trying to create an android app using Droidscript in order to send some data to an ESP32.
Searching on the web I found several ways to do it but all of them are quite complicated.
Can anyone help me how to continue from now on ???
Thanks a lot !!

Related

Making a direct API call from WearOS watch over WiFi without phone connectivity

I am not Android/WearOS savvy so apologize in advance to those who are eager to push down arrow button.
I am looking to put together a proof of concept that would read sensor data from Android/WearOS watch and send it to an Azure API EndPoint over WiFi without needing or intervention of phone. As we understand that latest WearOS devices can directly connect to WiFi.
First of all can WearOS watch make a direct api call over WiFi? If not then please advise!
If so has anyone done similar work or point me in the right direction. Please share sample code or how to tutorial.
Many thanks.
Have you looked at the official documentation page for this? https://developer.android.com/training/wearables/data-layer/network-access
It has a step-by-step walkthrough of the process of network communication from Wear OS, as well as sample code.

How can Alexa get the data from ESP32 directly (Without using intermediate layer like ThingSpeak)?

I am currently doing a project in which the Echo/Alexa App should read out the information that is sent by ESP32. Is there a way Alexa can request the data from ESP32? How can that connection between Alexa and ESP32 be established?
I have looked at FauxmoESP. It seems that this library is useful to connect smart lights to Alexa. I created a skill for Alexa. Created a lambda function in AWS. I am stuck with discovering the ESP32 devices in Alexa App and getting the data from ESP32.
This is pretty old code but with some changes i was able to make it works:
https://github.com/MrBuddyCasino/ESP32_Alexa
https://www.youtube.com/watch?v=3VkszFgxXfg
Also this espressif library is good starting point, but i dont know if amazon is implemented yet:
https://github.com/espressif/esp-adf

How to Connect Ionic Mobile App to Backend API Using Spring?

Does anyone know how to connect the ionic mobile app to backend api using spring and sqlserver as its database? If you have some references or examples, then it would help me a lot.
Here are few tutorial that might be useful to you.
(These are not using sql server, doesn't matter much)
https://developer.okta.com/blog/2017/05/17/develop-a-mobile-app-with-ionic-and-spring-boot
https://blog.ionicframework.com/creating-an-ionic-app-with-mysql-and-backand/
You need to have first the documentation of your backend or to know the methods of the backend with URL. you can find many videos and tutorial on google. it depends about what you need (Authentification, getting data, streaming.... ).

How to retrive email from MS Exchange server on Android

I’ve been googling for a couple of days now! I’m looking at a way of integrating simple mail functions into my android app. A few people have suggested looking at K9 which I have done. This is obviously a fully featured mail client and has far more functionality than I need. I wanted to know whether there was a way using Android API's to connect and retrieve mail?
Any responses greatly appreciated!
There are third party API called JWebServices / JWebDAV . As far as I know they both working on Android
Not really, afaik are no Android APIs you can use for this purpose. You could use the ActiveSync protocol to connect to the Exchange server and pull down the email messages you need.

Can Connect to 3G Modem via GSMComm but cannot see any SMS

I'm trying to write an application that receives SMS messages into the app I'm developing (in C# if you care :). Research indicates the best bet is to use GSMComm library.
I've downloaded the library and using the demo app I have managed to connect to the 3g modem (a Huawei E1756) but when I query it for SMS's received it comes back with 0.
Interestingly if I use the software that comes with the application then I can see the messages.
Anyone got any clues on why this would be? Or other tips on how to retrieve the messages?
Cheers,
Kym
Depending on how the modem is setup, messages can be stored on either the SIM card or in phone memory.
I would check that the demo app is looking in both places for old messages.
I use gammu's smsd which can write to a database which you can then use your c# with.
it is supports a wide array of phones and modems including many Huawei models
http://wammu.eu/phones/huawei/
It runs on windows and linux and has worked well for me.
http://wammu.eu/smsd/
the database has a simple inbox and outbox tables that you can use.
Try Clickatell to get an idea http://www.clickatell.com/brochure/coverage.php

Resources