How to know which mode (landscape/portrait) user is in
How can you tell / changing your screen settings in html5/webworks if the user changes the orientation of the device?
You can use the object and the window.orientation of JavaScript orientationchange event. Here's a demo:
http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/orientation.html
You can also use CSS3 media queries, define styles for portrait and landscape. Here's a demo of it too:
http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/CSS3/mediaquery.html
Tags: BlackBerry Developers
Similar Questions
-
How to know which programs are connecting to the internet?
Hello
How to know which programs or files are connected to the internet, including files and programs Microsoft?
Thanks and greetings
In Windows 7, use Ctrl + Shift + Esc instead of Ctrl + Alt + Delete. It lets you in the Manager of tasks more quickly. Select the performance tab, click the resource monitor and Network tab. Network connections are included.
-
How to know which update causes the system crash
Can you tell us how to check the update is the culprit?
Hi Steve,.
Inorder to know which update is the cause of the crash of the system, you can install the updates one by one. Firstly uninstall the updates that have been recently installed.
Uninstall the update:
1. click on start and type "update installed" in the searc box. Click on view installed updates
2. right click on the update you want to uninstall. Once the uninstall is complete, reboot the computer.
3. install the updates one by one.
You would get to know what update is at the origin of the disorder. You can hide this particular update.
-
How to know which column belongs
Hello
I have a query that returns the lowest value between 3 columns ((EDT) 1, 2, time3) without taking into account null using NVL values.
All columns have varchar values and now I also need to know which column belongs to this value.
How can I get what I want?
Thank you
I use Sql Developer
I was able to set and change the minimum like this choice:
CASE WHEN ptime2 IS NULL AND ptime3 IS NULL AND ptime1 IS NULL THEN 'vazio' ELSE least(NVL(ptime1, '24:00'),NVL(ptime2, '24:00'), NVL(ptime3, '24:00')) END AS PTime_DISPLAY, CASE WHEN ptime2 IS NULL AND ptime3 IS NULL AND ptime1 IS NULL THEN 'nenhum!' ELSE '' ||(least(nvl2(ptime1,1, 99),nvl2(ptime2,10,99), nvl2(ptime3,19, 99))) END AS Tee,
case 1 gives me the minimum
2nd case gives me to what column the previous value came from
Thank you all for your help
-
any ideas how to know which version of windows 8 is running on my laptop
I have a hp Pavilion running windows 8, but the version that I use cannot update 8.1 download store. is there a way to know which version I have?
Hello
Type 'Information system' in the search...
The update appears in the store?
Do you have any kind of error messages?
-
Hello
I'm going to pretend to HW... So far, have been the following:
1. Select DBMS_UTILITY. DATA_BLOCK_ADDRESS_FILE FOLDER (ID2) #.
DBMS_UTILITY. DATA_BLOCK_ADDRESS_BLOCK (ID2) BLOCK #.
the lock of v$ where type = "HW";
11 1930
11 1930
11 1930... 29 documents returned.
2. Select the owner, segment_type, nom_segment from dba_extents
where file_id = 11 and 1930 between block_id and block_id + blocks - 1;
MuUser LOBSEGMENT SYS_LOB0000121913C00011$ $
But, now how can I find the object (say, table column and lob)?
Also I used SAMS and LMT.
Use the built-in DICT display for information on items in the dictionary
Select * dict where table_name like '% LOB % '.
results in DBA_LOBS and USER_LOBS
and BINGO
Often, there is no need to ask here, you have to just learn to use what is already there (and has been documented)
--------------
Sybrand Bakker
Senior Oracle DBA
-
How to know the value of database user profile optoins?
I have debug PA activated for a particular user in my e-Business suite environment. I need to know for which user is enabled.
FND_PROFILE_OPTIONS shows that his permit user and responsibility level. But I'm not able to find out what user/responsibility is allowed, as this watch only flags.
Can anyone tell me please what table/view, I must check for this.Hi again;
You can also view
How to find all the users with a particular defined profile Option? [367926.1 ID}
How to change the value of the profile without forms Option? [943710.1 ID]Respect of
HELIOS -
"Please HELP!" How to lock a mode application portrait?
What should I do to lock my application in portrait mode? I have not designed for landscape mode. Then when the phone is turned to landscape mode, it will not work. Please, help me to be locked in portrait mode.
In your - app.xml, set the following indicators
yourGame.swf false portrait That should do the trick
-
How to know the State when the user try to truningon wifi.
According to the requirement of our society that we prevent user BB uses WiFi in the Office that I must turn on and off the WiFi blackberry incoming SMS. I am able to turn off if the wifi is enabled by this code.
if ((wafs & RadioInfo.WAF_WLAN) != 0) { Radio.deactivateWAFs(RadioInfo.WAF_WLAN); }
But my question is how do I know when the user attempts to activate the WiFi. while I can put restriction.
I had tried
RadioInfo.STATE_TURNING_ON
But I'm not able to achieve that the RadioInfo.STATE_TURNING_ON field is obsolete. so give me something to do.
-
How to know which applications are currently installed in blackberry
I have a gap of phone that allows the user to enter contact information (including credit card information). Once the details are entered, it should show a page that has the link for all installed applications for blackberry. Is it possible to know what applications are installed in blackberry. Can you please let me know how to go about it.
You can query the system for applications that support specific features. In this list, you can then call the application that allows you to select the user by using the returned object.
https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.Invoke.html#.query
-
How to know all queries executed by users of the database?
Hi all
I am new to Oracle. I created a database (version 10.2) and several users in this database. I would like to know how to record in a database table all queries executed by users of the database.
Thank you.I would like to know how to record in a database table all queries executed by users of the database.
activate SQL_TRACE for each session, but such an effort cost more than any advantage gained.
-
How do know us that now the user using the server component
Hi all
Suppose a user loged in to the siebel application.and requested for an object manager/component.and as the user who got. But this particular component is active in a portion so how do we know that now the user using the component.means Server user is in what server to use this object manager component.
Concerning
RemyUsing Server Manager, to connect without specifying a server, then run a command to sessions list for your device and you will see the user and the server.
Best regards
EvtLoglvl -
How to know which version of DirectX is installed in Windows 7
HOW CAN I FINDOUT WHICH IS the TYPE OF VERSION of DirectX
INSTALLED ON MY PC
Took me some time to find the answer on the microsoft site, but here it is.
To use the DirectX Diagnostic tool to determine the version of DirectX installed on your computer, follow these steps:
- Click Startand then click run.
- Type dxdiag, and then click OK.
- On the System tab, note the version of DirectX displayed on the DirectX Version line.
- On the DirectX files tab, check the version information for each DirectX file.
- When you are finished checking file versions, click exit.
If Windows cannot find the dxdiag, version 5.0 program or an earlier version of DirectX is installed on your computer. If this is the case, download and install the latest version of DirectX.
-
How to know which card, layout or a collection is changing
After using the DPS 2015 intensely, I found one of the most difficult things is to lose track of what map, collection, or layout, I'm editing right now. When I click on a map to change, I know at this time what card it is of course, but as I plow through all the options of the map, it's easy to forget which card I'm working on, especially if I am stopped. It would be awesome if at the top of the screen (maybe just side of the "map properties", "Collection" or "Available properties" indicator that appears in the upper left corner of the screen) the title of the map, collection or a layout being edited was posted. That would be really helpful.
Good suggestion! I spent this on Andrei, who is owner of this area of the product.
Neil
-
How to know which version of Linux (ESX 3.5)
Hello, how can I know the correct version of my ESX Server?
Thank you
3.5 service console based on RHEL 3 Update 8.
-KjB
VMware vExpert
Maybe you are looking for
-
I usually have no problem using Firefox on my phone. I have a M7 a HTC with Android OS 4.3. As you may know, this phone came pre installed with Adobe flash. I would use my native browser but Lookout attracted my attention to a vulnerability on androi
-
If I export the Favorites to internet explore that they will remain in firefox?
I would like to export firefox bookmarks to internet explore without losing them in firefox.
-
How to restore the bar at the bottom of my screen that displays icons of the add-on?
Previously, the icons of the add-on modules (e.g., noscript, weather or reminders) were displayed at the bottom of my screen and I could click on them to run the corresponding function. Now, they are not displayed, and I don't know how to get back th
-
Eager to add a few things on my desk! (Don't know much about computers)
Hi, I was looking in Add/upgrade to update new things to my computer and didn't know some things. I intend to do in February at the latest. * My computer *. Name of the operating system: Microsoft Windows Vista (TM) Home Premium Version: 6.0.6002 Ser