Jeniiifer Posted February 22, 2011 Share Posted February 22, 2011 HI, am developping an Android mobile application ( m-commerce ). I have already installed WampServer and Prestashop on localhost. Then am blocked !!! I want to visualize the existing catalogs in my database on the simulator ( am using eclipse with android plug-in ). Please i need help soon !!! thx Link to comment Share on other sites More sharing options...
Burhan BVK Posted February 22, 2011 Share Posted February 22, 2011 Try the new webservice feature in 1.4. You should read up on soap protocol. Link to comment Share on other sites More sharing options...
Jeniiifer Posted March 1, 2011 Author Share Posted March 1, 2011 Thanks, but am using presta 3.7, and the boutique is already on line. I used http and json to connect to the DB through a php file. Now am wondering if it is possible to call the functions and méthods already developped on presta in my application. For example, when authenticaton, i need to know what type of encryption presta uses for passwords so that i can do it through my phone. Please I appreciate any help. Thanks Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 2, 2011 Share Posted March 2, 2011 Yes, you can use the functions within PS as long as you include these two includes: include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); PS uses MD5 for it's password encryption. Here's how it's done in a utility I wrote to regenerate passwords: include('../config/settings.inc.php'); $cookieKey = _COOKIE_KEY_; $newPassword = $_POST['newPassword']; $pwd = md5($cookieKey.$newPassword); // You can save to database the return value. echo $pwd; Say, if you upgrade to 1.4, you can override each class to output JSON any data you need and not be affected by upgrades.That means you don't have to modify the original classes. Link to comment Share on other sites More sharing options...
Jeniiifer Posted March 6, 2011 Author Share Posted March 6, 2011 Thanks very much, really appreciate your help Link to comment Share on other sites More sharing options...
DarinS Posted April 14, 2011 Share Posted April 14, 2011 how are things going with the mobile app for presta? Link to comment Share on other sites More sharing options...
Jeniiifer Posted April 14, 2011 Author Share Posted April 14, 2011 Great ) almost finished, just need to figure out how to implement the payment process Link to comment Share on other sites More sharing options...
Lord Moon Posted April 26, 2011 Share Posted April 26, 2011 hi... is it finished? Link to comment Share on other sites More sharing options...
Jeniiifer Posted April 26, 2011 Author Share Posted April 26, 2011 Patience gays am doing both Android and iPhone app, so i think it needs couple more weeeks. Link to comment Share on other sites More sharing options...
Chrille Posted April 27, 2011 Share Posted April 27, 2011 MrBaseball34/Jeniiifer, exactly how do you do to make the classes output JSON? Link to comment Share on other sites More sharing options...
jtrlho Posted July 8, 2011 Share Posted July 8, 2011 Jeniiifer: How's it going with the iPhone app? I'm also planning to build an app for our jewelry shop so our customers and browse our jewelry etc. using the app.Have you got your hands on a wdsl? How are you processing the xml from the prestashop web service? Have you written all of the xml processing code 'by hand'?Thanks. Link to comment Share on other sites More sharing options...
darinschmidt Posted October 9, 2011 Share Posted October 9, 2011 any update? Link to comment Share on other sites More sharing options...
kip Posted November 1, 2012 Share Posted November 1, 2012 any update about android app? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now