Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

connect to mysql server from device

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-02-2010, 11:32 PM
Newbie
 
Join Date: Sep 2009
Posts: 2
Default connect to mysql server from device

I need to connect with mysql server from a device emulator.

I tried the Mysql library, but it not work on the device, only on the desktop

Regards
Enrico
Reply With Quote
  #2 (permalink)  
Old 03-03-2010, 05:52 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can create a simple web service (with PHP for example) that will run on the server and will handle the devices queries, which will be issued with the HTTP library.
Reply With Quote
  #3 (permalink)  
Old 08-25-2010, 04:23 PM
Newbie
 
Join Date: Aug 2010
Posts: 3
Unhappy

Erel!!!!!!

do you have an example with php?
Reply With Quote
  #4 (permalink)  
Old 08-28-2010, 06:10 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Search (outside) for "php mysql tutorial".
The php code should read the "get" (or "post") parameters, issue the queries accordingly and print the response.

This code returns an array with the "get" parameters:
$_GET and $_POST are special arrays that holds the get and post parameters.
Reply With Quote
  #5 (permalink)  
Old 08-30-2010, 04:12 PM
Newbie
 
Join Date: Aug 2010
Posts: 3
Unhappy


Erel!!!

I would like yto know how can I use XML
i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name)
and I was trying... but I really don't know.... I'm new
can you help me?
do you have an example?
Reply With Quote
  #6 (permalink)  
Old 08-30-2010, 04:50 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by laura View Post
I would like yto know how can I use XML
i saw Syntax: Table1.SaveXML (File Name) and Syntax: LoadXML (File Name)
and I was trying...
These are just for saving and restoring tables and people have had problems with them; see http://www.basic4ppc.com/forum/quest...html#post18863.

If you have already tried perhaps you would like to attach your code to a message and someone will have a look at it. It's easier than you trying to explain what you wish to do or someone trying to expain all about XML...

Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic4PPC on Device connect to Delphi Host Xuphas Questions (Windows Mobile) 5 01-20-2012 06:29 AM
Dumping Data form device to server using Wi-Fi mozaharul Questions (Windows Mobile) 9 04-20-2010 08:31 AM
get device ip & transfer files to server nkdarak Questions (Windows Mobile) 1 05-20-2009 04:05 PM
with basi4ppc (device) can we connect to SQL SERVER (situated on a pc) ? gecomail Questions (Windows Mobile) 2 11-24-2008 08:52 PM
Databasing with MySQL joegoh Questions (Windows Mobile) 4 08-03-2008 04:14 PM


All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0