Writing apps/programs for pine phone
#7
(09-09-2021, 04:45 PM)katesfb Wrote: Hi,
Once an OS is installed on to the pine phone what is the actual process of getting an App/program loaded on it. For example if a write a program in python how do i get it to successfully run on the pine phone?

Cheers.

Example for loading Python script (opens the kgx terminal and runs 'mact' script when you 'tap' the icon) you could use a line like:

Code:
Exec=/usr/bin/kgx --command mact

Where 'mact' acts as a start script command (in /usr/bin or using the direct path with +x)

(for Exec line in the .desktop as in example NW_dev shared above)
- RTP

"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki


[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]


Linux Device Privacy / Security Playlist



  Reply


Messages In This Thread
Writing apps/programs for pine phone - by katesfb - 09-09-2021, 04:45 PM
RE: Writing apps/programs for pine phone - by RTP - 10-21-2021, 12:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My new phone stopped working. gunnygee 3 906 12-12-2024, 01:21 PM
Last Post: biketool
  Pine Phone in Australaa and Telstra tracyanne 2 231 12-06-2024, 02:42 AM
Last Post: tracyanne
  Can't complete update of manjaro: wwan0 stays disabled; no phone/text gilford 3 224 12-05-2024, 06:42 AM
Last Post: gilford
  2G, 3G still is in phone. Piotr Bujakowski 5 1,391 09-19-2024, 03:49 AM
Last Post: jennybaso
  Looking for the "non-phone" OS wakyct 7 3,273 03-14-2024, 03:51 AM
Last Post: MTXP
  How To Access the Pine Phone Auxillary microSD Without Removing Card pinephoneuser22 2 1,691 01-09-2024, 07:02 PM
Last Post: britelite
  Android bank apps ionmich 4 3,318 12-12-2023, 01:01 PM
Last Post: mannzrespouse
  Pine company idea aular 9 3,257 12-07-2023, 12:32 AM
Last Post: KC9UDX
  Can the Pine Phone be serviced and updated remotely? profileyourcity 3 1,767 10-02-2023, 05:19 PM
Last Post: Zebulon Walton
  UBports on pine phone? robb777 16 6,621 09-01-2023, 04:26 AM
Last Post: gregb49

Forum Jump:


Users browsing this thread: 1 Guest(s)