cross-platform Questions

3

I am new to flutter. We have a proxy setup in the network. The proxy is already applied to android studio and it is working fine. While creating a new application it is working fine. But, get packa...

4

Solved

I am using pathlib.glob() and pathlib.rglob() to matching files from a directory and its subdirectories, respectively. Target files both are both lower case .txt and upper case .TXT files. Accordin...
Forklift asked 14/3, 2022 at 15:53

9

I've just created a new KMM project through out KMM Plugin, but I can't run or even debug in Xcode iosApp part of the project. When I try to run iosApp from Android Studio, the build process fails ...

2

I am writing a golang command line program that accepts user input. This input string has to be converted to UTF-8 and sent to another server for processing. On Linux, the terminal encoding is almo...
Scrimp asked 6/10, 2016 at 1:23

6

Solved

I am developping a project that should work both as an app and a web page. I am using flutter_secure_storage to store local data for the app, but I need a different approach for web. Is there a way...
Insult asked 30/8, 2021 at 21:35

6

Solved

I need a bit of advice from you developers who deal with cross-platform applications (specifically programs with a GUI). I will be creating an application soon that needs to be cross-platform and ...
Crutcher asked 26/9, 2012 at 3:55

12

Solved

'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre WillPopScope( onWillPop: () async { // your logic return false; }, )...
Splint asked 22/11, 2023 at 12:21

2

Solved

I am about to start development of a software project that should run on Linux and Windows if possible. As I already have some experience with C# I am eager to use it for this project. I assumed th...
Ivar asked 26/9, 2019 at 13:2

9

Solved

I'm trying to do the opposite of this question, replacing Unix line endings with Windows line endings, so that I can use SQL Server bcp over samba to import the file. I have sed installed but not d...
Prearrange asked 5/10, 2009 at 18:30

6

The designer has combined two or more gradients in the Figma Design they created. In some designs, they have combined a radial gradient with a linear gradient; while some other designs, they have c...
Dessiatine asked 23/9, 2020 at 2:53

10

How do you scan a directory for folders and files in C? It needs to be cross-platform.
Hyaloid asked 15/8, 2008 at 17:15

3

Are line breaks in raw strings platform-dependent? val a = "one\ntwo"; val b = """one two""" println(a == b) In other words, is the println statement above guaranteed to print true or not?
Wilhelminawilhelmine asked 21/10, 2017 at 9:4

7

Solved

I am trying to change the icon that appears on my tk application for Mac OS. The last time I checked this code worked for windows. The goal is for this solution to work across all platforms. root ...
Fania asked 16/10, 2018 at 1:23

28

Solved

What do I need to look at to see whether I'm on Windows or Unix, etc.?

5

I tried to run flutter pub get and I got this error: Error on line 1, column 1 of pubspec.lock: Unexpected character ╷ 1 │ │ ^ ╵ pub upgrade failed (65; ╵)
Posthaste asked 15/7, 2020 at 8:20

5

Solved

I want to use the Python hash() function to get integer hashes from objects. But built-in hash() can give negative values, and I want only positive. And I want it to work sensibly on both 32-bit an...
Landes asked 12/9, 2013 at 14:7

3

Solved

I have written a C++ application that uses the Qt framework. I would like to make this application available on different platforms. Since I use Linux, I have no problems compiling the code for Lin...
Burchett asked 5/1, 2010 at 19:10

9

Solved

I would like to know whether a given mobile app is native or written using flutter. Is there any way to know that from the build files (apk, ipa.. etc). How can I detect if an app is native or flut...
Viehmann asked 1/10, 2019 at 8:49

0

I have libs that build with gcc 11.3 and 9.4 to take advantage of AVX optimizations, but they must link with run-times built under 4.6 and up. They call dlsym(), grepping objdump on either libdl.so...
Beale asked 7/3 at 3:29

1

I am struggling to use Capacitor for my NextJS 13 application which uses new the App router. Is it possible to somehow create an "out" folder and a "index.html" when building th...

19

Solved

Is there a package out there, for Ubuntu and/or CentOS, that has a command-line tool that can execute an XPath one-liner like foo //element@attribute filename.xml or foo //element@attribute < fi...
Support asked 17/3, 2013 at 14:16

10

I know there's no standard C function to do this. I was wondering what are the techniques to to this on Windows and *nix? (Windows XP is my most important OS to do this on right now.)
Effect asked 19/9, 2008 at 21:11

8

Solved

Any portable code that uses bitfields seems to distinguish between little- and big-endian platforms. See the declaration of struct iphdr in linux kernel for an example of such code. I fail to under...
Vinitavinn asked 18/5, 2011 at 10:50

27

Solved

Is there a cross-platform way to get the current date and time in C++?
Changeling asked 15/6, 2009 at 19:35

8

Solved

I would like to be able to monitor certain system calls made by a process, primarily file I/O calls. On Linux I can probably get away using strace with suitable parameters, but how can I do this on...
Coastal asked 14/5, 2009 at 18:6

© 2022 - 2024 — McMap. All rights reserved.