?
Solved

java signed applet on chrome browser  android

Posted on 2014-04-04
9
Medium Priority
?
2,426 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 62

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 2000 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 2000 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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
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.

771 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