I am looking for a way to get the current time in Android Things trough an other NTP.
I can't find a gps.confon Android Things, like it is in normal Android.
You can use this android library to get current time from NTP servers of your choosing.
https://github.com/instacart/truetime-android
Related
I have developed a Flutter Mobile application on Windows 10 environment. I am using Firebase with services like Firestore, push notifications, storage and Authentication.
I have not done anything for IOS so far. I am planning to have a Mac machine in cloud and start the IOS related changes there. I have below questions.
I want to have my code at both the places synced so that I can work on windows and Mac. Is there any way to do that securely?
What editor I should use on Mac for IOS and Android development?
Also what are the other things I need to take care?
Thank you in Advance
for syncing:
git, period! Flutter will take care of the rest
for IDE:
we swear by Intellij as you will need it if you decide to port an android version of your app. With Intellij you can even sync plugins & IDE settings across multiple PCs
Context:
I have a Xamarin Android project that calls a shared library (.so) and I'm using Live Player to run the app on my device.
Problem:
The app only runs fine sometimes. When it doesn't, I get no exception at Visual Studio and I only get a one-line exception from the Live Player on my phone as follows:
[LogEntry: Time=7/10/2018 4:42:26 PM -07:00, Level=Error,
Title=Visualization Error, Message=No body on method System.Int32
TestMobileLib.LibFacade::getInt(System.UInt32) (NInterpretException)]
Attempts:
I tried uninstalling the apk from my phone. It doesn't work all the time.
I also tried renaming the Android application package name to make it look like a new app. Doesn't work all the time either
Reinstalled the Live Player. No luck.
Re-paired my phone. No luck.
Tried it on a different device. Same random behavior.
Restarted the machine. No luck
Any assistance is highly appreciated. Thanks.
Thanks to the comments above by SuhiHangover and Bruno, I figured out the difference between running an app via Live Player vs. on the device itself. While Both solutions run the app on your device, the latter is much more stable at least when the project depends on a set of user-defined shared libraries.
As also noted in here, Live Player seems to be optimal to support rapid prototyping on device, where changes you make the front-end markup (e.g., XAML files) can be instantly synchronized wirelessly. Xamarin Live Player, however, is limited when more need to be tested. The list of limitations are mentioned here.
Is there a way to use Apple's Network Link Conditioner in such a way that it only affects the iOS Simulator, and not the rest of the Mac?
My KB+M is connected to the Mac via a program called Synergy, which lets me share my Windows KB+M with it, and attempting to run unit tests on the iOS Simulator with any packet loss profiles selected in the Network Link Conditioner makes it almost impossible to control the Mac at all.
I have had the same issue for a while and have been trying to find a solution.
I eventually gave up and started using the Charles Web Proxy instead because it's free (they claim only for 30 days but it works forever) and it allows you to choose which websites you want to throttle internet access for.
Please share if you can do something like that with the network link conditioner.
We've got a lecture series that runs regularly and they usually only want 10-15 minutes recorded a week. I'm looking for a solution where I can install a go-pro or some other camera in the classroom and control it remotely on my mac. Be nice to if I could somehow have that video saved to our server.
It depends which GoPro you get. The newer ones can wirelessly transfer to an iOs device (you have osx tagged so I assume this is what you want to do) and since you want to control it remotely on a mac anyway, it'll be easy to edit and upload to your server from there.
I was trying out the mac app DiskAid and found it does everything that I need to be able to do in the app I am writing. DiskAid appears to have complete access to the filesystem on my iPad. This is not limited to the shared files by the applications on the iPad - not by a long shot. DiskAid sees all the files for every app on the device (sharer or otherwise). It is also not limited to files in the Documents directory for each app. It sees all files down to root level.
I was also amazed when I discovered that iTunes doesn't even have to be running for all of this to work. Also I don't recall having to authenticate in any way (apple ID or anything like that) I just plug in the device via usb and away she goes.
I've been searching for days now and have not found anything that even hints that this is even possible. Yet we know it is.
Does anyone have any idea how they are pulling this off. By the way my device is not jailbroken.
Any help with this would be greatly appreciated. Thanks.
There is info DigiDNA blog that what they use is Apple Mobile Device Service library, which they say function as driver to Apple device. A google search to the library brought me to the Iphone Wiki site about reverse engineered C header files needed to link to the library. Hope it will be useful.