當前位置:首頁 » 安卓系統 » pptandroid

pptandroid

發布時間: 2023-07-15 09:52:57

安卓手機有可以播放ppt的軟體嗎

安卓智能機是可以下載播放ppt文件的軟體的,具體方法為:
1、在安卓市場或者其他app商城下載wps等ppt播放軟體。
2、安裝後在設置里可以導入或下載ppt。
3、也可以自己新建製作ppt。

⑵ android 代碼打開ppt文件有什麼辦法

工具/原料

Android
android 代碼打開ppt文件有什麼辦法

1
很簡單,通過調用系統的intent,我們可以打開各種文件,不熟悉的朋友可以了解下action、datatype、uri的相關知識。
通用方法如下:
2
public static Intent openFile(String filePath){

File file = new File(filePath);
if(!file.exists()) return null;
/* 取得擴展名 */
String end=file.getName().substring(file.getName().lastIndexOf(".") + 1,file.getName().length()).toLowerCase();
/* 依擴展名的類型決定MimeType */
if(end.equals("m4a")||end.equals("mp3")||end.equals("mid")||
end.equals("xmf")||end.equals("ogg")||end.equals("wav")){
return getAudioFileIntent(filePath);
}else if(end.equals("3gp")||end.equals("mp4")){
return getAudioFileIntent(filePath);
}else if(end.equals("jpg")||end.equals("gif")||end.equals("png")||
end.equals("jpeg")||end.equals("bmp")){
return getImageFileIntent(filePath);
}else if(end.equals("apk")){
return getApkFileIntent(filePath);
}else if(end.equals("ppt")){
return getPptFileIntent(filePath);
}else if(end.equals("xls")){
return getExcelFileIntent(filePath);
}else if(end.equals("doc")){
return getWordFileIntent(filePath);
}else if(end.equals("pdf")){
return getPdfFileIntent(filePath);
}else if(end.equals("chm")){
return getChmFileIntent(filePath);
}else if(end.equals("txt")){
return getTextFileIntent(filePath,false);
}else{
return getAllIntent(filePath);
}
}
3
//Android獲取一個用於打開APK文件的intent
public static Intent getAllIntent( String param ) {

Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setAction(android.content.Intent.ACTION_VIEW);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri,"*/*");
return intent;
}
4
//Android獲取一個用於打開APK文件的intent
public static Intent getApkFileIntent( String param ) {

Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setAction(android.content.Intent.ACTION_VIEW);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri,"application/vnd.android.package-archive");
return intent;
}
//Android獲取一個用於打開VIDEO文件的intent
public static Intent getVideoFileIntent( String param ) {

Intent intent = new Intent("android.intent.action.VIEW");
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.putExtra("oneshot", 0);
intent.putExtra("configchange", 0);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "video/*");
return intent;
}
//Android獲取一個用於打開AUDIO文件的intent
public static Intent getAudioFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.putExtra("oneshot", 0);
intent.putExtra("configchange", 0);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "audio/*");
return intent;
}
//Android獲取一個用於打開Html文件的intent
public static Intent getHtmlFileIntent( String param ){

Uri uri = Uri.parse(param ).buildUpon().encodedAuthority("com.android.htmlfileprovider").scheme("content").encodedPath(param ).build();
Intent intent = new Intent("android.intent.action.VIEW");
intent.setDataAndType(uri, "text/html");
return intent;
}

//Android獲取一個用於打開圖片文件的intent
public static Intent getImageFileIntent( String param ) {

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "image/*");
return intent;
}
//Android獲取一個用於打開PPT文件的intent
public static Intent getPptFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "application/vnd.ms-powerpoint");
return intent;
}
//Android獲取一個用於打開Excel文件的intent
public static Intent getExcelFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "application/vnd.ms-excel");
return intent;
}
//Android獲取一個用於打開Word文件的intent
public static Intent getWordFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "application/msword");
return intent;
}
//Android獲取一個用於打開CHM文件的intent
public static Intent getChmFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "application/x-chm");
return intent;
}
//Android獲取一個用於打開文本文件的intent
public static Intent getTextFileIntent( String param, boolean paramBoolean){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
if (paramBoolean){
Uri uri1 = Uri.parse(param );
intent.setDataAndType(uri1, "text/plain");
}else{
Uri uri2 = Uri.fromFile(new File(param ));
intent.setDataAndType(uri2, "text/plain");
}
return intent;
}
//Android獲取一個用於打開PDF文件的intent
public static Intent getPdfFileIntent( String param ){

Intent intent = new Intent("android.intent.action.VIEW");
intent.addCategory("android.intent.category.DEFAULT");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Uri uri = Uri.fromFile(new File(param ));
intent.setDataAndType(uri, "application/pdf");
return intent;
}

⑶ 安卓手機下載什麼軟體可以打開ppt格式的文件。

1、金山WPS
Office移動版也稱WPS
Office安卓手機版,是金山公司推出的、運行於Android
平台上的全功能辦公軟體,國內同類產品排名第一,Google官方Android市場排名領先。用戶遍布全球220多個國家和地區。完全兼容桌面辦公文檔,支持DOC/DOCX/WPS/XLS/XLSX/PPT/PPTX/TXT/PDF等23種文件格式。支持查看、創建和編輯各種常用Office文檔,方便用戶在手機和平板上使用,滿足您隨時隨地辦公的需求。
2、Google
Docs(免費)
主要功能:查看和編輯存儲在Google
Docs賬戶中的文字、表格、幻燈片和PDFs,您也可以從頭開始創建文本和電子表格,但是不能進行幻燈片演示文稿的創建。
值得一提的功能:用戶可以查看已經上傳至Google
Docs賬戶的圖像。
3、Kingsoft
Office(免費)
主要功能:查看、編輯和創建文本和電子表格,查看和編輯幻燈片演示文稿,但是不能夠從頭創建一個PPT,查看PDF文件。
雲存儲:能夠直接自Box.net賬戶載入文件進行查看和編輯。
微軟Office兼容性:能夠兼容.doc、.docx、.ppt和.pptx格式,但是不能夠兼容Excel格式(.xls和.xlsx)。
4.
office辦公套件
officesuite是智能手機平台上,功能最強大的,兼容性最好的一個針對office
辦公套件的軟體
還有quick
office
、Documents
To
Go等

安卓系統可以同時打開ppt和語音播放嗎

可以同時打開。
首先打開360手機助手(如果你的電腦上裝的是其他手機助手,可以打開它)。點擊「找軟體」,輸入office。點擊軟體搜索。播放ppt文件需要第三方文檔處理類軟體的支持,常用的有quick-office。
Android自帶的語音播報,查看手機是否支持中文語音播報,在測試的設備中打開設置,找到語言和輸入法,查看語音選項,是否支持中文,默認僅支持英文。

熱點內容
scratch少兒編程課程 發布:2025-04-16 17:11:44 瀏覽:625
榮耀x10從哪裡設置密碼 發布:2025-04-16 17:11:43 瀏覽:355
java從入門到精通視頻 發布:2025-04-16 17:11:43 瀏覽:70
php微信介面教程 發布:2025-04-16 17:07:30 瀏覽:295
android實現陰影 發布:2025-04-16 16:50:08 瀏覽:786
粉筆直播課緩存 發布:2025-04-16 16:31:21 瀏覽:336
機頂盒都有什麼配置 發布:2025-04-16 16:24:37 瀏覽:201
編寫手游反編譯都需要學習什麼 發布:2025-04-16 16:19:36 瀏覽:797
proteus編譯文件位置 發布:2025-04-16 16:18:44 瀏覽:354
土壓縮的本質 發布:2025-04-16 16:13:21 瀏覽:581