Javadoc for Extension API
Hello,
I'm wondering if there is a Javadoc documentation for the JDeveloper 9i Extension API.
Does someone know about it? A download-URL would be very helpful.
Thanks in advice,
Alex
Hi,
You can find this in your JDeveloper install folder under:
{JDEV_HOME}/jdev/doc/ohj/jdev-doc.zip
Just extract the zip into an empty folder.
Alernatively, from within JDeveloper's help system, under the "Reference" tree, you will see a topic called "JDeveloper Addin API", this provides access to the extension API javadoc from within the IDE.
Thanks,
Brian
JDev Team
Similar Messages
-
Javadoc for Bluetooth API?
Where can I download the Javadoc for Bluetooth API?
the javadoc is available with SUN WTK2.5 (<wtk_folder>/docs/api/jsr082)
-
Downloading Javadoc for Servlet API?
Does anyone know the url to download Javadocs for the Servlet API?
http://java.sun.com/products/servlet/docs.html lists all the documentation for servlet technology. search in sun's website!
-
Hi all,
does someone know from where I can retrieve the java doc for the LiveConnect API? All links to developer.netscape.com/... in the Plug-In developer guide seem to be not active anymore.
Thanx. Stephanthe javadoc is available with SUN WTK2.5 (<wtk_folder>/docs/api/jsr082)
-
Hi,
Where can I see the javadoc api for Webcenter spaces API?
I find it hard to look for it on the Webcenter Portal site..
I am specifically looking at the CatalogDefinitionFileter, Catalogelement et.al..
Webcenter 11.1.1.6
ThanksYannick Ongena wrote:
Maybe if you want to explain what you are trying to achieve, we could help...
The javadoc is not really that helpfull to be honest.Yey, Thanks Yannick..
Well, I was just looking for a way to have a specific resource bundle for each of my webcenter default bundle.
Example below,
<catalogDefinition id="DefaultCatalog" visible="#{true}"
resourceBundle="oracle.webcenter.portalapp.catalogs.DefaultCatalogBundle"
definitionFilter="oracle.webcenter.portalapp.catalogs.DefaultCatalogFilter"
xmlns="http://xmlns.oracle.com/adf/rcs/catalog">As you can see, the defaultcatalogbundle uses the oracle.webcenter.portalapp.catalogs.DefaultCatalogBundle. Suppose I am using DefaultCatalogBundle.xlf and I wanted to create a locale
specific translation say Spanish, I tried replicating it with DefaultCatalogBundle_es.xlf but I notice that my catalog bundle properties is not being picked up.
When I update something in the catalog and then set it's value type as resource bundle, my string is getting created at the default PortalBundle.properties file which is not what I want.
<attribute value="ALERTS_AND_UPDATES" attributeId="Title"
isKey="true"
resourceBundle="com.example.portal.PortalBundle"/>I really just want locale-specific translation for the resourcebundle being used by other webcenter component such as catalog/navigation et.al.
My question is very much related to my question in my other post Regarding Webcenter Global Bundle as I am still trying to find a way to do this. -
Where is the JavaDoc for depreciated API classes
I have a v3.2.3 wizard that I'm trying to convert to v9.0.2.
It uses the ClassPickerPanel class. I get
Warning (175,21): constructor ClassPickerPanel ()
in class oracle.jdeveloper.common.ClassPickerPanel has been deprecated.
Where is the JDeveloper Javadoc (on-line, downloadable or in the Help system) so I can try to update the code (remove all the Borland JBuilder imports)?We're working on the answer.
In the meanwhile, here is some code sample to address your need:
==================== file SampleTen.java ====
package jdevextensions.sampleten;
import oracle.ide.addin.Addin;
import oracle.ide.addin.Context;
import oracle.ide.addin.ContextMenuListener;
import oracle.ide.addin.Controller;
import oracle.ide.ContextMenu;
import oracle.ide.Ide;
import oracle.ide.IdeAction;
import oracle.ide.MainWindow;
import oracle.ide.model.Element;
import oracle.jdeveloper.model.JProject;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JMenuItem;
import javax.swing.JSeparator;
import oracle.bali.ewt.dialog.JEWTDialog;
import oracle.ide.dialogs.OnePageWizardDialogFactory;
import oracle.ide.dialogs.WizardLauncher;
import java.awt.Component;
import javax.swing.JPanel;
import oracle.ide.controls.tree.JMutableTreeNode;
import oracle.ide.controls.tree.JTreeCellData;
import java.util.Enumeration;
import oracle.ide.util.TriStateBoolean;
import oracle.ide.model.Document;
import javax.swing.JOptionPane;
public final class SampleTen
implements Addin,
Controller
public static final int JPR_DIALOG_CMD_ID = Ide.newCmd("IdeMenu.JPR_DIALOG_CMD_ID");
public SampleTen()
oracle.jdeveloper.common.ClassPickerPanel cpp = new oracle.jdeveloper.common.ClassPickerPanel();
public Controller supervisor()
return null;
public boolean handleEvent(IdeAction action, Context context)
int cmdId = action.getCommandId();
if (cmdId == JPR_DIALOG_CMD_ID)
Element element = ((context==null)?null:context.getElement());
if (element != null)
if (element.getClass().getName().equals("oracle.jdeveloper.model.JProject"))
// Get Current Project
JProject jpr = (oracle.jdeveloper.model.JProject)Ide.getActiveProject();
// Show Dialog
TreePanel treePanel = new TreePanel(jpr);
if (showTreeDialog(treePanel, null, "Project files"))
// Do the job if OK has been clicked
JMutableTreeNode root = treePanel.getRoot();
Enumeration children = root.children(); // We have only one level here...
String mess = "";
while (children.hasMoreElements())
JMutableTreeNode jmtn = (JMutableTreeNode)children.nextElement();
JTreeCellData data = jmtn.getModel();
TriStateBoolean selected = data.getCheckBoxState();
if (selected == TriStateBoolean.TRUE)
mess += (((Document)data.getUserObject()).getURL().toString() + "\n");
JOptionPane.showMessageDialog(null, mess, "Selected", JOptionPane.INFORMATION_MESSAGE);
return true;
private static boolean showTreeDialog(JPanel panel, Component defComp, String title)
JEWTDialog dlg = OnePageWizardDialogFactory.createJEWTDialog(panel, defComp, title);
dlg.setDefaultButton(JEWTDialog.BUTTON_OK);
dlg.setOKButtonEnabled(true);
return WizardLauncher.runDialog(dlg);
private static final void LogMessage(String msg)
oracle.ide.Ide.getLogManager().showLog();
oracle.ide.Ide.getLogManager().getMsgPage().log(msg + "\n");
static boolean EnableJPRInfo(Context context)
Element element = (context != null ? context.getElement() : null);
boolean bEnable = ((element != null) && (element instanceof oracle.jdeveloper.model.JProject));
System.out.println("EnableJPRInfo : " + bEnable);
return bEnable;
public boolean update(IdeAction action, Context context)
int cmdId = action.getCommandId();
if (cmdId == JPR_DIALOG_CMD_ID)
action.setEnabled(EnableJPRInfo(context));
return true;
return false;
public void checkCommands(Context context, Controller activeController)
this.supervisor().checkCommands(context, activeController);
protected static IdeAction eiAction; // Element Info Action
private static JMenuItem CreateTableInfoMenuItem(Controller ctrlr)
if (eiAction == null)
Icon mi = new ImageIcon(SampleTen.class.getResource("spy.gif"));
eiAction = IdeAction.create(JPR_DIALOG_CMD_ID, // int cmdId,
null, // String cmdClass,
"Project Tree", // String name,
new Integer('P'), // Integer mnemonic,
null, // KeyStroke accelerator,
mi, // Icon icon,
null, // Object data,
true // boolean enabled
eiAction.setController(ctrlr);
JMenuItem menuItem = Ide.getMenubar().createMenuItem(eiAction);
return menuItem;
//private static IdeAction actionTM;
public void shutdown()
// Do any necessary cleanup here
public void initialize()
Controller ctrlr = this;
final NamedContextMenu CMenus[] =
new NamedContextMenu("Project Tree", null), // Manual Override!
// new NamedContextMenu("Table Explorer", Ide.getExplorerManager().getContextMenu()), // OK = Structure Pane
for (int i = 0; i < CMenus.length; i++)
NamedContextMenu nmcm = CMenus;
ContextMenu menu = nmcm.getMenu();
String menuName = nmcm.getName();
ctxMenuListener cml = new ctxMenuListener(ctrlr,
menuName);
if (menu == null)
final Class nodeClass = null; // Passing in the appropriate class
// where you want this context menu to appear on will optimize this operation
Ide.getNavigatorManager().addContextMenuListener(cml, nodeClass);
else
menu.addContextMenuListener(cml);
MainWindow.View.add(CreateTableInfoMenuItem(ctrlr));
public float version()
return 1.0f;
public float ideVersion()
return oracle.ide.Ide.IDE_VERSION;
public boolean canShutdown()
return true;
private static final class ctxMenuListener implements ContextMenuListener
private Controller ctrlr;
private String clsName;
// Simple Menu Item
private static JSeparator miSeparator = null;
private JMenuItem miTableInfo = null;
ctxMenuListener(Controller controller, String className)
ctrlr = controller;
clsName = className;
public void poppingUp(ContextMenu popup)
Context context = (popup == null) ? null : popup.getContext();
if (context == null)
return;
if (miSeparator == null)
miSeparator = new JSeparator();
// popup.add(miSeparator);
// Insert Simple MenuItem in the Menu
if (EnableJPRInfo(context))
// If it should be enabled, then display it!
// Otherwise, dont bother showing gray menu!
if (miTableInfo == null)
miTableInfo = CreateTableInfoMenuItem(ctrlr);
popup.add(miTableInfo);
return;
public void poppingDown(ContextMenu popup)
// Do any necessary clean up!
public boolean handleDefaultAction(Context context)
return false;
private static final class NamedContextMenu
private String nm;
private ContextMenu cm;
NamedContextMenu(String nm, ContextMenu cm)
this.nm = nm;
this.cm = cm;
String getName() { return nm; }
ContextMenu getMenu() { return cm; }
======================== File TreePanel.java =============
package jdevextensions.sampleten;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JScrollPane;
import oracle.ide.controls.tree.CustomJTree;
import oracle.ide.controls.tree.JMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import java.net.URL;
import oracle.ide.controls.tree.JTreeCellData;
import oracle.jdeveloper.model.JProject;
import java.util.HashSet;
import oracle.ide.model.Document;
import javax.swing.Icon;
import oracle.ide.util.TriStateBoolean;
import oracle.jdeveloper.deploy.common.SelectedProjectFiles;
import oracle.jdevimpl.deploy.common.JProjectSelectionFilter;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Comparator;
import oracle.ide.model.Element;
import java.util.Collections;
public class TreePanel
extends JPanel
BorderLayout borderLayout1 = new BorderLayout();
JScrollPane scrollPane = new JScrollPane();
JMutableTreeNode root = new JMutableTreeNode();
DefaultTreeModel treeModel = new DefaultTreeModel(root, true);
CustomJTree customJTree = new CustomJTree(treeModel);
JProject prj = null;
private HashSet spfFiles;
private SelectedProjectFiles spf;
private ArrayList filtersList;
private JProjectSelectionFilter[] filtersArray;
public TreePanel()
this(null);
public TreePanel(JProject jpr)
this.prj = jpr;
try
jbInit();
catch(Exception e)
e.printStackTrace();
public JMutableTreeNode getRoot()
{ return this.root; }
private void jbInit() throws Exception
this.setLayout(borderLayout1);
scrollPane.getViewport().add(customJTree, null);
this.add(scrollPane, BorderLayout.CENTER);
customJTree.setRootVisible(true);
root = getTreeNode(prj);
filtersArray = null;
spfFiles = null; // Release reference for gc.
treeModel.setRoot(root);
root.descendingUpdateNodes();
private boolean canBeSelected(Object object)
if (filtersArray != null)
return JProjectSelectionFilter.canBeSelected(object, filtersArray);
else if (filtersList != null)
return JProjectSelectionFilter.canBeSelected(object, filtersList);
else
return JProjectSelectionFilter.canBeSelected0(object);
private JMutableTreeNode getTreeNode(Document document)
final Icon icon = document.getIcon();
final String text = document.getShortLabel();
final TriStateBoolean checkedState;
if (spfFiles != null)
final URL documentURL = document.getURL();
if (documentURL == null)
checkedState = TriStateBoolean.FALSE;
else if (spf.isAutoInclude())
checkedState = spfFiles.contains(documentURL)?TriStateBoolean.FALSE:TriStateBoolean.TRUE;
else
checkedState = spfFiles.contains(documentURL)?TriStateBoolean.TRUE:TriStateBoolean.FALSE;
else
checkedState = TriStateBoolean.TRUE;
final JTreeCellData treeCellData = new JTreeCellData(icon, text, true, checkedState);
treeCellData.setUserObject(document);
final JMutableTreeNode treeNode = new JMutableTreeNode(treeCellData);
final ArrayList listOfChildren = new ArrayList();
final Iterator childrenIter = document.getChildren();
if (childrenIter != null)
while (childrenIter.hasNext())
listOfChildren.add(childrenIter.next());
// Sort children by short label.
final Comparator childComparator = new Comparator()
public int compare(Object o1, Object o2)
final Element e1 = (Element) o1;
final Element e2 = (Element) o2;
final String l1 = e1.getShortLabel();
final String l2 = e2.getShortLabel();
if (l1 == l2) { return 0; }
else if (l1 == null) { return -1; }
else { return l1.compareTo(l2); }
Collections.sort(listOfChildren, childComparator);
final Iterator iter = listOfChildren.iterator();
while (iter.hasNext())
final Object child = iter.next();
if (canBeSelected(child))
final JMutableTreeNode childNode = getTreeNode((Document) child);
treeNode.add(childNode);
return treeNode; -
JavaDoc for the SLD API?
Hi forumers,
I an unable to find a proper javaDoc for this API.
Can anyone help please?
Thanks,
BoazHi,
You can find sap related apis in this
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/javadocs"> link</a>
Hope this helps
Sumathi -
where is online javadocs for CMSDK API?
It's correct to find the javadoc there. But it is not complete. A lot of packages and classes are missing, e.g. oracle.ifs.protocols.*, oracle.ifs.adk.filesystem.platform.*
Is anybody with Oracle who completes the javadoc? -
Where are the JavaDocs for the Thor.API.Operations.XXClient classes?
I am not seeing any of the JavaDocs for the actual Client classes that should be available for use in OIM. The Interfaces are nice but without documentation of the Client classes we are left to guess how to use the Interfaces.
Has anyone developed some guidelines on how to use the ReportOperationsClient class? I did the following:
Defined all of the inputs for the ReportInput class constructor.
Created the ReportInput instance with these inputs.
Set the stored procedure name.
Created an instance of ReportOperationsClient
Called getPagedReportData with my ReportInput instance.
No luck.Martin,
I am aware of the documentation location and am looking at the Thor.API.Operations JavaDocs right now.
The Intf Interfaces are all there but there are no JavaDocs for the Clients.
Here is the listing from the JavaDocs:
Interface Hierarchy
Thor.API.Operations.AttestationDefinitionOperationsIntf
Thor.API.Operations.AttestationOperationsIntf
Thor.API.Operations.ConnectorInstallationOperationsIntf
Thor.API.Operations.ErrorOperationsIntf
Thor.API.Operations.GCOperationsIntf
Thor.API.Operations.RemoteManagerOperationsIntf
Thor.API.Operations.ReportOperationsIntf
Thor.API.Operations.TaskDefinitionOperationsIntf
Thor.API.Operations.tcAccessPolicyOperationsIntf
Thor.API.Operations.tcAdapterOperationsIntf
Thor.API.Operations.tcAuditOperationsIntf
Thor.API.Operations.tcDeploymentUtilityOperationsIntf
Thor.API.Operations.tcEmailOperationsIntf
Thor.API.Operations.tcEntitlementsOperationsIntf
Thor.API.Operations.tcExportOperationsIntf
Thor.API.Operations.tcFormDefinitionOperationsIntf
Thor.API.Operations.tcFormInstanceOperationsIntf
Thor.API.Operations.tcGroupOperationsIntf
Thor.API.Operations.tcHelpOperationsIntf
Thor.API.Operations.tcImportOperationsIntf
Thor.API.Operations.tcITResourceDefinitionOperationsIntf
Thor.API.Operations.tcITResourceInstanceOperationsIntf
Thor.API.Operations.tcLocationOperationsIntf
Thor.API.Operations.tcLookupOperationsIntf
Thor.API.Operations.tcObjectOperationsIntf
Thor.API.Operations.tcOrganizationOperationsIntf
Thor.API.Operations.tcPasswordOperationsIntf
Thor.API.Operations.tcPermissionOperationsIntf
Thor.API.Operations.tcPropertyOperationsIntf
Thor.API.Operations.tcProvisioningOperationsIntf
Thor.API.Operations.tcQueueOperationsIntf
Thor.API.Operations.tcReconciliationOperationsIntf
Thor.API.Operations.tcRequestOperationsIntf
Thor.API.Operations.tcRulesOperationsIntf
Thor.API.Operations.tcSchedulerOperationsIntf
Thor.API.Operations.tcUserOperationsIntf
Thor.API.Operations.tcWorkflowDefinitionOperationsIntf
Here is a listing from the Jar file:
[bea@xxxxxxxxx lib]$ jar tf xlAPI.jar | grep Thor | grep API | grep Operations
Thor/API/Operations/
Thor/API/Base/tcUtilityOperationsIntf.class
Thor/API/Operations/AttestationDefinitionOperationsClient.class
Thor/API/Operations/AttestationDefinitionOperationsIntf.class
Thor/API/Operations/AttestationOperationsClient.class
Thor/API/Operations/AttestationOperationsIntf.class
Thor/API/Operations/ConnectorInstallationOperationsClient.class
Thor/API/Operations/ConnectorInstallationOperationsIntf.class
Thor/API/Operations/ErrorOperationsClient.class
Thor/API/Operations/ErrorOperationsIntf.class
Thor/API/Operations/GCOperationsClient.class
Thor/API/Operations/GCOperationsIntf.class
Thor/API/Operations/RemoteManagerOperationsClient.class
Thor/API/Operations/RemoteManagerOperationsIntf.class
Thor/API/Operations/ReportOperationsClient.class
Thor/API/Operations/ReportOperationsIntf.class
Thor/API/Operations/TaskDefinitionOperationsClient.class
Thor/API/Operations/TaskDefinitionOperationsIntf.class
Thor/API/Operations/tcAccessPolicyOperationsClient.class
Thor/API/Operations/tcAccessPolicyOperationsIntf.class
Thor/API/Operations/tcAdapterOperationsClient.class
Thor/API/Operations/tcAdapterOperationsIntf.class
Thor/API/Operations/tcAuditOperationsClient.class
Thor/API/Operations/tcAuditOperationsIntf.class
Thor/API/Operations/tcDeploymentUtilityOperationsClient.class
Thor/API/Operations/tcDeploymentUtilityOperationsIntf.class
Thor/API/Operations/tcEmailOperationsClient.class
Thor/API/Operations/tcEmailOperationsIntf.class
Thor/API/Operations/tcEntitlementsOperationsClient.class
Thor/API/Operations/tcEntitlementsOperationsIntf.class
Thor/API/Operations/tcExportOperationsClient.class
Thor/API/Operations/tcExportOperationsIntf.class
Thor/API/Operations/tcFormDefinitionOperationsClient.class
Thor/API/Operations/tcFormDefinitionOperationsIntf.class
Thor/API/Operations/tcFormInstanceOperationsClient.class
Thor/API/Operations/tcFormInstanceOperationsIntf.class
Thor/API/Operations/tcGroupOperationsClient.class
Thor/API/Operations/tcGroupOperationsIntf.class
Thor/API/Operations/tcHelpOperationsClient.class
Thor/API/Operations/tcHelpOperationsIntf.class
Thor/API/Operations/tcITResourceDefinitionOperationsClient.class
Thor/API/Operations/tcITResourceDefinitionOperationsIntf.class
Thor/API/Operations/tcITResourceInstanceOperationsClient.class
Thor/API/Operations/tcITResourceInstanceOperationsIntf.class
Thor/API/Operations/tcImportOperationsClient.class
Thor/API/Operations/tcImportOperationsIntf.class
Thor/API/Operations/tcLocationOperationsClient.class
Thor/API/Operations/tcLocationOperationsIntf.class
Thor/API/Operations/tcLookupOperationsClient.class
Thor/API/Operations/tcLookupOperationsIntf.class
Thor/API/Operations/tcObjectOperationsClient.class
Thor/API/Operations/tcObjectOperationsIntf.class
Thor/API/Operations/tcOrganizationOperationsClient.class
Thor/API/Operations/tcOrganizationOperationsIntf.class
Thor/API/Operations/tcPasswordOperationsClient.class
Thor/API/Operations/tcPasswordOperationsIntf.class
Thor/API/Operations/tcPermissionOperationsClient.class
Thor/API/Operations/tcPermissionOperationsIntf.class
Thor/API/Operations/tcPropertyOperationsClient.class
Thor/API/Operations/tcPropertyOperationsIntf.class
Thor/API/Operations/tcProvisioningOperationsClient.class
Thor/API/Operations/tcProvisioningOperationsIntf.class
Thor/API/Operations/tcQueueOperationsClient.class
Thor/API/Operations/tcQueueOperationsIntf.class
Thor/API/Operations/tcReconciliationOperationsClient.class
Thor/API/Operations/tcReconciliationOperationsIntf.class
Thor/API/Operations/tcRequestOperationsClient.class
Thor/API/Operations/tcRequestOperationsIntf.class
Thor/API/Operations/tcRulesOperationsClient.class
Thor/API/Operations/tcRulesOperationsIntf.class
Thor/API/Operations/tcScheduleTaskOperationsClient.class
Thor/API/Operations/tcScheduleTaskOperationsIntf.class
Thor/API/Operations/tcSchedulerOperationsClient.class
Thor/API/Operations/tcSchedulerOperationsIntf.class
Thor/API/Operations/tcUserOperationsClient.class
Thor/API/Operations/tcUserOperationsIntf.class
Thor/API/Operations/tcWorkflowDefinitionOperationsClient.class
Thor/API/Operations/tcWorkflowDefinitionOperationsIntf.class
As I described in my original post, and as you can plainly see, there is a Client class that is the "worker" class for each of the Interfaces. Without these worker classes, we would be at our own devices to determine how to implement these Interfaces, so I am thankful they are being provided, but the issue is that I am needing documentation for them, since specifically the ReportOperationsClient does not seem to work based on my interpretation of the Interface.
Thanks for your interest. If the source code for the Operations Clients does not have embedded JavaDocs, that would explain the issue. In that case I would need to have the source code so I can troubleshoot the issues I am having with this class. I opened an SR Friday but have not had any response yet. -
Extension or upgrade of JavaDoc for com.sap.ipc.*
Hi,
I had downloaded the CRM Javadoc from sap Services Marketplace.
Javadoc had descriptions of the packages linked to
---e-sevices
---icss
--- And few for ISA
Please can anyone share the javadoc extension for IPC maily pricing.
package is com.sap.ipc.*
Thanks
EktaHi Ekta,
You will find the javadoc for IPC java routines with the jar file which you need to download from CRM using transaction
/n/SAPCND/UE_DEV.Start the doc with this url PRC_UE_CUSTOMER/api_doc/index.html.
Hope this helps you.
Regards,
Arshi -
Where is the latest javadoc for Workflow Services API?
Hi all,
anybody knows where to get the latest javadoc for Oracle BPEL Process Manager
Workflow Services API Reference 10g Release 3 (10.1.3) ?
In the javadoc it is said that IWorklistService.getWorklistTaskDetails(..) returns IWorklistTask but apparently it returns a Task object.
Also, I saw some of the interfaces and classes are deprecated and replaced by classes in oracle.bpel.services.workflow package, where is the jar containing this new package?
Thanks a lot for the help,
santosoThanks for posing the question as to where is the javadoc for 10.1.3.1. Now, what is the answer?
Bob N -
Where to find - javadocs for XML Publisher' API
The XML Publisher User's Guide section, called Implementation and Developer's Guide->Application Layer APIs, has examples of API's for inserting Templates and Data Definitions.
Unfortunately, XML publisher manual only provides a bunch of
samples and not the detailed javadocs, that wee need.
Where could we find javadoc for XML Publisher?Hi
You did not specify which version you were on but the java docs are linked from the relevant About Doc for each release:
Release 5.5 Note 316447.1
Release 5.0 Note 295036.1
Release 4.5 Note 269605.1
Just search for 'javadoc' in these docs for the link
Regards, Tim -
Hello world Native Extension API
Hi all :-)
I am an android expert and I'd really love to create some cool extensions like the android notifications, but since I don't know much about Flex, I have a lot of trouble getting the test vibrator with native extension working.
(http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html)
My sample is still buggy, it is probably beginner's bug, but I don't see how to fix it yet.
I am surely not the only native guy trying to do this, so I would like to sumarize here all the steps needed to have our first hello world Native Extension API
Install Flex 4.5.1 http://www.adobe.com/go/try_flashbuilder/ and download the Adobe AIR 3.0 RC http://labs.adobe.com/downloads/air3.html as well as the sample files http://download.macromedia.com/pub/developer/air/ane/Vibration.zip
Create a test Flex mobile project.(all the deffault parameters are fine) I'll call it HelloWorldNativeExtension.
(If AIR 3 is not released yet) Do the following to tell Flex builder to use the RC on your test project : http://forums.adobe.com/thread/899921
Unzip the vibration.zip, and go to ready to use extansion.
Go to Project -> Flex buildpath -> Libraries -> Add a new swc. Add the ready to use extension as a library. Then open the extensions properties and change the link type from "bundled with" to "external linkage"
Go to HelloworldNativeExtension-app.xml and in the tag manifestAddition, add : <uses-permission android:name="android.permission.VIBRATE"/>
Write a sample view (as described below)
Run (target platform->android and then chosse to run on a device)
When asked to update the air version, answer yes
Wait a loooong time before it actually start.
Here is my code for the sample view:
In HelloworldNativeExtension.mxml
Use the following code :
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
<![CDATA[
import com.adobe.nativeExtensions.Vibration;
protected function testButton():void
textArea.text="Before vibration";
var vibe:Vibration;
if (Vibration.isSupported)
vibe = new Vibration();
vibe.vibrate(2000);
textArea.text="After vibration";
]]>
</fx:Script>
<s:Panel title="Exemple MXML" width="330">
<s:layout>
<s:VerticalLayout paddingLeft="15" paddingTop="15" paddingBottom="15" paddingRight="15"/>
</s:layout>
<s:Label x="223" y="173" text="test" id="textArea"/>
<s:Button label="Vibrate" click="testButton()"/>
<s:Label id="result" width="265"/>
</s:Panel>
</s:Application>
Well... so far my project doesn't compile because the library is loaded externally. It compiles fine if I add it as a bundled library, but then the virbrator can't work (External native code have to be loaded externally)
And thus so far I get the errors :
Description
Ressource
Chemin
Emplacement
Type
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.display]::IBitmapDrawable.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
(Which means something like : 1046: this type cannot be resolved or is not in the buildpath ... So it probably means the project doesn't compile well)
So I'm still trying to figure out what to do, but I am close I think... Very close.Yes, in fact you are very close
You will have to put an <extensions> tag in app-xml if not already done so:
<extensions>
<extensionID>com.adobe.Vibration</extensionID>
<extensions>
Then since it is FlashBuilder 4.5.1, you will have to package the android application through command line since it requires 1 more parameter -extdir :
adt -package -target apk . . . app.apk app.xml app.swf -extdir extensions
extensions is the directory which contains your .ane file. Checkout http://www.adobe.com/devnet/air/articles/extending-air.html#articlecontentAdobe_numberedhe ader_1 for more details.
Thats all. You should be able to run your app now. Let me know if it still doesnt work.
Thanks,
Meet
AIR Team -
JavaDoc for Wireless Messaging
Does anybody know where I can get the WMA (JSR-205) API JavaDoc? I looked in all the obvious places but could not find it. The WTK installed documentation just links to http://jcp.org/aboutJava/communityprocess/final/jsr205/ But this page only has a download for the specification (a PDF file). I tried going from java.sun.com --> J2ME --> APIs etc, but still ended up eventually at the JCP page above. Needless to say, this was an incredibly annoying experience.
Question: It's great having the WTK support wireless messaging, but how does someone write any code without the API JavaDoc?
Thanks,
yushenI have exactly the same problem. I've now been trying
for 20 minutes to find the insert expletive here
javadocs for the JSR-205 API and I can't and it's
starting to wind me up a little bit. Why is the first
hit I get on google for the javadocs for some other
sucker looking for the same thing. Honestly people,
what would it take to include it in the WTK, like
20kb? And put a link that says JAVADOCS DOWNLOAD HERE
IDIOTS. thanks.Here you go - http://raud.ut.ee/~tec/static/api/WirelessMessagingAPI_JSR120/overview-tree.html
I know it's not JSR-205 but it's good enough.
Vaiden
Message was edited by:
Vaiden -
How & where to get Javadoc for CRM ISA 5.0?
Hi, SDN Fellows.
I read a forum blog, knowing that to get the javadocs of CRM ISA applications, I should perform this step: when building the internet-sales-ear-file, the sources are included as zip-file within the ear-file. after unzipping the sources you can generate javadocs on your own.
In fact, what I really want is the Javadocs for the standard delivered CRM package, i.e. the default BOM, BaseAction classes (com.sap.isa.core.InitAction, com.sap.isa.core.BaseAction, com.sapmarkets.isa.isacore.action.EComBaseAction, com.sap.isa.isacore.action.IsaCoreBaseAction, com.sap.isa.core.UserSessionData), jsp, UILayout tags, message classes, and config-file javadocs.
Can anyone point me where I can get this?
Thanks,
KentHi Kent,
If you have the Java Component of ISA, then you can extract the javadoc which is supplied in it.
Please check whether you have the SAPSHRJAV<version>.sca, if not download it from SAP Market Place.
You need to open this software component using Winzip and inside it you will another zip file by name, "crmshrjavadoc.zip"
When you open it you'll see a javadoc.ppa file rename it to javadoc.zip and extract it within a folder.
In the extracted folder you'll find all the required Javadocs along with API's and Interfaces.
Hope you'll find the required documents inside it.
Regards,
Prashil
Maybe you are looking for
-
Hi, In particular, I created both from a DVD using Disk Utility. When I chose "read only" a .dmg was created. When I chose "DVD/CD Master" a .cdr was created. They are exactly the same size. Is there any difference ? Thanks in advance. Pat De Marco
-
HELP me please with a basic Mac Problem
I recently updated to Yosemite, and I have a question that can hopefully be fixed. Even as I am typing, the problem is occuring. The issue is that right now, my cursor is in this little box typing, but all of a sudden, its gone. For example, when you
-
This could be an Apple Airport hardware issue but wanted to double check I haven't made a mistake in setup or if anyone else has experienced this fault. We have Sky Broadband Unlimited installed running through a Sky Hub with Apple Airport Running an
-
How do i deauthorise from new macbook pro. I don't have the old systems anymore
Need to authorise new macbook pro
-
How to Download Configuration in Golden Client
Hi All, How to Download Configuration in Golden Client. Please help me in this regards. Regards Deekshitha.