{"id":26823,"date":"2025-04-19T17:17:01","date_gmt":"2025-04-19T09:17:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/26823.html"},"modified":"2025-04-19T17:17:01","modified_gmt":"2025-04-19T09:17:01","slug":"android-studio%e6%95%b0%e6%8d%ae%e5%a6%82%e4%bd%95%e5%8f%91%e9%80%81iis%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bf%9d%e5%ad%98sql-server-2014%e6%95%b0%e6%8d%ae%e5%ba%93","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/26823.html","title":{"rendered":"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93"},"content":{"rendered":"<p>\u2026<\/p>\n<p>public void BtnEnd(View view){\n <\/p>\n<p>if (bitmap != null &amp;&amp; !name.getText().toString().equals(\u201c\u201d)){\n <\/p>\n<p>UploadUtil.mBitmap = bitmap;\/\/\u83b7\u53d6\u624b\u673a\u56fe\u7247<\/p>\n<p>UploadUtil.mName(name.getText().toString());\/\/\u59d3\u540d<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>\u2026<\/p>\n<p>1.3 UploadUtil.java\u4e2d\uff0c\u628a\u59d3\u540d\u548c\u56fe\u7247\u53d1\u9001IIS\u670d\u52a1\u5668<\/p>\n<p>if (mBitmap != null)<\/p>\n<p>{\n <\/p>\n<p>mBitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos);<\/p>\n<p>byte[] data = baos.toByteArray();<\/p>\n<p>RequestBody image_data = RequestBody.create(MediaType.parse(\u201capplication\/octet-stream\u201d), data);<\/p>\n<p>requestBody = new MultipartBody.Builder().setType(MultipartBody.FORM)<\/p>\n<p>.addFormDataPart(\u201cname\u201d, name)\/\/\u59d3\u540d<\/p>\n<p>.addFormDataPart(\u201cimage\u201d, System.currentTimeMillis() + \u201c.jpg\u201d, image_data).build();\/\/\u56fe\u7247<\/p>\n<p>Request request = new Request.Builder()<\/p>\n<p>.url(url)<\/p>\n<p>.post(requestBody)<\/p>\n<p>.build();<\/p>\n<p>Response response;<\/p>\n<p>try {\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb963\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf16\u6b21\u3002System.out.print(\u201c\u53d1\u9001\u6210\u529f\u201d);<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1220,100,43],"topic":[],"class_list":["post-26823","post","type-post","status-publish","format-standard","hentry","category-server","tag-android-studio","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/26823.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb963\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf16\u6b21\u3002System.out.print(\u201c\u53d1\u9001\u6210\u529f\u201d);\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/26823.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T09:17:01+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26823.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/26823.html\",\"name\":\"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T09:17:01+00:00\",\"dateModified\":\"2025-04-19T09:17:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/26823.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/26823.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26823.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/26823.html","og_locale":"zh_CN","og_type":"article","og_title":"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb963\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf16\u6b21\u3002System.out.print(\u201c\u53d1\u9001\u6210\u529f\u201d);","og_url":"https:\/\/www.wsisp.com\/helps\/26823.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T09:17:01+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/26823.html","url":"https:\/\/www.wsisp.com\/helps\/26823.html","name":"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T09:17:01+00:00","dateModified":"2025-04-19T09:17:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/26823.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/26823.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/26823.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Android studio\u6570\u636e\u5982\u4f55\u53d1\u9001IIS\u670d\u52a1\u5668\u4fdd\u5b58SQL Server 2014\u6570\u636e\u5e93"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=26823"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26823\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=26823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=26823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=26823"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=26823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}