Zylo W20i BAD MOBILE - BELOW EXPECTATIONS
Hey..recently i purchased Zylo W20i mobile..though itz W series.. the sound quality is very bad.. other mobiles are better than this so called W series mobile.. i wish, some1 help me to increase it sound qulity and volume.. i was trying to take pics wid frames..only vga quality pics are coming..i didnt find pic edit option..the pictures taken are not too clear ...they look a bit blur..i want to increase my mob sound quality and volume..is it possible...plz help!
whtz tht? i tried updating software..software updated but ...still poor sound quality.. i cant even edit, crop, copy the photos that i have taken wid my mob..
Similar Messages
-
Nokia c5-03 is having really bad features. Can any...
Hi, My nokia mobile c5-03 is not supporting the following features and i bought this mobile on 2nd April 2011 from nokia priority shop in Bangalore, Karnataka:
1) No marking option available for selecting several things for selected ones.
2) No Sending, Deleting and removing option available in the menu for songs. Although the help option is providing the feature it is not visible on my phone.
3) Image clarity is not good. Camera lens is having 5MP but the image is having lot of distortion and noise which is worst than 2MP camera.
4) Nokia BH105 bluetooth headset is not compatible with my phone although the nokia website is saying it is compatible.
5) Touch sensitivity is very bad and degrading within 10 days of purchase.
Hi, My nokia mobile c5-03 is not supporting the following features and i bought this mobile on 2nd April 2011 from nokia priority shop in Bangalore, Karnataka:1) No marking option available for selecting several things for selected ones.
2) No Sending, Deleting and removing option available in the menu for songs. Although the help option is providing the feature it is not visible on my phone.
3) Image clarity is not good. Camera lens is having 5MP but the image is having lot of distortion and noise which is worst than 2MP camera.
4) Nokia BH105 bluetooth headset is not compatible with my phone although the nokia website is saying it is compatible.
5) Touch sensitivity is very bad and degrading within 10 days of purchase.
6) Not able to uninstall themes from Installed Applications as that option is not available.i really agree with you, i have been using nokia phones since i was 12 year old i bought too many nokia phones and at that time nokia was the best , but recently i was shocked when i bought c5-03 i thought it would be good enough to compare it to other phones companies like samsung and iphone but it can't even be compared because its so bad, im going to list the bad things that i noticed and i hope nokia would do upgrade for this phone, i mean real upgrade like changing the whole system to better one, and im using the lastest update and it still bad.
the bad things below are the things i hate about it.
1- camera Quality is very bad, my old nokia phone that has only 2 mega pixel take better Quality pictures.
2- the touch speed is very bad and not sensitive, i was not know that it has resistive touchscreen when i bought it i thought all touch phones comes the same
3- when you view photo and zoom in it takes forever to zoom, other phones doesn't even loading.
4- when you open program or game it takes long time to open.
5- the symbian is borning compared to andorid , i think they should work on their OS or use andorid instead.
after all it's slow
is there soultion for these things? i hope so and i hope that nokia can allow us to install android on our nokia phones
my next phone will not probably be nokia as i saw very cheaper phones comes with android and capacitive touchscreen. -
Help, if you can my camera on my iPad 2 is bad ! Very grainy, every scents I updated the picture is bad.
Don't expect too much from a 0.7MP back camera.
The front camera is 0.3MP.
If you want better quality go for the iPad (4th generation) -
Exit/BAdi for COPA char's in VF01
Hi all,
Based on the Billing document no. and reference no. , i need to populate the COPA characteristic (a field). I tried to use exit COPA005 but its updating the COPA char's of Billing document Profitability section. I need to populate the COPA char's of Billing document Controlling section. Any help is appreciated.
- VinothHi
Modifications to almost all the STD t codes are generally done with BADi's
Try finding relevent BADI with below step by step process
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP ((S_P99_41000101))transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Tushar Mundlik -
/SAPAPO/SNPLLC - does not appear to work as expected
Hi Experts,
I was wondering if anyone can shed light on how this program works. We need a successfull run of the LLC calc prior to running heuristics on the supply chain. currently the heuristics run gives unpredictable results due to the LLC calc not working.
This is the situation: -
- We have a data model where the supply source for products can change dynamically from one production plant to another. In order to faciltate the quick switching of supply, we have defined Transportation Lanes from all the possible supplying production locations to all the possible receiving locations. These are "All Products" lanes.
- Overlaid on the TLAnes, we have quota arrangements which control from day-to-day which locations do the supplying (we are running SNP with no production horizon, so it plans also the next few days as well as out to 2 years future buckets).
When we come to run the LLC program above, it always gives the Information message "Low-level codes cannot be determined due to cycles in model "000". Despite only being an Info message, it also causes the background job to fail (seemingly). In any case the LLC is not calculated correctly as all Location/Products have LLC 0 after the run. The cycles also occur in locations in other parts of the business that we have no control over (it is not possible to limit the LLC calc by location selection).
I have several questions about the way SNPLLC works: -
1. The cycles that are displayed seem to be purely based on the TLanes - does it take into account Quota Arrangements when determining cycles? The cycles displayed do not seem to be recursive - does it just give up after a certain number of iterations?
2. When I get the above info message, the detail says that I can set the "Save Low-Level Codes with Cycles" Indicator to force it to save LLC despite cycles - where is this indicator? I have looked in the SNP Global settings (profile) but can't see it. I have also implemented note 1548670 - "SNP LLC not saved for cycles" but it does not seem to have made any difference.
3. Is there anything that I can do in order to get over this issue without changing all the master data?
Any help much appreciated.
Thanks,
Chris Brookes.Hi Ada,
BADI Code below: -
method /SAPAPO/IF_EX_PWB_SOS~PWB_USEX_SOS.
Revision History *
Date : 27/09/2011 Changed By : Mohammed Sajid *
Revision ID: AO01 Helpdesk ID: Hovis ELS ASIN-8KRJ79 *
Description: Filter the sources of supply so that only those with a valid *
Quota Arrangement are considered by the SNP LLC calculation *
AO01 Begin of Insert
TYPES : BEGIN OF ty_loc,
LOCID TYPE /SAPAPO/LOCID,
LOCNO TYPE /SAPAPO/LOCNO,
END OF ty_loc.
TYPES : BEGIN OF ty_mat,
MATID TYPE /SAPAPO/MATID,
MATNR TYPE /SAPAPO/MATNR,
END OF ty_mat.
DATA : lv_logsys TYPE BAPIGENFIELDS-LOGSYSTEM,
lv_quota_found TYPE char01,
lv_vrsioex TYPE /SAPAPO/VRSIOEX,
lv_model TYPE /SAPAPO/C_MODELID,
lv_date_from(14) TYPE c,
lv_date TYPE char08,
lv_no_quota TYPE BAPI10009GENFIELDS-NO_OF_QUOTAS,
lt_plngversion TYPE TABLE OF bapiversrange,
lt_model_sel TYPE TABLE OF BAPIMODELRANGE,
lt_loc_intsel TYPE TABLE OF BAPILOCINTRANGE,
lt_prod_intsel TYPE TABLE OF BAPIPRODUCTINTRANGE,
lt_quota_itm_lane TYPE TABLE OF BAPI10009QTAITEMLANE2O,
lt_quota_itm_erp TYPE TABLE OF BAPI10009QTAITEMEXTPROC2O,
lt_val_from TYPE TABLE OF bapi10009qtavalfrrange,
lt_val_to TYPE TABLE OF bapi10009qtavaltorange,
lt_return TYPE TABLE OF bapiret2,
lt_loc TYPE TABLE OF ty_loc,
lt_mat TYPE TABLE OF ty_mat,
ls_loc TYPE ty_loc,
ls_loc1 TYPE ty_loc,
ls_mat TYPE ty_mat,
ls_plngversion TYPE bapiversrange,
ls_model_sel TYPE BAPIMODELRANGE,
ls_loc_intsel TYPE BAPILOCINTRANGE,
ls_prod_intsel TYPE BAPIPRODUCTINTRANGE,
ls_quota_itm_lane TYPE BAPI10009QTAITEMLANE2O,
ls_quota_itm_erp TYPE BAPI10009QTAITEMEXTPROC2O,
ls_val_from TYPE bapi10009qtavalfrrange,
ls_val_to TYPE bapi10009qtavaltorange,
ls_return TYPE bapiret2.
CONSTANTS : lc_i TYPE char01 value 'I',
lc_x TYPE char01 value 'X',
lc_s TYPE char01 value 'S',
lc_eq TYPE char2 value 'EQ',
lc_le TYPE char2 value 'LE',
lc_ge TYPE char2 value 'GE',
lc_time TYPE char6 VALUE '000000'.
AO01 End of Insert
AO01 Begin of Insert
If Badi is called within the determinition of low-level code
ans Bapi is called for an SNP LLC calculation
IF iv_low_level_code = lc_x AND iv_plan_usage = lc_s.
Get location
IF NOT ct_sources_extend[] IS INITIAL.
SELECT LOCID LOCNO
FROM /SAPAPO/LOC
INTO TABLE lt_loc
FOR ALL ENTRIES IN ct_sources_extend
WHERE locid EQ ct_sources_extend-locfr.
IF sy-subrc IS INITIAL.
SORT lt_loc BY locid.
ENDIF.
SELECT MATID MATNR
FROM /SAPAPO/MATKEY
INTO TABLE lt_mat
FOR ALL ENTRIES IN ct_sources_extend
WHERE matid EQ ct_sources_extend-matid.
IF sy-subrc IS INITIAL.
SORT lt_loc BY locid.
ENDIF.
ENDIF.
Get planning version
GET PARAMETER ID '/SAPAPO/VRSIOEX' FIELD lv_vrsioex.
CALL FUNCTION '/SAPAPO/DM_MODEL_GET_BY_VERS'
EXPORTING
IV_VRSIOEX = lv_vrsioex
IMPORTING
ev_modelid = lv_model
EXCEPTIONS
version_not_found = 1
not_qualified = 2
OTHERS = 3.
Get Model
Get logical system
SELECT SINGLE logsys FROM t000
INTO lv_logsys
WHERE mandt EQ sy-mandt.
IF sy-subrc NE 0.
EXIT.
ENDIF.
Set Planning Version
REFRESH : lt_plngversion.
ls_plngversion-sign = lc_i.
ls_plngversion-option = lc_eq.
ls_plngversion-low = lv_vrsioex.
APPEND ls_plngversion TO lt_plngversion.
Set Model selection
REFRESH : lt_model_sel[].
ls_model_sel-sign = lc_i.
ls_model_sel-option = lc_eq.
ls_model_sel-low = lv_model.
APPEND ls_model_sel TO lt_model_sel.
Set dates
lv_date = sy-datum.
CONCATENATE lv_date lc_time INTO lv_date_from.
REFRESH : lt_val_from[].
ls_val_from-sign = lc_i.
ls_val_from-option = lc_le.
ls_val_from-low = lv_date_from.
ls_val_from-high = lv_date_from.
APPEND ls_val_from TO lt_val_from.
REFRESH : lt_val_to[].
ls_val_to-sign = lc_i.
ls_val_to-option = lc_ge.
ls_val_to-low = lv_date_from.
ls_val_to-high = lv_date_from.
APPEND ls_val_to TO lt_val_to.
LOOP AT ct_sources_extend
INTO st_sources_extend.
MOVE syst-tabix TO w_tabix.
CLEAR : lv_quota_found.
READ TABLE lt_loc INTO ls_loc WITH KEY
locid = st_sources_extend-locfr.
READ TABLE lt_loc INTO ls_loc1 WITH KEY
locid = st_sources_extend-locto.
READ TABLE lt_mat INTO ls_mat WITH KEY
matid = st_sources_extend-matid.
REFRESH : lt_loc_intsel[].
ls_loc_intsel-sign = lc_i.
ls_loc_intsel-option = lc_eq.
ls_loc_intsel-low = ls_loc1-locno. "st_sources_extend-locto.
APPEND ls_loc_intsel to lt_loc_intsel.
REFRESH : lt_prod_intsel[].
ls_prod_intsel-sign = lc_i.
ls_prod_intsel-option = lc_eq.
ls_prod_intsel-low = ls_mat-matnr. "st_sources_extend-matid.
APPEND ls_prod_intsel TO lt_prod_intsel.
Call BAPI to get quota arrangement
REFRESH : lt_quota_itm_lane[], lt_quota_itm_erp[].
CALL FUNCTION 'BAPI_QTASRVAPS_GETLIST2'
EXPORTING
LOGICAL_SYSTEM = lv_logsys
MAX_NUMBER_OF_QUOTA = '9999'
IMPORTING
NUMBER_OF_QUOTA = lv_no_quota
TABLES
MODEL_SELECTION = lt_model_sel
PLANNING_VERSION_SELECTION = lt_plngversion
LOCATION_INT_SELECTION = lt_loc_intsel
PRODUCT_INT_SELECTION = lt_prod_intsel
VAL_FROM_SELECTION = lt_val_from
VAL_TO_SELECTION = lt_val_to
QUOTA_ITEM_LANE = lt_quota_itm_lane
QUOTA_ITEM_EPR = lt_quota_itm_erp
RETURN = lt_return
Look for valid quota arrangements
LOOP AT lt_quota_itm_lane INTO ls_quota_itm_lane.
IF ls_quota_itm_lane-location_int_from NE ls_loc-locno
OR ls_quota_itm_lane-quota_arrangement = 0.
CONTINUE.
ELSE.
Quota found exit from loop
lv_quota_found = lc_x.
EXIT.
ENDIF.
ENDLOOP.
IF lv_quota_found IS INITIAL.
LOOP AT lt_quota_itm_erp INTO ls_quota_itm_erp.
IF ls_quota_itm_erp-location_int_from NE ls_loc-locno
OR ls_quota_itm_erp-quota_arrangement = 0.
CONTINUE.
ELSE.
Quota found exit from loop
lv_quota_found = lc_x.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
Exclude entry if no valid quota found
IF lv_quota_found IS INITIAL.
MOVE c_exclude TO st_sources_extend-sprkz.
MODIFY ct_sources_extend
FROM st_sources_extend
INDEX w_tabix.
ENDIF.
ENDLOOP.
Remove source of supply records which can be excluded
DELETE ct_sources_extend WHERE sprkz = c_exclude.
ENDIF.
AO01 End of Insert
endmethod. -
ADF Mobile - Get network status
OS: OSX 10.8.5
JDEV: 11.1.2.4
ADF Mobile Extension version: 11.1.2.4.39.64.51
HI All,
I'm currently in the middle of developing an ADF Mobile application and exploring the offline/online capabilities and have run into an issue where i'm trying to determine if the user has network connectivity, but its not working properly. I'm trying to make the app as dynamic as possible such that, for every transaction that requires network access, the app will check beforehand whether it is "connected" or "disconnected". I've tried the following but not quite got there..
1) From the link below, Joe does make note that the EL Expression "#{deviceScope.hardware.networkStatus}" to resolve the network status is only evaluated at start up, which is good for when the app opens.. but not good when the user loses network connectivity.
Re: JDeveloper ADF Mobile -- Android Context
2) The link below uses javascript to evaluate the network connectivity. This works first time and every subsequent time afterwards, however, I would like the javascript to ONLY evaluate the network status and then populate a pageFlowScope variable with true or false. This bit also works fine. From here, it may seem that the pageFlowScope variable has been populated, but if the java method (which calls the javascript function to check the network connectivity) also includes code that reference the pageFlowScope variable that the javascript has just populated, it is not evaluated properly.
Example:
public void checkConnection(ActionEvent actionEvent) {
// This works fine and populates the PageFlowScope variable fine
AdfmfContainerUtilities.invokeContainerJavaScriptFunction("feature1", "application.checkConnection",
new Object[] { });
// The two lines below do not work properly, as if its retained the old value of the pageFlowScope.
ValueExpression ve = AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.isConnected}", String.class);
throw new AdfException("isConnected: " + (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext()), AdfException.INFO);
Unwinding ADF: Offline Data Synchronization for ADF Mobile
Below is a link to a sample app that i made and the steps to reproduce:
https://app.box.com/s/ng5n362unttu7b88i42b
- Have network connectivity
- Click on the "Check connection via JS' button the first time
- The popup in the foreground is the javascript showing the connectivity, which is correct
- The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
- Click OK twice
- Click on the "Check connection via JS' button the second time
- The popup in the foreground is the javascript showing the connectivity, which is correct
- The popup in the background is an INFO AdfExpection showing the connectivity, which is CORRECT
- Click OK twice
- disconnect your computer from the network/internet
- Click on the "Check connection via JS' button the third time
- The popup in the foreground is the javascript showing the connectivity, which is correct
- The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
Has anyone has similar use case has have a work around/solution? This is driving me nuts!
Cheers,
EddieHi Frank,
Thanks for the quick reply.
That's exactly what i've used in my javascript function in my demo app and that link is the resource i used as well, however, that javascript code does populate the pageFlowScope variable fine, however, if i make reference to that pageFlowScope variable from within the same java method that includes the call to the javascript function, it does not get the updated pageFlowScope value. Only after the transaction has fully completed and i then [for example] click on a button on the screen to evaluate the pageFlowScope variable again, do i get the updated value.
Having a stab in the dark, could it be something to do with the way the javascript is executed when updating the pageFlowScope variable and lifecycle of that transaction
I've also tried this under the code where it populates the pageFlowScope, but it can't resolve the expression, seems like i'm doing something wrong..
navigator.notification.alert('pageFlowScope value: ' + adf.mf.el.getValue("#{pageFlowScope.isConnected}", onSuccess, onFail), alertDismissed, 'Connected', 'OK'); -
hi all expert,
how does e-commerce eg b2c webshop can be integrated for mobile?
if yes, how does it fit into all platform (iphone/andriod application and typical web mobile browser) , eg alignment, font size, etc of each mobile screen.
thanks,
Shantihow does e-commerce eg b2c webshop can be integrated for mobile?
Is this question specific to SAP Web Channel E-Commerce B2C? What exactly you mean by "integrated to mobile".
If you are thinking of the above in smart phones with full-blown browsers, then you have to take care of the variations. Safari browser in Apple platforms, Opera picking up in Android platforms, then you have Blackberry and last but not the least,Palm. Does SAP support these browsers out-of-the-box? Answer is not exactly.
See the SAP Note [Note 881967 - Browser support for E-Commerce CRM 5.0|https://service.sap.com/sap/support/notes/881967] for the supported browsers.
In my opinion, browser support is not be the only issue. Identify the target platforms and test thoroughly for "mobile" environment, including the UI experience. Even if the app works as is in the mobile smart phone browser, no sane company will release this app in mobile and expect users to use it.
The current SAP Web channel apps are NOT designed for mobile UI experience. Need different mindset and need to redesign the entire app...
Easwar Ram
http://www.parxlns.com -
BADI or Exits for Transaction FBL5N
HI All,
I want any BADI or Exits for transaction FBL5N.
Please help me out asap.
<<Text removed>>
Thanks in advance.
Regards,
Seevangi
Edited by: Matt on Jan 13, 2009 11:25 AM - do not offer pointshi,
There is one user exit available for this Transaction code:
F1040001 Reserve for bad debt - calculate percentages
BADI'S,
Below Badis are available for the Tcode.
FI_ITEMS_MENUE01 Menu Enhancement
FI_ITEMS_MENUE02 Menu Enhancement
FI_TAX_BADI_015 RFUMSV00: Event "END-OF-SELECTION" before Data File Creation
FI_TAX_BADI_016 RFUMSV00: Transfer of All Tax Data
if you require more details let me.
regards,
Dwaraka. -
WORKORDER_UPDATE BADI Issue
Dear all,
We have a rather strange and a very high priority problem while using the BADI WORKORDER_UPDATE for creation of Maintenance orders.
We have added some bespoke code into the method BEFORE_UPDATE of the BADI WORKORDER_UPDATE and expect it to be called everytime a maintenance order is created. It is called every single time a maintenance order is created, but only once if I schedule orders to be created through a maintenance plan.
For example, if I try to schedule a maintenance plan and create 10 orders using transaction IP10, the WORKORDER_UPDATE BADI is called only while creation of the first order and not the subsequent ones. We are in a fix at this stage since we have a lot of bespoke code which updates customer tables and the data for the 9 orders is totally lost!!
I just wonder why the BADI isn't called everytime !!! Any inputs please?!
Warm regards,
Vijay.>
Vijay V wrote:
> Dear all,
>
> We have a rather strange and a very high priority problem while using the BADI WORKORDER_UPDATE for creation of Maintenance orders.
>
> We have added some bespoke code into the method BEFORE_UPDATE of the BADI WORKORDER_UPDATE and expect it to be called everytime a maintenance order is created. It is called every single time a maintenance order is created, but only once if I schedule orders to be created through a maintenance plan.
>
> For example, if I try to schedule a maintenance plan and create 10 orders using transaction IP10, the WORKORDER_UPDATE BADI is called only while creation of the first order and not the subsequent ones. We are in a fix at this stage since we have a lot of bespoke code which updates customer tables and the data for the 9 orders is totally lost!!
>
> I just wonder why the BADI isn't called everytime !!! Any inputs please?!
>
> Warm regards,
> Vijay.
As per my understanding this is similar to billing document and billing plan. which means, billing plan will have all the billing documents in the list so you need to check if it has any table which holds all the data.
When you schedule, may be all the 10 orders in one of the table in the badi and you may need to change the logic to see if there are any documents exists. -
Exit/BADI for Check Register (S_P99_41000101)
Hello
I need to add a button in the selection screen of check register transaction (S_P99_41000101) which would give the count of the number if unique paper check numbers are in the report.Also I need to add one column in the report output layout.
Are there any exits available for this?
Please advise.
Thanks and Regards
Davinder SinghHi
Modifications to almost all the STD t codes are generally done with BADi's
Try finding relevent BADI with below step by step process
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP ((S_P99_41000101))transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Tushar Mundlik -
Provide sql query for below one
hi everyone,
in my source table [finanace_dept] contains two columns [finance_id,r_mature_kd] with 2 million records and sample data given below.
finance_id r_mature_kd
1 H
1 T
1 T
2 T
3 H
4 S
4 T
4 T
5 X
6 H
6 L
6 L
6 M
please provide sql query for below expected output.
expected output :
finance_id r_mature_kd
1 H
1 T
4 S
4 T
6 H
6 L
6 M
for column finance_id: '1', contains three records, but two distinct r_mature_kd hence it should retrive only two records with H,T
for column finance_id: '2','3', contains only one record hence this records should not retrive.
for column finance_id: '6', contains four records, but three distinct r_mature_kd hence it should retrive only two records with H,L,M
please help on this.WITH T(finance_id,r_mature_kd) AS (
SELECT 1, 'H' FROM DUAL UNION ALL
SELECT 1, 'T' FROM DUAL UNION ALL
SELECT 1, 'T' FROM DUAL UNION ALL
SELECT 2, 'T' FROM DUAL UNION ALL
SELECT 3, 'H' FROM DUAL UNION ALL
SELECT 4, 'S' FROM DUAL UNION ALL
SELECT 4, 'T' FROM DUAL UNION ALL
SELECT 4, 'T' FROM DUAL UNION ALL
SELECT 5, 'X' FROM DUAL UNION ALL
SELECT 6, 'H' FROM DUAL UNION ALL
SELECT 6, 'L' FROM DUAL UNION ALL
SELECT 6, 'L' FROM DUAL UNION ALL
SELECT 6, 'M' FROM DUAL
SELECT DISTINCT finance_id,r_mature_kd,C FROM(
SELECT finance_id,r_mature_kd,COUNT(1) OVER (PARTITION BY finance_id) C
FROM T
WHERE C > 1
ORDER BY 1
FINANCE_ID
R_MATURE_KD
C
1
H
3
1
T
3
4
S
3
4
T
3
6
H
4
6
L
4
6
M
4
Ramin Hashimzade -
Why is multiple inheritance bad?
Hi all,
Can someone give me examples explaining why multiple
inheritence is bad?
My arguments, why the absence multiple inheritence
is bad are below:
1) The absence of multiple inheritance gives me sometimes
headaches. If I implement an interface for overriding just
one method, I must then in some cases (likely in
AWT-programming) "empty-implement" 10 other methods.
2) If I use the adapter class to avoid this, then I cannot
derive my class from another one.In my opinion, the lack of multiple inheritance is
not a real problem. You can easily bypass this using
a delegate pattern. Example:
class Base1 {
public void method1() {
class Base2 {
public void method2() {
If you want to create a class which inherits from
Base1 and Base2, take the following approach:
Create Interfaces for Base1 and Base2:
intface BaseInterface1 {
public void method1();
interface BaseInterface22 {
public void method2();
Now, let Base1 and Base2 implement the Interfaces.
class Base1 implements Base1Interface {
public void method1() {
class Base2 implements Base2Interface {
public void method2() {
The the subclass can inherit from one baseclass
and implement the other one. Base2 is an attribute
(instance variable) of the new class:
class Devided extends Base1 implements Base2Interface {
Base2 base2;
// Methods of Base2Interface:
public void method2() {
base2.method2();
This looks like a lot of handcraft, but modern IDEs
like Eclipse or VisualAge (ok, not really modern)
give the developer the advantages of self-written
plug-ins. Using such a plug-in, you can easily
automate the creation of the interfaces and the
delegate. In my previous company we wrote several
"wizards" for VisualAge to prevent us from doing
stupid steps again and again. -
Linux - The custom cursor is looking bad
Creating a custom cursor using png 32x32 images. The images are displaying perfect as a cursor on Windows and Mac but, on Linux the image is bad. Below I am pasting code to test the things by using some png image.
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.net.URL;
import javax.swing.*;
public class UserCursor {
private void initComponents() {
JFrame jf = new JFrame("Cursor Test");
jf.setLayout(new BorderLayout());
final JButton jb = new JButton("Change Cursor");
jf.getContentPane().add(jb,BorderLayout.NORTH);
jf.setSize(200, 200);
jf.setVisible(true);
final Cursor cur = createCursor();
jb.addMouseListener(new MouseAdapter(){
public void mouseEntered(MouseEvent arg0) {
jb.setCursor(cur);
private Cursor createCursor() {
Cursor userCursor=null;
Toolkit toolkit = Toolkit.getDefaultToolkit();
URL icon = getClass().getResource("images/someImage.png");
Image image = new ImageIcon(icon).getImage();
userCursor = toolkit.createCustomCursor(image, new Point(0, 0), "My Cursor");
return userCursor;
public static void main(String args[])
UserCursor uc= new UserCursor();
uc.initComponents();
}Kanni wrote:
Toolkit.getBestCursorSize(....)
I tried using above suggestion to solve my cursor problem. It didn't work for me.
ThanksSo how did you try this. Did you use the result of this function to choose a suitable cursor glyph? Did you use it to scale the original using an Affine Transformation?
How can anyone give any further help if the only feedback you provide is "it didn't work" . -
Coexistence Exch2k7 Exch2k10 - Mobile issues during migration
Hi,
we have 02 servers running Exch2k7, one for CAS and another for HUB/MBX, the third server is running CAS/HUB for Exch2k10; I also reviewed URLs for Outlook Anywhere, ActiveSync and etc. The old servers are using URLs pointing to legacy.domain.com.br and
the new server is pointing to webmail.domain.com.br.
The outlook is running fine since users already received alerts about MS Outlook asking to replace the HTTPS from https://webmail.domain.com.br to https://legacy.domain.com.br.
My big issue is related with mobile users. Talking about DNS, mobile users today are pointing to webmail.domain.com.br which is pointing to the OLD CAS external IP address and works fine. I have only one new user hosted by the new server since we ADDED the
MBX role to it few days ago. During the tests, I changed the DNS for 'webmail' in a way to point to the NEW CAS external IP address and if the user which is hosted on the OLD MBX server tries to log-in then the browser redirects fine to https://legacy.domain.com.br.
If the user belongs to the new server, works fine using OWA 2010 interface.
OWA and Outlook is working fine.
Mobile users which are current pointed to webmail.domain.com.br and hosted by the OLD MBX server, they stop to work when we change the DNS from OLD to the NEW CAS external ip address; so after some complains we need put the 'webmail' DNS entry pointing back
to the OLD CAS external IP address.
>>> That behavior for mobiles is expected?? I was expecting the mobiles change automatically from 'webmail.domain.com.br' to 'legacy.domain.com.br' as outlook does.
* the SSL certificate on the OLD CAS is running for these names: 'legacy.domain.com.br, autodiscover.domain.com.br and webmail.domain.com.br'.
* the SSL certificate on the NEW CAS is running for these names: 'webmail.domain.com.br and autodiscover.domain.com.br'.
>>> Any help will be appreciated <<<Here is my ActiveSync URLs:
[PS] C:\Windows\system32>get-ActiveSyncVirtualDirectory | Select Server,Name, *url* | fl
Server : OWASERVER2k7
Name : Microsoft-Server-ActiveSync (Default Web Site)
MobileClientCertificateAuthorityURL :
InternalUrl : https://legacy.domain.com.br/Microsoft-Server-ActiveSync
ExternalUrl : https://legacy.domain.com.br/Microsoft-Server-ActiveSync
Server : MAILSERVER2k7
Name : Microsoft-Server-ActiveSync (Default Web Site)
MobileClientCertificateAuthorityURL :
InternalUrl : https://legacy.domain.com.br/Microsoft-Server-ActiveSync
ExternalUrl : https://legacy.domain.com.br/Microsoft-Server-ActiveSync
Server : EXCHSERVER2k10
Name : Microsoft-Server-ActiveSync (Default Web Site)
MobileClientCertificateAuthorityURL :
InternalUrl : https://webmail.domain.com.br/Microsoft-Server-ActiveSync
ExternalUrl : https://webmail.domain.com.br/Microsoft-Server-ActiveSync -
Passing a parameter to an 'Expect' script
Hi,
Does anyone know how to pass a parameter from a regular Linux shell script to an expect script.
I'm using the standard $1 but the expect script gives me an error.
How does Expect want us to pass parameters to it?
My call to the script and the script are below.
expect -f /home/fhs_clientdata/ftpget/fhs_ftpput_exehfc_expect.sh $FILE_NAME_SOURCEthe Expect script:
spawn sftp [email protected]
set PASSWORD "AbCd46%Z"
expect "password:"
send "$PASSWORD\n"
expect "sftp>" {
send "cd inbound\n"
expect "sftp>"
send "put $1\n"
expect "sftp>"
send "bye\n"
send_user "Done\n"
exit
} "Permission denied, please try again." {
send_user "There was error with th permissions"
exit
}You may need to read the input parameters first, e.g.:
set file [lindex $argv 0]
Then: send "put $file\r"
There is a good example at http://en.wikipedia.org/wiki/Expect
Maybe you are looking for
-
How to get the source code of Java Concurrent Program?
Hi, How to get the source code of Java Concurrent Program? Example Programe Name:Format Payment Instructions Executable:Format Payment Instructions Execution File Name:FDExtractAndFormatting Execution File Path:oracle.apps.iby.scheduler Thanks in adv
-
FMIS restarting and memory issue
I have Flash Media Interactive Server 3.5.5 on Windows 2008 server. I developed video chat application (many to many), it's only 1 FMS application with about 50-100 room instances and 1 lobby instance to which all users are connected. There are up to
-
PI 7.1 CTS+ - Manually deleted object in PRD system
Hello, We have PI 7.1 with CTS+ configured. However, there was a condition that an object was deleted manually in PRD system not via CTS+. After this all the transports that were connected to that object and transported to PRD system were imported su
-
Setting volume levels in a single track
How do I change the playback level of several seconds of a single track?
-
Needto find no. of valid and invalid objects in a tablespace
Hi, Can anyone tell me how to find the no. of objects that are valid and invalid in a tablespace.Below are the 2 tablespace that i want the info for SQL> select 2 fs.tablespace_name "Tablespace", (df.totalspace - fs.freespace) "Used MB", 3 4