So i want to fix this via group policy for Windows 10 to set the pdf file open with Acrobat Reader. The Open with dialog gives you a clear dialog to change the default program for a specific file type. > I am getting below screen while opening a pdf file. The next time you double click a file with that file extension in Outlook, it will directly open with the newly selected program. Public static void openFile(Context context, File url) throws IOException else if(url.toString().contains(".3gp") || url.toString().contains(".mpg") || url.toString().contains(".mpeg") || url.toString().contains(".mpe") || url.toString().contains(".mp4") || url.toString().contains(". I am getting below screen while opening a pdf file. Press Open to open the file and save your selected program as the default option to open that file type in the process. Here you go: File myFile = new File("your any type of file url") Ĭreate a different class within the package: // code to open default application present in the handset Select an appropriate app from the Applications menu, then click to enable the Always Open With checkbox to make sure that you change the default program on Mac to that application.
0 Comments
Leave a Reply. |