android


Uploading the whole sqlite database to google app engine


I just want to know if it is possible to upload from an android phone the whole sqlite database to google app engine and then download it from there to my computer.
Sure. The DB is just a file, you need to get the path to it, and then post it to App Engine. Depending on the size of the DB, you might need to use the Blobstore, there is a limit to the size you can store in a regular entity.
You mean uploading to GAE Blobstore?
It might be a better idea to upload it to Google Storage rather than app engine if you really want to just dump the file
This is based on the conversation that I and #JustCurious had in the question comments
You can get the DB file as follows
String path = getDatabasePath("myDB.db").getAbsolutePath() + "/myDB.db"
and Email it out
final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType("plain/text");
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{"to#email.com"});
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Text");
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+ path));
context.startActivity(Intent.createChooser(emailIntent, "Send mail..."));

Related Links

Cannot remove item from Shopping Cart android studio
Trouble while providing webservices in django python to android
Android Watch Face, “not compatible with this device”. I'm missing something
“Existing android project must be the target for testing” Error when making NBandroid project
How to access google-services.json from web service for google analytics android
redirect android app to telegram messenger
Make a parametric vector drawable
Error: Execution failed for task ':app:transformClassesWithJarMergingForDebug'
Getting llvm-rs-cc.exe error in Android Studio
getIntent().getExtra() returns null
Android SIP not receiving calls
Android googlemap permission check, cannot resolve symbol
How to dynamically load images in GridView or how to optimazi it's work?
Cordova App - Access of database made in android
how to design profile header under toolbar like soundcloud header
Kivy app using socket module crashed when building by buildozer

Categories

HOME
api
zend-framework
youtube-data-api-v3
jelastic
knitr
static-site
entity-framework-core
maxscript
vsm
crystal-lang
spin
java.util.logging
mxgraph
automatic-ref-counting
modbus-tcp
linear-algebra
scsi
searchview
null-pointer
google-picker
nodemcu
apache2.4
asp.net-core-webapi
jquery-ias
visual-studio-extensions
short-url
perlbrew
game-theory
itunes
slidetoggle
fat
quantlib
bioinformatics
iis-express
deltaspike
hibernate-validator
playstation-portable
github3.py
sharding
searchkit
lint
playframework-2.1
xcode7.3
verifiable-c
health-monitoring
c9.io
apache-stanbol
doc
dcmtk
wmp
install.packages
wc
berkeley-db-je
signal-strength
pom.xml
openresty
sonarlint-eclipse
bluez
podscms
amq
yii2-user
colorbar
edit
gpg-signature
cd-burning
shinobi
android-instrumentation
polyline
simplepie
actor-platform
seek
microstation
rspec2
scaffolding
expectations
delta
qbxml
user-management
phpgrid
libvlc
binomial-theorem
omnifaces
git-ftp
aspectj-maven-plugin
osc
bcache
formview
machine-instruction
malformedurlexception
wxformbuilder
tinyxml
android-framework
vsx
dsym
amslidemenu
syndicationfeed
onload-event
stacky
swfobject
asplinkbutton
sqlclr
extreme-programming
correlated-subquery
ilasm
relative
role
multiplatform
globals
tui
asynchronous-wcf-call
software-lifecycle

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