Android :: Setting Install Location For 1.6
Jul 22, 2010
I'm writing an application that is compatible with Android 1.6, but I would like to give users running Android 2.2 the option of moving the application installation to their SD card.How can I compile my application for 1.6, but still allow 2.2 users to install it to their SD?
View 1 Replies
Jun 9, 2012
I have set the install location of my phone to external. Even though I am installing apps to ad directly, I can't install apps higher than the internal free space left.
View 3 Replies
View Related
Jun 30, 2010
Is it possible to disable the 'my location' setting on the HTC Weather Widget? I frequently go to areas where there is no weather data available and would prefer it to stay on, say, London. But I can't see any way of doing this.
View 1 Replies
View Related
Jul 5, 2010
I've set set files to localhost an set the href links for the epub files.
<a href="more-utopia.epub" target="_blank"> more-utopia </a><br>
And I've try to browse from my custom web view but when I click to download the link, it appears no download and open the file in the browser with custom web view.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView web = (WebView) findViewById(R.id.webview);
web.getSettings().setJavaScriptEnabled(true);
web.loadUrl("http://10.0.2.2/epub");
web.setWebViewClient(new myWebView());
} class myWebView extends WebViewClient{
@Override public boolean shouldOverrideUrlLoading(WebView view, String url) {
url = "http://10.0.2.2/epub/"; view.loadUrl(url); return true;
} }
What I want to do is to download the files and want to set path the download location to user selected location.
View 1 Replies
View Related
May 8, 2010
I have built an app for the Motorola Droid which should automatically update a server with the phone's location. After the user performs a particular task on the main activity screen, an alarm is set to update the user's location periodically, using a service. The alarm is explicitly stopped when the user completes another task. Thing is, I have set up a location manager within the main activity's onCreate() method which is supposed to place the first acquired lat/long into two textview fields. Even though the manifest is set up for acquiring coarse and fine coords and I'm using requestLocationUpdates (String provider, long minTime, float minDistance, LocationListener listener), with minTime and minDistance set to zero, I'm not seeing the coords coming up on the screen.
With that, I'm not recording any locations on the server. When I seed the textviews with sample coords, they are being recorded fine on the server. I am not at a computer that can run the IDE, so don't currently have the code, but am desperate for some help on this. One other thing is that the main activity screen calls a photography app before the user manually clicks "send data". I'm suspicious that I may need to override the main activity's onResume() method to do this location acquisition.
View 2 Replies
View Related
May 26, 2010
I think best option is to turn off Both gps and network location settings, then just leave gps widget on home, if anything needs location, it will warn you....think that location burns battery, and I find with all off, google, and htc weather widget use my home location instead of current location.
View 2 Replies
View Related
Jun 8, 2010
So obviously, I need to enable Location Settings in order to get GPS ability in Google Maps. But I don't see why it needs to have an icon taking up valuable space in the status bar (as a side note, there's an icon to indicate that it's OFF, so you can't NOT have a location setting icon on there). There was no such icon on my Droid.
Is there a way to disable this icon that anyone knows of? With Wifi/3G, the battery meter, alarm clock, the time, and the bars, they take up over half of my status bar. The problem is compounded by the fact that I have a battery app that always displays the exact battery percentage on the left side (another side note; why isn't the exact percentage shown on the default battery icon?
View 4 Replies
View Related
Nov 22, 2013
Since KitKat has been released Android has a new setting to allow us to use a "battery saving" version of location. I am wondering if I could actually control this setting using Tasker. Example would be only when I open maps do I want to use the "High Accuracy" version. I can not seem to find this in Tasker as there has not been a new version since KitKat. Is there another way of doing this? Script? Etc?
View 4 Replies
View Related
May 3, 2010
Do you use "Use wireless networks" or "use GPS" for your location setting, with an eye towards preserving battery life? I've heard that using GPS can be better on battery life because it only draws power when an application needs to use the GPS (which shouldn't be too often). I also heard that the wireless network setting uses more power because it is constantly using power.
View 6 Replies
View Related
Dec 6, 2009
Location & Security Settings --> Use wireless networks (location determined by WiFi and or mobile networks). Does this feature use up resources and/or battery?
View 3 Replies
View Related
Nov 30, 2009
Is there anyway to shut the function off on the weather widget that came with the phone, so when you are traveling in a car its not trying all the time to get info and I'm guessing drain the battery?
View 6 Replies
View Related
Feb 22, 2010
What is the best (most proper) location to install the Android SDK on Mac?
I've seen in some posts that somewhere in the Home directory is advantageous. Some seem to have placed the SDK in the Applications directory.
View 1 Replies
View Related
May 31, 2014
I'm running deodexed build from this post: [URL] and CWM bootloader. I'm using link2sd and 16GB external CD card.
Strange things started to happen (I think) after using my phone in the swimming pool. Apps from my external card vanished and I couldn't fix this issue, so finally formatted SD card (minitool didn't work, partition toolkit did). Meanwhile every now and then "no place on disk" error while installing apps popped up. Approx. 400 MB of internal storage was free...
After format things started to look promising, but "no place on disk" error still bugged me, so I thougth about workaround, and tried adb shell pm set-install-location 2. After restart I got bootloop. Tried several options and finally was able to flash firmware with odin 1.85. While I was at it, I flashed bootloader with CWM mod and odin 3.09. (Before flashing I was getting an error after restart and had to reboot manually:
Quote:
E: failed to verify whole-file signature
E: signature verification failed
Well, that worked, and no data was lost, but my external card is unusable, link2sd warns me about my second partition not being automounted and every time I restart phone I'm in the bootloop again, having to flash firmware to be able to unbrick it.
I tried to fix second partition from within partition toolkit, but no luck, formated it, again, but now link2sd doesn't see it mounted at all (partition toolkit does). I've reverted install location already, set it to 0, and later to 1, but no luck... I mean it works, but doesn't solve the problems. I backed up everything with titanium backup and I'm considering factory reset.
View 1 Replies
View Related
Nov 6, 2013
Method to allow myself to install apps and games to my external 32gb external sd card and set this as my default install location as my internal storage is small and i always have problems with available space . I have been told this can be done on adb on computer with running special commands to change default install location. Is this true ? Will I need to root and use an app which is user friendly for this? I have a samsung galaxy s4 mini gt i9105 unrooted.
View 2 Replies
View Related
Sep 9, 2013
I have Prestigio PAP 4500 dual SIM phone with 4 GB internal memory and external microSD card 16GB - rooted. This 4 GB internal memory is devided on 2 part:
1.st labeled as Internal storage with 503 MB - this is location for app installation
2.nd labeled as Internal memory card with 2 GB - this is empty because I use externalSD 16GB.
Because Internal storage (503 MB) is too small for all app I'd like to install phone often pop up message "Storage space running out". How to change installation path so apps install on Internal memory card (2 GB) ??
I tried:
1. change in Settings, Storage, Preferred install location, SD card but after reinstalling all apps again get "Storage space running out"
2. install Mobile Uncle Tool (chinese menu), right button click on 1.st pop up, AppToSD, choose external, press button under it and install all apps again but again get "Storage space running out".
In both cases no change in capacity of Internal memory card with 2 GB.
View 5 Replies
View Related
Oct 26, 2010
I'm developing a mapping app using Eclipse 3.5.I'm setting the minimum update period with the LocationManager's requestLocationUpdates method, via a configuration activity. When I set the property I see in Logcat that the system process sets the value OK.When I actually send a new location from the DDMS emulator control and the location changes on the map view, I see that the system process then sets the minimum time to zero.Below is a capture of the system's log messages. You can see that I'm setting the period to 32 seconds, then 16, then, after I've sent a simulated location change the system sets it to zero.The map responds to location changes to location changes instantly even if they are sent only a couple of seconds apart.
View 1 Replies
View Related
Sep 17, 2010
In my application I have to fetch the current location. First it correctly fetches the location. But we are moving from the current location to some other location. It shows the previous address. It is not updating the location. My code is: locManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locListener = new MyLocationListener();locManager.requestLocationUpdates(LocationManager .GPS_PROVIDER ,0,0,locListener); location = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);if(location != null){latitude = location.getLatitude();longitude = location.getLongitude();} Please find the mistake and when i launch first time it is not working on second time itself it is working so check this thing also.
View 1 Replies
View Related
Jan 27, 2010
I have an application which uses the network as the location provider (rather than GPS eg.), however I can't seem to figure out how to send the emulator test coordinates. In DDMS I would usually send coordinates in the Emulator Control tab.Is there a place to simulate coordinates derived from the cell phone network provider?
View 6 Replies
View Related
Mar 4, 2010
I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when I call the method drawMyLocation().
Here is the MyLocationOverlay class
View 4 Replies
View Related
Jun 25, 2009
The way we are retrieving locations from our Android phones is to 1st get a Coarse Location followed by a Fine Location. This is for the case where the user may be inside a building initially and unable to track satellites. After we get our coarse location we transition to a fine location to track satellites. This method has been working fine for several months. We recently upgraded to 1.5 and our mapping application, to my recollection continued to work.For the past couple of days we have not been able to get a coarse location and we are receiving a status message in the onStatusChange callback of.We have re- installed previous versions our code that used 1.1 and we are receiving the same status message of .TEMPORARILY_UNAVAILABLE. Other than the obvious description of the constant, we can find no meaningful information.
View 2 Replies
View Related
Mar 15, 2013
Recently all my android devices think they are in Spain when I am at home in Toronto.
I think this was caused when I ran a location spoofing program on only one of my devices, one of the locations I set it to was Spain (among others).
I've tried clearing the data for the Network Location apps, changing the SSID on my router with no luck.
The only way it shows the correct location is when I go outside and run Google maps long enough to get a GPS fix. But when I go back inside I am back in Spain!
The devices this is affectingGalaxy Nexus with my google account
Nexus 7 with my google account
Galaxy S3 with my google account
Galaxy S2 without my google account
View 2 Replies
View Related
Apr 2, 2010
Is there any way to specify the time intervals that the Location Manager broadcasts the current location?
I am using a method called startListening:
CODE:.....................
View 5 Replies
View Related
Aug 12, 2010
I've found bits and pieces of this answer scattered through other posts, but I wanted to record it here for others.How can I simply request the user's GPS and/or Network location and, if they haven't enabled the service, prompt them to do so?
View 1 Replies
View Related
Nov 14, 2010
How could I fix the location which appears on the clock on the home screen and serves as weather forecast location? I am not living near a big city listed on the weather location list and when at home, the current location usually is indicated some dozen miles away from my home. This could be a cosmetic problem, but in the Alps (where I am living) weather a short distance away can be quite different from where you are.
Besides that, it would be nice to know the weather at home while beeing abroad.
View 3 Replies
View Related
Jul 2, 2010
i've had my phone about 3 weeks now. up until last week, the htc weather widget would update to my current location. when i was home, it would show the town i live in. i also had the google internet option to use my location and this would also work perfectly until last sunday.now, the weather location was stuck on miami no matter where i went (as far north as west palm beach) and the internet shows up 'location unavailable'. i have found out that the gps is picking up where i am in goggle maps but it seems that the cell towers are not as far as weather and internet location are concerned. i have tried all of the obvious settings.i did a factory reset and now my weather says ft lauderdale which is closer to me but still not my town. it does not update (manually either) as i move. the internet location still says location unavailable although for a fleeting minute after the factory reset, it DID locate me....then it was gone so i called verizon, they didn't have a clue. then i took it to the store and it turns out EVERY phone the tech tried in the store had the same problem, including his. he told me it was a google problem and there was nothing he could do about it. i felt if i tried explaining how that would make it a verizon problem as well, it would be a losing battle
View 7 Replies
View Related
Jun 7, 2010
I am having problems with the quick search feature. I did a random search for Mcdonalds and a map pulls up that is no where around me. I clicked update location but it says my location is unavailable. I have GPS enabled and my navigation app works just fine.
View 1 Replies
View Related
May 10, 2013
today i was trying to open my old workspace projects by Eclipse but the old projects used old SDK path n so when i try to change my SDK location the eclipse not allow me tho submit my new location how i can solve this problem
View 1 Replies
View Related
May 5, 2009
Is there any API method{[android.location " pack ] to get location name? did not find related method to to retrieve location name for given GeoPoint(lat,lon); I wanted to keep list of location names for particular GeoPoints (lat,Lon) in journey. can this be achievable in Android to calculate the name of location from lat .
View 4 Replies
View Related
Jul 19, 2010
I checked and loading up my maps application or another app that I've written that uses the location API finds me almost immediately - this, on the other hand, leaves me waiting forever without a single update. And yeah - I checked my permissions in AndroidManifest :)
View 1 Replies
View Related
Oct 27, 2009
Followed the instructions in http://developer.android.com/sdk/adding-components.html for adding 2.0 as components to an existing 1.6 SDK, from within Eclipse.
It didn't work. Not by a long shot. Instead, it got partway through and then said that C:android-sdk-windows-1.6_r1 tempDocPackage.new01 couldn't be copied because of a lock, and similarly for PlatformPackage.new01.
It said to shut down running programs, but the only program running was Eclipse, which was needed to do the upgrade.
The cancel button was disabled, and the close box didn't work. Shutting down Eclipse killed it, but left C:android-sdk-windows-1.6_r1 in a corrupted state. Restarting Eclipse showed the Android projects with errors, no SDK, and a disabled Android SDK and AVD Manager (which means no ability to rerun the install).
Shutting down Eclipse, renaming the corrupted SDK directory, unzipping 1.6 again into C:, and restarting Eclipse made it as if nothing had ever happened, which is good. But it is not possible to complete the install from Eclipse, which is bad.
The dialog says:
CODE:..............
View 1 Replies
View Related