download and upload from/to google drive without activity - Android Studio

Hi.
I want to develop an app without any activity or graphics like a background service.
And now i need to download a text file and read it from google drive, and then upload some files to google drive.
Please help me.

Related

[Q] G Maps not working

Hi guys,
i m new to this forum, and i am from india. i am having a problem with my galaxy i9000
the google maps applications does not open, whenever it start the app, it keeps saying loading, even the gps indication does not show up in the notification bar.
please help.
Do you have internet enabled? What firmware are you using? MY recommendation is that you read throughout this forums first and check how people post questions. XDADEV is a community, not really a help forum. No offense, but we may need more information to give a proper answer.
well thanks for the reply,
my firmware is I9000DDJF6, and the internet is not enabled on my phone.
dukemist said:
well thanks for the reply,
my firmware is I9000DDJF6, and the internet is not enabled on my phone.
Click to expand...
Click to collapse
you must have internet to download the maps...
is there any way, by which we can install the maps on the phone so that internet connection is not used. or any app which can be used in place of gmaps?
dukemist said:
is there any way, by which we can install the maps on the phone so that internet connection is not used. or any app which can be used in place of gmaps?
Click to expand...
Click to collapse
If you want to use goggle maps there is no way. But if you have the possibility to have internet access you could cache the google maps on your SD, and use them whem u r offline. Download brut and cache the maps for the areas of your interest.
http://forum.xda-developers.com/showthread.php?t=630887
Other ways is to use other map solutions like OruxMaps
http://www.appbrain.com/app/com.orux.oruxmaps
With OruxMaps you can use off-line maps. It is then pretty easy to download .kap maps of your area and then convert them to .png format and use in OryxMaps.
And then there are possible several other solutions.
thanks,
i will try this and let u know.
there are multiple files in the download section "http://rapidshare.com/users/OJW69I", should i install all the .apk files.
dukemist said:
there are multiple files in the download section "http://rapidshare.com/users/OJW69I", should i install all the .apk files.
Click to expand...
Click to collapse
Use this one so you get the latest version; http://www.multiupload.com/Z1JHL9IRMO
The latest version is Brut Google Maps 4.4.0.4414-brut16
i installed the brut google maps, but the application freezes at the loading screen, also the gps indication does not show up in notification bar.
when i start the navigation app, the gps indication comes but it is not able to connect to the satellite.
please help

[Q] Google Play error "Could not retreive information from server"

Hi All,
I am a proud owner of the Kindle Fire HD and I am pretty new in the Android World.
I have rooted the computer with success. Afterward I have installed all the applications as indicated (Market, Vending and Google Play).
Now the application gives me an error message with "could not retrieve information from the server". Does anybody knows how to resolve this?
Does it have to do something with a log, data, settings, IP address, location (residing outside the USA), user account, particular file, etc.
Can somebody PPPPPPPLLLLLLLEEEEEEEEAAAAAAAASSSSSSSSSSSEEEEEEEEEE help me with this? I am almost giving it up......
Thanks in advance.
Prof
Google Play Market Error "could not retrieve information from the server"
profgokker said:
Hi All,
I am a proud owner of the Kindle Fire HD and I am pretty new in the Android World.
I have rooted the computer with success. Afterward I have installed all the applications as indicated (Market, Vending and Google Play).
Now the application gives me an error message with "could not retrieve information from the server". Does anybody knows how to resolve this?
Does it have to do something with a log, data, settings, IP address, location (residing outside the USA), user account, particular file, etc.
Can somebody PPPPPPPLLLLLLLEEEEEEEEAAAAAAAASSSSSSSSSSSEEEEEEEEEE help me with this? I am almost giving it up......
Thanks in advance.
Prof
Click to expand...
Click to collapse
profgokker,
No worries, this is a common error and is no way caused by geographic location. Google
Play Store works throughout the world, including China, although the Chinese attempt
to block Google Play. The problem is either the Google Play Framework is corrupt or
the Vending.apk is corrupt. Let's first replace the Vending.apk application. We have
attached Vending.apk to this thread. Download Vending.apk, move it to /Kindle Drive/
Internal Drive/Download. Then using ES File Explorer with Root Settings enabled, move
/sdcard/Download/Vending.apk to /system/app. You will get a warning, click yes
to replace Vending.apk. Next, change the permissions on Vending.apk to Owner: Read Write
Group: Read Others: Read. Next click on /system/app/Vending.apk choose Install.
After you complete the install of Vending.apk, then download Phonesky.apk which
is attached to this thread, move it to /Kindle Drive/Internal Drive/Download. Next
click on /sdcard/Download/Phonesky.apk to install and upgrade the Google Store
to Version 3.10.10. Then go to your /Apps, click on Google Play Store icon, Agree
to the License and attach an account to Google Play Store. If this does not
resolve your problem I will give you instruction on how to upgrade the Google
Framework.
Unfortunately I am having the same problem. Where can I find an uncorrupted googleplayframework? Thank by the way for your quick response and effort.
Unfortunately having the same problem. Where can I find an uncorrupted googleplayframework file? What can I do further?
Thanks for your effort and timely response
Google Play Market Error "could not retrieve information from the server"
profgokker said:
Unfortunately having the same problem. Where can I find an uncorrupted googleplayframework file? What can I do further?
Thanks for your effort and timely response
Click to expand...
Click to collapse
profgokker,
We have over 300 people a day download the same files I gave you, so you can be well assured
They are good. OK, to the problem. You are sure that you did not install a firewall, correct? Did you
install any security software? If no and no, first COMPLETELY uninstall Google everything, through
the Kindle Uninstall Service, we can not take a chance that one package is effecting Google Play.
Remove all items that you recently moved to /system/app. The Reboot the Kindle. Check the
Amazon Add Remove Programs - anything Google left? If no, you are good to take the next
step. Go to our Tutorial [How to] Install Google Play, the link is here:
http://forum.xda-developers.com/showthread.php?t=2069329
The idea here is simple. We will be replacing everything Google and since we have over
300 successful installs a day through those instructions and packages. The good new is
that the download package included in the tutorial will be slightly different than the files
I gave you today. If you still are not working after do a complete reinstall, there is
something wrong with the Kindle or your network. You can also send it into our firm,
we do offer Kindle Repair but I really do not believe you will have to take this drastic
step. You may call me as well, the first 5 minutes is free.
I still could not get through, same message again. I followed every instruction, but I am not sure what you mean with "Amazon Uninstallation Service", could you explain this further?
I even set everything to 'factory settings' and rooted the table again.
How do I know if it is a devide problem or network problem? If I go to the internet site of google.play, I have a similar message (server error), does this indicate a network issue? Or is this normal?
I will try it one more time and than I have no other option to contact you. Although I already give it up for google play on my kindle.
Thanks for your effort and fast response, which I appreciate very much.
I just noted that I just cannot access Google play from my location., not even via the internet. It looks that Google play has blocked my region (Caribbean), very frustrating. I tried to access it at workplace with company computer, other computers in my home; Google play just gives an error. Now I accessed a computer in Europe, and voila......' working there
Amazon does also not even allow me to the webshop (no US credit card).
Does anybody have a solution? Or just switch to Apple? Very disappointed in the of the kf
I just installed Orbot (there is also a post on xda), followed the instruction and voila...... i have access to Google Play.
So there is a block for my region for Google Play and I bypassed this via the program.
profgokker said:
I just installed Orbot (there is also a post on xda), followed the instruction and voila...... i have access to Google Play.
So there is a block for my region for Google Play and I bypassed this via the program.
Click to expand...
Click to collapse
profgokker,
Are you in a Corporate Network or is this at home? The reason I ask is we have customers that
originate in the Caribbean and I have not hear any complaints unless your ISP is blocking Google Play.
Either way, I am glad you were able to make it work with Orbot Proxy Server:
https://play.google.com/store/apps/details?id=org.torproject.android&hl=en
This is a great program.

which apps are connected to which links . !?

hello !
i want an android application that be able to show any apps that is working on some servers , so in other words my main mean is to find out which application is accessed to which servers, in best type i want to know the application how much links are following or connecting to servers.
????

Google Drive Backup?

Is the google drive automatic upload feature supposed to update my pictures to my google+ account? Isn't it supposed to upload the pictures to my Google Drive folder? I don't want my pictures on Google+, I want them backed up on Google Drive folder on my computer
Not sure how they would get to your computer unless you copy them directly. Yes they go to the cloud. Google is changing things a little bit and disconnecting photos from drive. But it will still be on the cloud. Anything on Google Drive is in the cloud also its not just on your computer
FYI :Your pictures are not automatically posted or anything
Sent from my Nexus 6
DebianDog said:
Not sure how they would get to your computer unless you copy them directly. Yes they go to the cloud. Google is changing things a little bit and disconnecting photos from drive. But it will still be on the cloud. Anything on Google Drive is in the cloud also its not just on your computer
FYI :Your pictures are not automatically posted or anything
Sent from my Nexus 6
Click to expand...
Click to collapse
I would expect the pictures to be uploaded to my Google Drive folder on my computer and on the cloud, but instead they get uploaded to google+ which I don't want don't use , I know they are not automatically shared, I failed to explain myself correctly
Yes, it will be like that soon they are guessing May
http://www.greenbot.com/article/289...up-duties-from-google-photos-report-says.html
DebianDog said:
Yes, it will be like that soon they are guessing May
http://www.greenbot.com/article/289...up-duties-from-google-photos-report-says.html
Click to expand...
Click to collapse
Awesome ! Can't wait ! Until then I'll stick with Dropbox haha

Stock and google apps you can delete [root]

So why not clean up our device a bit (just to make some sense to root)
On the attached screenshots you can see that after a clean firmware reflash there is 3.13Gb free space on the device. As soon as you update those apps (only those, nothing else was installed, only stock and google apps) you will only have 1.72Gb free space (i mean wtf???). However i've deleted all the apps one-by-one to see what can be deleted without causing any harm and that way i managed to have 3.18Gb free space (kinda useless, cos i deleted google play store and the photo app as well... just for testing purposes)
So here is the list you can delete and your phone will still boot up without any error messages:
(use a file manager that can handle your root folders and delete them)
system/apps folder:
you can delete any apps from here that's been ever updated since the updated apps will be stored in the data/apps folder and these "stock" apks are not used anymore but apps will be working without any issue.
if you want to totally get rid of an app you can uninstall it from options/apps (sometimes there will be only the disable option but it will totally delete them if you deleted manually from the system/apps folder) - stop the application first and delete its cache and data if you don't want some useless files to stay on your device.
google docs (app name): editors docs (folder in system/apps/ - delete the whole folder)
google sheets: editors sheets
google slides: editors slides
chrome: Chrome
drive: Drive
gmail: Gmail2
texttospeech: GoogleTTS
hangouts: Hangouts
lg weather: LGWeather, LGWeatherService, LGWeatherTheme
google Maps: Maps
google Music: Music2
google Photos: Photos
talkback: talkback
google Videos: Videos
youtube: Youtube
system/priv-apps
DualSim: DualSimStatus
Evernote: Evernote
Clock: LGAlarmClock
LgBackup: LGBackup
Calculator: LGCalculator
Calendar: LGCalendar, LGCalendarProvider
Camera: LGCameraApp
EasyHome: LGEasyHome
Email: LGEmail, LGExchange
Filemanager: LGFileManager
FmRadio: LGFmRadio
Gallery: LGGallery
Live wallpaper picker: LGLiveWallparersPicker
Music: LGMusic, LGMusicWidget
PC suite: LGPCSuite
Quick memo: LGQMemoplus
Video: LGVideo
Voice recorder: LGVoiceRecorder
Lg remote call, LG smart world, OSAorangeUpdates: opt
Google play store: Phonesky
Google search: Velvet
data/apps
updated apks
Google play services: com.google.android.gms
vodafone crap (i guess other suppliers as well)
data/app-system - vodafone update
OP/Vdf_com/apps,poweroff,poweron (here is my vodafone boot logo, if you delete it, it will be gone for good )
Naturally you better make backups (just copy) of each folder you delete and if you ever want to put it back watch out for permissions of the files! Also you be sure about what you delete, maybe it's used by some other apps...
If you find anymore, feel free to share with us and i'll update the OP

Categories

Resources