ADF mobile: Reuse taskflows for different device models (resolutions) ?

Hi,
ADf 11.1.2.3.0 + mobile extension.
What's best practice to create the same mobile app for different device models (= different screen resolutions = different layout)?
I mean an app on a smartphone may use different gui components and layout than on a tablet device.
In adfmf-feature.xml the content of a feature can be either a amx page or a task flow.
Here I can add a constraint to determine e.g. the device.model and use different amx pages depending on the device model.
But how to reuse the task flow (assumtion: the taskflow is independent from the device model) and just create specific amx page per device model?
regards
Peter

Replying to an old thread.
With ADF Mobile 11.1.2.4.0, to display different content views for different devices,  it is recommended that we use following property as a constraint on the content of the feature.
Property
Operator
Value
hardware.screen.diagonalSize
more
6
It applies this constraint on the devices which have screen size more than 6 inches. Which is applicable for the tablets.
For more details, look at the HR sample found at the following location in your JDev after installing the ADF Mobile Extension
jdev_install/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples

Similar Messages

  • JBO-27122 error in ADF mobile client application for blackberry

    Hi,
    I am trying to develop a simple ADF mobile client application for blackberry. Currently, working only with Blackberry 9700 simulator. I am using the following for development:
    - Jdev 11.1.1.3
    - Oracle database lite 10.3.3
    I have done all the steps as given in the oracle demo. But when I try to run the application in blackberry simulator, the page shows the following error:
    ERROR: failed to change page
    oracle.jbo.server.DBTransactionImpl.createPreparedStatement: JBO-27122: SQL error during statement preparation. Statement: select po_header_id from po_headers_all where po_header_id=1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Encountered exception executing query on ViewObject: header1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Error retrieving BindingContainer : 'mobile_twoPageDef'
    oracle.adfnmc.java.sql.SQLException:
    oracle.adfnmc.java.sql.SQLException:net.rim.device.api.database.DatabaseException: select po_header_id from po_headers_all where po_header_id=1 : SQL logic error or missing database
    Unable to create/prepare native statement with SQL select po_header_id from po_headers_all from po_header_id=1
    Unable to create PreparedStatement with SQL select po_header_id from po_headers_all from po_header_id=1
    Please suggest what could have been wrong while developing or deploying the application.
    P.S. : The view object (header) shows data successfully when run in the application module. Also, a .db file gets created in the SD card folder. The synchronisation is a success when mSync.exe file is run in the <Oracle_Home>/Mobile/Server/Sdk/bin.

    Sorry my content got repeated.
    you can go through this thread FOD mobile db sync with base adf server db not working
    there is link that you can follow for synchronization (check second last message)
    Edited by: Nikhil Gokhale on Apr 17, 2011 3:55 AM

  • Can I have one apple ID and two iCloud accounts for different devices.

    can I have one apple I'd and numerous iCloud accounts for different devices?

    Yes you can, you just need to go into settings and into icloud, once it says account, login to your desired account

  • Uniform UI for different devices

    Hi All,
    We have different devices with different resolution, aspect ratio. I was trying to figure out, Is there possibility of developing UI which will look same in different devices? Or should we develop separately for different devices? I was just guessing, prob we can use separate .res files for different devices using LWUIT.
    Please provide your inputs regarding this. And if there are best practices for J2ME application, you can share with me.
    Thanks in advance,
    Sandeep

    [J2MEPolish|http://www.j2mepolish.org/cms/] does the job pretty good. Try it out.

  • Can DFM notifiy/email different users for different device errors?

    I'm aware how to change DFM thresholds/polling for different devices. I can get notification working fine for "an email".
    But,
    Can DFM email "joe" for router failures, and "fred" for switch failures?
    URL to describe steps would be great!
    Might Cisco implement this feature if not already?

    From http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cw2000/dfm/dfm_faq.htm#67620
    Q) Can I configure the Mail Notifier Adapter to send notifications to different recipients depending on the fault type?
    A) No. You can send notifications to different recipients, but all recipients will receive the same information.

  • Muse, is there code for different devices in web page?

    When designing in muse, can you build desktop, tablet and phone all together with one website? Make where people who have phones goes to the phone site and people with tablets go to the tablet site. Desktop users go to desktop. If this is possible  is there any code I need to put in my web pages for visitors to go that have different devices? If so please tell me where I can find it. Thanks!

    Yes, you can build desktop, tablet and phone layouts for a website all in one Muse project and host the website to Adobe hosting through Business Catalyst or to a third party webhosting provider. The site logic detects the browser and device used by the visitor and automatically redirects to load the appropriate tablet, phone, or desktop layout. There are in-depth tutorials on building a mobile site in Muse - http://www.adobekb.com/creating_mobile_layouts_pt01.html
    Thanks,
    Vinayak

  • Best way to preview AIR for Android projects for different devices?

    So if I am developing an AIR for Android app, is there a good, simple way to preview the app on any android device? I have installed it on my phone of course, but is there a simulator/emulator of some sort available so we can see how it would look on both an Android phone and a tablet? Thanks in advance to anyone who can help!

    DPI aside, you can just set your resolution on the project to the target devices resolution to preview how it will look. While vectors will render much smoother on the device (higher DPI), it's a very easy way to target various resolutions for testing.
    If you have the full CC suite you might want to consider using Flash Builder 4.7 which has many different device presets and allows you to create your own presets to mimic tablets and phones. It really depends how complex your project is to move over to FB.

  • ADF Mobile: JSON support for REST services?

    Will the JSON format be supported for REST services using ADF Mobile? Is there a workaround for now that can be used?

    For now you can write a Java class to communicate with your JSON service, and expose it as a data control.

  • ITunes with different libraries for different devices?

    My wife has an iPod Touch and I'm getting an iPhone; I would like to sync them both to iTunes on the same computer but I want to keep everything 100% separate with the least hassle.  There's already a lot of discussion online about different flavors of this issue, but -- with apologies from an inexperienced user -- I don't really understand what approach I should use.
    Apple suggests three methods http://support.apple.com/kb/ht1495
    Method 1 is create a separate windows user account .... Seems this would work, but I have no other reason to have a separate Windows account so would prefer not to.
    Method 2 is to set different sync settings, playlists, etc for each device .... this seems like a hassle.
    Method 3 is to create a separate library .... maybe this is the solution for me, but I don't really know what it means.  Do separate libraries keep everything (music, video, contacts, apps, etc) separate and distinct?  Can I configure iTunes so that it knows to use Library1 with my wife's iPod, and Library2 with my iPhone?
    So I guess my questions is if someone can explain to me if Method 3 would do what I want, and any tricks that I need to know in setting it up?  Thanks!

    Correct. You have to close iTunes first and to shift to the other iTunes library, hold down shift key while opening iTunes. It does keep almost everything separately (you may use the same media file source though e.g. music and Videos and selectively import them to the second iTunes library; organize your photos separately e.g. Different photo folders) except Contacts &amp; Calendars - for Outlook Contacts &amp; Calendars, I believe it also has an option to switch profile/identity so you'll have separate sets of Contacts.

  • HT4910 I have multiple accts w different apple Ids for different devices for family members. My question is do we each have our own cloud or can it be accessed by another family member

    I want my iCloud to be private , I have a large family w different devices and different apple Ids , can they be accessed or linked in any way?

    Others can log into your account, only if they know your ID and password.

  • Reuse Dimdate across different database for different data models

    Hi,
    I am designing a new data model for a data mart. I need to add dimdate dimension in this data model. I noticed that dimdate already exists in another database and being used by another
    data model. Is it possible to re-use the existing dimdate table for my new data model? If so, what about the foreign key constraints? Normally we link the date columns from fact table to the dimdate keys. How would we achieve that in case we are using the
    same table across different databases?
    Any opinion on this will be highly appreciated.
    Thanks in Advance.
    Cheers!!

    You can create a copy of dimdate table to your new data warehouse.
    If both data marts were in a single data warehouse, then you don't required to copy. but as these are in two different databases then you just copy that.
    regarding FK relationship. you can connect any fact table to you date dimension. even if you want to use more than one instance of your date dimension, it would be simply adding multiple FK columns in your fact table (role playing dimension).
    For date dimension be sure that your date dimension covers most of the attributes required. here is an example of date dimension:
    http://www.rad.pasfu.com/index.php?/archives/156-Script-to-Generate-and-Populate-Date-Dimension-Version-2-Adding-Multiple-Financial-Years.html
    Regards,
    Reza
    SQL Server MVP
    Blog:  
    http://rad.pasfu.com  Twitter:
      LinkedIn:
    SQL Server Integration Services 2012 Tutorial Videos:
    http://www.radacad.com/CoursePlan.aspx?course=1

  • Apple ID for different devices?

    I have an iPad2 and I just purchased an iPad Mini for my wife.
    I want to be able to transfer my app purchases on my iPad2 to my wife's iPad Mini, and to do so, I know that I have to use the same Apple ID for her iPad Mini as I have for my iPad2.
    How will keeping the same Apple ID for the two devices affect the following:
    1) Can my wife set up a different email address for her account for her Mail app on her iPad Mini than I am using on my iPad2?
    2) Will having the same Apple ID affect our ability to communicate with each other using FaceTime on our two devices?
    Thanks for your help.

    1. Your wife can set up her own email account on her Mini without any issues at all.
    2. You can use one Apple ID one both devices and set up and use FaceTime and Messages on both devices without having to set up another Apple ID. You will howver have to add an additional email address for her to be contacted at in the FaceTime and Messages setting - and then remove the Apple ID email address as the "contact at" email address from the settings in both apps.
    I have 4 devices (including my Mac) that I use one Apple ID on and can FaceTime and Message from all devices to all devices because I entered different contact at email addresses on 3 of the devices.
    You may want to consider having your wife set up an Apple ID just to make it easier to use FaceTime and Messages and so that she can have her own iCloud account. If she will sync with iTunes and has no real interest in iCloud, having her own ID will be a non issue in that regard.

  • Using 5Ghz and 2.4 Ghz for different devices

    I am an old lady, so please be gentle.  I know nothing about networking but have been reading and trying hard to learn.
    About a month ago my MBP started having major issues maintaining a wifi connection.  I read through most of a 190+ page thread about other Yosemite users having this problem and tried the suggested solutions that I could understand.  What has worked for me is to set up my old 2007 Airport Extreme to use only 5 Ghz.  Now my MBP connection works great but my AirPrint printer can only use 2.4 Ghz.  I extended my network with one old Airport Express and connected the printer to it with the printer cable so I can print easily from my MBP.  I have configured a second old Airport Express on 2.4 Ghz so I can use the printer from iOS devices but it is SLOW and what a pain to keep changing networks.
    Would a new Airport Extreme make life easier for me?  Would giving 5 and 2.4 different names on the new Airport Extreme offer a better printing experience than my current setup?  It's about time that I get a new router anyway, I guess.  TIA for advice.

    For an old lady you did well cobbling that network together to the point it works at all. It sounds like a major inconvenience.
    Would a new Airport Extreme make life easier for me?
    Much easier. Not only that, like all Apple products it comes with 90 days of complimentary telephone support, if you need help with its configuration (which you probably won't).
    Would giving 5 and 2.4 different names on the new Airport Extreme offer a better printing experience than my current setup?
    No, I don't think you will find that worthwhile. Don't give the 5 GHz network a separate name, just let your devices connect to whatever network they determine is best. That way, as wireless environmental conditions change they will have the agility to choose either one without your intervention.
    AirPrint will work automatically, as long as your printer really is an AirPrint printer. AirPrint is a specific network connection protocol and is not synonymous with mere wireless. If your printer is not an AirPrint printer, it will continue to work, but you might need to configure it to connect to the new AirPort Extreme's network.

  • How can I reuse titles for different titels

    I would like to reuse the same titles for many/all of my videos, which naturally reside in different projects. How can I do this?

    Easiest way:
    Set up a Project called "My Titles" which has the titles just the way you like them, and nothing else.
    When you start a new project, right-click (control-click) on "My Titles" in the project source list, and select "Duplicate". Change the name of your duplicate project and add footage, etc.

  • AirPort Extreme runs at different speeds for different devices.  Please help.

    I have a 4th gen Arport Extreme 802.11n.  My iMac gets a download speed of between 15-20Mbps depending on time of day.  All other devices top out at about 1Mbps.  I can't figure out why or how to get it worked out.  One of the devices I tried was my iPhone, so I took it to a different hotspot and it works fine, so the iPhone is not the problem.  I've updated all my software and have rebooted the Airport.  I'm not sure what else to do.  If anyone can help I'd greatly appreciate it.

    Just connected both my ipad and atv to my airport expresses 2.4N-B-G network and getting a reading of 72 for the rate on both devices. This network has my roomates older g4 power book connected to it which of course will slow down the network. My atv2 also showed one less bar reception than the when it was connected to the 5ghz extremes network which had 5 bars.
    I find this odd. Would love some comments.

Maybe you are looking for

  • BD64 Model View - Wrong Maintenance System

    Hello. We refreshed our QA system from Production.  Production is in a different CUA than our test systems.  The QA system still thinks that it is in the production model view n BD64 and I cannot get it to accept the new distribution model from the C

  • ORA-03113 SQLSTATE=08S01 at SQLDisconnect()

    Dear All, My application is developed in C++. It does not need to be restarted when network to database server is disconnected or oracle database is shut down because it can retry connecting to oracle database after network is reconnected or oracle d

  • Jumping to a transaction from report not executing

    After running a query, in the report, we right click on a value to go to the context menu; which in turn should take me to a transaction GD13,as specified in the RSBBS transaction. But this is not happening. And, i get an error- 'Jump target can not

  • ERROR U44M1|210  UPGRADING PREMIERE PRO

    After installation and upgrade, using CC desktop and via the upgrade option in the app receive error U44M1|210. Tried uninstalling and reinstalling...same problem. App seems to be running fine. Its the Adobe Media Encoder CC 7.2 update / bug fix that

  • Re-install L8

    I recently tried re-installing Logic 8 hoping to iron out some problems - I didnt uninstall before re-installing thinking that the re-install would just write over the original install. Not sure whether I've re-installed or not! I certainly wasnt ask