Solved

java signed applet on chrome browser  android

Posted on 2014-04-04
9
2,168 Views
Last Modified: 2014-10-24
i need a signed applet example which must work on  chrome browser with android platform.
0
Comment
Question by:tittu
  • 5
9 Comments
 
LVL 2

Expert Comment

by:Robert Silver
ID: 39980572
According to al I have heard you should stay far far away from Applets . HTML5 standard has done away with them completely. Applets were a mistake a total security nightmare. In my opinion Java should never have allowed signed applets at all based on the disasters they unleashed. Now an unsigned applet I see no reason to block but HTML standards eliminated them completely for a good reason.

What you really want is a web application running from a remote server or a javascript and html  webpage running locally.
Definitely not a  Java Applet. On the remote server  you can handle your security or locally in the browser you can handle that security - but not with Applets!

Just take a good look at a GWT (Google Web Toolkit) based web page served from a remote server.
0
 

Author Comment

by:tittu
ID: 40003235
with GWT can i access local device connected to client pc thru a browser ,  the requirement is i have blue tooth printer provided  java api() to print   , i need to develop application thru jsp and access blue tooth printer from browser on client pc.
0
 
LVL 2

Accepted Solution

by:
Robert Silver earned 500 total points
ID: 40003393
This may not solve all your problems but may get you heading in the right direction
check out this phonegap example:
https://github.com/jimgeisler/phonegap-android-bluetooth-plugin-example


also the following is another android plugin solution using bluetooth.js and associated plugin:
http://docs.monaca.mobi/en/reference/phonegap_plugin/bluetooth/
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 61

Expert Comment

by:gheist
ID: 40003943
There is no java plugin for android browsers
You can pack your applet as apk.
0
 
LVL 2

Assisted Solution

by:Robert Silver
Robert Silver earned 500 total points
ID: 40004227
I would suggest you check out the URL below:
http://developer.android.com/guide/index.html

You will find Java APIs to handle much of what you seek to provide with respect to bluetooth interaction on an Android and similar APIs exist on Apple IOS , and other mobile devices.
you just have search for java api and blackberry. Maybe objective c and api and IOS and bluetooth for Apple devices.
There is supposedly a way to do this via the mobile phone browser and native plugins as well though I have not had a project that deals with bluetooth devices like you clearly do

One of these should help I hope. Not everything can be done in javascript some things require special secured plugins that you install on your mobile device. these plugins act a bit like device drivers.  eg the flashlight app that controls the flash on your moble phone's camera.

I hope that helps!
0
 
LVL 2

Assisted Solution

by:Robert Silver
Robert Silver earned 500 total points
ID: 40005592
There  are two different technologies avaialble
Native Java based Android applications and

browser based javascript/html5/css3 browsers making use of browser API plugins which the javascript can access.

It sounds like you want to make use of one of the BlueTooth APIs available through the Android or Google Chrome browser via an installed plugin in said browser.

The only alternative being to download and install a native java (via ADT SDK) mobile application.

I do hope that helps a bit!
0
 
LVL 2

Expert Comment

by:Robert Silver
ID: 40007099
Here is a bit more info for you.
One way to access and control native devices from Javascript code is explained here:
http://developer.android.com/guide/webapps/webview.html

Some bridging frameworks include phonegap should be looked at as well
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This Micro Tutorial will demonstrate Moz's free MozBar that for some reason our Facebook mark did not get ported over, so this tutorial will show you how it saved us.
This Micro Tutorial will demonstrate using MozBar to view an article that was deleted from the Search Engine Watch site after being debunked by Google.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now