import - How can I find out what need to be imported into an android project? -
import - How can I find out what need to be imported into an android project? -
for example: added snippet show notifications project:
notificationcompat.builder mbuilder = new notificationcompat.builder(this) .setsmallicon(r.drawable.notification_icon) .setcontenttitle("my notification") .setcontenttext("hello world!");
but how can find out needs imported avoid errors like: "error: bundle notificationcompat not exist"? "yum whatprovides ..." in fedora linux
you have 2 options: documentation or eclipse, eclipse told need import, illustration when utilize class first time, see:"import xxxxx" , later if see eclipse doesnt recommend , doesnt see where. can go to documentation in developer.android.com , propably find explication.
android import dependencies package
Comments
Post a Comment