PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Webdev Mobile Connection Issue
Webdev Mobile Connection Issue
Started by cmolina, May, 20 2015 2:10 PM - 2 replies
Connect yourself…
cmolina
#1
Posted on May, 20 2015 - 2:10 PM
Hi everyone,
I am working on a Android app for a tablet which connect to a webservice (it have a SQLite database too), and this webservice connect to a oracle database. That webservice is implemented in WebDev 19. I have control of both projects.
I have a stable versión of the app and work fine in device and Android emulator: it get connection to the functions of the webservice.
I have to do changes to the Android app (and of course the webservice).
My changes work great in emulator, but in device don't work.
I installed the stable version on my tablet and work fine, even with the modificated version of webservice (using functions already created in webservice). I can modify, recompile and generate the APK from this stable version, works fine. But when I update the webservice (right click on webservice of the project explorer and select update) to update structures and functions the app doesn't work in device (still work fine in emulator).
I found the reason: my app doesn't trigger web server functions and get "" or 0 from them. I know that because i created a function which insert data in oracle table and return a string. It triggered in emulator but in device didn't .
I analyzed connections to the webservice (from WebDev Administrator in the server) and I could see the app connecting to it (stable version from device and stable and modified version from emulator), but the modified version on my device did not.
I think is important to remember stable version of app works with modified version of webservice (without update the modificated version of webserver).
Best regards.
Report
0
0
Fabrice Harari
#2
Posted on May, 21 2015 - 1:05 PM
Hi
try instead to REMOVE the webservice from your project, then CLOSE the
project, and reopen it
Then import the NEW webservice, and recompile
I think I remember the update process not being functional
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Already there: WXShowroom.com, WXReplication (open source)
Coming soon: WXEDM (open source)
More information on
http://www.fabriceharari.com
On 5/20/2015 6:10 AM, cmolina wrote:
Hi everyone,
I am working on a Android app for a tablet which connect to a webservice
(it have a SQLite database too), and this webservice connect to a oracle
database. That webservice is implemented in WebDev 19. I have control of
both projects.
I have a stable versión of the app and work fine in device and Android
emulator: it get connection to the functions of the webservice.
I have to do changes to the Android app (and of course the webservice).
My changes work great in emulator, but in device don't work.
I installed the stable version on my tablet and work fine, even with the
modificated version of webservice (using functions already created in
webservice). I can modify, recompile and generate the APK from this
stable version, works fine. But when I update the webservice (right
click on webservice of the project explorer and select update) to update
structures and functions the app doesn't work in device (still work fine
in emulator).
I found the reason: my app doesn't trigger web server functions and get
"" or 0 from them. I know that because i created a function which insert
data in oracle table and return a string. It triggered in emulator but
in device didn't .
I analyzed connections to the webservice (from WebDev Administrator in
the server) and I could see the app connecting to it (stable version
from device and stable and modified version from emulator), but the
modified version on my device did not.
I think is important to remember stable version of app works with
modified version of webservice (without update the modificated version
of webserver).
Best regards.
Report
0
0
adrianoboller
#3
Registered member
3,662 messages
Popularité : +175 (223 votes)
Posted on September, 11 2015 - 7:17 AM
http://forum.pcsoft.fr/fr-FR/pcsoft.us.windevmobile/598-initialize-database-sqlite-windev-mobile-android/read.awp…
--
Adriano Jose Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
______________________________________________
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text