Open executable jar from Unity UWP - unity3d

I'm building a windows app using Unity3d and I want to include an executable .jar file which has to open on button click from the app. Is there any way to develop this? Please help.

Unfortunately I don't think there is a direct way to do this. Pure UWP apps (which are generated by Unity) are sandboxed and compiled using .NET Native. As such they don't allow executing external code/process as that would pose security risk.
If you used an external Desktop Bridge app (which has full permissions) and communicated with it via app service (see this documentation article), you could theoretically achieve this, but it sounds a bit too complex. Another alternative would be to publish your app as a classic Win32 game. It would still be possible to publish it on Microsoft Store, however it would be limited to desktop devices.

Related

Is it possible to run two apks simultaneously and make them communicate through a windows service?

I'm using xamarin.forms to create an equivalent of a windows forms app in mobile, the windows app runs two exe files at the same time and the exe files communicate with each other through a windows service, I want to know if the same thing is possible in xamarin.forms, I mean if it is possible to publish two apks under one app and how? and if so, how to communicate between the two apks? Is it possible to use the same windows service that we're using in our windows app?
EDIT
What I want to achieve by communicating is the exact same thing we have in windows, we're trying to use the same code we have used in our windows app, as much as possible, as I explained in my question, we're using a sevice to comminucate between two exe files, I know it's not possible to run an exe in Android OS, but I thought if I could use the code of the exe files in xamarin and create a UI for them and turn them to apk (but not seperate apks, if possible) and communicate between these two, then we will be able to achive the same functionality we have in Windows.Forms. I don't want to open another app in my main app, I just want to use the data of the second app in my main app.
I mean if it is possible to publish two apks under one app and how?
No, it is not possible to publish two apks under one app. An app only contains an apk, both iOS and Android will not allow you to do that.
Is it possible to use the same windows service that we're using in
our windows app?
No, windows service is not available on iOS and Android. They(iOS and Android) are independent mobile operating system developed by Apple and Google. Windows has nothing to do with iOS and Android.

How to disable other Apps or other apps communication with Ionic

I am looking for information on how to disable/enable other apps with Ionic. Or even block the network communication of another app through a button in my ionic app.
Is this possible with Ionic? What plugins or tools should I look for?
Thank you!
Such privileges in general are reserved with the system (operating system) and each app including ionic-cordova hybrid would run in a "sandbox" and app 2 app APIs are normally not common or not available/exposed.
There was an attempt to do app2app API with windows phone but failed.
So at best you could try leverage app specific schemas to let OS know you want external app to do something. But definitely you can't control other app's behavior like you described (was possible in early days of Android actually I think)

Making Chrome web app standalone desktop program

Google announced that they drop support for web apps in Chrome.
Basically, web app is a local HTML/CSS/JS app that runs in a separated custom "standalone" Chrome window.
Is there any way (preferably easy), to convert this web app to a real desktop app that not depend on Chrome in anyway? Using maybe NodeJS? If yes what is the right way to do it?
Thanks.
You could try one of these tools:
https://applicationize.me/
https://www.bzgapps.com/coherence
https://fluidapp.com/ (for Mac only)
Don't know about "easy", but it seems to me that the natural evolution is to Electron or NW.js, and both of these are mentioned in the Google blog article on this subject. (I'm moving to Electron.) Both have advantages over Chrome Apps, mostly that they are true desktop applications. To cite one example, you can now manipulate the menu bar, something out-of-bounds for Chrome Apps.
Pure JavaScript code in your Chrome App, such as anything to access the internet, should move over directly. Same for much UI stuff, as you're still using a browser window for the UI. The app will, however, have to be restructured.
Added Note: Chrome Apps ran on 4 platforms: MacOS, Windows, Linux, ChromeOS. Electron and NW.js apps won't run on ChromeOS. So, the ability to write a four-platform completely binary-portable app is going away.

Iphone app using Phonegap and the OS and IDE I can use

I have a requirement from client to develop an iPhone application. As I am a dot net developer I thought it will be bit challenging for me. So I thought of developing it using phone gap. So before suggesting something to the client I need to make sure of certain points.
Do I really need a mac machine to develop this?
Since I am using only html5, css and js, can I develop it in Visual studio/Eclipse? I have already tried some samples in both these IDE. And once the app is ready I have read about using PhoneGap Build I can make it ready to use in iPhone...
But from the following link, what I understood is I need an apple computer, mac os and Xocde to develop it even though it is not a native mobile app.
http://mobile.tutsplus.com/tutorials/phonegap/phonegap-development/
Please guide me with some insights before talking to the client.
Thanks.
PhoneGap Build is a cloud-based service built on top of the PhoneGap
framework. It allows you to easily build those same mobile apps in the
cloud. To get your application build just what you need is to simply
upload your web assets - a ZIP file of HTML, CSS and JavaScript, to
PhoneGap Build, after some time you’ll receive the download URLs for
all mobile platforms.
I read it from here , they also mentioned about installing SDKs
you might want to install some of the SDK emulators if you don’t own a
particular device that you want to test a build for.
Here in this link they have put a note
Since PhoneGap Build uses Apple's standard development process to
build applications, you will need to sign up for their developer
program to build iOS applications on PhoneGap Build. You will also
need a Mac to configure your certificate and provisioning profile.
Consider using a Mac Virtual machine.
You mainly need a mac to create key value chain pairs to sign your app and test it on a device. You can just get a Mac VM to do this is my recommendation. You can then use the phonegap build service to compile your www folder for iOS
Here is a good demo for multiple index files to have one solution base
http://blog.safaribooksonline.com/2012/07/13/mcrooster-a-phonegap-application-with-a-single-codebase/
I think you should do a bit more research before jumping into bed with PhoneGap for the sake of not being an Objective-C developer. PhoneGap has its limitations, and my experience of it compared with native app development is pretty poor.

visual studio desktop application for iphone/Android apps

i want to develop one desktop application using c# sql lite, this application i want to submit this app to Apple store in case of iphone/ likewise for Android. please let me know if it is feasible to do, if so please let me know the steps that need to be incorporated in order to achieve this.
No. You can't do this directly.
You need third party compilers to run C# code on iPhone (MonoTouch) or Android (MonoDroid).
Do keep in mind that, even if you use MonoTouch (or MonoDroid) you won't be using Windows Forms, WPF or any other Windows based GUI framework. You will be using different frameworks to support Apple and Google's platform capabilities. So if you were thinking to run existing C# applications on iPhone or Android, it won't be possible.