I have a android application written in java and I am a android programmer. I have few swf files that needs to be displayed in android app. With earlier versions I was able to display using webview but with post kitkat this is not possible as per multiple search across google.
If we use flash to publish Air APK project it runs the swf perfectly. Can we extract the same code to display our swf in java program as I cannot move away from java programming as there are other features around the program.
Please help as Adobe themself are successfully displaying .swf on kitkat.
Related
I'm working on a Xamarin.Forms app in C# for iOS and Android. I also have the source code for another app that's written for Android devices in Java. This other app is a fully developed app on its own and has its own pages and UI designed already. Would it be possible to run this app within my project, at least just for Android?
For example, let's say I have a button in my app that, when clicked, leads to a new page within the app that starts running the Java app. From there, it's as if users are simply using the Java app, only that there's a back button on the top of the page that leads the users back to the main page of the Xamarin.Android app.
I've looked into Binding a Java Library but it seems like that's primarily for Java libraries rather than full-on applications.
From what I could tell you can look into creating a AAR file of the existing Java code:
https://developer.android.com/studio/projects/android-library
Then add the new AAR (with the Java code & resources) to your existing Xamarin project:
https://learn.microsoft.com/en-us/xamarin/android/platform/binding-java-library/binding-an-aar
Using Intents on both sides:
https://developer.android.com/guide/components/intents-filters
https://developer.xamarin.com/api/type/Android.Content.Intent/
I would start with a simple Proof of Concept:
write a simple Xamarian app with a button to launch the Java Android
Activity via intent
write a Android app with a button to launch the Xamarian activity via an intent (the back stack for the integrated app may be tricky).
Build an AAR out of the Java Android side.
Integrate the AAR into the Xamerian app.
I am interested in using the ANT Radio Service in my application to be able to communicate to another Android Device. I've seen the ANT Website and read through the documents, I also downloaded the Android API in their software section which contains the jar, javadocs, and some sample applications written using Eclipse.
Also included were apk files of the sample applications. I installed them (Acquire Channels and Background Scan Samples), but those samples seem to just scan for available devices. The Acquire Channels Sample does not seem to work as the Background Scan Sample does not seem to find my device using the Acquire Channels App.
I am also having a difficult time importing the Eclipse Projects properly to Android Studio for some reason.
Does anyone here know how to build Android Applications with the use of the ANT Library for Android to Android communication? There seems to be a lack of examples and tutorials online for such a good technology given its age.
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.
I recently installed the Bluestacks Android emulator. I happened to look at the process running under ProcessExplorer and was surprised to see that it is a .NET application.
The HD-Frontend.exe is the Bluestacks UI process and is highlighted yellow because it has loaded the .NET framework. There are a number of other processes associated with Bluestacks and most are also .NET.
Opening the EXE in Reflector.NET also shows that it is .NET.
I thought Android was Java-based. What's going on here?
Android is Java-based, but that does not mean an Android emulator has to be written in Java -- just functionally emulate Android devices.
While BlueStack's site does not list any system requirements for its emulator that I could find, at least a couple sites -- e.g. Bazooka Apps and Android Emulator for PC -- mention .NET as a requirement.
Ultimately the proof of what's going on is right in the process list and Reflector results you found.
its an emulation tool whose job is to read the dex code respond to that how the android phone should respond and not to compile and run that dex so it could be on python or ruby also there is no boundation at all that you have to make android emulator on java becuase android is built upon java.
So I developed an application for Android of which uses an SWF file. Now, I did this within Eclipse instead of using Flash CS6's native AIR libraries and such. Many devices of which downloaded the app are seeing it break because they can't support flash.
How would I go about including something like the AIR Runtime bundled with the application so all users could use the application?
Many thanks in advance.
Download the AIR SDK from Adobe. Create an application descriptor that references your SWF file and contains the proper settings for an Android mobile app (all documented on Adobe's developer site). Then use the AIR ADT tool to package it into an AIR app. That's all you should need to do assuming your SWF file is otherwise normal.