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

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -