java - Error: The constructor CellSignalStrengthGsm() is not visible -
when try code:
cellsignalstrengthgsm abc = new cellsignalstrengthgsm();
i following error in eclipse:
"the constructor cellsignalstrengthgsm() not visible".
the full source code here
in source file have noticed following:
""""""""""""""""""""""""""""""""""""""""""" /** * empty constructor * * @hide */ public cellsignalstrengthgsm() { setdefaultvalues(); } /** * constructor * * @hide """"""""""""""""""""""""""""""""""""""""""
now question above comment means , how object of cellsignalstrengthgsm ?
thanks in advance help, new android , java programming, sorry if asking basic question.
@hide annotation. alters code, either @ compile time or @ run time. in case, compile time change tells compiler not let call this, though public. used when have make function public fit interface, don't want call it.
why trying make 1 of these anyway? you're passed 1 of these, there's no reason construct 1 (outside of maybe test)- don't have information make accurate one.
Comments
Post a Comment