@gpatel-fr very cool, thanks for that code. For installing an actual app, I would have to handle starting and stopping the server to save system resources. I guess I could just make a python call to stop that process when I want to close my app?
Posts
-
RE: Node.js/npm fort Apps/Games
-
RE: Node.js/npm fort Apps/Games
@gpatel-fr my go-to approach for app development is Qml with python template with a qml webview component. The app UI and logic exists in html/css/JavaScript. The app I want to develop would download bank account data for display and data science on the phone. In Germany there is fints/HBCI interface, for which typescript libraries exist.
If I understood right, typescript libraries have to be served from a server, cannot just be statically linked local files.
Therefore, my approach would only work, if I am able to spin up a node.js server which serves the library.Myother idea was 2D game development using pixI.js/hexI frameworks.
I don't know how to utilize the node.js from the app store for that and as far as I know, the qml python integration only calls python functions, does not support starting a python server process.
This is why I wanted to start a node.js in the background when my app starts and serve th javascript packages that the app requires.
-
RE: Node.js/npm fort Apps/Games
@idonthatevests that would include bundling the node.js package with my app and having a startup hook to start node.js when the app is launched?
-
Node.js/npm fort Apps/Games
Hello,
Since a while there is the node.js app which installs this server on the device.
However, I struggle to understand how to use this for apps.
For many of my webapps I need typescript packages which need to be served by a web server, for which I would need node.js for example.Can anyone help me getting started with this? How can I use the installed node.js server from my apps? Do I have to install packages in node.js from the terminal or can I do this inside my app?
Many thanks for your support.
-
RE: Development Planning 2023 ~ lets take over the world :)
Happy to read about background service for clickable apps.
Will focal upgrades improve bluetooth experience? -
RE: After 5 month..why I swap back to Android...
@redxxiii camera is ok when there is good lighting and no motion in the scene. Often this is not the case, as my son usually does not stand still:-)
-
RE: After 5 month..why I swap back to Android...
@phoenixlandpirat podphoenix became unusable for me with ~ 5 podcasts as it was unresponsive while downloading podcasts for ~10 minutes and then my disk was full, had to delete the episodes and close podphoenix as it was still unresponsive.
-
RE: After 5 month..why I swap back to Android...
I can relate to your situation, as I am having the same issues with my FP3+. Surely the largest pain is (in this order): Camera slow/unreliable, missing working podcast app, bluetooth connectivity.
Still I will not go back to google because of my concerns with their monopoly and data collection.
Personally, the experience of a free and private phone outweigh the mentioned disadvantages I have.
And considering this project is largely community driven, what a huge achievement. My utmost respect to all os and app developers and supporters to this amazing project.
I will hold out for future improvements. -
RE: FluffyChat Messenger with Element One Matrix server
Solved it by using Cinny. It also wants OICD login by redirecting to browser, but time it worked.
-
FluffyChat Messenger with Element One Matrix server
Maybe someone can help me with this issue: i got an element one account, to be able to bridge my whatsspp messages to my matrix account. I have FluffyChat, Pantslaimon and an account, sending messages to matrix contacts works. Server is main matrix server. When I want to connect to element one server, which id one.ems.host, then FluffyChat shows not the regular login, but some screen with OICD on it. When I click it, I get fowarded to the Element browser page. But when I login, nothing happens. Did anyone try successfully logging into element one server from FluffyChat?
-
RE: Ubuntu Touch OTA-24
With FP3 on Dev channel, do I have to remove waydroid before upgrade? Thanks
-
RE: PC does not recognise/mount fairphone 4
@lucy88 Hello, with my FP3 I have to switch on the screen and enter my PIN when the phone is connected to PC, afterwards the pc recognizes the UT system.
-
RE: OTA-24 Call For Testing
I dont know if I`m right here, but with the OS update from today, the phone gets hot and battery is depleted quickly.
This was not the case before this OTA.
My device is a FP3 on devel channel.
Regards -
No waydroid restart after stop
Hello,
I have an issue with waydroid on FP3:
After using wadroid sometime I use the waydroid stop script, which was discussed here in the forum.
After using waydrois start, nothing happens.
Any ideas how to solve this?
Thanks -
RE: Issues after one week using ubports on Fairphone 3
@applee Is there some documentation on how to develop/ modify the OS source code? All I know are the QML/clickable App dev docs.
Would be really interested. -
RE: Bluetooth improvements?
@luksus hi, I now face the issue that the UI of ubuntu touch crashes when it connects to my device.
Can you tell me how to debug this? Are there any log files to check? -
RE: Changing bluetooth settings
@homer hey all thanks foe your suggestions.
Tuens out, I did not do the pairing correctly on the headset.
Still, I have headphones and headset which don`t work with the phone, but another set which work. I have no idea why. My idea was therefore to try and change some bluetooth settings (which I now know is not possible) to fix the connection. -
RE: Changing bluetooth settings
@dobey i thought that the type a given bluetooth device is recognizes as, determines the audio connection and possible settings. I have a headset recognized as headset (only audio playing works) and sony headphones recognized as Other, where nothing works.
Also, the forgotten device seems to appear for a split-second in the bluetooth devices list and then dissapears.
-
Changing bluetooth settings
Re: Changing bluetooth package
Hi, do I have an option to change how a device is recognized? (Headset, speakers, other,...)
Also, a device, once forgotten, seems to be never discoverable anymore? Can I change that?
Thanks a lot!