Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 7 Jahren, 6 Monaten
Letzter Beitrag:
vor 7 Jahren, 5 Monaten
Beteiligte Autoren:
Georgio, Giu, JP, Hector Rosso.pcs.crosspost, eps

WM15 Android deployment

Startbeitrag von eps am 22.07.2010 22:38

Hi

Has anyone deployed an Android application using WM15? Any hints or tips on doing this? How easy is it to achieve?

I know this is a slightly open question, so hard to answer, but any insight into actual deployment would be great. I am considering a Mobile application for Android, just wondering if anyone has actually achieved it and how successful they feel they were. Is it as easy as WinDev or WebDev? Does it work well and quickly? Is it easy to access Android OS data, such as location and so on? How speedy are the applications? One thing I've noticed about some apps are that they are slow and unresponsive. Is it possible to install the apps on an SD card? or only to main memory? If there's a DB involved, can that be installed on the SD card, or does it also have to reside on main memory?

mtia

eps

Antworten:

Hi eps.

I started with a little money management project to test things. It's stopped now for fault of time

My impressions developing for Android with Windev Mobile 15 (english beta version) were:

- You are limited to the controls ported from PCSoft. I mean, you can't use a combobox yet, or an HTML control.
- All you see in development mode from WDMobileControls and WDEmulator will vary at final deploy in real Android screen.
- At the moment, All Android access must be do it with Java code (check http://www.windev.com/windevmobile/android.html)
- The deploy is easy. Generate the application, fill the android manifest, and a package is ready to install.

Conclusion: I tried some hours. Not too much. When I tried, with the english beta version, Is easy to do a little application using Hxxxx commands (working over sqlite), but, there are some strange behaviour. On the other side, as far as I readed here, I think there are a lot of things don't solved in V15 final. I have an HTC Tattoo, and I would like to resume my work on Android, probably at holidays, I'm very interesting in this OS.

Android support is totally new in this version, it needs time. Android changes every day with a new version and hardware too. But for some things work good. Try it and take your own conclusions.

But don't worry, I suppose, at the end of the year, when you have to pay again to PCSoft for V16, will be new features (over 888 at least), working only half of them, but you will be invaded with a lot of marketing and pretty girls, and nothing else matters :D [ironic mode off]

von Giu - am 23.07.2010 08:47
Hola y disculpa por el idioma en el que te respondo.
Te comento que la semana pasada compre una Tablet PC de 7" con android para hacer pruebas. Viene con la versión 1.6
Hice pruebas de pantallas y todo bien, el tema es que no se pueden programar con tablas, lo que lo hace un poco más complicado si uno esta acostumbrado al WinDev, hay que hacerlo con Looper.
Los archivos que maneja son SQLite, por lo que es necesario hacer algun tipo de transferencia para importar y exportar datos a otras aplicaciones. Estoy probando hacerlo con XML pero me encuentro con la dificultad de no saber bien en que carpeta se guardan los archivos. En estos momento estoy luchando con este tema.
Saludos, Héctor.

Message forwarded from pcsoft.us.windev

von Hector Rosso.pcs.crosspost - am 29.07.2010 15:04
A lo mejor ésto puede ayudar.

Maybe, this can help:

From PCSoft doc:
Quote

The management of directories in Android presents the following specific features:

By default, the current directory of an application corresponds to the "files" sub-directory that is automatically created at the root of the setup directory of the application.
The relative paths handled by the application are relative to this directory.
The full path of the current directory is returned by fCurrentDir. It can also be modified by this same function.
The runtime directory (returned by fExeDir) corresponds to the setup directory of the application. By default, the applications are always installed in the /data/data/. directory
The "databases" directory is also automatically created at the root of the setup directory of the application to store the SQLite databases handled by the application (unless a specific path was specified during the connection).
more

von Giu - am 29.07.2010 18:13
Hi Eps,

I will address you in bullets. Android developer here since 2008.

Hi

> Has anyone deployed an Android application using WM15?
Yes

>Any hints or tips on doing this?
Windev makes it pretty simple to post to the Android market however you
shouldn't circumvent the fact that you should be somewhat familiar with
the developer's guide on developer.android.com. It will give you all the information
you need to publish.





>How easy is it to achieve?
Very

>I know this is a slightly open question, so hard to answer, but any insight into actual >deployment would be great. I am considering a Mobile application for Android, just >wondering if anyone has actually achieved it and how successful they feel they were. Is >it as easy as WinDev or WebDev?
It depends on what kind of app you are looking to create. Windev makes life
easier but I'm still coding in Java for those things it cannot do.


>Does it work well and quickly?
I think so. Again, depends on what you are trying to do.

>Is it easy to access Android OS data, such as location and so on?
No, you need to code Global procedures in Java to access
the device adapters, resources, etc. I have some tutorials
posted on the board.


>How speedy are the applications? One thing I've noticed about some apps are that they are slow and unresponsive.
I don't know about that. If an app becomes slow or forces close, then it's something
that I must have miscoded.


>Is it possible to install the apps on an SD card?
No app can be installed and run from the SD card. (which has
nothing to do with Windev. This is supposed to change with an
update to Android 2.2 (fingers crossed)



>Or only to main memory? If there's a DB involved, can that be installed on the SD card, or does it also have to reside on main memory?
There are many ways to maintain data storage with Android ... shared, internal, external, sqlllite, etc.

In reading your questions, its very clear that you need to familiarize yourself
with the Android SDK as they seem more about the functionality of Android
rather that Windev. I don't think anyone should jump into development with Windev
without atleast glancing it over.


http://developer.android.com


Good Luck!
Georgio


von Georgio - am 29.07.2010 23:10
Hi Georgio, just fyi - your Contact Us page on VetPoint does not load - http error 404.

von JP - am 30.07.2010 04:42
Thanks, been having issues with our website lately.

G

von Georgio - am 30.07.2010 14:56
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.