Android :: Javascript Execution Stops On Scrolling Or Zooming Any Page

Jun 8, 2010

I am about to develop a web application for smart phones. This app uses some JavaScript code. While testing it on Android devices (Hero, Desire) I noticed that all JavaScript timers immediately stop when the page is moved or zoomed. They never continue. Let's say you have a site which displays web camera images with 5 fps. As soon as you move this page (I mean scroll with finger) the web camera image will never be loaded again. So you can't center or zoom the image at all without stopping the stream. This behaviour is 100% reproducible on all Android devices I tested (1.5, 2.1). It does not appear on an iPhone which continues execution after moving stopped fine.

Android :: Javascript execution stops on scrolling or zooming any page


Samsung Vibrant :: Constant Zooming - Scrolling Necessary To Read Through Content

Jul 18, 2010

I got the Vibrant today and the default web browser, although fast, is frustrating to navigate with all the constant zooming and scrolling necessary to read through the content. What's the best mobile web app for this phone?

View 11 Replies View Related

Android : JavaScript On Droid Randomly Stops Working / How To Fix?

May 3, 2010

I have an application that uses a WebView and a html-page with javascript functions. Randomly the JavaScript functions doesn't seem to be called. It works up to a random point (I have looked at this bug all day) can only be produced on hardware (HTC Legend) not on emulator.

View 2 Replies View Related

Android :: Want To Catch Taps But Not Scrolling In Javascript In Droid

Nov 9, 2010

I'm making an Javascript web app and I can't for the life of me get the touchstart event to fire. I get the touchmove and touchend events no problem. This is a problem because as I see it the best way to distinguish between a tap and a scrolling motion is to zero a counter on the touchstart event, update it at touchmove and then compare it at touchend. I'm doing this so I can do some action at the end of tap but not a scroll. For instance, it would be very confusing if a page opened for an item in a listed after you finished scrolling down that list, but it would be nice to be able to tap on an item to open its page.

This is what I have..

I never see the touchstart alert. If I scroll the touchend will fire and app__touchMoving will have some sort of decent value. On a side note, I've noticed that sometimes the touchend will seem to fire multiple times.

Am I missing something basic here? Plenty of people say that this should work just fine on Android (and iPhone) yet the first listener never seems to fire.

Update: I should mention that I've been testing on a Samsung Galaxy S running Android 2.1.

View 1 Replies View Related

Android :: Opening Page With Javascript Pop Ups In Webview

Sep 27, 2010

I am very new to both android webkit and javascript. I have a web page with 3 links (say A,B,C). When I open that page on my PC browser(Chrome), and click on the links, A opens in the same browser window whereas B and C pops up a new window. In my application I am loading the original URL in a WebView. I have implemented my WebViewClient and overridden the shouldOverrideUrlLoading. I am getting the call to shouldOverrideUrlLoading whenever I click on A, but not getting it when I click on B or C?

View 5 Replies View Related

Android :: Web Page Not Available Error - Javascript Enabled

Feb 6, 2010

HelloWebview code (and other WebView code samples) all result in "web page not available" error. Javascript is enabled. Permissions set for INTERNET, ACCESS_NETWORK_STATE, CHANGE_NETWORK_STATE in Manifest.xml. Does not work on either emulator or device (Samsung Moment -- Android 1.5). GOOGLE.com comes up on both emulator and device. I have looked for s solution for this for several days. I'm a real newbie to Android, and a pretty new user of JAVA but can follow an example / sample.

View 2 Replies View Related

HTC EVO 4G :: 6.1 Performance Speed For Page Scrolling

Oct 29, 2010

What kind of performance are you seeing with 6.1? I'm pretty unhappy with the speed it takes for the app slider, page scrolling and all that. I didn't run a quadrant score, I'm not really bothered about numbers. I switched to LP, that didn't help. Also, snap kernels are not playing nice with 6.1 yet (anyhow, the snap kernel features are reportedly built in), so nothing there. I'm back to myn2.2 with overclocking and it's smooth as silk.

View 22 Replies View Related

Android :: Zooming An ImageView?

Sep 11, 2010

This should be easy, but I'm having trouble figuring out how to zoom an ImageView. I have an ImageView inside of a ScrollView and a HorizontalScrollView. I floated a ZoomControls over the ImageView and now I'm trying to figure out how to actually zoom the image.

I was thinking I would just scale the Drawable inside of the ImageView, but I can't figure out an easy way to do this.

How should I be going about displaying an image that I can both zoom and scroll?

And yes, I know about WebViews, but it seems wasteful to load an entire WebView just to display one image.)

View 1 Replies View Related

Android :: Having Trouble With Zooming In Webview

May 27, 2010

I'm new to android. I'm using webview in scrollview to display my local html page (html has text only). I created two buttons for zoomin and zoomout using behind function zoomIn() & zoomOut() respectively. These functions work fine. The problenm is, when I zoom in, some of the text goes out from both top and bottom and it doesn't appear when I scroll.

View 1 Replies View Related

Android :: Zooming - Google Maps Becomes Slower

Feb 15, 2010

We have developed a GPS based app in which it record the user routes and show it on the map.......but Panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes......

Overridden the onDraw() method and drawing the lines to show the routes whenever we zoom on the map, the lat-long is again drawn by calling onDraw()(Overridden) method , which has the geopoints with lat- lon values, and thus it becomes very slower process to display the map .. is there any better way to do this so that panning becomes faster as in "MyTracks"

Following is the code to draw the routes on map...........please look into it and guide me how can i make it more efficient so that the panning and zooming works well......

CODE:........................

View 3 Replies View Related

Android :: Zooming On Dev - Google Maps Becomes Slower

Nov 24, 2010

I've developed a GPS app in which i record the user routes and show it on the map. But panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes.

I've overridden the onDraw() method and drawing the lines to show the routes whenever we zoom on the map, the lat-long is again drawn by calling onDraw()(Overridden) method, which has the geopoints with lat-lon values, and thus it becomes very slow to display the map. Is there any better way to do this so that panning becomes faster as in the application "MyTracks"?

Following is the code to draw the routes on map. Please look into it and show me how I can make it more efficient so that the panning and zooming works well.

CODE:.......................

View 1 Replies View Related

Android :: Implement Multitouch Image Zooming?

Jun 16, 2010

I'm displaying an image on full screen now i want to zoom it in or out.
Any one guide on how I can implement multitouch image zooming?

I am using the 2.1 sdk version.

View 4 Replies View Related

Android :: Running Directly Going To Connection Settings Page / Instead Of My Desired Page

Aug 6, 2010

I am trying to use open intents simulator and do all the settings according to the instructions. But when i tried to run a sample program, after running, its directly going to the "connections settings page" in openintents.apk.

View 49 Replies View Related

Android :: Error On Execution ?

Sep 14, 2010

I did one sample, I got this Error, Class de.vogella.android.temperature.Converter does not exist AndroidManifest.xml de.vogella.android.temperature line 8 Android XML Content Problem What should i do now, I tried this sample, sample code source Please chk this screen shot hI After package update, still am having the Error Now my proram executed, but got Exception Error,

View 1 Replies View Related

Android :: Show Single Image With Zooming / Panning

Feb 26, 2010

I have a png and a jpg image on disk. I'd like to use any built-in intent (if any are available) to view the image (just a single one at a time). Something like this:

Intent intent = new Intent();
intent.setImagePath("/blah/myimage.jpg");
startActivity(intent);

is there a built-in intent in android to do this, or do I have to write my own image viewing-activity? It would be cool if there was one that had panning/zooming as found in WebView.

View 1 Replies View Related

Android :: Cant Go Back To Previous Page From Webview Page

Feb 2, 2009

I am developing simple RSS Reader kind of application.In my applicaion i cant go back from Webview page to previous page.i can go back from all pages except the page where i have used Webview.What could be the reason?why i cant go back?

View 3 Replies View Related

Android :: Workaround For Mapview Overlays Not Pinch-zooming Correctly

Oct 26, 2010

If a user does a "pinch zoom" on the map, my overlays don't properly size until the end. This has been noted in other posts, so i assume it is a known issue.

Problem is, my client finds it totally unacceptable, as I am tasked with making the android app look as good as the iphone version.

Is there any way to correct this, even if it is a horrible hack? For instance, can I subclass the mapview and handle drawing or override some other method?

View 1 Replies View Related

Android :: How Does Droid / IPhone Device Implement Text-zooming

Apr 30, 2010

Simple question - how is text-zooming implemented on an Android/iPhone device? Do they pre-compute frequently used bitmaps of a font and replace the text as the scale changes? Or do they extract the contours from the font files and render the text as vector graphics?

View 1 Replies View Related

Android :: NFC Execution Connection Centre

Oct 23, 2010

I'm trying to execute sample NFC application in Android given by Open NFC. I followed the help document provided by them, but when execution the connection is not setting up. First I would like to know what is Connection Center in that document.

View 2 Replies View Related

Android :: How To Get Info Last Run (Execution) Time?

Jul 22, 2010

Does Android OS store info on Apps like last run time, or how many times an app was run? How to get info Last Run Time, or How Many Times and App has been Executed or Run?

View 2 Replies View Related

Android :: BroadcastReceiver Stopped Execution

Oct 13, 2009

My application used to start when phone start by broadcast reciever. After that i used to execute some code after every 10 seconds. Using handler but after some time it used to stop execution. Can some one tell me what can be reason behind it ?

View 2 Replies View Related

Android :: Time Code Execution ?

Jun 27, 2010

What is the easiest to time execution in Android?

I have looked around a bit and I found TimingLogger on the Android SDK, and instructions here. It looks very convenient. But I can't get it work. This is my code:

CODE:................

It's is supposed to dump the times in in LogCat. But I can't see nothing.. I What am I doing wrong? Eclipse doesn't show any varnings. I guess it has something with verbose ouput, but I have set LogCat to show Verbose.

View 3 Replies View Related

How To Reduce Execution Time In Android

Feb 3, 2013

I am using Eclipse for Android development and Latest version of Android SDK (Running XP, 2Gb Ram)

1. when run clicked, previously executed emulator appears first then emulator default screen appears, only last current actual output appears

2. when clicked to close takes too much time (2 mns) for the emulator to disapper

3. in short execution time exceeds development/coding time in the testing process

is anyway to reduce such execution time

View 8 Replies View Related

Android :: Block Execution Of Activity Until Locationupdate()?

Nov 20, 2010

I need to block (no input, no go on) the execution of an Activity until I have the GPS coordinate. How can I do?

View 1 Replies View Related

Android :: Droid Execution In Emulator / Device?

Feb 11, 2010

Is there any way to know if my application is running on the emulator or on the device ?

View 1 Replies View Related

Android :: MapController's ZoomToSpan() Execution Deferred?

Aug 29, 2010

My application has a MapView which shows a collection of items in a satellite view. I use the MapController's zoomToSpan() method to initialize the zoom level of MapView. I later discovered that the MapView was showing a blank white screen with grey X's (zoom'd too far, zoom out once and everything looks as expected) for the use case when the collection of item's locations were very close to each other.

So, I modified the code from this:

CODE:......

To this:

CODE:.............

View 3 Replies View Related

Android :: FileOutputStream Creates Problem In Execution

Mar 10, 2009

I am running android server application which is listening to port 4444 to retreive the file.I want to receive the file sent from Desktop socket client application. To perform this task I used following code as Android socket server. But execution stops infinitely at the

CODE:..................

View 2 Replies View Related

Android : How To Schedule Some Code Execution In Droid?

Oct 7, 2010

I'm currently working on an app for the android os that requires to fetch data from a remote server from time to time. as this "update" should be carried out even when the actual frontend app is not running, i implemented a remote service that is started on system boot. now i need to schedule a timer to start the update. is the "Timer"-class the right one for this job? and if "yes": what is the difference between a "normal" Timer() and one started as a "daemon" by Timer(true)?

View 2 Replies View Related

General :: Remote Android Execution Environments

Oct 26, 2012

I saw on Internet some services that give you the possibility to test an Android app on the web: for example, Manymo launches an emulator on a remote server and give you the possibility to interact with it. AppSurfer let you test your Android app in an emulator-like environment. Pieceable Viewer is similar to AppSurfer but for iOS.

According to you, how these services are implemented?

Maybe there are some emulators running on a remote server on which run a vnc server, but looking at AppSurfer or PieceableViewer they looks too responsive for this implementation.

View 3 Replies View Related

General :: Android Execution Environment For Linux?

Jun 19, 2011

i read kubuntu 11.10 finally has integrated phone capabilities and is going to be heavily geared towards mobile devices URL....and development of Android execution environment for the android os that allows you tu run .apk in linux if so i think this would be full of win for kubuntu with it being the first linux distro with integrated phone capabilities and if the AEE was available that would just be the coolest phone ever

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved