How to run HTML5 on eclipse ADT to create Android application - java

I have Android Developer Tool Build: v22.3.0-887826 This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP and I want to program HTML5 to create Android application on this version of eclipse , is that possible? , I mean to run HTML5 on ECLIPSE?

You can't (and don't) run HTML5 on Eclipse.
It is possible to create android application with HTML5 though. There are several ways of doing it. You can find literally TONS of information by searching google for html5 android app development - you'll find everything you need. Spend some time researching this - and you'll get to the answer.
One of the most common frameworks is Sencha Touch - again, spend some time researching - you'll get to the answer.

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

Developing software for Android to Android Communication using Android ANT Radio Service

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.

Questions regarding Windows/Android development (Java:APK/JAR)

I'm planning to write a software (with GUI and sounds) that should run under Android and Windows 7/8
I guess the best approach for this is to use Java?
I am new to Android and Java development so my questions are:
-So can I use one development platform to create both (APK & JAR), namely Java?
-As far as I understand for Android I need to compile (from same source?) a .APK file and for Windows a .JAR file ?
(The .JAR will run in the Java Runtime that is installed in Windows)
-If I use Java what would be the best IDE, something like Google's Android Studio (will it allow to create .JAR?) or Oracle's JDK (Java SE Development Kit) ?
thank you
I don't think it is possible to write an app that will run on both OS's, since all GUI components are part of different frameworks (Android SDK for Android, SWT/Swing/... on Windows), and not compatible with all OS's.
You best bet is probably a web-based app. You can run it in the browser on dektop and either on a mobile browser on Android, or package it as a fullscreen WebView running your web app. The best part is it would also work on iOS.
You could also write your app for desktop in Swing and then convert it to an Android app, you can find questions on StackOverflow on the subject, such as this one.
Hope this helps ;)

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.

How to port Lwuit application to Blackberry Torch

I have developed a Lwuit application and I ported that same app to blackberry bold,curve,storm
but when I gonna port that very same application to blackberry torch it doesnt work and gives
illegal state exception. So I want to know how to port my app to blackberry torch.
Thanks in advance
Use latest LWUIT repository or download LWUIT 1.5. They created separate LWUIT jar file for blackberry domain. you can use that jar file for your blackberry application. More info look here, LWUIT with Blackberry.
Try using the Resource Editor for LWUIT 1.5 to redevelop your app - it will surely make it easier this time around. I suggest this because after development, you can generate a netbeans project, that usually contains sub-projects in 4 platforms - Desktop, MIDP, Blackberry and Blackberry touch. I am sure your problematic platform will be covered as well.

Categories