Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hii All, I am A newbie in programming and want to know how this mechanism actually works.
So my question is about Android Application I want to Make the User Portal Which Saves the Data of the user Into the PHP file, but i have very few knowledge about it, i dont know how they store php files online. It should also Saves Images of The User As well And the Will be independent entry for every user , so please suggest me how to go further.

Thanking All In Advance...!
Posted

1 solution

What are you going to do after saving data to a PHP file? Do you want to upload that file to server? And what?

I think that is not the right approach if you really want to save any kind of data to server (online). You can do one thing. Write a web service which you will be consumed in your android application. You can upload data and images to server.

For uploading large sized images use a better compressing techniques to avoid more bandwidth.

A google dev site tells - http://developer.android.com/training/basics/data-storage/databases.html[^]

As you said you are new to programming, this might be a little complicated. But if you love to do it, you can do it. Its not a magic, its a program.

Regards,
Ganesh
 
Share this answer
 
Comments
Sandeep Londhe 16-Aug-14 2:36am    
suppose i create the php file which can save data but how to upload it to the server?
Ganesh KP 31-Aug-14 5:45am    
Why do you want to create a php file? Can you tell me how does a PHP file look like and what kind of data does it contain?

Even if you send a php file to server- how are you going to parse the file to read data from that file.

I am not really sure what you are going to achieve. Try to get some more information on what you want to do.

It really helpful for others to resolve your problem quickly.
Sandeep Londhe 1-Sep-14 0:56am    
the php file simply saves the images , i want to create a camera application which can save images online

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900