ORA-28759:无法打开文件

时间:2016-06-17 14:23:58

标签: oracle plsql oracle11g

我有问题。 当我使用public class MultiTouchActivity extends Activity implements OnTouchListener { private View parent; public void onCreate(Bundle instance) { super.onCreate(instance); parent = findViewById(android.R.id.content).getRootView(); parent.setOnTouchListener(this); } public boolean onTouch(View v, MotionEvent event) { for (int ptrIndex = 0; ptrIndex < event.getPointerCount(); ptrIndex++) { // index of the pointer which starts this Event int actionPointerIndex = event.getActionIndex(); // resolve the action as a basic type (up, down or move) int actionResolved = event.getAction() & MotionEvent.ACTION_MASK; if (actionResolved < 7 && actionResolved > 4) { actionResolved = actionResolved - 5; } if (actionResolved == MotionEvent.ACTION_MOVE) { dealEvent(ptrIndex, event, v, actionResolved); Log.v("tag", "move" + ptrIndex); } else { dealEvent(actionPointerIndex, event, v, actionResolved); } } return false; } private void dealEvent(int actionPointerIndex, MotionEvent event, View eventView, int actionresolved) { int rawX, rawY; int location[] = { 0, 0 }; eventView.getLocationOnScreen(location); // Log.v("tag", location + ""); rawX = (int) event.getX(actionPointerIndex) + location[0]; rawY = (int) event.getY(actionPointerIndex) + location[1]; ArrayList<View> views = getTouchedViews(rawX, rawY, actionresolved); // dumpEvent(event); for (View view : views) { int x, y; view.getLocationOnScreen(location); x = rawX - location[0]; y = rawY - location[1]; // Log.v("tag", "touched" + view.toString()); /* * view.onTouchEvent(MotionEvent.obtain(event.getDownTime(), * event.getEventTime(), event.getActionMasked(), x, y, * event.getMetaState())); */ // MotionEvent me = MotionEvent.obtain(event); MotionEvent me = MotionEvent.obtain(event.getDownTime(), event.getEventTime(), actionresolved, x, y, event.getPressure(actionPointerIndex), event.getPressure(actionPointerIndex), event.getMetaState(), event.getXPrecision(), event.getYPrecision(), event.getDeviceId(), event.getEdgeFlags()); me.setLocation(x, y); // Log.v("tag", "oldeventid: " + event.getAction() + " #" + // actionPointerIndex+ " id" + ptrId+ " resolved "+ actionResolved); // Log.v("tag", "neweventid: " + me.getAction() + " #" + // actionPointerIndex+ " id" + ptrId+ " resolved "+ actionResolved); if (!me.equals(event)) { /* * Log.v("tag", "actionindex: " + actionPointerIndex + * " resolved: " + actionPointerIndex + " to " + view.toString() * + " y:" + view.getTop() + "-" + (view.getTop() + * view.getHeight())); */ // me.setAction(actionresolved); view.onTouchEvent(me); } if (actionresolved == MotionEvent.ACTION_MOVE) { Log.v("tag", "#" + actionPointerIndex + "Rawx:" + rawX + " rawy:" + rawY + "x:" + x + " y:" + y + " " + view.toString()); } } } private ArrayList<View> getTouchedViews(int x, int y, int action) { int moveGap = 0; if (action == MotionEvent.ACTION_MOVE) { moveGap = 0; } ArrayList<View> touchedViews = new ArrayList<View>(); ArrayList<View> possibleViews = new ArrayList<View>(); if (parent instanceof ViewGroup) { possibleViews.add(parent); for (int i = 0; i < possibleViews.size(); i++) { View view = possibleViews.get(i); int location[] = { 0, 0 }; view.getLocationOnScreen(location); if (((view.getHeight() + location[1] + moveGap >= y) & (view.getWidth() + location[0] + moveGap >= x) & (view.getLeft() - moveGap <= x) & (view.getTop() - moveGap <= y)) || view instanceof FrameLayout) { touchedViews.add(view); possibleViews.addAll(getChildViews(view)); } } } return touchedViews; } private ArrayList<View> getChildViews(View view) { ArrayList<View> views = new ArrayList<View>(); if (view instanceof ViewGroup) { ViewGroup v = ((ViewGroup) view); if (v.getChildCount() > 0) { for (int i = 0; i < v.getChildCount(); i++) { views.add(v.getChildAt(i)); } } } return views; } Oracle时,我说下一个错误:

UTL_HTTP.SET_WALLET

以前,我使用Oracle Wallet Manager从网站&#34; https://focus-api.kontur.ru/api3/&#34;设置Sertificate。无法理解,我做错了什么。

ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1130
ORA-28759: failure to open file

0 个答案:

没有答案