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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -