Popular posts from this blog
How to generate build files in next js
How to generate build files in next js I am learning basic next js. If we run npm run build create-react-app will generate build folder index.html and bundle files. In next js. It doesn't create any build file. How will I deploy next js project in the server .next folder Next usually needs a server to run, but if you want to create static pages out of your app, your could use next export. – Tholle Jun 30 at 10:39 @Tholle static file will be same as build in create-react-app or is there any difference between them ? – viswa ram 2 days ago The build script in create-react-app will create a production ready React SPA, but next export will create a bunch of static
Delphi Android file open failure with API 26
Delphi Android file open failure with API 26 I can open files on Android with the Delphi code shown below. But when I compile it at API 26, it gives the error I added in the picture below. How can I solve this problem? ExtFile := AnsiLowerCase(StringReplace(TPath.GetExtension(yol), '.', '',)); mime := TJMimeTypeMap.JavaClass.getSingleton(); ExtToMime := mime.getMimeTypeFromExtension(StringToJString(ExtFile)); Intent := TJIntent.Create; Intent.setAction(TJIntent.JavaClass.ACTION_VIEW); Intent.setDataAndType(StrToJURI('file:' + yol), ExtToMime); SharedActivity.startActivity(Intent); Thank you so much for your help. I'm glad that I finally came across this kind of understanding person on this platform. I tried the .pas file you sent. but I see a different error window. I share my codes and the error. thank you so much. var ExtFile,yol,deger,id:string; mime: JMimeTypeMap; ExtToMime: JString; Intent: JIntent; javafile:JFile; begin yol:='/sdcard/SkyWiFiDownloa