php


Android :How to load but not open URL


I have PHP link that updates totals on my database for my website. This website has no UI at all. When the user clicks on my button I just want it to load the link in the background and not view it. Using,
public void cButton(View view){
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
startActivity(browserIntent);
}
will prompt Android to open up its native browser, I just want to load the link.
Any methods you guys have in mind :) ?
I suppose you simply want to do an HTTP request? In this case you don't really want to start activity for loading the page in a browser. For such purpose Google is providing quite simple to use library. Hope this will help you: https://developer.android.com/training/volley/simple.html

Related Links

How make long PHP script faster?
PHP - Parse XML
Linux Ubuntu PHP Version is different in CLI and in PHPINFO()
PHP curly braces inside strings colour in Notepad++
How to clean background captcha image using imagick
How can I get Magento Each Session values by using Magento frontend cookie value through Web Service?
WooCommerce displaying variable description after variable price
if else condition in jquery ajax response
php fastcgi is crashing if the url contains &start_debug=1
Having issue modifying theme code to replace logo URL
Combination of php_opcache and IIS causing intermittent 500 errors
DOMPDF class not found
wordpress APi integration
How Remove extra tag in xml in php
How to add a custom year drop-down in place of Export CSV drop-down on admin panel for custom grid and filter the collection?
Sending boolean values with $.ajax to PHP

Categories

HOME
nam
artificial-intelligence
android-espresso
mod-rewrite
macos-sierra
vagrant
openxml
eclipse-plugin
concurrency
selenium-builder
systemd
operating-system
ant
magento-2.0
celery
portable-class-library
liferay-7
lvm
ipv6
polymer-2.x
roku
azure-graph-api
yeoman-generator-angular
nsstring
erd
sql-injection
tomcat8
varnish-vcl
cpu-usage
home
amazon-mws
azure-machine-learning
workday
cell
pdf.js
tortoisemerge
multi-dimensional-scaling
sap-lumira
points
php-5.3
npoi
iwebbrowser2
materialize
fusion
infopath2010
reporting
serversocket
cloveretl
image-optimization
wdk
mars-simulator
django-smart-selects
task-parallel-library
utf
game-center
asihttprequest
section508
django-static-precompiler
image-registration
iptv
asp.net-web-api-routing
rcharts
rustdoc
nitrousio
boost-compute
controllers
tablespace
fuzzer
visual-studio-monaco
dojo-build
groovyfx
perforce-integrate
qpixmap
static-methods
android-syncadapter
i2b2
flask-security
cortana
helm
android-mapview
stack-smash
apache-commons-digester
chicagoboss
ora-04091
ambiguity
knife
apple
alwayson
wicked-gem
mxe
fasterxml
famo.us
adhoc-polymorphism
datagridcomboboxcolumn
igor
jms-serializer
discovery
ggts
popup-blocker
border-box
cakeyframeanimation
java.lang.class
firebird1.5
liveconnect
wcf-callbacks
acpi
firefly-mv
webresponse
iphone-sdk-4.3
aspbutton
oracle-pro-c
acceleration
levels
downloadfile

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App