Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-08

Lazarus for mobile development?

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Chavoux Luyt

Hi guys,

I need to know if I can use Lazarus for mibile development on Android, Windows mobile and iOS (iPhone)?

I currently use a program (written in Delphi, I think) that runs only on Android and Windows mobile (and Palm OS?) called CyberTracker, which uses MS access (.MDB) files to store both the data and the structure of the app which will run on the mobile device. It is easy to use for creating an "app" for data collection with GPS readings and pictures. Unfortunately it does'nt run on iPhones (and I have users who need Mac and iPhone versions).

Would Lazarus be a good choice to write native apps for these mobile devices? I have done some mobile development in Visual Studio in the past, but only for Wndows devices. (And I have done some "real" embedded development in C and assembler, but have almost no knowledge of the best cross-platform mobile development options).

Thanks for any advice or useful links!

Cheers,
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150820/6a861ed2/attachment.html>

Reply by email

Sven Barth
to Chavoux Luyt
"Chavoux Luyt" wrote
I need to know if I can use Lazarus for mibile development on Android,

Windows mobile and iOS (iPhone)?

Regarding Windows Mobile: you Dan use Lazarus for the old Windows CE based variants (excluding Windows Phone 7) which includes up to Windows Mobile 6.5. For Windows Phone 8 and 8.1 as well as Windows 10 Mobile additional work for the compiler is required which is not foreseeable right now.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150820/c82caa0f/attachment.html>

Reply by email

Michael Schnell
to Chavoux Luyt: I need to know if I can use Lazarus for mibile development on Android, Windows mobile and…
Chavoux Luyt wrote 6 lines
Hi guys, I need to know if I can use Lazarus for mibile development on Android, Windows mobile and iOS (iPhone)? I currently use a program (written in Delphi, I think) ...

The next generation of "Windows Mobile" seem to be "Windows IOT Core" (or based on same, which is based on Windows 10).

A colleague of mine is running Delphi programs on the Intel brand of Windows IOT Core. I am positive that fpc programs will run as well.

-Michael

Reply by email

Sven Barth
to Michael Schnell
"Michael Schnell" wrote 6 lines
On 08/20/2015 12:55 PM, Chavoux Luyt wrote: > > Hi guys, > > I need to know if I can use Lazarus for mibile development on Android,

Windows mobile and iOS (iPhone)?

Show quoted text 5 lines
> > I currently use a program (written in Delphi, I think) ... The next generation of "Windows Mobile" seem to be "Windows IOT Core" (or

based on same, which is based on Windows 10).

Please stop confusing things. The old Windows Mobile was an OS geared towards PDAs/smartphones, while the base system Windows CE is/was a general embedded OS. For Windows 10 the OS geared towards smartphones is Windows 10 Mobile while Windows IOT Core is for embedded systems in general.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150820/a4bd8cbc/attachment.html>

Reply by email

Samuel Herzog
to Chavoux Luyt: I need to know if I can use Lazarus for mibile development on Android, Windows mobile and…

Hi,
I had not time so far to build a "real" android app. But I have put together a "Starter-Kit" called "laztoapk". PDF-Tutorial
| ? |
| ? | ? | ? | ? | ? |
| LazToApkTool build android apk-package |
| |
| Auf sourceforge.net anzeigen | Vorschau nach Yahoo | | |
| ? |

| ? |
| ? | ? | ? | ? | ? |
| LazToApkTool build android apk-package |
| |
| Auf sourceforge.net anzeigen | Vorschau nach Yahoo | | |
| ? |

Video
and the Setup
SetupThe Project&Sourcecode is hosted a sourceforge.net Have fun,
Sam

Von: Chavoux Luyt
An: Lazarus mailing list
Gesendet: 12:55 Donnerstag, 20.August 2015
Betreff: [Lazarus] Lazarus for mobile development?

Hi guys,
I need to know if I can use Lazarus for mibile development on Android, Windows mobile and iOS (iPhone)?? I currently use a program (written in Delphi, I think) that runs only on Android and Windows mobile (and Palm OS?) called CyberTracker, which uses MS access (.MDB) files to store both the data and the structure of the app which will run on the mobile device. It is easy to use for creating an "app" for data collection with GPS readings and pictures. Unfortunately it does'nt run on iPhones (and I have users who need Mac and iPhone versions). Would Lazarus be a good choice to write native apps for these mobile devices? I have done some mobile development in Visual Studio in the past, but only for Wndows devices. (And I have done some "real" embedded development in C and assembler, but have almost no knowledge of the best cross-platform mobile development options). Thanks for any advice or useful links!
Cheers,Chavoux

Reply by email

Michael Schnell
to Sven Barth: Windows mobile and iOS (iPhone)? based on same, which is based on Windows 10). Please…
Sven Barth wrote
The old Windows Mobile was an OS geared towards PDAs/smartphones, while the base system Windows CE is/was a general embedded OS.

I do know this.

But Microsoft keeps stating that "!there is only one Windows 10" and that same is here to replace all older variants. Of course it's not always recommended to trust them, but I would not do any development for "Windows Phone" or "Windows CE" or whatever name they used for such variants that I always felt to be moving targets. If "Windows 10 Mobile" and "Windows IOT Core" are really different systems (and not only add some additional Services for Pone API stuff or "embedded" stuff, this would be a major argument not to use either of them. But if it's the same system, it would not make a difference for fpc which one is the target.

-Michael

Reply by email

Sven Barth
to Michael Schnell
"Michael Schnell" wrote 5 lines
On 08/20/2015 05:33 PM, Sven Barth wrote: > > > The old Windows Mobile was an OS geared towards PDAs/smartphones, while

the base system Windows CE is/was a general embedded OS.

> I do know this. But Microsoft keeps stating that "!there is only one Windows 10" and that

same is here to replace all older variants. Of course it's not always recommended to trust them, but I would not do any development for "Windows Phone" or "Windows CE" or whatever name they used for such variants that I always felt to be moving targets. If "Windows 10 Mobile" and "Windows IOT Core" are really different systems (and not only add some additional Services for Pone API stuff or "embedded" stuff, this would be a major argument not to use either of them. But if it's the same system, it would not make a difference for fpc which one is the target.

It does make a difference because for Windows 10 Mobile you can only run Apps (e.g. bought/got in the Windows Store) meaning Universal Apps while in Windows Core IOT you can - at least on x86 - run normal Win32 applications as you said yourself based on your colleague's experience. While FPC supports the latter it does currently not support the former (and Delphi neither by the way) and it's not foreseeable when it would.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150821/218011d6/attachment.html>

Reply by email

Michael Schnell
to Sven Barth
Sven Barth wrote
Windows 10 Mobile you can only run Apps (e.g. bought/got in the Windows Store) meaning Universal Apps

What (technically) prevents running normal native programs on "Windows 10 Mobile". (Of course Microsoft *prefers* arch independent CIL (aka C# aka .NIT) code for Apps)

The same issue is known for Android. Here, too, only running apps (usually coming in arch independent Dalvik code) from an app-store is supported, but nonetheless it's known that you can run native FPC programs on the ARM variant of Android. (I don't know the Intel variant behaves on that behalf, but it is very uncommon and hence there is not much known research on that.)

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150821/5ac9df8a/attachment.html>

Reply by email

Sven Barth
to Michael Schnell
"Michael Schnell" wrote
On 08/21/2015 11:37 AM, Sven Barth wrote: > > Windows 10 Mobile you can only run Apps (e.g. bought/got in the Windows

Store) meaning Universal Apps

What (technically) prevents running normal native programs on "Windows 10

Mobile". (Of course Microsoft prefers arch independent CIL (aka C# aka .NIT) code for Apps)

C++ apps /do/ work, but only if they are Windows Store/Universal/WinRT Apps, not Win32. What prevents other native programs from running is that such applications need to be signed by Microsoft (similar as on the Windows RT tablets). So while Windows itself would indeed be capable of running such programs, Microsoft simply doesn't allow it (using artificial restrictions) on Windows 10 Mobile (it would also be a question in how far Windows 10 Mobile has e.g. the desktop or a console available, so even if there would be a chance to circumvent the restrictions you'd have the problem of displaying anything).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150821/3f1e3b57/attachment.html>

Reply by email

Michael Schnell
to Sven Barth
Sven Barth wrote
Microsoft simply doesn't allow it (using artificial restrictions) on Windows 10 Mobile

I see.

Shame on them !

(it would also be a question in how far Windows 10 Mobile has e.g. the desktop or a console available, so even if there would be a chance to circumvent the restrictions you'd have the problem of displaying anything).

... Hack it ! ...

Thanks a lot for the insight.

-Michael

Reply by email