{"id":169684,"date":"2020-10-15T12:19:01","date_gmt":"2020-10-15T04:19:01","guid":{"rendered":"http:\/\/4563.org\/?p=169684"},"modified":"2020-10-15T12:19:01","modified_gmt":"2020-10-15T04:19:01","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e5%ae%89%e5%8d%93%e6%ba%90%e7%a0%81%e7%bb%8f%e5%b8%b8%e7%94%a8%e5%8f%8d%e5%b0%84%e4%b8%8d%e7%94%a8-new","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=169684","title":{"rendered":"\u4e3a\u4ec0\u4e48\u5b89\u5353\u6e90\u7801\u7ecf\u5e38\u7528\u53cd\u5c04\u4e0d\u7528 new?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e3a\u4ec0\u4e48\u5b89\u5353\u6e90\u7801\u7ecf\u5e38\u7528\u53cd\u5c04\u4e0d\u7528 new?               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kerb15 <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6bd4\u5982 Instrument.java \u7c7b\u4e2d\u7684 Application app = (Application)clazz.newInstance();<\/p>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u5199\u6210 Application app = new Application();<\/p>\n<p>\u6700\u8fd1\u9605\u8bfb\u5b89\u5353\u6e90\u7801\u53d1\u73b0\u6709\u5f88\u591a\u7c7b\u4f3c\u7684\u5199\u6cd5\uff0c\u57fa\u672c\u4e0a\u80fd\u4e0d new \u5c31\u4e0d new\uff0c\u8fd9\u662f\u51fa\u4e8e\u4ec0\u4e48\u8003\u91cf\u5462\uff1f<\/p>\n<p>\u7f51\u4e0a\u6709\u4eba\u8bf4\u53cd\u5c04\u662f\u4e3a\u4e86\u964d\u4f4e\u8026\u5408\uff0c\u4f46\u662f\u5355\u7eaf\u770b\u8fd9\u4e2a\u573a\u666f\u8fd9\u884c\u4ee3\u7801\u7684\u8bdd\uff0c\u6ca1\u6709\u770b\u51fa\u964d\u4f4e\u8026\u5408\u7684\u5730\u65b9\uff0c\u8fd8\u662f\u8bf4\u8fd9\u662f\u53cd\u5c04\u601d\u60f3\u7528\u591a\u4e86\u7684\u4e00\u79cd\u5199\u6cd5\u4e60\u60ef\u5462\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3829248\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a clazz \u662f\u8fd0\u884c\u671f\u4f20\u5165\u7684\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829249\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TJT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a\u4e0d\u80fd&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829250\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : billlee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Application \u662f\u4e2a\u63a5\u53e3\u6216\u62bd\u8c61\u7c7b\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829251\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maninfog <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u60f3\u5728\u6211\u4eec\u7ee7\u627f Application \u7684\u60c5\u51b5\uff1f\u8fd9\u6837\u7cfb\u7edf\u53ea\u80fd\u4ece manifest \u4e2d\u62ff\u5230\u6211\u4eec\u7ee7\u627f\u7684\u7c7b\u540d\uff0c\u7136\u540e\u6784\u5efa Class \u5bf9\u8c61\uff0c\u518d\u53bb\u5b9e\u4f8b\u5316                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829252\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zpxshl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u80fd\u53cd\u5c04\uff0c\u7406\u7531\u5982 4 \u3002<br \/>activity \u7684\u521b\u5efa\u8fc7\u7a0b\u4e5f\u662f\u540c\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829253\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lijialong1313 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u5176\u5b9e\u5c31\u662f app \u8fd0\u884c\u65f6\u5019\u624d\u77e5\u9053\u8fd9\u4e2a\u662f\u5565\u4e1c\u897f\uff0c\u76f8\u5f53\u4e8e\u7236\u7c7b\u8981\u5148\u77e5\u9053\u5b50\u4fe1\u606f\u4e86\u624d\u80fd\u751f\u6210\u7236\u7c7b\uff0c\u660e\u663e\u53ea\u80fd\u7528\u53cd\u5c04\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829254\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fangcan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f16\u7801\u9636\u6bb5\u65e0\u6cd5\u786e\u5b9a\u7684\uff0c\u5728\u8fd0\u884c\u671f\u624d\u80fd\u786e\u5b9a\u7684\uff0c\u53ea\u80fd\u7528\u53cd\u5c04\u7684\u65b9\u5f0f\u5b9e\u73b0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829255\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hoyixi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Java \u65e5\u5e38\uff0c\u6709\u914d\u7f6e\u6587\u4ef6\u7684\u5730\u65b9\u5c31\u6709\u53cd\u5c04\uff0c\u56e0\u4e3a\u6309\u7167\u914d\u7f6e\u7ea6\u675f\uff0c\u4f60\u77e5\u9053\u7528\u6237\u914d\u4e86\u4e2a\u201c\u5bc2\u5bde\u201d\uff0c\u4f46\u662f\u4f60\u4e0d\u77e5\u9053\u7528\u6237\u5199\u7684\u5177\u4f53\u662f\u201c\u5355\u8eab\u72d7\u5267\u8352\u201d\uff0c \u8fd8\u662f\u201c\u5355\u8eab\u72d7 X \u9965\u6e34\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829256\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kerb15 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &#8220;`<br \/>static public Application newApplication(Class&lt;?&gt; clazz, Context context)<br \/> throws InstantiationException, IllegalAccessException, <br \/> ClassNotFoundException {<br \/> Application app = (Application)clazz.newInstance();<br \/> app.attach(context);<br \/> return app;<br \/> }<br \/>&#8220;`<br \/>\u8fd9\u4e2a\u65b9\u6cd5\u597d\u50cf\u6ca1\u6709\u7528\u5230\u6211\u4eec\u81ea\u5df1\u5199\u7684 Application\uff0c\u5c31\u662f\u9ed8\u8ba4\u7684 Application<br \/>@maninfog <br \/>@zpxshl                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3829257\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kerb15 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u54e6\u54e6\u54e6\uff0c\u6211\u77e5\u9053\u4e86\uff0c\u6211\u72af\u7cca\u6d82\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u5b89\u5353\u6e90\u7801\u7ecf\u5e38\u7528\u53cd\u5c04\u4e0d\u7528 ne&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/169684"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169684"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/169684\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169684"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}