Tablet - Question API
Hello
because I'm not too familiar with the BlackBerry Tablet API or the Adobe AIR APIs, I have two questions on whether or not it is possible:
1. can I configure VPN appliance settings programmatically?
2. can I lock or wipe the BlackBerry Playbook by programming?
Thanks for all the answers!
I personally haven't seen a demo where the person can lock the screen. He could be here, I've just not seen it.
With regard to wiping. If there is a Java API for that, then perhaps it would be possible in a future API. I'm just surprised that such an API is on the side of the phone.
Tags: BlackBerry Developers
Similar Questions
-
Hello world.
I'm new to BB tablet development but have been a professional developer of BB Phone for a lot of new times. I'm currently researching a project I'd like to undertake that would suit the BB Tablet and I have just a few questions that I would apprectiate anyone in the know have a look;
1: it is possible to integrate the image of the camera within an application?
2: is there a source code available for free / api for interpreting QR codes?
3: there seems to be plenty of choice for the developing countries to the Tablet, which would be the best for an application that makes SOAP based web service calls, incorporates an image of the camera such as discussed in Q1 and interpretation of QR codes as discussed in Q2?
Thank you
Graeme.
Graeme,
Here is a simple code, which I used to access the camera. He puts a pretty big 'live view' on the stage with a button to capture. Then it freezes the image on the screen and allows you to provide a file name and save it. He puts it in a folder "documents" in the media directory.
I have attached a .zip containing only the com.pfp imports for the Async JPEG encoder. It still "hangs" while the economy so some tweaking to do yet but works.
package { import com.pfp.events.JPEGAsyncCompleteEvent; import com.pfp.utils.JPEGAsyncEncoder; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.MouseEvent; import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; import flash.media.Camera; import flash.media.Video; import flash.utils.ByteArray; import qnx.dialog.AlertDialog; import qnx.ui.buttons.LabelButton; import qnx.ui.text.TextInput; public class fishyLightningCam extends Sprite { private var bitmapData:BitmapData = new BitmapData(972, 546); private var bitmap:Bitmap; private var byteArray:ByteArray; private var file:File = File.documentsDirectory; private var fstream:FileStream; private var captureBTN:LabelButton = new LabelButton(); private var discardBTN:LabelButton = new LabelButton(); private var saveBTN:LabelButton = new LabelButton(); private var fileName:TextInput = new TextInput(); private var cam:Camera = Camera.getCamera("1"); private var vid:Video = new Video(972, 546); private var jpgEncoder:JPEGAsyncEncoder; public function fishyLightningCam() { super(); // support autoOrients stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; cam.setMode(2592, 1456, 48); cam.setQuality(0, 100); takePictures(); } private function takePictures():void { if (cam != null) { vid.attachCamera(cam); vid.x = 26; vid.y = 5; addChild(vid); } else { var noCamAlert:AlertDialog = new AlertDialog(); noCamAlert.title = "Camera Error"; noCamAlert.message = "No camera was detected. Please ensure no other apps are using the camera."; noCamAlert.addButton("Okay"); noCamAlert.show(); } captureBTN.label = "Capture!"; captureBTN.setPosition(400, 550); captureBTN.width = 224; captureBTN.addEventListener(MouseEvent.CLICK, captureImage); addChild(captureBTN); fileName.prompt = "File Name"; fileName.setPosition(36, 555); fileName.width = 350; fileName.visible = false; addChild(fileName); saveBTN.label = "Save"; saveBTN.setPosition(400, 550); saveBTN.width = 100; saveBTN.visible = false; saveBTN.addEventListener(MouseEvent.CLICK, saveCapture); addChild(saveBTN); discardBTN.label = "Discard"; discardBTN.setPosition(524, 550); discardBTN.width = 100; discardBTN.visible = false; discardBTN.addEventListener(MouseEvent.CLICK, discardCapture); addChild(discardBTN); } private function captureImage(e:MouseEvent):void { bitmapData.draw(vid); bitmap = new Bitmap(bitmapData); bitmap.x = 26; bitmap.y = 5; addChild(bitmap); removeChild(vid); captureBTN.visible = false; saveBTN.visible = true; discardBTN.visible = true; fileName.visible = true; } private function saveCapture(e:MouseEvent):void { jpgEncoder = new JPEGAsyncEncoder(100); jpgEncoder.addEventListener(JPEGAsyncCompleteEvent.JPEGASYNC_COMPLETE, encodeWIN); jpgEncoder.encode(bitmapData); } private function encodeWIN(e:JPEGAsyncCompleteEvent):void { addChild(vid); removeChild(bitmap); fstream = new FileStream(); fstream.openAsync(file.resolvePath(fileName.text + ".jpg"), FileMode.WRITE); fstream.writeBytes(e.ImageData); /* byteArray = new ByteArray(); byteArray = e.ImageData; byteArray.position = 0; fstream.writeBytes(byteArray); fstream.close(); */ captureBTN.visible = true; saveBTN.visible = false; discardBTN.visible = false; fileName.text = ""; fileName.visible = false; } private function discardCapture(e:MouseEvent):void { addChild(vid); removeChild(bitmap); captureBTN.visible = true; saveBTN.visible = false; discardBTN.visible = false; fileName.text = ""; fileName.visible = false; } } }
-
Mobile Muse and Tablet questions!
Hello world!
I have a few questions:
1. for one of my pages web I have not put on the shelf. It is not an empty layout - it is not enabled. This page is not visible on iPads. Is it because there is no tablet version and I need to do, or is this something else?
Why the desktop is not visible on tablets (iPad in this case - not tried android yet).
2. on mobile, (layout is 380 pixels wide) android, for example, when I opened this site, pages are "too broad", I can move to left/right a little bit, but when I type twice it fits on the screen. I want to have everything nice on each mobile device without any intervention from the user. I've heard of code to paste (code of the display window): "< name meta ="window"content ="width = device-width, original scale = 1.0, 1.0, scalable user = 0 = maximum scale". I put this in the page properties/metadata, went well with the vertical arrangement, but with visualization on mobile, things like full historical slideshow or other items displayed completely wrong. I did not try to paste code in a html of each page window. Is that a reason for the problem, or is it something else? If not display window code, what to do for the dimensions of the universal page if something like that is possible to operate?
3. the last problem so far for me, when I have a few images in vertical presentation on mobile, lets say that everything looks OK. Horizontal research, photos are zoomed, and they seem blurry. I see the same thing, the visualization of some models of mobile phones for example at themeforest.net. How to get nice sharp looking picture on the two page layouts? A widget reactive (different images depending on the displayed size) the answer? I don't know about the images of the retina (retina@x2), but it would probably just for the screens of the retina. What to do to get pictures of nice strong appearance on two layouts on the mobile version? Probably same problem viewing the site of tablet in different layouts, when horizontal will be zoomed (stretched on the sides) to fill the browser window.
I hope someone can help me.
Appreciate it!
Luke.
Reactive Adobe Muse CC 2015 is now online. Please install the update of CC > Apps.
What's new: news summary
Release notes: https://helpx.adobe.com/muse/release-note/adobe-muse-release-notes.html
Delicate design:
Adobe help Muse | Create responsive Web sites
Adobe help Muse | Responsive web design in Adobe Muse
Adobe help Muse | Migrate existing Adobe Muse Web sites to answer
Tutorials
To get started with Adobe Muse (replaces how to make a website with Adobe Muse (coffee of Katie)):
- https://helpx.adobe.com/muse/how-to/create-responsive-website.html
Create a sensitive webpage with Adobe Muse:
- https://helpx.adobe.com/muse/how-to/responsive-web-design.html (more detailed features RWD of Muse demo)
Thank you
Sanjit
-
Flash Pro &; Wacom tablet questions
After you have installed the latest update of Flash Professional, I meet with my Tablet Wacom in Flash, essentially the Brush tool is buggy. I was able to use with my Tablet Brush tool in Adobe Photoshop CC without any problem. I added a screenshot of the problem:
Although most of the new facility can be updated, this is the part of the scale that is my money on. It's somewhere in the Control Panel, display, settings ppp. Several people have solved this problem by defining that 100%.
-
Javascript question (API) labels DYMO
Hi all.
APEX 4.2
11 GR 2 XE database.
I am trying to print labels directly from APEX through a library of JS of DYMO (DYMO label for javascript framework).
I want to fetch the XML code for the type of representation dynamically from the database instead of fixed this assignment in JS, which kind I can store all templates for labels in the database and find the one appropriate for the task, I do).
If I use the fixed code, it works very well, code looks like this (sheet of labels XML is assigned to the variable labelxml in the first few lines):function printadres(labeltext ) { try { var labelxml = '<?xml version="1.0" encoding="utf-8"?>\ <DieCutLabel Version="8.0" Units="twips">\ <PaperOrientation>Landscape</PaperOrientation>\ <Id>Address</Id>\ <PaperName>30252 Address</PaperName>\ <DrawCommands/>\ <ObjectInfo>\ <TextObject>\ <Name>Text</Name>\ <ForeColor Alpha="255" Red="0" Green="0" Blue="0" />\ <BackColor Alpha="0" Red="255" Green="255" Blue="255" />\ <LinkedObjectName></LinkedObjectName>\ <Rotation>Rotation0</Rotation>\ <IsMirrored>False</IsMirrored>\ <IsVariable>True</IsVariable>\ <HorizontalAlignment>Left</HorizontalAlignment>\ <VerticalAlignment>Middle</VerticalAlignment>\ <TextFitMode>ShrinkToFit</TextFitMode>\ <UseFullFontHeight>True</UseFullFontHeight>\ <Verticalized>False</Verticalized>\ <StyledText/>\ </TextObject>\ <Bounds X="332" Y="150" Width="4455" Height="1260" />\ </ObjectInfo>\ </DieCutLabel>'; var label = dymo.label.framework.openLabelXml(labelxml); // set label text label.setObjectText("Text", labeltext); // select printer to print on // for simplicity sake just use the first LabelWriter printer var printers = dymo.label.framework.getPrinters(); if (printers.length == 0) throw "No DYMO printers are installed. Install DYMO printers."; var printerName = ""; for (var i = 0; i < printers.length; ++i) { var printer = printers;
if (printer.printerType == "LabelWriterPrinter")
{
printerName = printer.name;
break;
}
}
if (printerName == "")
throw "No LabelWriter printers found. Install LabelWriter printer";
// finally print the label
label.print(printerName);
}
catch(e)
{
alert(e.message || e);
}
};
function printadres (labeltext)but when I try to fetch the same XML from a text field on my form it fails with a "getObjectByNameElement(): no object with name 'Text' was found" error which is a custom error from the DYMO library. I'm unable to find the big difference in the 2 approaches. If I test the variable labelxml by putting it in an alert the value seems fine ( it contains the XML string which is in P11_LABELTEMPLATE which is exactly the same as the static assigned text in the previous example ). The code then looks like this :
{
VR;
{
var labelxml = $v ('P11_LABELTEMPLATE'); It's dynamic assignment that fails somehow
var label = dymo.label.framework.openLabelXml (labelxml);
the text of the label value
label.setObjectText ("Text", labeltext);
Select the printer to print on
for simplicity just use the first printer LabelWriter
var printers = dymo.label.framework.getPrinters ();
If (printers.length == 0)
launch 'no DYMO printer is installed. Install DYMO printers. « ;
var printerName = "";
for (var i = 0; i < printers.length; ++ I)
{
Printer printers [i] = var;
If (printer.printerType is "LabelWriterPrinter")
{
printerName = printer.name;
break;
}
}
If (printerName == "")
not launch "no printer found LabelWriter. Install printer LabelWriter ";
Finally, print the label
Label.Print (PrinterName);
}
catch (e)
{
Alert(e.message || e);
}
};I'm not sure if this is an APEX or JS question/problem but I hope someone can point me in the right direction. Regards Bas
Hi Arie,
You have me headed in the right direction.
It seems to me that there is a CR/LF to CR conversion but in the end that did not really matter, I guess.I just made a mistake by copying the XML in a database table. What I did the copy on any of the XML string in the code, including the backslash at the end of the line that is JS (continue on a new line) and does not part of the XML... .not too smart of me is it ;)
Please help out me.Problem solved!
Kind regards
Bottom -
Well, I'm new to Photoshop it and after 2 hours of searching, I found nothing that can help me with this situation. So here is the situation: I am trying to use a graphics tablet of Adesso Z12 draw in Photoshop CS5 Extended. For some reason, I can't understand how to get the system to pressure at work. I know that the Tablet's pressure sensitivity because I can draw based on MSN writing and it detects the pressure. For some reason any Photoshop refuses to do. Y at - it a setting that I need to check on or is it just that it won't work. In the post above, I see something without touch except Wocom tablets would work with PS CS3 or more. Is this true if so, is there a work around? I really don't want to have to buy another Tablet just for that.
Thanks in advance for the help.
It works in cs5 and just the pressure does not work?
This page has a driver, but I don't know if it is more recent than yours or not.
http://www.Adesso.com/en/support/Techical-support/drivers-and-manuals/190-drivers.html
MTSTUNER
-
I installed Photoshop CC and the pen pressure stopped working, no a so gum the other end of the pen.
Hi Ka,
Could you please let me know the version of Photoshop installed on the computer, in the computer, you are working on Windows or MAC?
Kind regards
Tanuj
-
Labtop / Tablet question -I'm shopping for a new Labtop. Is there a laboratory touchscreen top that works on windows 7 / 8, where the screen can detach the keyboard used in the form of tablets and then transformed (with long vertical side) and attached to the keyboard to type a length full page (8.5 x 11 page) and then returned (long horizontal side) one attached to the keyboard (to be used as a stand) for a movie with all the features of present characteristics of a top laboratory such as 4 to 8 GB memory and a 500 GB hard drive (perhaps as part of the screen or connected to / through the keyboard, if it is used as a docking station)?
It seems with all the technology of the tablet on the market that Microsoft or somebody would do something like that now. Can someone help me? Thank you
-Scott M
PS: My wife has an ASUS transformer where the screen detaches from the keyboard, so it can be used in the form of tablets. When it is attached to the keyboard, the keyboard acts as a stand to sit on the counter for watching movies. And then the keyboard and the screen can fold them together, so when it is closed there is a stand-alone case. This, however, runs the Android operating system. Basically, I want this same design (for the potability in a Briefcase), but with it running Microsoft Windows so it can be used as any other labtop. It the keyboard could have a number pad are associated with, that would be a bonus.
Hi pr-e-s,.
You can check with asus.
http://us.Acer.com/AC/en/us/content/home
-
Hello
We have IOM 11.1.1.7 and that you have installed IOM 11.1.2.2 as a separate instance. Now I have to migrate all users Challenge Questions / answers of IOM 11.1.1.7 to IOM 11.1.2.2. Need to know if there is a way to bulk migrate all challenge Questions and answers. I see PCQ that holds any challenge Questions and responses from the table, but they are in encrypted form. Using the Java APIs, I can read and decipher all the Questions and answers, but how to create in the new environment.
Any help is appreciated.
Thank you
Your best option is to run the code of the scheduled task within your old instance will use the pot tcCryptoUtil to decrypt the contents of the table challenge question and write down them somewhere in an encrypted format using your own custom code with the user name or value that will be available in the new instance of the user. Then your new instance in another scheduled task, use the same API decrpyt on the table of the USR to get user and login passwords because each user to use set questions api challenge for itself. You will need to decrypt a writing or recording of your content in the old instance.
-Kevin
-
What reason, firefox should access to my camera for?
Hi ankanamoon:
Yes, I confirm that if a web page requires the use of the camera via the camera API, a web page can take a picture!
https://developer.Mozilla.org/en-us/docs/DOM/Using_the_Camera_APIhope that answers to the part of the camera of this question API
-
I am trying to set up hotmail on my tablet, questions are what type of account is pop3 or IMAP, port no. and the type of security.
E-mail send and receive Windows Live Hotmail since an e-mail Client
Hotmail has its own support at the Windows Live Solution Centerforums. Please address any other question you may have on one of the forums on the right side of this page.
Noel
-
It is a pipette issue...
Hello! This is my first time setting a debate, so I apologize if I missed out on anything whatsoever.
I recently bought and installed Photoshop CS6, only to discover that my function of pipette seems to be really problematic and yet funny at the same time.
Whenever I tried to use the eyedropper tool, noticeable lag, inhibition of my painting class produces the following:
-In the Brush tool, use the shortcut Alt to bring up in the foreground pipette
-In the eyedropper tool, use it only
Surprisingly, however, when I tried to use the Pipette from the background (in the Eyedropper, using the Alt shortcut), it was too good to be true. He picked up a perfectly good colors.
I'm not sure what to do to fix this...
I tried the following steps below, experimenting with a possible solution:
1) reboot and reinstall Photoshop CS6 (original purchase)
-Reason: Probably a mistake during the previous installation.
-Status: ineffective.
2) resized canvas
-Reason: Having a size canvas could cause lag to the form.
-Status: ineffective.
3) Tablet questions
-Reason: Could be that the Tablet is not working properly.
-Status: ineffective. Question appears on Tablet and keyboard + mouse.
4) install the latest updates of Photoshop and Wacom
-Reason: Fix could be in the updates I have yet to install.
-Status: Ineffective, all the recent updates have been made, but no change.
Specifics:
Computer - iMac, OS X
Wacom Cintiq 13 HD - Tablet
-Version of Photoshop CS6 (from Master Collection)
Update your 13.0.6 Photoshop. Link:- Adobe - Photoshop: for Macintosh: Adobe Photoshop 13.0.6 updated for CS6
-
I'm looking to print labels using a DYMO 450 directly from my app with a simple push of a button. The labels would include information that is on the page, that they are printing. What would be the best option for this? Someone at - it examples of this work?
So I found this and it looks like what I want to do, but I don't know where to put the code? I don't know how to implement the solution.
-
A straight vertical line appears on my painting when I try drawing
I just downloaded the latest demo version of Adobe Flash Professional CC and when I tried drawing using my Wacom tablet, he calls in a straight line on the screen. Whenever I try to draw once again, the same thing happens. I tried to have my Tablet disconnected and reconnected it and it still happens. Then I tried to restart my computer. Still happens. I even tried other programs to see if it was my Tablet and my Tablet worked fine. So I don't know what the problem is. What should I do?
Read through some of the many other reports in the forum. It would see if one patch works for you:
-
HP Tablet: Tablet reset open question
I forgot my password of the hp tablet of me and reset Tablet 5 seconds.
After not reset no start my tablet. Please solve my problem
I purchased before 4 years this TabletHere's a video that explains "How to ask the question of the best": https://youtu.be/dVtafuGI7kI
WyreNut
Maybe you are looking for
-
Toshiba Media Controller does not work on Win7 and Satellite P850-12Z
Hello I have a problem with the Media Controller program, do not work at all, I have a Sony Bravia with wifi, try to share music and video and always says "remote library did not allow the connection. How can I fix it, also say that when you try to r
-
G580 reformatted - now the key of windows 7 is not valid
It's as simple as the title suggests. The windows validation key that is PRINTED on the bottom of the laptop is not valid, I rang even Microsoft and they said no, that is not a valid key. It's for the home edition Premium, Home Premium edition, I ins
-
Someone knows how can I fix? I can't download anything because of this error, I tried a system restore, but that did not work. Any help would be great.
-
KIM I have a big problem, and I don't know how to fix it. I probably pressed a wrong button that I changed a few settings that accidentally cut my network connection. I do not have wifi but I never used my phone had its own connection. But now, as I'
-
Need help with registry key permissions.
OK, so I downloaded a file .exe on the internet, and now it does not work. I contacted the administrator (the person who did the file) and he said to get procmon. I did and I send a log of the file running for him and we have concluded that some malw