JSON MySQL PHP android database access example - About xda-developers.com

I want to develop an android application which is access MySQL database and display those data in a android client using Mysql, JSON, PHP and android. I tried some examples found in the internet and but i can't program a successful one.
If any one have a this kind of full working example, kindly let me know

Related

How to edit browser's server?

Just want to know if theres a possible way on how can i modify a .cab browsers programs assigned to connect to a specific server? for example java browsers like ucweb and opera mini connects to a specific address before the app can be use. i already learned to locate those class files in java that holds the address where it connects and able to edit that file and allow the app to connect to my carriers gprs services with no fee. so im now trying to discover and wanted to learn how to edit a cab file, locate the file that holds the address, and modify it just like what i did to most java apps so i can use it free of charge here in the philippines.
hope somebody can give me a hint. thanks alot

[GUIDE] How to bypass WinRT / Metro sandbox using simple trick

Hi, I've created simple proof-of-concept project, how to bypass WinRT sandbox limitations in Metro apps using local service.
Sample + guide is here:
http://suchan.cz/wp7/OutOfSandboxSample.7z
Edit: updated sample for Visual Studio 2012 RTM and Windows 8 RTM, it still works.
Let me know, what you think about real usability and impact on the Windows 8 Metro app model
By design Metro application cannot access underlying PC directly, only using WinRT API and available capabilities. But when you create back-end service for accessing the PC and all data there, it's basically no longer running in sandbox.
The only "problem" is that user must manually install this back-end service, but that won't be a problem using some "social engineering":
User downloads "PC browser" Metro app, user can browse all pictures, music and videos, using WinRT API, but the app also shows message at the bottom:
"Download our PC browser powerpack and browse your entire PC, for FREE"
User is redirected to web page, from where user can download classic desktop installer containing "PC browser" back-end service for accessing files on users entire PC. Once this desktop service is installed, the Metro app can detect it and use it for browsing the entire PC. User is happy, but the WinRT sandbox is compromised.
Of course this won't work on Windows 8 ARM tablets. Using this workaround it could be even possible to build Metro apps for classic desktop apps like antiviruses, torrent/P2P clients, etc.
Click to expand...
Click to collapse

Common cloud space for two WP devices

Hi All,
I'm starting with WP development and I'm thinking about app that will manage my home TODO list but it will be used not only by me - i.e. on two devices.
Both clients with same privileges create/modify -is it possible to use some internet (cloud) space to store this application data or I should take care of it and set up my own database server?
Is it possible at all to use some already existing (free) machanisms and internet space (microsoft, google, etc) to achive this ?
Could you please give me some hint/idea?
Simplest way: use your SkyDrive (or DropBox) cloud.
Skydrive has an API now and you can use the Live SDK to take advantage of it.

access an excel data base from tablet

hi
I work fork a distribution center for hardware parts and have been task with making our excel price database avalible to my 70 year boss on his kindle fire.
my original plan was to use dropbox , sync up the work pc with his tablet and in his tablet make the the document avlible threw adobe reader or open office probably as a read only document (since he doesnt know much about excel)
but i found that he generally disliked the use of spreadsheets on the tablet and am wondering if theres a way to create a more user friendly database for his tablet.
any help will be great and am willing to root the device if needed
Excel compatible apps on Android are usually not user friendly when it comes to viewing. One suggestion I have is to utilize an Android app such as Splashtop or Pocketcloud which allows the tablet user to view and control any Windows or Mac OS based PC. It's like having an entire PC inside your tablet accessible through a wireless internet connection. That would allow him to view the Excel files in much better detail than compared to the stripped down tablet spreadsheets.
Or just convert the information in the Excel files to be used with a .doc (MS-Word) reader/editor. This link might help or maybe spark an idea with you:http://www.ehow.com/how_4882109_convert-excel-spreadsheets-word.html
I just post my excel files in my skydrive and it works perfect with my dolphin browser. I can't do full edits in mobile mode but I can view everything from Powerpoint to excel to one note and it's all synchronized and free.
Sent from my Kindle Fire using Tapatalk 2

Cordova Security doubt

Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
introuble361 said:
Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
Click to expand...
Click to collapse
CAN ANYONE MOVE THIS THREAD TO https://forum.xda-developers.com/coding/web-apps ?
I don't have enough privilege to create a thread there
introuble361 said:
Hello Beautiful community of xdadevelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt
Click to expand...
Click to collapse
Create PHP webservices to manipulate data on server.
Consume the services using fetch API or jquery AJAX in cordova app side.
Or you can use Ionic Framework which uses Http to use webservices.
DO Not use server-db credentials inside an app. There is no way to secure the credentials .
It's generally very poor security practice to use cordova in that way.

Categories

Resources