How to make a application interact with Hardware [closed] - networking

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
When I connect any mobile device or any other device to computer, Am I able to access it's root somehow? or interact using cmd for that using telnet

Not normally. Many mobile devices provide very limited functionality when connected to a computer (usually via USB).
In some cases they'll provide file system access to photos taken on the device. In other cases they'll provide proprietary syncing with a vendor-provided application.
Some mobile devices like smartphones have development kits that allow you to add your own programs the device. The Android SDK, BlackBerry SDK, and Xcode (Apple, iOS) all allow this to varying extents.
There are also unofficial hacks that allow firmware replacement for more direct control of the device, but these can violate your warranty or potentially be malware.

Related

How to sync firebase with android room local db? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have an application that has a remote database(firebase) and local database(room). I get my data from firebase and save it in android room. Also, I use rxjava2 to do that. All posts is get from local database. Everything is okey until here. When I put new child to firebase, it doesnt appear in my application instantly. It is not put in local db. I know that I have to update my remote database every time such as every six hours. I had some researxch to do that. Work Manager and JobScheduler can be used but I dont know how to use that. Is there anyone that give me an advise?
WorkManager, part of Jetpack, is a library by Google, that handle deferrable work that requires a guaranteed execution.
You can read this blog to see if it covers your requirements. The documentation is an excellent starting point and there's a codelab that you can do to try the library itself available both in Java and Kotlin.
WorkManager uses JobScheduler when it runs on API Level 23+, for older Android versions (WorkManager supports API Level 14+) it uses AlarmManager and Broadcast receivers.

Does Ionic 3 have support for Arduino? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I need to know if Ionic 3 has support for Arduino, because I hope to develop an Ionic app for an Arduino project.
Ionic (https://ionicframework.com/what-is-ionic) is a framework that allows you to run webapps like a "native app" for Windows, Android and iOS mobile devices. That being said and if you want, you can use hardware from the device for your app (Camera, GPS, etc).
What I think you're trying to do si to have an approach of a "nice user interface" to send commands to an arduino or to be able to do something, not a direct communication from arduino to an Ionic app.
You could run a web from the arduino to receive commands, makes the arduino to process it, run some code to check temperature, distance, whatever your sensors are, and answer that request in an http protocol.
Another way would be to send information through bluetooth and translate that into the ionic framework app. Then display anything you may create for that using the information shared among them.
In a strict way of linking Arduino and Ionic by themselves, can not be done.

Recording sound and upload using web application [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I am bulding a learning portal for a client and the client has asked for a feature where the user can record and upload sound directly from the browser (or browser plugin) to a custom made forum on the portal. The client envision having a button like [start recording] on the site. I am probably ending up with recommending against this feature but I would like to hear if any of you have done something similar and what you used.
This specific application is built using dotnet core 2.0 and Angular 5 in the frontend.
Using WebRTC could be an option if you can run your site under an SSL cert.
You may want to take a look to this example here.
Here you have another example using the device camera.
You can store the response on a Blob and send it to your server.
It is an initial aproach but I think it could help you take a decision.

ASP.NET restrict application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Currently I am working on multiple projects as a third party (outsourced) where I have no control over the hosting. My application is modular enough to be changed on the fly, all that's required is slight edit in Html / CSS and it'll become a brand new site.
I do not want my proprietary codes to leak on the web without my consent.
Since I'm contracted to only work on a few particular domains, I wish to "lock" them down in the sense there won't be multiple instances of the same application running in the wild.
Domain locking comes to mind, but this will be rather restrictive as my client will no longer be able to change domain in the future.
Any other inexpensive ideas?
You could try having a registration server somewhere that requires various libraries in the system to register infrequently.

Should I base my Embedded Linux product on Qt? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
My company is developing a medical product. One of the components is a pda-like platform that will run embedded linux.
We were considering Qt as the UI framework but found out that Qt is a lot more than that (we are not familiar with Qt). We intend to program in C++.
In general, the device needs to do the following:
Receive measurements over USB HID from another device (USB HID is used for convenience).
Process the measurements.
Store them in a database.
Interact with the user using the device's touch screen lcd.
Communicate (wi-fi, tcp-ip) with a central management station that collects the data and configures the device.
Include a web server to allow accessing the device via a browser.
My questions are:
Is that a good choice for such a device?
Assuming we choose Qt, how do we build our product?
Do we use Qt just as a GUI framework and write the application code in a separate process (passing messages between Qt and the application process)?
Do we write the entire application inside Qt, using all of the services the tool has to offer?
Another approach?
To answer the question if it's a good choice one needs to know what other choices you have. What other possibilities do you have to write GUI for this embedded linux system? Do they support C++? Are they any good? Are they likely to be portable to any other devices you might want to write for in the future?
Another reason to choose Qt is that it has an emulator for some embedded devices so at least for the GUI front end you might be able do to most of the development on your normal windows machine.
Yes, you build a complete application with Qt. There is no need to divide into more than one process. The GUI part is integrated seamlessly with the rest of your functionality. There is nothing that will prevent you from making whatever calls you make to communicate with the USB.

Resources