Can I embed java app in flash (mp3 recorder)
I need to provide an mp3 recorder from the user's sound card functionality to a flash application. It will be strictly a web app hosted on a server, not an install. User's may or may not have admin priviledges.
I am mostly a vb guy so I was wondering if this could be accomplished with Java, if so how many MS security windows will the user need to wade through?
It sounds like an applet is what you want, but I have no idea if an applet can be embedded or communicate with flash. Try googling "embed applet in flash" or something to that effect.
How much of this sound card functionality do you need to use in java? Java has a separation between the software and the hardware, so unless you have a library already, it will be hard to access native functionality.
Similar Messages
-
Can I embed Java in a .pdf?
As the title asks...
I am wondering if it is possible to embed a Java app into a pdf?
If so, can someone point me towards some documentation on how to?
Thank you!You might ask in one of these developer forums
Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_scripting -
Hi.
I don't speak english, but I will try to communicate...
I would like to know if can I build Java
DESKTOP applications with the appearance of Flash web
applications...
Can I do it???
[ ] s,Hi. I dont think there is an easy explanation for this, but
what you can do is
the following:
1. Use flex/flash to communicate via flash remoting to an
external app server running j2ee, such as openamf or the commercial
servers available from adobe.
2. Then build your front-end in flash and the major
application services you need you send these as requests to the
java back end server.
3. There are some lighter weight solutions to running the jre
as well. I dont know any offhand, as opposed to running a full
tomcat server with a service.
Does this help? -
How to embed java application into flash player
By using SWT flash, I able to embed flash player into java
UI. But then now I want to embed the java application in flash
player... Do it possible ?? or any export can help me or advice me
on this? Thanks
Regards,
SosseresHi,
In this case, you need to setup Single Sign-On (SSO) between your SAP Portal and Websphere.
Please refer to the following URL:
IBM WebSphere
Here, you will find all the guides that explain how this SSO can be established. Under the General Section, you will find documentation that describe the SSO cases. Under the section of interoperability, you can find the guides like "How to Set Up SSO Between SAP NetWeaver Portal and IBM WebSphere Portal Using TAI".
Use these guides to setup SSO.
Regards,
Shitij -
Can I create pedometer app with Flash?
I have used eclipse before, but first time to create app in flash. Can I make a pedometer app for Anroid and iPhone? Is there any related tutorial on web? Thanks a lot.
You can use Flash CS6 (and CS5.5) to create mobile apps. I don't know any specific pedometer tutorial, but do a search for gyroscope native extention for Air (http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html) and geolocation (http://www.adobe.com/devnet/air/quick_start_as/quickstarts/qs_as_geolocation_api.html).
-
Can I Embed a URL into Flash?
Hi All,
I have a dynamic graphic that is updated periodically. I want to know if I can embed the URL into Flash. The URL is:
http://cache.www.gametracker.com/server_info/68.232.170.145:16567/banner_560x95.png?random =751479
I'm using CS4 but am developing this site in AS2.
Many Thanks,
ScottHi Keith,
I would like to have the URL embedded in my Flash project (web site). So that the URL is displayed in a section of the web site. I suppose the best way to explain this is that I want the URL to be displayed automatically on the web site with no mouse or user interactions.
Does that help explain it?
Thanks,
Scott -
Can I embed OpenType fonts in Flash CS 5.5?
I just reopened an old-ish Flash project and the fonts aren't working. The project was worked on previously in CS 3 or 4 - don't recall - on a Mac running some earlier version of OS X. I'm currently running Lion and Flash CS 5.5, and some of the fonts aren't embedding or rendering. The project is using Postscript fonts.
I thought I read that TrueType fonts are more reliable, but the font I need (Akzidenz Grotesk) is not available in TrueType, only OpenType.
Am I safe to buy and use this in OpenType format? It's several hundred dollars so want to be sure before blowing the money. I think I'm looking at this version, which seems to be the smallest/cheapest I can get away with: http://www.linotype.com/265010/AkzidenzGroteskStdValuePack-product.html
Thanks!Thanks. I'm actually using the Font Embedding panel in Flash. Seems to be working though I can't get any of the variations to work.
I create a new font in the Font Embedding panel, choose my font and weight (trying Myriad Pro and Myriad Pro Italic), export for actionscript (AS classes fontNormal1 and fontItalic1).
Then in the class where I do my formatting, up top I have:
private var fontNormalFont1:String = 'Myriad Pro';
private var fontItalicFont1:String = 'Myriad Pro Italic';
In my constructor I have:
Font.registerFont(fontNormal1);
Font.registerFont(fontItalic1);
Then I create my text format:
fmtMainTitle:TextFormat = new TextFormat();
fmtMainTitle.color = 0xffffff;
fmtMainTitle.font = fontNormalFont1;
fmtMainTitle.size = 18;
Which I subsequently apply to text fields (including an embed font directive). It works great if my font is fontNormalFont1, but if I try fontItalicFont1 it comes up blank - no text appears.
I tried creating an instance of the AS class for the italic font, and getting the font name:
fontItalicInst:Font = new fontItalic1();
trace(fontItalicInst.fontName);
And I get back "Myriad Pro" - in other words it's only returning the base font name, not the full name.
I'm pretty rusty at AS/Flash, and fonts were never my strong suit, so I could be doing all the the wrong way. I do need to have fonts available in CSS, which could be why I'm registering the fonts (it's been a few years since I built this app).
Would appreciate any advice
- Bob -
I use Java run live stock market feeds which have always worked perfectly on 10.4.10. Just bought a new MacBook running 10.5.1 - I managed to get it working a couple of times but now will not work at all. I tried everything I can think of including fsck which found no faults and I even copied over my Java files from my PowerBook to the MacBook. So it seems that 10.5.1 does not work with Java J2SE 5.0. The application I run says I need Java 1.5 but I cannot seem to locate this anywhere to download and the previous versions in the J2SE 5.0 are 1.3.1 and 1.4.2 plugins. The site where I am logging into the live fees from does have link to a 1.5 plugin which I have downloaded several times but makes no difference, when I open the file it is all weird looking text which may be perfectly normal, not sure e.g.
MZêIt is run as a desktop app, and other runs with commands such as JOptionPane do function, only the println windows don't appear at all. So I think JRE is installed and working.
I did notice there was one command for input where I'd be able to enter it at the bottom of Netbeans.
Like just now I clicked build and run for the following code
import java.util.*;
public class FirstProgram
public static void main(String[] args)
System.out.println("Hello out there.");
System.out.println("I will add two numbers for you.");
System.out.println("Enter two whole numbers on a line:");
int n1, n2;
Scanner keyboard = new Scanner(System.in);
n1=keyboard.nextInt();
n2=keyboard.nextInt();
System.out.println("The sum of those two numbers is");
System.out.println(n1+n2)
}Resulting in a brief flash of "input" in the output window (which is below the coding window) and it dissapears. But this also occurs when I don't include system scanner code.
Using commands in cmd
java -jar "C:\Users\Alegis\Netb\MyApp\dist\MyApp.jar"
Does not yield desired results either. Nothing happens. -
Can I embed Arabic text in flash?
1. If so, how can I do this? When I cut and paste an arabic
text from a notepad or photoshop, all the characters comes out
wrong.
2. I believe I can use an external txt or xml file instead.
But if I do this, would the user be able to get the right
characters / fonts if they don't have the arabic fonts on their
machines?
thanks in advance.About embedding font outlines:
Let's say I want to use a decorative font - call it
"Lithograph" (one I commonly use) - to type the word "HELLO" in my
Flash movie. Flash will embed the outlines of the actual shapes of
the Lithograph characters H E L and O into the SWF. It treats them
as actual outlines, not as fonts. That way, even if you don't have
Lithograph on your system, you will still see "HELLO" in my SWF,
formatted as Lithograph font. This applies to Static Text only. It
is done automatically. You do not need to physically embed the font
yourself. You do not need to convert the letters to shapes.
Therefore I am GUESSING that the same thing happens when you
use Arabic: Flash will embed the shapes of those Arabic letters. So
the end user does not need to have Arabic on their system. Again,
this applies only to Static Text, not Dynamic or Input text.
To see whether this is happening, generate a Size Report (in
the Publish settings), open the Size Report text file, and scroll
down close to the bottom: it will tell you exactly which letters
are embedded in the file. -
Can't run java apps with System.out.println on any builder.
Hello,
I'm currently using Vista RC2, which is the immediate problem.
Classes with System.out.println won't launch the console window. As I'm a student and practicing on these steps, I do have quite a problem on my hands. I click on run, build succesfull, nothing happens.
I have tried Netbeans and Jcreator, and gave up on trying different builds, as I reckon I'll have to find some other way to counter this; any way to get println messages working in vista?It is run as a desktop app, and other runs with commands such as JOptionPane do function, only the println windows don't appear at all. So I think JRE is installed and working.
I did notice there was one command for input where I'd be able to enter it at the bottom of Netbeans.
Like just now I clicked build and run for the following code
import java.util.*;
public class FirstProgram
public static void main(String[] args)
System.out.println("Hello out there.");
System.out.println("I will add two numbers for you.");
System.out.println("Enter two whole numbers on a line:");
int n1, n2;
Scanner keyboard = new Scanner(System.in);
n1=keyboard.nextInt();
n2=keyboard.nextInt();
System.out.println("The sum of those two numbers is");
System.out.println(n1+n2)
}Resulting in a brief flash of "input" in the output window (which is below the coding window) and it dissapears. But this also occurs when I don't include system scanner code.
Using commands in cmd
java -jar "C:\Users\Alegis\Netb\MyApp\dist\MyApp.jar"
Does not yield desired results either. Nothing happens. -
I have written a desktop application that allows a user to view a flash video presentation. I would like to put this application on a network drive so that everyone can view the presentation at their leisure. Is there any way to do this without having each each user enable the location in their global settings? Basically, if the location is not listed, then the video player I am using fails to play.
Thank you for you help in advance.I figured it out.
It's under the pop-up window. Select edit locations to select confirm. -
Help!! can not get Java apps to run on Nokia 9210
Hi all,
I am creating a java application for the Nokia 9210. The .sis file seems to install correctly on the device, and the application appears in the Extras menu. However, when I open the application, it says "Loading Java..." and then "Starting Java..." but then nothing else happens! I have tried an example application from Nokia as well, but still the same thing.
Any help appreciated!
thanks,
SusieU should have a .txt file along with the files u compiled into .sis one. Make sure that the line is :
-cp .\filename1.jar filename2.class -
[solved]can't run java apps from command line
Every Java program that i've tried to run from command line gives me a error message like this:
augusto java% java Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Caused by: java.lang.ClassNotFoundException: Test
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Test. Program will exit.
`java Test.class` doesn't work too.
but, the exact same code work from eclipse, am I missing something?
Some info:
% ls Test*
Test.class Test.java Test.java~
% cat Test.java
public class Test{
public static void main(String[] args){
System.out.println("doesn't work");
% echo $PATH
/home/augusto/.bin:/home/augusto/.bin:/home/augusto/GNUstep/Tools:/opt/GNUstep/Local/Tools:/opt/GNUstep/System/Tools:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
Last edited by hack.augusto (2009-10-27 00:57:53)also make sure that you current directory is in your classpath.
eg
export CLASSPATH=".:$CLASSPATH"
java Test
your issue is more likely to be classpath related, as java doesn't read the path variable, and the java executable is found
Last edited by bruce (2009-10-27 01:02:51) -
How can I using java bean to insert new record
Hi everybody,
I'd some problem when I insert a record using java bean. When insert a record, the resultset executeUpdate return 0 anc cannot add record to database. Would you please tell me what's wrong in my code?
java bean
package miniproj;
import java.sql.*;
public class Register{
private String sql;
private String username;
private String usertype;
private String password;
private String blocknum;
private int floornum;
private String owner;
private int rows;
private String s;
// set parameter to database
public int setMember(){
try{
//load database driver
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// Get a connection to the database
Connection sqlConn = java.sql.DriverManager.getConnection("jdbc.odbc:WFBS");
// Get a statement from the connection
Statement sqlStmt = sqlConn.createStatement();
sql = "INSERT INTO USERS(user_name, password) VALEUS ('aaa', 'aaa')";
// sql = "INSERT INTO USERS(user_name, password) VALEUS (" + user_name + "," + password + ")" ;
rows = sqlStmt.executeUpdate(sql);
// sqlRst.close();
sqlStmt.close();
sqlConn.close();
catch(SQLException se){
catch(Exception e){
return rows;
// set user name method
public void setUsername(String name){
username = name;
// set passwrod method
public void setPassword(String pwd){
password = pwd;
// set block num mehtod
public void setBlockNum(String block){
blocknum = block;
// set floor num method
public void setFloorNum(int floor){
floornum = floor;
// set owner method
public void setOnwer(String own){
owner = own;
// get user name method
public String getUsername(){
return username;
// get password method
public String getPassword(){
return password;
jsp code
<%@ include file="Header.jsp" %>
<%@ page errorPage="Error.jsp" %>
<jsp:useBean id="register" class="miniproj.Register" />
<jsp:setProperty name="register" property="*" />
User name : <%=register.getUsername()%><br>
Password : <%=register.getPassword()%><br>
<%
int i = register.setMember();
out.println(i);
%>
Thanks a lot
ChrisSeems to me that executeUpdate() would throw an SQLException, which in turn would get caught by your empty catch. The SQL keyword VALUES is misspelled. Put a 'se.printStackTrace()' in your catch to confirm this.
-
Can we develop apps with Flash CS5
Hello,
I have a doubt, can we make iPhone apps with flash CS5?yes, you can but you can't use apples app store for your app without violating their tos.
Maybe you are looking for
-
I have the MacBook OS X 10.5.8, 2.4 GHz, 2 GB. I have been backing up my photos to an external hard drive since I purchased it. I usually choose the photos, copy and paste them to the EHD. It has started saying "an item named "unnamed.jpg" already ex
-
Friends..FYI. OBIEE 11g Launch date announced. http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=113706 Edited by: user8876026 on Jun 9, 2010 12:51 PM
-
Problems in Handling String Variables with Pro*C
I have a Pro*C program that select one record from a table. Although I don't have any NULL values in this record, I got the following error: ORA-01405: fetched column value is NULL. This problem only accurs when I try to retrieve[b] characters. Every
-
BW Extractors for NON-BW Data Warehouse
Hi, I am working on a client who wishes to use a custom developed Data Warehouse. Is there any way to use SAP's standard extractors to extract data to these non-sap dw systems (or download the data in flat file format from extractor after run)? We ar
-
SMARTFORMS Printing Problem ?
hi friends .. iam doing a smartform i had defined 2 linetype of same outputoptions using it one for header main area.The problem is when iam printing it suppose there are 20 records then iam getting 14 on one page and the 14th record doesnot contain