Android Application files similar to .cod and .jad file in Blackberry - java

I have a Blackberry application which contains .jad, .cod files and the velocity file .vm get automatically created. Now I want to use same application with Android. So which files are needed?
I am currently using Simulator 2.2 on Windows XP.
Again I am facing one problem that the browser URL size is too small. So I am using Bitly to shorten the URL. Again I can not copy and Paste the URL?
Does anybody know a solution for this?

A J2ME BlackBerry application has nothing to do with an Android Java application. You have to start from scratch using Android SDK and re-write the application.
BTW: Please ask only one question at a time.

Related

Uploading files in google colab

So I am writing code in java in google colab because I want to copy-paste the code in android studio to perform a specific function. Now in python it is pretty easy to upload files to google colab but I want to do it in java (I particularly want to upload image files). I should be able to upload image files in such a way that I can use it as input in my code. How can I do it? Also, for all the packages that I import in google colab, will I have to separately download them for android studio or can I just copy-paste the code and it will run?
Google Colab presents a Jupyter-notebook like environment for Python code only. It cannot run Java code (at least, I cannot find where you'd make it do that).
I want to copy-paste the code in android studio to perform a specific function
Android code runs on an Android device, not in a server.
If you want to run Java code on a server, then you'd host an HTTP-based Java web-server that you use an HTTP Client from Android app to communicate with it. (In theory, yes, you can install and run JAR files in Colab, but you would then need to know the IP of those servers in order to connect with them).
The more appropriate solution would be to use Google AppEngine or GCE/GKE (assuming you want to use Google Cloud)
I ... want to upload image files
You can use the Java Google Drive SDK for that
for all the packages that I import in google colab, will I have to separately download them for android studio
Android Studio is an IDE. Gradle will download packages for compiling your Java/Android code, yes, but as mentioned, Colab is downloading Python packages, not Java

How to create and link image database with java code for android application processing

i am making an android application on CBIR i.e reverse image search for my final year project. I have started with developing an algorithm for the same in java using eclipse which is working properly. But its basing its search upon the images in the folders of computers. However in my case in the end i have to port my java code to android. So how will i make it possible to fetch images from my folder for processing on the android app.By searching on google i got an idea of using Xampp for the same but the php code is working to an extent but not storing the images in the phpmyadmin database. What is the most feasible way to do the same, i am stuck at image database part. Please help with the choice of software and methods for the same.

Running JAR on iPad/iPhone

I have a JAR (java application), which I want to run on my iPad. Is that possible, How to do this? If possible through Appstore, (I know the process of Appstore and I have Apple Appstore account), please let me know is it possible to upload jar in Appstore and download from there?
No, it's not possible to run jar file into iOS or upload to App store. but Oracle ADF Mobile uses a native container that runs applications on both iOS and Android from a single source base. One part of that native container is a headless/lightweight JVM, but it's definitely not a .jar file
http://java.dzone.com/articles/oracle-gets-java-running-ios
http://www.infoworld.com/t/java-programming/java-ios-just-keeps-getting-easier-204543
That's impossible. Apple doesn't support Java. Apple uses Objective-C as its main language. If I'm not mistaken, Safari on iOS doesn't support Java too so you can't run applet on iOS too.

Run Android APK files in web browser - Is it possible?

I am looking to write a web page that can load to it and run APK files. Something like a web control that can get an APK file url, load it and let the user interact with the app (No need in the whole android system, just the specified APK).
Is it possible? Is there anything like that in the market? Maybe a standalone open source emulator i can migrate to work on the web?
Short answer: no, but not fully impossible
Long answer: BlueStacks provides a raw and unstable emulation framework that is able to run single APKs without the full Android device emulation, but while it's not designed to run in a webpage, it actually executes as an ActiveX.

Java Application on Smartphone

What alteration should be made in a Java Application to be able to install it on Java Enabled Smartphone?
I tried using a random app of mine to see what happens, when I open it on the cell, it says Install? I say yes, and it says invalid file.
Now I was wondering what alteration should be made?
My smartphone (Samsung S8500) runs on bada which is more or less the same as Android, but alterations in the General.
You need different SDK for smartphones. Like for Android, you need Android SDK 1.5 or any other version. You just cannot install the same application. You need to develop using the resources provided by the SDK.
If your application is Java based mobile application then you can use some tools to convert it for Android. Doesn't work every time but worth a try.
In your case, Bada OS is not like Android what i learn from here. So, you need to develop the application using J2ME .

Categories

Resources