Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Ive seen some apps where you can open your computers web-browser, type in the local IP address to the android device, and access a homepage that hosts from the device.
An example is this app: Finger Timer - play.google.com
Does anyone know how this is done? Does Google have an API for this, or do you have any examples that I can start with? Im not a professional developer, so I prefer to keep it simple (few technologies).
What I had in mind was something like this:
Create a HTML or PHP page on my device
Feed it with some information from my app somehow
Host that page, so it can be accessed from any web-browser on any device on a local network.
" Paw Server" does that.
Here's some documentation on how to use it.
check out this thread at XDA-Devs which explains the process.
http://forum.xda-developers.com/showthread.php?p=9893301
on Google Play
PawServer Homepage
I found this page that is amazingly good. Just what I was looking for. It even has source code, so this is how I can learn faster.
Android Development Blog
It contains, as the blogger says: "a bare minimum web server for android platform".
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
So I basically want the database on my pc to be accessed through my android application, (on multilple android devices at max 3), doesnot matter if not connected to internet just need that for my college project.
As previous answers have mentioned, it's not advised to connect directly to a database from an android application and use of a web service would be better suited for this purpose.
However, if this is absolutely necessary you can use the JTDS drivers for android which will allow you to connect to either a local database hosted on your machine, or a database hosted elsewhere.
Links to the drivers can be found here.
It shouldn't be too hard to find a tutorial on how to add the driver to your project however if you struggle to find anything, let me know.
Normally this would be done with a REST api, then it would make HTTP calls to the backend which accesses the database either located on a server or in this case your pc. However accessing the database directly is not advised.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to make a apps where people can upload their status,image or video
what I need to know for this?
You would need the following:
API for the clients to connect to
Database to store the information
An Android client
Develop your own API's
You would need a server to host the API's and also register a domain. I use GoDaddy and they provide excellent service. But you could check out this site to help you decide on a service provider: http://www.webhostingbest10.com/
Next you need to decide on which language to use. I really like PHP. But you could also use Java or C# to develop your API's. This guide should get you started: http://searchsoa.techtarget.com/tip/API-design-How-to-properly-build-an-application-program-interface
Database
You usually get a free MySQL database with your hosting. This can be used to create all the different tables required for the data. This should get you started: http://www.mysqltutorial.org/basic-mysql-tutorial.aspx
Client development
After developing the API's and creating the required database tables. You can start developing the client application. Check out this guide: http://blog.strikeiron.com/bid/73189/Integrate-a-REST-API-into-Android-Application-in-less-than-15-minutes
This should get you started with the basics of developing your application!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to mobile back end development . I am trying to figure out - how to sent data / push data from a mobile app (andriod apps ) to a mongodb. Kindly suggest . I have hosted mongodb in AWS
Please suggest
Until recently, mongo was not supported on the Android platform, and there was no good way to link a mongo database to an Android application. However, it seems that support for Android has been added in the recent versions of the MongoDB driver. A thread discussing the issue, as well providing a working code sample, may be found here:
How connect Mongo DB with Android application
As a side note, when utilizing this forum please try to follow the rules in regards to asking questions (https://stackoverflow.com/help/how-to-ask); questions such as the one above, which show little to no research effort or an attempt at a solution, will largely get ignored, put on hold, or deleted.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am running a study which requires me to load my Android app on multiple phones that are different makes and models. The study is specific (we do not want participation from the general public) so I assumed that I could not post the app on the Google Play app store. Is side-loading the app on each phone individually really my best option?
Is side-loading the app on each phone individually really my best option?
That depends on your definition of side-loading. Many people consider "anything other than the Play Store" to be side-loading, in which case the answer is "yes".
If you consider side-loading to mean by USB cable, you have alternatives. Put the APK file up on an Web server accessible from the devices, configured to serve up the APK file with the proper MIME type (application/vnd.android.package-archive). Then, visit that URL in a Web browser on the device, which will trigger a download and optional install.
Or, use DropBox or similar services that have native Android clients, as they can do much the same thing.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
This may appear counter intuitive to normal posts here, but I was directed to stack overflow as the forum for questions from the FB developer site so here goes!
I'm a network engineer assisting a local school district with some network upgrades. Part of the upgrades involved setting up a web content filter (Untangle), which works great. For various reasons they want to block access to facebook from the school's network during normal school hours. The normal and mobile websites are blocked, but the web content filter doesn't block the mobile app (since the requests aren't coming from a browser the traffic is analyzed differently).
I've opened a ticket with them to see if there is a work-around, but am looking for a way to block the mobile app from accessing facebook until they have a solution. What IP/hostname/ports can I block on our Cisco ASA to stop traffic to the mobile app site? Is there an easy check the app does for connectivity to FB that I can intercept and "trick" it into thinking it doesn't have network access?
These are personal devices, so we can't make changes to them, and yes I realize that technically they could still get access via their mobile provider.
Thanks in advance for ideas and any suggestions!
-Beaty