而在設置路徑時的字串如下
file:///android_asset/mobileWeb/index.html
android:installLocation=["auto" | "internalOnly" | "preferExternal"]
官方說明
Value | Description |
---|---|
"internalOnly " |
The application must be installed on the internal device storage only. If this is set, the application will never be installed on the external storage. If the internal storage is full, then the system will not install the application. This is also the default behavior if you do not define android:installLocation . |
"auto " |
The application may be installed on the external storage, but the system will install the application on the internal storage by default. If the internal storage is full, then the system will install it on the external storage. Once installed, the user can move the application to either internal or external storage through the system settings. |
"preferExternal " |
The application prefers to be installed on the external storage (SD card). There is no guarantee that the system will honor this request. The application might be installed on internal storage if the external media is unavailable or full. Once installed, the user can move the application to either internal or external storage through the system settings. |
Intent intent=new Intent(Intent.ACTION_SEND);
intent.setType("image/*");
intent.putExtra(Intent.EXTRA_SUBJECT,textViewtitle.getText());
intent.putExtra(Intent.EXTRA_TITLE, "摩妃時尚");
intent.putExtra(Intent.EXTRA_TEXT, "http://www.77shoes.com/");
Bitmap bitmap;
try {
URL url =
new URL(imageurl);
10-21 11:13:12.337: E/AndroidRuntime(8245): java.lang.IllegalStateException: ImageLoader must be init with configuration before using
10-21 11:13:12.337: E/AndroidRuntime(8245): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:560)
10-21 11:13:12.337: E/AndroidRuntime(8245): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:206)
10-21 11:13:12.337: E/AndroidRuntime(8245): at com.nostra13.universalimageloader.
String HTMLSTRING="<div><b><font size=\"5\"><font color=\"#996666\">抗壓反彈元件 " +
"</font> </font></b></div><div>具有絕佳彈性吸震效果,可以分擔前掌區及中足區的壓力" +
",均衡壓力的絕佳效果。</div><div><br></div><div><b><font size=\"5\" " +
"color=\"#996666\">吸震緩衝元件</font></b></div><div>彈性極佳的材質具有吸震" +
"緩衝效果,能夠減緩足弓、腳跟所受到的衝擊力!</div><div><br></div><div><b><font " +
"size=\"5\" color=\"#996666\">穩定支撐元件</font></b></div><div>有高" +
"度的支撐力,可以穩固支撐抵抗足部壓力,讓足跟不承受過大的壓力。</div>";
String htmlq="<div><font color=\"#996633\"><b></div><div>";
AlertDialog.Builder showRightorNot = new AlertDialog.Builder(M0102.this);
showRightorNot.setPositiveButton("了解", null);
showRightorNot.setTitle("影響物準確度的原因");
showRightorNot.setMessage(Html.fromHtml(htmlq)).show();
ImageView bkind2 = (ImageView) findViewById(R.id.imageView2kind);
bkind2.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
}
});
public Bitmap doodle(Bitmap bitmap0,Bitmap bitmap1)
{
Matrix matrix = new Matrix();
matrix.postRotate(0); //旋轉角度
int width = bitmap0.getWidth();
int height = bitmap0.getHeight();
bitmap0 = Bitmap.createBitmap(bitmap0, 0, 0, width, height, matrix, true);