Emulated DJI Mobile SDK keeps - java

In the context of an university project, we want to develop an Android app (Java) using the DJI Mobile SDK (4.11) to control a DJI Mavic 2.
Our created/ downloaded apps like the DJI SDK samples can be run on mobile phones after building them as APKs but we didn´t accomplish to emulate them in Android Studio (3.5.1). Already read that it wouldn´t be possible but developing an app without testing it in the IDE won´t be practicable for us...
Is there any option?
Thanks in advance.

The best option, and one I tend to leverage is use the simulator. I almost bench fly more than I fly outside.
I cannot think of another option of hand.

Related

Writing an App with Android Studio to watch a Live Video which is provided by a Camera

I am currently working on a project. I have learned Java for ~4 years and am completely new to Android Studio.
In this project, a camera with artificial intelligence should recognize people within a certain radius.
With an Android app that I want to program using Java via Android Studio, I want to access the camera and query the information.
My question would be, with which tool or library can I program such an app and what else do i need?
I tried to use OpenCV and also Exoplayer, watched several different tutorials, but nothing really worked out for me.
My question would be, with which tool or library can I program such an app and what else do i need?
I thought using histograms might be the right apporach. I looked around and found this intersting project. https://isl.cs.technion.ac.il/wp-content/uploads/2020/11/Face_Recognition_Project.pdf
Introduction
Our goal was to create a fully operational mobile application which could detect,
recognize and track human faces.
In order to do that, we have decided to use the Android[3] platform combined
with the opencv library[4][5].
The development of the application was made on Qualcomm MSM8960[6] mobile device which run a 4.0.3 Android OS.
In addition to the application we have built, we also did a research about how
well we can use LDA[1] and PCA[2] in order to recognize faces and also about
the use of LDA in order to do basic pose estimation.
This is also interesting: https://towardsdatascience.com/face-recognition-how-lbph-works-90ec258c3d6b

real time turn by turn navigation using Skobbler APIs on a Java app

I am trying to develop a java app that will run on a Raspberry PI. Raspberry PI will be mounted on a vehicle and I will know my position through a gps device. To solve this, I’ve been thinking on a solution like this:
Use a Webview on my JavaFX app and use your javascript API to build a real-time turn by turn navigation app. However, I’ve seen that your web API is not as complet as mobile platforms APIs. My question is: Is what I am trying to do feasible using your APIs? If so, could you please give me a brief description how to do it?
Thanks!
The Javascript API is not a turn by turn API - that is currently something a bit too heavy for javascript to handle (it could be feasible but it's not commercially attractive right now).
In theory you could integrate directly with the C++ code of the SDK as that should be able to run on Linux (depends here on the gcc version used and the OpenGl support offered - send an email to dev#telenav.com with your scenario and they will advise you).
Or if you can run Android on the device then you can use directly the Android SDK.

Making iOS app using Android Studio and LibGDX

I want to make an app (not a game) for both Android and iOS. I have used LibGDX to make a game before and I like this because with one Java code it makes the app for both Android and iOS. However, I want to make an app that is not a game for iOS and Android with one Java code. Is my only solution to use the game engine LibGDX to make the app or is there another was I can do this.
I want to use one code in Java on a windows computer to make the app.
Intel has recently introduced INDE Multi-OS Engine early access programm: https://software.intel.com/en-us/intel-inde-multi-os-early-access
It allows to write you app for both Android and iOS in Java. Good technical overview is here: https://software.intel.com/en-us/blogs/2015/07/30/multi-os-engine-of-intel-inde-technical-overview
It let's to create Java applications in Android Studio for both iOS and Android platforms with a possibility to share logic between them.
Also there is a way to develop an app on Windows-host with Mac build server in LAN.

Is there a way to hot-deploy delta changes onto an Android device? [Say, like JRebel]

I am an Indie Game Developer, and I am currently building a game for the Android Platform, using NDK.
My problem is that, this game is now more than 20MB in size and is taking a lot of time to deploy and start up on my Android Device, which is becoming a pain and is slowing me down.
So, I wanted to know
Is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?
Is it even possible? I am looking for some thing like JRebel tool, for the Java VM and Java Containers.
[Update: Any other thoughts on bringing down the build time, please?]
Thanks and Cheers!
[Note: Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.]
So, I wanted to know if there is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?
Not for stuff you are packaging inside your APK.
Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.
I would hope that the latest emulators (with hardware acceleration) and the x86 emulator images for 2.3.3 and 4.0.3 would run your game acceptably fast.
Actually hotswaping delta changes on Android is possible. You should use some special tools to achieve this behavior. You can try the tool: InstaRelaoder use "inirwetrust" as the password
JRebel is available for Android, and supports NDK projects.
https://zeroturnaround.com/software/jrebel-for-android/
Android Studio 2.0 has now an Instant Run feature.
More info in this link.

Is there an API available for using the Samsung TV network remote control feature?

I want to write an Android app which controls my Samsung TV via the wifi network. This is possible because there are apps out there that do it (including Samsung's own remote app).
Is there a Samsung API available to do this? How does the app talk to the TV?
There is an open source project of SamyGo, and it works perfect. I am using it on my android phone and with the help of that project source, I created a little remote control with c#. You can always check their offical forum link for latest news.
http://sourceforge.net/p/samygo/code/1286/tree/
http://forum.samygo.tv/index.php
this seems to be a good start (Samsung SDK for their TVs):
http://www.samsungdforum.com/Devtools/SdkDownload
I've used this for PC based Java apps and it works well ... might be of some use:
https://github.com/mhvis/samsung-tv-control

Categories