ADF Mobile: design suggestions needed
so I'm building a mobile application and want it supported on Web services exposed using adf bc.The question is to create the webservice project, I had to do it in a separate workspace or should I create the model project in the workspace of the mobile app?
Both are technically feasible, what are the views of the expert.
Vik
Hello
You create the ADF BC model on the server, not the mobile application of ADF. I recommend that you create the ADF BC service interface in a separate web module ADF BC project. On the ADF mobile app, you then create a project for the WS data control to access the WS of the ADF BC service reference.
Frank
Published by: Frank Nimphius on 5 February 2013 07:43
Tags: Java
Similar Questions
-
Being new to such things, I designed a web site to read on a computer. If I make a Tablet and a mobile design I need different URLS for them on the same site or the devices will be able to open those instead of the computer?
Muse deals, each device uses the correct layout. You n ' to do anything, except to create the respective pages.
-
ADF Mobile - How will I know which device is using my application?
Hello, I am developing an app in adf mobile and I need to know if a device running that this application is a mobile phone or tablet, there no way to know what device is running in my application?
Thank you!
deviceScope is where you get that kind of thing. Found a tutorial that should help you get started.
-
Case of flow of control ADF Mobile followed of backing bean
Hello
I'm under JDeveloper 11.1.2.3.0.
In my ADF Mobile application, I need to follow a flow of control from a bean to support case. In ADF I would do something like the following, FacesContext does not exist in the ADF Mobile, so I'm not sure how to proceed.
private void onQueueC3ButtontAction() {}
FacesContext fctx = FacesContext.getCurrentInstance ();
UIViewRoot root = fctx.getViewRoot ();
RichCommandButton button =
Root.findComponent ("cb3") (RichCommandButton);
ActionEvent actionEvent = new ActionEvent (button);
actionEvent.queue ();
}
Press the button, I need to:
Execute the method of Service Web DC
If result == "SUCCESS".
PageFlowScope Set property
Follow the case of control flow
on the other
Display error
I can do everything above except follow the case of control flow. I am aware of the AdfmfContainerUtilities.gotoFeature (), but it is not suitable to my needs.
Thank you very much
Published by: user576183 on May 15, 2013 16:19Hello
In ADF Mobile pro-grammatically navigate workflow in two ways:
1 Javascript: In the JavaScript file, you can call this method directly to navigate. Below 'result' is the name of the case of control flow.
adf.mf.api.amx.doNavigation("outcome");
2. Java:
//Code to naviagte within task flows programmatically AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureName(), "adf.mf.api.amx.doNavigation", new Object[] { "outcome" });
Hopefully this article can help you - http://deepakcs.blogspot.sg/2013/04/sync-device-back-button-with-adf-mobile.html
-Deepak
-
Need help in the design of the INTERFACE in ADF Mobile
Hello
I have a requirement to create the interaction as shown in the image to the https://picasaweb.google.com/113470899999229420779/February32013?authuser=0 & feat = directlink. I do not know what component is?
Please tell us how to create this type of button in the header.check the listview component. Its the closest thing to a menu that adf mobile.
There are an auto-dismiss on the popup attribute, or you need to explicitly close it with closePopupBehaviour.
This answer I must be correct!
-
ADF mobile user interface design
Hello
I am developing a small application using ADF mobile. The main screen is divided into two vertical and left pane shows other tables and right shows a graph.
Can someone tell me please what layout (formlayout, pagelayout, tableLayout) to use to generate the amx above page.
presentation of the sample:
Header 1 table chart Header 1 Header 2 graph Hey shravan.
I can try and start helping you out or at least give you some options.
But first, what camera do you mainly be used? A tablet or mobile device? Now, it is important, depending on what device and what components allows you to build the page it can make the left and right different component.
Separation of the front left and right, you could a component PanelSplitter, but be aware depending on the device you use, it will make differently. that is to say on a Tablet (iPad), it will show the pane on the left and right, but on a mobile phone (cell phone), it allows you to hide the left pane, but has a toggle button that will slide to the right and reveal the left pane. It comes to the expected behavior of the panelSplitter component.
The panelGroupLayout component that of exactly it, shows the components on the page «»
The components carefully aligned panelFormLayout similar, i.e. input text fields
Hope that gives you a starting point
-
I want to download the link to ADF mobile extension for jdeveloper version 11.1.2.4.39.64.36.1 as when I downloaded the extension from the following link
http://download.Oracle.com/OTN-pub/JDeveloper/11.1.2.4.0/extensions/ADF-mobile_bundle.zip
and I tried to install this add-on that has appeared this error message
can someone help me because I can't download it from jdeveloper update due to proxy issue I want to download link of this extension of the version.oracle.jdeveloper min=11.1.2.4.39.64.36, max=11.1.2.4.39.64.36 11.1.2.4.39.64.36.1
Thanks in advance.You can get it here:
http://www.Oracle.com/ocom/groups/public/@OTN/documents/WEBCONTENT/131167.XML#Oracle.ADF.mobile -
ADF Mobile | call web service from Java. non-reflecting values in the AMX page
Hi all
I am using JDEv11124 with ADF Mobile extensions39.62.64.
My use case is as follows.
1. my application has 2 Pages a. Login home b.
2. in the user login Page between user name and click on the "submit" button.
3. on the homepage I displayed the company they joined.
4. in the "submit" button is clicked, action defined in the support bean method will be called.
5. by supporting the action bean method, I'll call the method of the Web Service to validate the entered user name, if the entered user name is valid, that I have to post its company name in the home page.
6. I am moving back from the web service of datacontrol in Home.amx page
7. calling web services from Java as follows:
GenericType = result
(GenericType) AdfmfJavaUtilities.invokeDataControlMethod ("Comp", null, "getCompany",
pNames, params,
PTypes);
System.out.println ("after the call to the service" + result.getAttributeCount ());
8. in the Java class, I get the response correctly (as the company designating the username entered as 'SOCIETY'), where when I navigate to the home page, I don't see any results for the method return (name of the company that dropped like OutputText in Home.amx)
Did I miss something for this. or something more that I need to do to make it work?
Please suggest.
Thank you
Vieira
Hi all
I was able to achieve this by executing my method in bean support.
This code is as follows:
AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext ();
MethodExpression me =.
() AdfmfJavaUtilities.getMethodExpression
"#{bindings.retreiveLocationInformation.execute}".
(, Object.class, Class [] {}) new;
me. Invoke (adfELContext, new Object [] {});
Thanks to Luc Bors WebLog Luc Bors Weblog: ADF Mobile: implementation of "Pull to refresh" model
Kind regards
Vieira
-
ADF Mobile | using secure web services
Hi allI'm pretty new to ADF Mobile, I use JDev 11.1.2.4.
In my Mobile application I want to use the secure web service.
Here's what I do:
1. creation of a data control based on the WSDL binding.
2. get the web service methods in the data control.
3. during the race, I'm getting that error "oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client from server SOAP fault: Missing < wsse: Security > in the SOAP header.
When trying to run the WSDL binding in SOAP UI, I need set request username and passwordproperties, then only I will be able to invoke this web service.
Here, my question is where can I set these properties for the data control to the web service ?
Please suggest.
Thank you
Vieu
Hi Shay,
Thank you very much for the reply, I'm able to resolve the problem with the approach mentioned user guide.
I forgot to set it up for the first time: ADF Mobile allows you to specify a custom provider class in your
DataControls.dcx
file. This custom class extendsoracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider
. You can use it to specify an implementation of theSoapHeader[] getAdditionalSoapHeaders()
methodExample 9-1 shows how to extend the
SOAPProvider
and create a custom header has shown in example 9-2package provider.ebs.soap;
Import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;
Import oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader;
SerializableAttribute public class EBSSOAPProvider extends SOAPProvider {}
SoapHeader public getAdditionalSoapHeaders() {}]
SoapHeader header [] = SoapHeader News [2];
SoapHeader token = null;
SoapHeader user = null;
SoapHeader pass = null;
header [0] = new SoapHeader ("http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/",
"SOAHeader");
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"Responsibility."
'SYSTEM_ADMINISTRATOR'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"RespApplication,"
'SYSADMIN'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"SecurityGroup."
'STANDARD'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"NLSLanguage,"
'AMERICAN'));
header [0] .addChild (new SoapHeader)
"http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"
"Org_Id."
"0"));
header [1] = (new) SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
'Security');
Token = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"UsernameToken");
User = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"Username."
"sysadmin");
pass = new (SoapHeader
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"
"Password."
"sysadmin");
Header [1]. AddChild (Token);
token.addChild (user);
token.addChild (pass);
Returns the header;
}
}
Kind regards
Vieira
-
ADF Mobile - function getPicture in iOS
Hi all
We use getPicture method in ADF Mobile to take photos in our application. Problem is that the function returns a path of the tmp in the iOS and the photos are deleted once the application has been closed. How do we store pictures permanently? Do we need to copy and save elsewhere when they are stored or is there a better way to do it?
Any suggestions would be helpful.
Thank you
Hello
This thread on StackOverflow says this is a limitation with Phonegap Get Picture() Cordova, which is used internally by ADF Mobile.
http://StackOverflow.com/questions/8514560/iOS-PhoneGap-camera-cant-save-image-to-photo-library
The work around of this thread is to use caprureImage from JavaScript
navigator.device.capture.captureImage(onSuccess,
onFail,
{
limit: 1
});
}Unfortunately, this seems to require the support of plugins, which will be added to the next version of ADF Mobile
Perhaps, as an alternative, try to read the image in the temp directory and try to explicitly write elsewhere. The code is in this chapter for a view and remote file access
http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/amxbinding.htm#CHDFDBJG
Frank
Post edited by: FrankNimphius
-
Dynamic model AMX in ADF Mobile
Hi guys,.
As seen in file AMX to design the user interface for ADF Mobile, but I just need to have a dynamic flow user interface
for example. When choosing fall down in the page (A) and jump to the next page (b) with the value control to show some of < amx:inputText > in the page (b)
How to make dynamic in amx?Hello
have a bean managed in the Workflow page range. Bind the property made of components on the page to the same successful bean and have the bean by assigning the value of the field that is rendered true or false. That's how I'd do. A similar use case is here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/m02-dynamicallyshowhidecomponents-1915399.pdf
Frank
-
ADF Mobile Apple rejection (terminateWithStatus)
Hi ADF Mobile community,
We receive a rejection of Apple for an application that was written with Jdeveloper 11.1.2.4 (it is listed below). Can someone shed some light on how to find and fix the problem?
Thank you
-asa
Apple
2.5
We found that your application uses non-public APIs one or more, which is not in accordance with the App Store Review Guidelines. The use of non-public API is not permitted, because it can lead to a poor user experience should change these API.
We have found the following non-public API/s in your application:
_terminateWithStatus:
If you have defined methods in your source code with the same names as the above API, we suggest to change your method names so that they face is no longer Apple private API to avoid in your current application reported in future submissions.
In addition, one or more of the above API may reside in a static library attached to your application. If you do not have access to the source of the library, you can search for the binary compiled using 'channels' or 'otool' command line tools. The tool 'strings' can produce a list methods that appeals to the library and the ' otool - ov "will result in Objective-C class structures and their methods defined. These techniques can help you to refine where the problematic code.
We appreciate that you might have made precautions in your code to use the non-public APIs, however, there is no way of correctly or completely predict how an API may be changed and what effects these changes can have. For this reason, we do not allow the use of non-public API in applications from the App Store.Hi, Asa, even if we have solved this outside of this thread, I would formally respond to this topic to close the discussion.
The version the most recent update of the ADF Mobile extension solved that problem. There should be an update to the extension of the ADF Mobile in the center of update of JDeveloper. To get the update, go to the JDeveloper - Help - Check For Updates menu item - official Oracle Extensions and updates, and you should see an extension of the ADF Mobile 11.1.2.4.39.64.44. You will need to download the extension, restart JDev, and then go to the Build menu item - clean to clean the ancient artifacts of deployment. You can re - deploy the application. No changes in the application are necessary - change is in the runtime only, and you can resubmit the application to the AppStore.
After you apply this hotfix, there are several known approvals of applications for ADF based Mobile that has verified the fix.
Thank you
Joe Huang
-
ADF Mobile: Want to reuse the moving components of the adf.
Hi all
I need to use an application mobile adf newly created in an existing App. I want to use data controls to the new application in my consuming application to create some pages that I tried to do by FAR of the draft view controller of the new application, adding the FAR to my former PPP as a library... I am referring to 4 definition of a Mobile Application (version 2.0.0.0.0).
Ideally, I should get two options when adding library (FAR)-
1 application library
2 ViewController project.
But I'm only option 1.
Jdev version: 11.1.2.4
ADF Mobile version: 11.1.2.4.39.64.71
Is the problem with the jdev m using an older version of the MAF.
You are looking at documentation, Oracle MAF but working with ADF Mobile.
You must migrate ADF mobile at the CRG as soon as POSSIBLE, and then you will get the functionality you need.
No reason to stay with the old Mobile ADF which is not supported any longer, migration to the MAF should be smooth.
-
Hi all
I use JDeveloper 11.1.2.3.0, I created browser mobile ADF application similar to an application developed by Mr. Andrejus Baranovskis in his bolg Andrejus Baranovskis Blog: iPhone Web App Development with ADF Mobile Browser with all respect and regards the Mr. Andrejus Baranovskis.
All things is OK when I run the application in the Test Center MobiOne - iphone ios 6.0.
But when I run the iPhone application 6. iPhone shrinks the pages until they are too small to read.
Are it the special parameters I need to be aware of?
Kind regards
I think so, but see for yourself Oracle Mobile Platform | Mobile applications | Oracle
Timo
-
Oracle ADF Mobile - Android SDK problem
Hello
I use Jdev11.1.2.4.0 with ADF Mobile framework 11.1.2.4.39.64.71 EQUIPPED. While I'm deploying application in the Android emulator more precisely Android SDK Manager 22.2.1.
I got an error like.
CreateProcess error=2, The system cannot find the file specified in android "C:\Program Files\Android\platform-tools\aapt"":;
of this error. I got to know, aapt is not in the path mentioned during execution.
But see my configuration below. I loaded different directory.
Location of the Android SDK:
F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk
Location of the Android platform:
F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk\platforms\android-18.
Little, I've observed, earlier we use ADF Mobile framework 11.1.2.3.xx.xx. Now, we are updated to 11.1.2.4.39.64.71. And,
Also AVG Antivirus installed.
I did a few months ago before deployment. I force get this error.
My basic questions:
1. how to solve this error. ?
2. I loaded different directory. Why is he trying to extract from another directory. ?
More clearly... / Platform-tools\aapt is available in drive f but it is looking for drive C Program Files...
Help me understand...
During this time. I have goggled out, I got a link from Jobinesh.
This link is not accurate. But it helps me understand, I need to move the files to the mentioned location. But it is not sensible for me in my case.
Thank you
Kaim.
You must use Oracle MAF instead of Oracle ADF Mobile in the future.
Google continues to change the location of the files in their installation of SDK - so change between versions of the API of the location of the files.
Make sure that you use the API right supported by your Mobile ADF or the version of the MAF.
Maybe you are looking for
-
This problem started after the last automatic 'upgrade '. (Please, if it's not broke, don't fix it!). I thought that this could be a "characteristic" Republican, because I first noticed when I wanted to castigate the GOP (guardians of privilege) abou
-
Can not get ProfileManager to open, despite having followed closely RUN instructions in the HELP section, copy the old backup profile to new computer. This has happened Each time Firefox opened == I had to use a new computer because of the accident o
-
Satellite A100 - 253 (PSAA9)-> new drivers?
Hello I received a "Web of Toshiba site alert" with laste drivers. But there are... 15 drivers in the email!Do I have to download each of them?Because I saw that they are not really new... The last change was in January 2006 and I bought my laptop in
-
Satellite A300D - 14 p Windows Vista OTB for Windows XP
Satellite A300D - 14 p Windows Vista OTB for Windows XP?Is it possible to install Windows XP on the satellite with no complications (bad drivers and other things). I hate Vista!I heard that some laptops require modding some files .ini to install Xp o
-
Please can someone tell me if its normal for the tab S8-50 Lenovo to have a buzz (noise high rise) during its use in (noise becomes louder depending on the brightness and what is displayed on the screen) I just bought the tablet today