Is there a alternative for 'report on reports' ??
Hi,
Oracle9i Reports no longer supports opening or saving reports to the database so i can't create a ducumentation for my reports
is there a solution
thank's
If you are looking for a record of change, you can always just create a function that contains all your comments. You would just want to return it true, but you can have all your developers update that part when you fix the code.
Not sure if that answered your question at all - if not, explain what you mean by documentation a little further.
Similar Messages
-
Is there an alternative for Adobe Flash for Mac & Firefox
Running Mac OS 10.6.8 Snow Leopard with Firefox 13.0. Was notified that I needed to install Adobe Flash/Shockwave to see video content.
Have loaded and updated to the newest version as of last week but Firefox has become buggy, freezing up but my pointer will still move. I continually get requests from Flashplayer to store data on my machine. Continually get error messages that I have to click DISMISS and the it works normally.
Just a regular PIA. I have uninstalled Flashplayer and the problems disappear but I cannot access a lot of content, especially videos.
IS there any alternative for Mac?
thanks,
RobNote that Flash may not be working properly if you disable local storage.
Flash Website Storage Settings panel:
* http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
Global Storage Settings Panel:
* http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html
Flash Local storage settings Help:
* http://www.macromedia.com/support/documentation/en/flashplayer/help/help02.html -
Hi,
I have recently bought IPAD AIR , is there any flash version supporting this model or is there any alternative for flash sites to open ?iPad do not support Flash
However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability -
Are there any alternatives for iphone backup extractor?
Hi all,
I find that the 'iphone backup extractor' program is very useful, however it is quite annoying that they limit the extraction to 4 files at a time and that we have to pay in order to get our own data files propperly. :S
When I restore my old backup from iTunes, every new thing is gone, when I restore the backup I just made, the old backup stuff has gone. It just replaces each other.
Apple should have their own software like this where you can extract what ever you want from your old backups and transfer it on to your phone, such as contacts for example.
Anyway, I was wondering if there is any alternatives for this program, or any other way I can extract my backup files ?If you're on a Mac, there is a "free" iPhone backup extractor, but none that I know of for Windows. You could always code your own program, that would be free.
Apple doesn't provide a mechanism to do this for the simple reason they don't want users screwing with the iPhone backup. Thus, none of these third-party programs are supported. -
Are there any alternatives for mseg and mkpf
I had to display from table S032...following fields.
S032-LETZTABG --> Date: last (i.e. most recent) goods issue
S032-LETZTVER --> Date: last (i.e. most recent) consumption
However the data was not properly filled in s032 table. So I went for mseg and mkpf table to get budat based on moment types.
SELECT MSEG~MATNR
MSEG~WERKS
MSEG~LGORT
MSEG~BWART
MKPF~BUDAT
INTO TABLE IT_MSEG
FROM MKPF AS MKPF INNER JOIN MSEG AS MSEG
ON
MKPFMBLNR = MSEGMBLNR AND
MKPFMJAHR = MSEGMJAHR
FOR ALL ENTRIES IN T_OUT_TMP
WHERE MSEG~MATNR EQ T_OUT_TMP-MATNR
AND MSEG~WERKS EQ T_OUT_TMP-WERKS.
Are there any other alternative table for mseg and mkpf...
Because my above coding ( which includes above SELECT of mseg and mkpf )got performance issue...
Could you please suggest me anyu other alternative for mseg and mkpf ...Try to include the BUDAT in the selection of the MKPF.. if you don't have any restriction in MKPF than just pass an empty range.
RANGES: S_BUDAT FOR MKPF-BUDAT.
SELECT
MKPF~BUDAT "<<<
MSEG~MATNR
MSEG~WERKS
MSEG~LGORT
MSEG~BWART
INTO TABLE IT_MSEG
FROM MKPF AS MKPF INNER JOIN MSEG AS MSEG
ON
MKPF~MBLNR = MSEG~MBLNR AND
MKPF~MJAHR = MSEG~MJAHR
FOR ALL ENTRIES IN T_OUT_TMP
WHERE
MKPF~BUDAT IN S_BUDAT " <<<
MSEG~MATNR EQ T_OUT_TMP-MATNR
AND MSEG~WERKS EQ T_OUT_TMP-WERKS.
Regards,
Naimesh Patel -
Is there a alternative for the filter oil paint?
Adobe remove the filter oil paint with the new version of Photoshop CC 2014... I use this filter a lot, is there a alternative?
You will find the Oil Painting Filter in Photoshop CC. It has been taken out of Photoshop CC 2014.
So if you have Lightroom Creative Cloud, you should have both Photoshop CC and Photoshop CC 2014.
I have been looking for it for 4 days now, and I just found it. I am so happy. -
Is there any alternative for Evaluate function
Hi all
Can anybody tell me the alternative for evaluate function. i have to use a SQL Function and execute it from obieeAgreed with John. You best create a view in the DB or - if you don't have the rights - you can just put this SQL code in the physical layer as a physical table object of table type "Select".
In UDML:
DECLARE TABLE "ABC".."SH"."test" AS "test" UPGRADE ID 1 NOT CACHEABLE NO INTERSECTION
TABLE TYPE SELECT DATABASE MAP (
{DefaultMulDB} AS {select a.job_id,
a.name title,
flsa.meaning flsa,
eeo.meaning eeo_category,
a.attribute1 job_family,
c.name grade
from per_jobs a,
(select * from per_valid_grades where sysdate between date_from and nvl(date_to, sysdate + 1)) b,
(select * from per_grades where sysdate between date_from and nvl(date_to, sysdate + 1)) c,
(select lookup_code, meaning from hr_lookups where lookup_type like 'US_EXEMPT_NON_EXEMPT') flsa,
(select lookup_code, meaning from hr_lookups where lookup_type like 'US_EEO1_JOB_CATEGORIES') eeo,
(select lookup_code, meaning from hr_lookups where lookup_type like 'ALB_HR_JOB_FAMILY') jf
where sysdate between a.date_from and nvl(a.date_to, sysdate + 1) and
b.job_id (+) = a.job_id and
c.grade_id(+) = b.grade_id and
flsa.lookup_code (+) = a.job_information3 and
eeo.lookup_code (+) = a.job_information1 and
jf.lookup_code (+) = a.attribute1} )
PRIVILEGES ( READ);Cheers,
C. -
Is there any alternative for adding servlet name in Web.xml?
Hi,
I am new to Weblogic and I have an application(Ear file) which was developed
in Websphere and I am trying to install in weblogic 8.1. I have installed my application
in Websphere without adding servlet entries in Web.xml and it was working fine.
I have installed the same Ear file in Tomcat and added the
following to make all my all servlets work.
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
Is there any alternative of doing like that in WebLogic instead of adding each
and every servlet entry in web.xml because my application has around 200 servlets
Thanks&Regards,
Gopi.Is Servlet servlet same as weblogic.servlet.ServletServlet?
Deepak
Rob Woollen <[email protected]> wrote:
Yes, you could register weblogic.servlet.ServletServlet.
-- Rob
Gopi Krishna wrote:
Hi,
I am new to Weblogic and I have an application(Ear file) whichwas developed
in Websphere and I am trying to install in weblogic 8.1. I have installedmy application
in Websphere without adding servlet entries in Web.xml and it was workingfine.
I have installed the same Ear file in Tomcat and added the
following to make all my all servlets work.
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
Is there any alternative of doing like that in WebLogic instead ofadding each
and every servlet entry in web.xml because my application has around200 servlets
Thanks&Regards,
Gopi. -
Is there any alternative for OVS ?
Hi All,
I am looking for alternative method to implement help option to multiple input fields. So, I wanted to ask memebers of this forum if there is any alternative approach to achieve this functionality as I find implementing OVS is very confusing and time consuming.
Kindly suggest me if there is any alternate option if available. I tried Hotel Reservation example and flight reservation examples.
Kindly suggest me any new methods.
Thanks
UdayI would first develop a view which will act as your value selector (I would use a table UI element with filtering capabilities)
Then embed this view in a window so it can be shown as a popup using code in the onEnter event, like
IWDWindowInfo winInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("YourValueSelectorWindow");
IWDWindow win = wdComponentAPI.getWindowManager().createModalWindow(winInfo);
win.setWindowPosition (<left_relativ_to_your_inputfield>, <top_relative_to_your_inputfield>);
win.setWindowSize (<width>,<height>);
win.show();
In this window bind your table UI element to the context of your source data, implement filtering capabilities, and upon selection pass the desired value back to the parent inputfield and closing the popup window. -
Is there an alternative for adobe flash player that I can get on iPhone
I can't use adobe flash player in safari is there anything I can use that will work the same
No Flash for iPads, iPhones, or iPods
Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
Apps that can display some Flash from the Web:
Puffin
SkyFire
Photon Flash
Browse2Go
iSwifter
Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that." -
Is there any alternative for Mac google drive?
Hi,
just like many people here, i had numerous problems with Google drive over those 2 last years. i was looking for a reliable solution that work with PC and MAC.
Unfortunately Icloud is too locked up and we cannot easily drag and drop files to it just like for a google drive folder.
do you have any suggestions to replace Google drive on Mavericks?
I need something that will not make my mac unstable and will do its job.
Thank you.I use Dropbox since a few weeks and it works very reliable. You can drag and drop files to the Dropbox folder and you can also direct open files in a program.
By the way, iCloud also has its own directory on the Mac. It is under the user directory in
Library/Mobile Documents/
In this directory there is a subdirectory for every app you have with iCloud. They have some odd names, but you can recognize whcih app uses which directory. So you can drag and drop with iCloud too. -
Is there any alternative for FileConnection in j2me
hi,
i want to read and write images from phone memory.i use the Fileconnection for that the pbm for using FileConnection v need the support of JSR-75 in mobile.only few mobiles have the support of JSR-75.Is there any possible way to read and write images from phonememory other than FileConnection and also theRMS .
thanx a lotHi im write this code to open the image file and show that in canvas :
as a class
FileBrowser.java as a example on wtk 2.2 with modification
import java.util.*;
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.io.file.*;
import javax.microedition.lcdui.*;
* Demonstration MIDlet for File Connection API. midlet MIDlet implements simple
* file browser for the filesystem avaliable to the J2ME applications.
class FileBrowser implements CommandListener {
private String currDirName;
private Command view = new Command("View", Command.ITEM, 1);
private Command creat = new Command("New", Command.ITEM, 2);
private Command creatOK = new Command("Oke", Command.OK, 1);
private Command prop = new Command("Properti", Command.ITEM, 2);
private Command back = new Command("Kembali", Command.BACK, 2);
private Command exit = new Command("Batal", Command.EXIT, 3);
private Command cmOpenCrop = new Command("Open File To Crop", Command.ITEM, 1);
private TextField nameInput; // Input field for new file name
private ChoiceGroup typeInput; // Input fiels for file type (regular/dir)
private Midlet midlet;
private final static String[] attrList = { "Baca", "Tulis", "Sembunyikan" };
private final static String[] typeList = { "File Biasa", "Direktori" };
private final static String[] monthList = { "Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec" };
private Image dirIcon, fileIcon, photoIcon;
private Image[] iconList;
/* special string denotes upper directory */
private final static String UP_DIRECTORY = "..";
/* special string that denotes apper directory accessible by midlet browser.
* midlet virtual directory contains all roots.
private final static String MEGA_ROOT = "/";
/* separator string as defined by FC specification */
private final static String SEP_STR = "/";
/* separator character as defined by FC specification */
private final static char SEP = '/';
public FileBrowser(Midlet midlet) {
this.midlet = midlet;
currDirName = MEGA_ROOT;
try {
dirIcon = Image.createImage("/icons/dir.png");
} catch (IOException e) {
dirIcon = null;
try {
photoIcon = Image.createImage("/icons/photo.png");
} catch (IOException e) {
photoIcon = null;
try {
fileIcon = Image.createImage("/icons/file.png");
} catch (IOException e) {
fileIcon = null;
iconList = new Image[] { fileIcon, dirIcon};
new Thread(new Runnable() {
public void run(){
RunAplikasi(); }
}).start();
public void RunAplikasi() {
try {
showCurrDir();
} catch (SecurityException e) {
Alert alert = new Alert("Error",
"You are not authorized to access the restricted API",
null, AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
Form form = new Form("Cannot access FileConnection");
form.append(new StringItem(null,
"You cannot run midlet MIDlet with the current permissions. "
+ "Sign the MIDlet suite, or run it in a different security domain"));
form.addCommand(exit);
form.setCommandListener(this);
Display.getDisplay(midlet).setCurrent(alert, form);
} catch (Exception e) {
e.printStackTrace();
public void commandAction(Command c, Displayable d) {
if (c == view) {
List curr = (List)d;
final String currFile = curr.getString(curr.getSelectedIndex());
new Thread(new Runnable() {
public void run() {
if (currFile.endsWith(SEP_STR) || currFile.equals(UP_DIRECTORY)) {
traverseDirectory(currFile);
} else {
// Show file contents
showFile(currFile);
}).start();
} else if (c == prop) {
List curr = (List)d;
String currFile = curr.getString(curr.getSelectedIndex());
showProperties(currFile);
} else /*if (c == creat) {
//createFile();
} else if (c == creatOK) {
String newName = nameInput.getString();
if (newName == null || newName.equals("")) {
Alert alert = new Alert("Error!",
"File Name is empty. Please provide file name",
null,
AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
Display.getDisplay(midlet).setCurrent(alert);
} else {
// Create file in a separate thread and disable all commands
// except for "exit"
executeCreateFile(newName, typeInput.getSelectedIndex() != 0);
Display.getDisplay(midlet).getCurrent().removeCommand(creatOK);
Display.getDisplay(midlet).getCurrent().removeCommand(back);
} else*/ if (c == back) {
showCurrDir();
} else if (c == exit) {
midlet.SelesaiAplikasi();
} else if (c == cmOpenCrop) {
List curr = (List)d;
String currFile = curr.getString(curr.getSelectedIndex());
midlet.SelesaiOpen("file:///"+ currDirName + currFile,0,0);
//Starts creatFile with another Thread
private void executeCreateFile(final String name, final boolean val) {
new Thread(new Runnable(){
public void run(){
createFile(name, val);
}).start();
* Show file list in the current directory .
void showCurrDir() {
Enumeration e;
int Panjang,Count,AdaEkstensi,IndexConcat = 0;
String SimpanEkstensi,SaveTemp;
char str[] = new char[10];
Boolean Ketemu = new Boolean(false);
FileConnection currDir = null;
List browser;
try {
if (MEGA_ROOT.equals(currDirName)) {
e = FileSystemRegistry.listRoots();
browser = new List(currDirName, List.IMPLICIT);
} else {
currDir = (FileConnection)Connector.open("file://localhost/" +
currDirName);
e = currDir.list();
browser = new List(currDirName, List.IMPLICIT);
// not root - draw UP_DIRECTORY
browser.append(UP_DIRECTORY, dirIcon);
browser.setSelectCommand(view);
while (e.hasMoreElements()) {
String fileName = (String)e.nextElement();
if (fileName.charAt(fileName.length()-1) == SEP) {
// midlet is directory
browser.append(fileName, dirIcon);
browser.setSelectCommand(view);
} else {
// midlet is regular file
//cari tahu si ekstensi jika ada
Panjang = fileName.length();
Count = 0;
AdaEkstensi = 0;
while (Count < Panjang && AdaEkstensi == 0)
if (fileName.charAt(Count) == '.')
AdaEkstensi = 1;
IndexConcat = Count+1;
Count++;
if (AdaEkstensi == 1)
//cari tahu apakah si ekstensi gambar atau bukan
SimpanEkstensi = new String("");
//SimpanEkstensi.concat(fileName.substring(IndexConcat,Panjang));
fileName.getChars(IndexConcat,Panjang,str,0);
if (str[0] == 'p' && str[1] == 'n' && str[2] == 'g'){
browser.append(fileName, photoIcon);
browser.addCommand(cmOpenCrop);
browser.setSelectCommand(view);
} else
if (str[0] == 'j' && str[1] == 'p' && str[2] == 'g'){
browser.append(fileName, photoIcon);
browser.addCommand(cmOpenCrop);
browser.setSelectCommand(view);
} else {
browser.append(fileName, fileIcon);
browser.setSelectCommand(view);
} else
browser.append(fileName, fileIcon);
browser.setSelectCommand(view);
browser.addCommand(prop);
//Do not allow creating files/directories beside root
if (!MEGA_ROOT.equals(currDirName)) {
//browser.addCommand(creat);
browser.addCommand(exit);
browser.setCommandListener(this);
if (currDir != null) {
currDir.close();
Display.getDisplay(midlet).setCurrent(browser);
} catch (IOException ioe) {
ioe.printStackTrace();
void traverseDirectory(String fileName) {
/* In case of directory just change the current directory
* and show it
if (currDirName.equals(MEGA_ROOT)) {
if (fileName.equals(UP_DIRECTORY)) {
// can not go up from MEGA_ROOT
return;
currDirName = fileName;
} else if (fileName.equals(UP_DIRECTORY)) {
// Go up one directory
// TODO use setFileConnection when implemented
int i = currDirName.lastIndexOf(SEP, currDirName.length()-2);
if (i != -1) {
currDirName = currDirName.substring(0, i+1);
} else {
currDirName = MEGA_ROOT;
} else {
currDirName = currDirName + fileName;
showCurrDir();
void showFile(String fileName) {
try {
FileConnection fc = (FileConnection)
Connector.open("file://localhost/" + currDirName + fileName);
if (!fc.exists()) {
throw new IOException("File does not exists");
InputStream fis = fc.openInputStream();
byte[] b = new byte[1024];
int length = fis.read(b, 0, 1024);
fis.close();
fc.close();
TextBox viewer = new TextBox("View File: " + fileName, null, 1024,
TextField.ANY | TextField.UNEDITABLE);
viewer.addCommand(back);
viewer.addCommand(exit);
viewer.setCommandListener(this);
if (length > 0) {
viewer.setString(new String(b, 0, length));
Display.getDisplay(midlet).setCurrent(viewer);
} catch (Exception e) {
Alert alert = new Alert("Error!",
"Can not access file " + fileName
+ " in directory " + currDirName
+ "\nException: " + e.getMessage(),
null,
AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
Display.getDisplay(midlet).setCurrent(alert);
void showProperties(String fileName) {
try {
if (fileName.equals(UP_DIRECTORY)) {
return;
FileConnection fc = (FileConnection)Connector.open("file://localhost/"
+ currDirName + fileName);
if (!fc.exists()) {
throw new IOException("File does not exists");
Form props = new Form("Properties: " + fileName);
ChoiceGroup attrs = new ChoiceGroup("Attributes:", Choice.MULTIPLE,
attrList, null);
attrs.setSelectedFlags(new boolean[] {fc.canRead(),
fc.canWrite(),
fc.isHidden()});
props.append(new StringItem("Location:", currDirName));
props.append(new StringItem("Type: ", fc.isDirectory() ?
"Directory": "Regular File"));
props.append(new StringItem("Modified:",myDate(fc.lastModified())));
props.append(attrs);
props.addCommand(back);
props.addCommand(exit);
props.setCommandListener(this);
fc.close();
Display.getDisplay(midlet).setCurrent(props);
} catch (Exception e) {
Alert alert = new Alert("Error!",
"Can not access file " + fileName
+ " in directory " + currDirName
+ "\nException: " + e.getMessage(),
null,
AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
Display.getDisplay(midlet).setCurrent(alert);
void createFile() {
Form creator = new Form("New File");
nameInput = new TextField("Enter Name", null, 256, TextField.ANY);
typeInput = new ChoiceGroup("Enter File Type", Choice.EXCLUSIVE,
typeList, iconList);
creator.append(nameInput);
creator.append(typeInput);
//creator.addCommand(creatOK);
creator.addCommand(back);
creator.addCommand(exit);
creator.setCommandListener(this);
Display.getDisplay(midlet).setCurrent(creator);
void createFile(String newName, boolean isDirectory) {
try {
FileConnection fc = (FileConnection) Connector.open("file:///" +
currDirName +
newName);
if (isDirectory) {
fc.mkdir();
} else {
fc.create();
showCurrDir();
} catch (Exception e) {
String s = "Can not create file '" + newName + "'";
if (e.getMessage() != null && e.getMessage().length() > 0) {
s += "\n" + e;
Alert alert = new Alert("Error!", s, null, AlertType.ERROR);
alert.setTimeout(Alert.FOREVER);
Display.getDisplay(midlet).setCurrent(alert);
// Restore the commands that were removed in commandAction()
Display.getDisplay(midlet).getCurrent().addCommand(creatOK);
Display.getDisplay(midlet).getCurrent().addCommand(back);
private String myDate(long time) {
Calendar cal = Calendar.getInstance();
cal.setTime(new Date(time));
StringBuffer sb = new StringBuffer();
sb.append(cal.get(Calendar.HOUR_OF_DAY));
sb.append(':');
sb.append(cal.get(Calendar.MINUTE));
sb.append(':');
sb.append(cal.get(Calendar.SECOND));
sb.append(',');
sb.append(' ');
sb.append(cal.get(Calendar.DAY_OF_MONTH));
sb.append(' ');
sb.append(monthList[cal.get(Calendar.MONTH)]);
sb.append(' ');
sb.append(cal.get(Calendar.YEAR));
return sb.toString();
public void view_image(String FileName)
}and show it on class ClipCanvas
Class ClipCanvas
Merupakan Class yang di gunakan untuk membuat area
Clip Mata
import javax.microedition.lcdui.*;
import java.util.*;
import java.io.*;
import java.lang.Math.*;
import javax.microedition.io.file.*;
import javax.microedition.io.*;
class ClipCanvas extends Canvas implements CommandListener, Runnable
private Command cmSave = new Command("Save Image Area Crop",Command.SCREEN,1);
private Command cmSendMMS = new Command("Send MMS",Command.SCREEN,1);
private Command cmHelp = new Command("Help",Command.SCREEN,1);
private Command cmExit = new Command("Keluar", Command.SCREEN, 1);
private Midlet midlet; // Main midlet
private Image im,ImageCrop,TempImage = null; // Image to display
//private Graphics TempGraphics;
private Random random; // Get random number
private int clipx = 0, clipy = 0, // View port
clipw = 200, cliph = 200; // (clipping region)
private int old_clipx = 0, old_clipy = 0; // Last clipping region
private int awalx,awaly;
private String NamaFile;
//konstruktor
public ClipCanvas(Midlet midlet,final String NamaFile,int awalx,int awaly)
this.midlet = midlet;
this.NamaFile = NamaFile;
// Create exit command & listen for events
this.addCommand(cmSave);
this.addCommand(cmSendMMS);
this.addCommand(cmHelp);
this.addCommand(cmExit);
// Get random values for starting point
random = new java.util.Random();
// Make sure the entire clipping region is
// visible on the display
this.clipx = Math.min((getWidth() - clipw),
(random.nextInt() >>> 1) % getWidth());
this.clipy = Math.min((getHeight() - cliph),
(random.nextInt() >>> 1) % getHeight());
// Create immutable image
new Thread(new Runnable() {
public void run(){
//String NamaFile = NamaFile1;
InputConnection fileConn = null;
DataInputStream dis = null;
try{
fileConn = (InputConnection)Connector.open(NamaFile,Connector.READ);
dis = fileConn.openDataInputStream();
im = Image.createImage(dis);
TempImage = Image.createImage(im.getWidth(),im.getHeight());
dis.close();
catch (java.io.IOException e)
System.err.println("Unable to locate or read .png file");
e.printStackTrace();
}).start();
this.awalx = awalx;
this.awaly = awaly;
setCommandListener(this);
protected void paint(Graphics g)
if (im != null)
//putihin layar
g.setColor(0xFFFFFF);
g.fillRect(0,0,getWidth(),getHeight());
// Clear only the previous clipping region
g.setColor(255, 255, 255);
g.fillRect(old_clipx, old_clipy, clipw, cliph);
g.drawRect(old_clipx, old_clipy, clipw-1, cliph-1);
g.drawRect(old_clipx+92, old_clipy+92, 8,8);
// Set the new clipping region
g.setColor(255, 255, 255);
g.setClip(clipx, clipy, clipw, cliph);
// Draw image
g.drawImage(im, awalx, awaly, Graphics.LEFT | Graphics.TOP);
//draw si rectangle kecil
g.setColor(0xFF001E);
g.drawRect(clipx,clipy,clipw-1,cliph-1);
g.drawRect(clipx+92,clipy+92,8,8);
Graphics TempGraphics = TempImage.getGraphics();
TempGraphics.drawImage(im,awalx, awaly,Graphics.LEFT | Graphics.TOP);
} else
//putihin layar
g.setColor(0xFFFFFF);
g.fillRect(0,0,getWidth(),getHeight());
//draw si rectangle kecil
g.setColor(0xFF001E);
g.drawString("Tekan Tombol Arah !",clipx,clipy,Graphics.LEFT | Graphics.TOP);
public void commandAction(Command c, Displayable d)
if (c == cmExit)
midlet.SelesaiAplikasi();
else
if (c == cmSave){
try {
ImageCrop = Image.createImage(TempImage,clipx,clipy,clipw,cliph,0);
} catch(NullPointerException ioe){
System.err.println("Halo !!!!!");
return;
midlet.SaveImage(ImageCrop,NamaFile,awalx,awaly);
protected void keyPressed(int keyCode)
// Save the last clipping region
old_clipx = clipx;
old_clipy = clipy;
switch (getGameAction(keyCode))
case UP:
// Move clipping region up 3 pixels
if (clipy > 0)
clipy = Math.max(0, clipy - 3);
else
if (awaly+3 <=0)
awaly += 3;
break;
case DOWN:
// Move clipping region down 3 pixels
if (clipy + cliph < getHeight())
clipy = Math.min(getHeight(), clipy + 3);
else
if (im.getHeight() > getHeight()){
if (awaly-3 >=(-1*(im.getHeight()-getHeight())))
awaly -= 3;
break;
case LEFT:
// Move clipping region left 3 pixels
if (clipx > 0)
clipx = Math.max(0, clipx - 3);
else
if (awalx + 3 <=0)
awalx += 3;
break;
case RIGHT:
// Move clipping region right 3 pixels
if (clipx + clipw < getWidth())
clipx = Math.min(getWidth(), clipx + 3);
else
if (im.getWidth() > getWidth()){
if (awalx - 3 >= -1*(im.getWidth()-getWidth()))
awalx -= 3;
break;
case FIRE:
try {
ImageCrop = Image.createImage(TempImage,clipx,clipy,clipw,cliph,0);
} catch(NullPointerException ioe){
System.err.println("Halo !!!!!");
return;
midlet.SaveImage(ImageCrop,NamaFile,awalx,awaly);
break;
repaint();
public void run(){
} -
Is there anyway alternative for dbms_output?
Hi,
I have sqlscript. i want to know the running position of script. I know, the dbms_output will come after the whole script completed.
is there anypossible for my expection?
KanishHi,
This seems to helpful, i download the whole. when i runinstall plsql the following error is thrown.
SQL>
1 -------------------------------------------------------------------
2 --
3 -- File : install.sql (SQLPlus script)
4 --
5 -- Description : installation of the LOG4PLSQL framework
6 -------------------------------------------------------------------
7 --
8 -- history : who created comment
9 -- v1 Bertrand Caradec 15-MAY-08 creation
10 --
11 --
12 -------------------------------------------------------------------
13 /*
14 * Copyright (C) LOG4PLSQL project team. All rights reserved.
15 *
16 * This software is published under the terms of the The LOG4PLSQL
17 * Software License, a copy of which has been included with this
18 * distribution in the LICENSE.txt file.
19 * see: <http://log4plsql.sourceforge.net> */
20 spool install.txt
21 PROMPT LOG4PLSQL Installations
22 PROMPT **********************
23 PROMPT
24 SET VERIFY OFF
25 PROMPT Create table TLOGLEVEL ...
26 @@create_table_tloglevel
27 PROMPT Insert rows into TLOGLEVEL ...
28 @@insert_into_tloglevel
29 PROMPT Create table TLOG ...
30 @@create_table_tlog
31 PROMPT Create sequence SQ_STG ...
32 @@create_sequence_sq_stg
33 PROMPT Create package PLOGPARAM ...
34 @@ps_plogparam
35 @@pb_plogparam
36 PROMPT Create package PLOG_OUT_TLOG ...
37 @@ps_plog_out_tlog
38 @@pb_plog_out_tlog
39 -- installation of the optional packages
40 SET FEEDBACK OFF
41 PROMPT
42 PROMPT Installation of optional packages
43 PROMPT *********************************
44 PROMPT Please select the log outputs you want to install (y:yes - n:no)
45 ACCEPT V_DBMS_OUTPUT CHAR PROMPT 'DBMS_OUTPUT (package PLOG_OUT_DBMS_OU
46 ACCEPT V_ALERT CHAR PROMPT 'Alert file (package PLOG_OUT_ALERT):'
47 ACCEPT V_TRACE CHAR PROMPT 'Trace file (package PLOG_OUT_TRACE):'
48 ACCEPT V_AQ CHAR PROMPT 'Advanced queue (package PLOG_OUT_AQ):'
49 ACCEPT V_SESSION CHAR PROMPT 'Session info in V$SESSION (package PLOG_O
50 VARIABLE output_dbms_output VARCHAR2(50);
51 VARIABLE output_alert VARCHAR2(50);
52 VARIABLE output_trace VARCHAR2(50);
53 VARIABLE output_aq VARCHAR2(50);
54 VARIABLE output_session VARCHAR2(50);
55 DECLARE
56 V_DBMS_OUTPUT2 VARCHAR2(20) := '&V_DBMS_OUTPUT';
57 V_ALERT2 VARCHAR2(20) := '&V_ALERT';
58 V_TRACE2 VARCHAR2(20) := '&V_TRACE';
59 V_AQ2 VARCHAR2(20) := '&V_AQ';
60 V_SESSION2 VARCHAR2(20) := '&V_SESSION';
61 BEGIN
62 IF LOWER(V_DBMS_OUTPUT2) = 'y' THEN
63 :output_dbms_output := 'output_dbms_output';
64 ELSE
65 :output_dbms_output := 'dummy';
66 END IF;
67 IF LOWER(V_ALERT2) = 'y' THEN
68 :output_alert := 'output_alert';
69 ELSE
70 :output_alert := 'dummy';
71 END IF;
72 IF LOWER(V_TRACE2) = 'y' THEN
73 :output_trace := 'output_trace';
74 ELSE
75 :output_trace := 'dummy';
76 END IF;
77 IF LOWER(V_AQ2) = 'y' THEN
78 :output_aq := 'output_aq';
79 ELSE
80 :output_aq := 'dummy';
81 END IF;
82 IF LOWER(V_SESSION2) = 'y' THEN
83 :output_session := 'output_session';
84 ELSE
85 :output_session := 'dummy';
86 END IF;
87 END;
88 /
89 column c_file_output_dbms new_value package_file_output_dbms noprint
90 select :output_dbms_output c_file_output_dbms from dual;
91 column c_file_output_alert new_value package_file_output_alert noprint
92 select :output_alert c_file_output_alert from dual;
93 column c_file_output_trace new_value package_file_output_trace noprint
94 select :output_trace c_file_output_trace from dual;
95 column c_file_output_aq new_value package_file_output_aq noprint
96 select :output_aq c_file_output_aq from dual;
97 column c_file_output_session new_value package_file_output_session nopr
98 select :output_session c_file_output_session from dual;
99 SET FEEDBACK ON
100 -- call the file to install the feature
101 @@&package_file_output_dbms
102 @@&package_file_output_alert
103 @@&package_file_output_trace
104 @@&package_file_output_aq
105 @@&package_file_output_session
106 PROMPT Create dynamically the package PLOG_INTERFACE ...
107 @@ps_plog_interface
108 @@pb_plog_interface
109 PROMPT Create the main package PLOG ...
110 @@ps_plog
111 @@pb_plog
112 PROMPT Create the view VLOG
113 @@create_view_vlog
114* spool off
115 /
Enter value for v_dbms_output: y
old 56: V_DBMS_OUTPUT2 VARCHAR2(20) := '&V_DBMS_OUTPUT';
new 56: V_DBMS_OUTPUT2 VARCHAR2(20) := 'y';
Enter value for v_alert: n
old 57: V_ALERT2 VARCHAR2(20) := '&V_ALERT';
new 57: V_ALERT2 VARCHAR2(20) := 'n';
Enter value for v_trace: n
old 58: V_TRACE2 VARCHAR2(20) := '&V_TRACE';
new 58: V_TRACE2 VARCHAR2(20) := 'n';
Enter value for v_aq: n
old 59: V_AQ2 VARCHAR2(20) := '&V_AQ';
new 59: V_AQ2 VARCHAR2(20) := 'n';
Enter value for v_session: n
old 60: V_SESSION2 VARCHAR2(20) := '&V_SESSION';
new 60: V_SESSION2 VARCHAR2(20) := 'n';
Enter value for package_file_output_dbms: n
old 101: @@&package_file_output_dbms
new 101: @@n
Enter value for package_file_output_alert: n
old 102: @@&package_file_output_alert
new 102: @@n
Enter value for package_file_output_trace: n
old 103: @@&package_file_output_trace
new 103: @@n
Enter value for package_file_output_aq: n
old 104: @@&package_file_output_aq
new 104: @@n
Enter value for package_file_output_session: n
old 105: @@&package_file_output_session
new 105: @@n
Bind variable "OUTPUT_ALERT" not declared.
SQL> Can u guid me in this area. -
UWA BR100 discontinued adaptor - is there an alternative for recently purchased TV
I just purchased a KDL-46EX520 which requires and the above adaptor - which I have just discovered is discontinued - is there another adaptor option please
Hello shanem, thank you for your message. Welcome to SONY Community!
For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
-
Is there any alternative for this code to increase performance
hi, i want alternate code for this to increase performance.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE zcst-zmatnr,
checked TYPE i,
defected TYPE i,
end of itab.
SELECT DISTINCT zmatnr FROM zcst INTO TABLE itab WHERE
zmatnr IN s_matnr AND
zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ.
LOOP AT itab.
ind = sy-tabix.
SELECT COUNT( DISTINCT zcst~zcastn )
FROM zcst INNER JOIN zvtrans
ON ( zcstzcastn = zvtranszcastn AND
zcstzmatnr = zvtranszmatnr AND
zcstzwerks = zvtranszwerks AND
zcstgjahr = zvtransgjahr )
INTO itab-checked
WHERE
zcst~zmatnr = itab-matnr AND
zcst~zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ.
SELECT COUNT( DISTINCT zcst~zcastn )
FROM zcst INNER JOIN zvtrans
ON ( zcstzcastn = zvtranszcastn AND
zcstzmatnr = zvtranszmatnr AND
zcstzwerks = zvtranszwerks AND
zcstgjahr = zvtransgjahr )
INTO itab-defected
WHERE
zcst~zmatnr = itab-matnr AND
zcst~zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ AND
zvtrans~zdcode <> ' '.
MODIFY itab INDEX ind.
ENDLOOP.
i think, select within loop is reducing the performance
pls replyHi,
types : BEGIN OF t_itab ,
matnr LIKE zcst-zmatnr,
checked TYPE i,
defected TYPE i,
end of t_itab.
data : itab type table of t_itab,
wa_itab type t_itab.
and instead of looping as in ur code try to use for all entries and
use nested loop.
Maybe you are looking for
-
Oracle Installation errors on Red Hat AS 2.1
Hi, I've installed Oracle 9i on a Red Hat AS 2.1, but after the installation, when running the Database Configuration Assistant gave this error: ORA-03113: end-of-file on communication channel I found an installation guide on http://www.puschitz.com
-
Undeliverable Mail using Apple mail
I recently decided to transition from Outlook for Mac to Apple mail for obvious reasons - I don't like Microsoft. However, 50% of the emails, I am sending are being returned to me. These are the same people I have been emailing for years, some I am
-
Populating error message based on search help
Hi team, How can we populate error message in a shopping cart account assignment "order " field for the bellow two senarios. I am adding a custom field called "Operational Activity" in account assignment. based on which search help has to be done the
-
STMS Extended Transport Control
Anyone ever used the Extended Transport Control in STMS? The team at my current project wants to setup a client landscape like this (not the complete diagram)... DEV100 >--+----+--> QA100 >-----> PROD100 | | DEV110 <--+ +--> QA120
-
Audio Macbook and Macbook Pro ???
I am torn between the MB and the Pro 15". I want to use these machines to do presentations using tV's most of them will not be HD. Can I hook up (with adapters) to standard RCA connectors with either of them? Also I am hearing that the MB sound volum