jade android for native application - android

I'm looking for a way to develop a native android application ( with no server to run agents in ) . Is there a way to run an agent inside android and not like the jade fpr android tutorial chat application , where the platform is installed on server ?

Consider another Java-based agent platform such as Janus, where you can deploy and run agents without the need for a central server/container.
See this page: First Janus on Android Tutorial

Related

Can you please Clarify flutter for me?

My Questions about flutter is ( in android studio IDE):
1- in windows can i download iOS virtual mobile ?
2- flutter in windows can only support code for android apps? , and later the app will convert to iOS app and…etc ? , or How is the operation going?
3- can you in windows code for iOS apps Directly or the code is the same code in windows whatever it’s ios or android
No unles you use a vm
2.no it supports all playforms
No the advantage of using flutte is that it uses a single codebase to deploy on different platforms.
If you are interested in building ios app from windows take a look at https://developer.apple.com/xcode-cloud/

Can I write a React Native app without a Mac?

I'm choosing a cross platform framework to create an app, React Native would be my first choice because I'm already proeficent with React and it will allow full code sharing with my Deno based back-end but here a problem arises, I don't have a Mac and it seems that the oly way to develop React Native apps without a Mac is by using Expo, sadly it can't be an option for me since I need have very strict privacy requirements to follow and by these the telemetry which Expo apps sends to Expo team is not acceptable.
Considering that my app would use very few device native features (just CRUD operations on application local storage and QR code reading) which are already covered by cross platform modules it would be possible to write my app on a Windows laptop, debug it on an Android device, build it using a free CI/CD platform which includes Linux and Mac agents to get working Android and iOS packages with can be distributed to the respective stores?
As you can see in React Native documentation, you can write code for both platforms on Windows machine, but for building an publishing IOS application, you must use Mac machine
A Mac is required in order to build your app for iOS devices. Alternatively, you can refer to our environment setup guide to learn how to build your app using Expo CLI, which will allow you to run your app using the Expo client app.
Read doocs here: Running On Device

Android App Crash: Running demo NaCl app (pexe app) on mobile using Apache Cordova

I'm trying to run a Chrome App on Android Mobile using the instructions from:
developer.chrome.com/apps/chrome_apps_on_mobile
From above URL, I could run the calculator app fine in Android Emulator 5.0.1 fine. No issues.
github.com/GoogleChrome/chrome-app-samples/tree/master/samples/calculator
Chrome App Calculator on Android Screenshot
Then I tried running the "Native Client" App on Desktop from example api directory of nacl_sdk:
developer.chrome.com/native-client/sdk/download
nacl_sdk comes with few examples including demo and core api examples. All examples works fine on Desktop. Out of them I took 'file_io' api example which runs fine after compiling (make). I took that folder and used the following command to create cca cordova app:
cca create FileApp --copy-from=/path/to/file_io/manifest.json
Then cd to FileApp and cca prepare
After that ran Android eumlate command:
cca run android --target=avd5
It processed everything fine, and I see no errors building this cordova app like calculator app. But, after 'LAUNCH SUCCESS' when the app launched the Android emulator crashed. The emulator windows closed.
I started the Android Emulator from AVD Manager, and after booting up Android I tried starting the 'File I/O' app, which in result showed me the message
"Unfortunately, File I/O has stopped." Screenshot
Does that mean the PNaCl/NaCl apps still are not supported on Android OS?
The NaCl app contains the .pexe file.
Is there any step in between I could be missing?
I'd really appreciate any help in this regard to test if I could run Native Client Apps on Android OS just like the Chrome Mobile Apps using Apache Cordova examples work.
Native Client (NaCl) isn't supported in Chrome for Android (and by implication the Chrome/Chromium based WebView).
See: http://developer.chrome.com/multidevice/faq
Q: Does Native Client work on Chrome for Android?
A: It does not, and we have no plans to announce at this time.
But then the OP read at: https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/faq.md#is-nacl--pnacl-supported
Q: Is NaCl/PNaCl supported [in Cordova]?
A: No. However, you can still compile and use native code
by writing a custom Cordova plugin.
And unfortunately the word native is an overloaded word with different meanings depending on context, so the OP started asking about the Android Native Development Kit (NDK).
The Android NDK which uses Java Native Interface (JNI) for C/C++ code to communicate with the Android Java framework. Typically Android apps only use the NDK if there is need to port existing C/C++ libraries or have a computational performance requirement like physics modeling or image processing.
When Cordova is referring to 'native code' its referring to code written in Android Java which would need to be bridged via a Cordova plugin to the JavaScript side.
And of course why to use any of the above frameworks/APIs depends on what the OP wants to do.

Cordova project for both android and windows8

I would like to use PhoneGap - Cordova for developing HTML5 + javascript application that will display sensor data on both win8 and android.
I have a basic question which I didn't understand from my research in the web.
what is the structure of such application? I mean, how to build this cross platform application in one project only?
what I see in phone gap - getting started guide http://docs.phonegap.com/en/2.5.0/guide_getting-started_index.md.html#Getting%20Started%20Guides
and many other websites, is that the working mode is to open a project, for example in VS2012, for OS specific. but I want to use this project for win8 and android!
I'll appreciate any help, especially if you have code samples for it and maybe some useful tools\templates to open this project.
note: I'm new to HTML5-javascript.
gin,
the structure is you would be coding using jQuery,java script,CSS,resources and your basic HTML.
The HTML API and the CORDOVA's java script will integrate with the native plugins of Phonegap.
We can create our own plugin's,we have a format for it there in the same website.
You need to create different projects for each platform if you decide to build the app locally. For example, you need to create an Xcode project in a Mac machine to develop an iOS app. If you are ok to do cloud build, you can check out http://build.phonegap.com where you just need to upload your zipped html/js and css files and it will give u ready to run apps for iOS, Android, Windows mobile, BB etc...

Running a Python app on real Android phone

In order to develop an Android app using Python, I need to install Python for Android and SL4A on my computer to be used with the Android emulator. My question is, when I distribute this app to actual users/phones, do the phones need to get Python for Android and SL4A explicitly? Or is the supporting infrastructure built into Android devices? Or is there a way to package the Python application where the users do not have to get SL4A and Python for Android in order to run the application?
Instructions on redistributing your script to run on devices other than your development one are here:
http://code.google.com/p/android-scripting/wiki/SharingScripts
You can wrap them in a template project and build a stand alone apk.
Your users have to install SL4A and the language plugin (python?) on their phones, this is not a built-in functionality.
Since the source code is available, it's possible to create combined application, which includes your scripts and SL4A/python code, but in my opinion this defies the purpose of scripting in the first place.

Categories

Resources