I'm developing a C++ App that performs image processing on images captured by labtop Cam. Once I got the image i need to upload it automatically to my Firebase database to be available for an Android App attached to my system.
How can i pass these images to Firebase. Even though, I know there is no SDK for desktop Apps to the Firebase. Is there any intermediary solutions can handle this Auto-uploading process?
You know that you can run scripts with C++ using system (you can find more here)
So write code that uploads the image with python or nodejs (choose your preferred language that has firebase SDK), And you can execute it anytime with your C++ program.
Related
I am trying to create a Flutter app that can open a specific file format. I expect people to use Drop Box (and other similar apps, in the future) to download/sync the files... so I need to be able to access such files from Flutter.
From all I've read so far, mobile apps don't normally have access to the file system except in their own Documents directories, so it seems it's not possible to open a file downloaded via another app.
Is that correct? There must be at least some workarounds, after all, you need to be able to open files in your Drop Box folder using other apps!?
If no Flutter solution exists, can someone point out how to implement such functionality on iOS and Android (I could then write a Flutter plugin that abstracts that away)?
If I understand it correctly, it's not possible to access files managed by DropBox (or any mobile app) from another app without actually integrating with DropBox directly (rather than via the file system).
DropBox has various tools that can be used for this.
The simplest one seems to be to integrate DropBox Chooser into your app, in which case a button is added to the app which allows the user to select the file from a DropBox view (screenshot).
Other options include authenticating DropBox users via OAuth then using the DropBox REST API, or including the DropBox SDK, which makes doing that easier (but you have to implement it for both iOS and Android, maybe as a Flutter plugin, as there seems to be no Flutter support).
There's also a Dart DropBox REST client project on GitHub but it seems to be abandoned.
I am using Ionic and Cordova to build a mobile app which will go on the iOS and Android stores. I have done this many times, and I really hate the process of having to update the app (specifically with Apple).
Would it be safe to dynamically load all of my templates and controllers from my server when the app loads, potentially caching them or having a server call to check if there is a new version? Basically, I would have all images and styles saved locally to the phone, but load the templates and controller code on app load.
And, if it was ok to do programmatically, are there any rules against this in Apple or Android's terms of use?
This is possible and there are tools like Cordova Hot Code Push to help you accomplish it. As long as you don't use this to break other app store review rules or significantly change the purpose of your app it's fine with Apple.
This will be my new post if I go wrong please don't judge me hard :)
I'm developing an OpenCV project with Python and also I'm developing its mobile interface in Android. My purpose is to compare plant pictures and decide their species.Researchers who use Android application will take plant photos and upload them (such as 'tree leaf photo'). I intent to execute comparison algorithms in the cloud. I use Parse as mobile database so I thought that I could use Cloud Code in Parse to run my Python codes. Can I do this ?
You can have Parse Cloud Code call out to your Python code using HTTP if you want. Just as you can do the same from the Android app. This code can tell the web hook what images to download and process based on some condition (such as a researcher has uploaded a photo to be processed). Purely up to you how you trigger this. Your Cloud Code is JavaScript only though, same as your Android app is Java only (usually, unless you use Xamarin with C# or something else of course).
No. JavaScript is the only language currently supported for writing CloudCode.
I am planning how to build a web app using PhoneGap for a client, which will present an original web application that's already been built (using Symfony2 and Bootstrap). The client has requested that the app should create events/notifications to the users phone via the calendar, and allow the user to take a photo of something using the app which is then uploaded to the web application.
However, I'm not sure that this is possible using mobile web app's built with something like PhoneGap. There isn't a budget available to build native apps, so PhoneGap (or equivelent) is the only option available to me at the moment.
The client has requested that it works on iPhone/iPad, Android and Windows Phones. I would assume (but I'm not sure at the moment) they would also want it to work on BlackBerry 7/10 devices also. So, is it possible to build an app using PhoneGap that can intergrate with the users calendar and camera?
Short answer, yes. AFAIK, phonegap is a wrapper so the web app UI that you build (using js, css and html) has access to native phone function such as GPS, camera, even notification.
as to mentioned in here,
PhoneGap provides an application programming interface (API) that
enables you to access native operating system functionality using
JavaScript. You build your application logic using JavaScript, and the
PhoneGap API handles communication with the native operating system.
You can dip your toe and begin to get used to their APi collection from their website:
http://docs.phonegap.com/en/3.4.0/index.html
I am trying to build a cross mobile platform app to sync files and photos between devices, something like dropbox but for mobile or like sugarsync.
I want it to run on iphone/ipad , android, windows phone.
So for example the user can put a file on his iphone and can see it on his windows phone automatically.
Is that possible using phonegap apis or should i search for another solution?
Yes.
You retrieve the file from the local device and upload to your server.
You can then download the file from the server on the other device.
You can do this using the FileTransfer functionality in PhoneGap (supported on Android, iOS, BlackBerry & WP7) without the need to write any plugins or native code.
You'd just have to write the permissions side of things, the ability to return a list of files stored on the server and manage the syncing of changes.
BEWARE: There a legal, privacy and security issues with accessing and storing other peoples files.
Do you mean P2P or using a server?
In both cases I guess your best chance is using Sockets.
http://remysharp.com/2010/10/04/websockets-in-phonegap-projects/
You will need to natively write a Sync service for each platform, and then expose that Sync service via a PhoneGap plugin. PhoneGap is still the way to go due to its cross platform support