[Q] uPLOAD fILE TO SERVER - Java for Android App Development

hello friends..... i am building an app that selects a file (text, image , video...) and uploads it on a server...... now, I have tried uploading it on to a local wamp server using a php script, but, it does'nt work. Can i upload the file on a free web hosting website like neq3 or 5gbfree.com? Help required urgently..... PLEASE HELP

If you don't mind using ftp it should be relatively easy to set up. The free web hosing I use has an ftp server built in, its called 000webhost. Also you could set up a php script there as well if that's what you need.
Sent from my SCH-I535 using XDA Premium 4 mobile app

Related

Anyone used their evo to access files on their current network?

If so what's the best approach.
My application is this, I might need to occasionaly word documents on our network for quick reference purposes along with minor document editing.
Sent from my PC36100 using XDA App
Well you can access your network on wifi with Es file explorer. Ive got a home server that I can copy files over to my phone with and also transfer files back to the server. Now as far as editing I'm not sure which app to use.
Agreed, I use ESFileExplorer for all of my local storage and network storage browsing needs. I am able to browse and open files on my home server so long as I am connected to my own LAN with no problems (if on another network I connect to server via AndFTP).
sent from my HTC Evo 4G rooted with unrEvoked, running the latest CM7 nightly build.
CIFS Manager is great if you are rooted. Netarchy beta kernels have CIFS support and Cyanogenmod 7 works with the default kernel (unsure about other versions).
Sent from my PC36100 using XDA App running CM7
Dropbox. Probably my favorite file sharing solution.
dropbox is awesome! would you like a referral email
Try Team Viewer. I can access my work pc from anywhere in the world as long as I have WiFi or 3g. Best of all it's free for personal use.
Don't forget openvpn. Share those files anywhere in the world.
When I am on a windows network I use samba as seen here: http://forum.xda-developers.com/showpost.php?p=8239139&postcount=128 -- Works quite well. When I am out and about I live/die by dropbox.
Any of these apps support appletalk?
Homepipe will work, and is free on the market.
AndFTP and SSH for SFTP file transfers. All privacy and encryption you'll need.
Sent from my PC36100 using Tapatalk
Very good replies, I will have to start at the top and try them all.
In fact I will start with the first one mentioned now...
I may need to look into vpn as well, but i'll cross that bridge when the times calls for it.
Oh when you guys say something like 'home server' you mean just a pc with a share setup right, aka work group, not a domain. Not an actual network OS like win server 2008 and what not? I will be connecting to both scenarios between home and work.
Sent from my PC36100 using XDA App
i use built in astro in myns rom.
create a user/pass for my selected shares in win7.
enable sharing for those drives/shares and set permission to what this id can do.
set wireless router to static ip distribution
set phone to static ip
add smb share server address into astro
type in user name/pass and server ip address information
viola
I'm seeing a few issues with es file explorer
1. file permissions, I can only open word docs in read only.
2. For some file extensions I don't get prompted for what all to open some things, for example when I open a picture the default app for pix seems to be esfile explorer instead of giving me a choice and I need to be able to zoom in on these pix.
I don't see any options for either of these limitations, if I don't find a fix I will just move on to another app I guess.
Sent from my PC36100 using XDA App

Which app do you use to transfer files via FTP?

One thing I missed about MIUI is the built-in FTP server within the File Explorer.
I have tried a few FTP server apps and so far I don't like any of them.
If you use FTP to transfer files (as opposed to USB cable), which one do you use?
I like AndFTP on the client side, and SwiFTP for serving.
Sent from my SCH-I535 using xda app-developers app

Android App Database

I am currently working on a test application Login and Register. I've created a database by implementing PHP and Mysql. I was wondering if using that previous method would be better or using SQLite would be better. Any opinions?
I'm not 100% sure of what you're trying to do (more details would be great!), but I'll try my best to answer.
If your app is connecting to a remote server to login, PHP and MySQL is the way to go. If your app queries a local database on the phone, use sqlite.
Sent from my LG-P500 using xda app-developers app

Connection between server and client

How to create web service for android app. and how to connect ?
Is that what you want?
http://forum.xda-developers.com/showthread.php?t=2325799
Magesh.K said:
How to create web service for android app. and how to connect ?
Click to expand...
Click to collapse
For the webserver I use Jersey Lib it's very easy to do with annotations and then you only need to do a HTTP GET/POST/PUT to the WS on the server
thank you for replay,
can you give step by step explanation? ,with sql server
For sql server, most likely you're using an IIS for web server... Hence you can use asp for web services... w3schools offers a good tutorial on this... Have fun!
Sent from my LG-P350 using xda app-developers app

[Q] Connecting to external Server

I am building an application where users will be able to register and their details will be stored in an external server which can also be accessed over the web. The users will also be able to login..
I have been researching for days on what method to use but i haven't found anything useful, can anyone help me please?
I've written a guide on Android client server communication http://forum.xda-developers.com/showthread.php?t=2325799
Would this be useful?
Sent from my SGH-I337M using xda app-developers app

Categories

Resources