Android :: FC On Application - Related To Multitouch
Feb 6, 2010
I have a user complaining about a FC on my app and they were kind enough to post the stacktrace. It's a class that I cannot find anywhere and it sounds like it is related to multi-touch. I don't specifically call this class, MapView does so I don't have any control over it. It kind of looks like his Google API maps package is trying to use an unknown gesture library. Any ideas? I figure other devs using the MapView class might run into the same issue with their users. The user is using a Droid.
02-06 01:08:37.326: ERROR/AndroidRuntime(4231): Caused by: java.lang.reflect.InvocationTargetException 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:238) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at java.lang.reflect.Constructor.constructNative(Native Method) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at java.lang.reflect.Constructor.newInstance(Constructor.java:446) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at android.view.LayoutInflater.createView(LayoutInflater.java:500) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): ... 22 more 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): Caused by: java.lang.NoClassDefFoundError: android.view.ScaleGestureDetector 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.setup(MapView.java:368) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapActivity.setupMapView(MapActivity.java:187) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:280) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:255) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): ... 26 more......
View 4 Replies
Jun 1, 2010
i have completed my First android application and i have deployed that application to different android based mobile phones which is working fine. my question to you is, is there iphone store like thing exists in android to upload your application by paying fee to android store or something like that. or nothing or should i start passing my application to end users directly? any help would be appreciated.
View 2 Replies
View Related
Feb 26, 2009
I am developing a small application using file operations. when ever application lunches I am writing some information about the app user in the location of "/data/anr/". While deleting the application i want to remove those files in that location. Can any one suggest me how to do this? Is there any permission needs to be added?
View 2 Replies
View Related
Jun 10, 2010
I am attempting to learn how to develop on the Android platform but do not quite understand the relationship between Activities and Views, because according to the documentation an Activity is almost always linked to a UI object that the user can interact with, but if this is the case where does the whole idea of Views come in?
View 1 Replies
View Related
Mar 1, 2010
I am using following code to display progress on andorid activity when i call web service method to getposts it show progress. but when call of serivce is complete my application gets crashed.
What mistake am i doing or any other alternative way to achieve this goal?
CODE:........................
View 2 Replies
View Related
Oct 8, 2010
Can any one help me by providing some innovative automobile(car) related projects.
View 6 Replies
View Related
Jun 28, 2010
I just read this article:
Android Developers Blog: Multitasking the Android Way
and it talks about how Android itself handles multitasking. The problem I'm running into is this: I stopped using Advanced Task Killer because people are saying that it's not healthy for your device, which makes sense to me as it seems like you're using CTRL ALT DELETE to close a program every time, and that just doesn't seem like a good idea.I understand that this isn't windows and it works completely different, but I still stopped using it because it seemed a bit harsh.After reading the above article I realize that this is how Android itself closes apps, by "brutally killing them" as the article says.If this is how Android itself closes apps when it needs more memory, why are task killers not a good idea?
If somebody could dumb it down for me so I can understand I'd appreciate it, as I'm a total Android n00b.
View 8 Replies
View Related
Sep 29, 2010
We recently came to know that a lot of Mobile Carries in Asia/India have proxy enabled to get Internet access via mobile. It turns out our App does not work when the phone has internet via proxy setup (APN). Does the APP need to handle proxy individually?
View 4 Replies
View Related
Apr 10, 2009
I understand that userland apps on android cannot set the system clock. Wanting to know more about how the security mechanism is set up for the system I did some digging around in the source code.
/dev/alarm is opened R/W to set the system clock using SystemClock.setCurrentTimeMillis.
How the permissions work to determine whether or not an application has permission to set the clock.
I assume it's just a user level permission, and the write bit for /dev/ alarm is only enabled for the "system user" and not the "userland user" applications run under.
View 2 Replies
View Related
Aug 27, 2010
Is there a way to look at the offerings of the Android Marketplace without owning an Android?
View 7 Replies
View Related
Nov 19, 2010
What is a feature graphic? Could anyone provide an example? Is it required (the console doesn't seem to require it). Also, are "alpha channels allowed in the high resolution icon? Many icons have transparent backgrounds. If you don't allow alpha channels in PNG icons, what should we set the background to?
View 2 Replies
View Related
Aug 12, 2010
I don't know if this is the right group, but my ADT keeps crashing while editing layout files. I'm not positive, but I think it might have something to do with the background images that I'm attempting to use, as they are not rendered in the preview at all. Is this the appropriate group to discuss the ADT tools? If so, does anyone else have problems getting background images to display?
View 4 Replies
View Related
Nov 4, 2010
My app contains a page with a form, a long list of EditTexts.
If you're entering text and click the back button, the soft keyboard is hidden. However different android versions behave in different ways. My 2.2 device hides the keyboard, and that's it. My 1.5 device hides the keyboard, and the 'back' onKeyDown/Up event is still activated.
This is very tricky... for the 1.5 device I need to know if the keyboard is being displayed when the back button is pressed, so that I can capture the back event and stop it continuing (all I want is for the keyboard to hide). But I've search all over this forum and there doesn't appear to be a sure way of doing this.
View 2 Replies
View Related
Apr 14, 2010
Does anyone else have any android related link? if so post a pic!
View 8 Replies
View Related
Apr 14, 2009
Android doesn't support ICC(INTERNATIONAL COLOR CONSORTIUM) profile related API?
Does Google have a plan?
View 2 Replies
View Related
Feb 22, 2010
Are there any major localization related changes in Eclair, when compared to Donut? Does Android provide any tool(s) that would help developers translate the strings (may be to convert from xml to xliff format or some other format that translators generally use)? The 'Internationalization and Localization' part in developer.android.com still has a stub ("coming soon"). I'd really appreciate if someone could throw some light on this.
View 4 Replies
View Related
Aug 18, 2010
I can get user Account token from Android AccountManager API, how can i get the related email info from this AuthSub token? i've found no appropriate GData API so far
Why should i do this? i need to make sure the token and email are paired to avoid a fake token which not related to the email account.
View 2 Replies
View Related
Dec 4, 2012
I'm trying to port an app made for an other phone.
How to know which files in lib folder I must use?
Is there a place in the apk where the shared libs are mentioned?
View 8 Replies
View Related
Sep 28, 2010
I am working on learning Android programming. I am attempting to build an app that shows a list of items, and when the user clicks on an item, it will display an image of that item, as well as information about it. I'm not sure the best way to present this information. Would using the Toast widget be best? Or TextView? Or, is there another way, like creating a new activity, that makes more sense?
After the user clicks on the list item, and reads the presented info, they should be able to return to the list.
View 1 Replies
View Related
Nov 19, 2010
I'm developing an application that must handle multitouch. Basically I want single touch for rotating ( this is no problem ). And multitouch for scrolling.
I have the basic code in, but I'm having problems when the shift from single to multitouch, and vice verca, occur. Basically the movement will jolt because the median position of the multitouch ( two fingers ) and the absolute position of the single finger are at a distance. So if I have two fingers on the screen, they make up a median position, and then lift one finger, it would be like a quick movement from that median position to the absolute single finger position. This will be the movement that I don't want.
This is my code:
CODE:........
The onTouchDown function of the camera just sets the first value of the touch move. That's why I also use it in the up movement to set a new begin value for the single touch movement when coming from a multitouch.
View 2 Replies
View Related
Mar 1, 2010
it should not zoom in too much (x < minZoomLevel etc) or zoom out too much (only one size - width or height - can get smaller than the display size)
View 2 Replies
View Related
Sep 22, 2010
I'm trying to do is draw circles around two points that are being touched, and as the fingers drag along on the screen, have these circles follow each finger.
However, I'm getting some weird behavior that I can't figure out. So when I place two fingers on the screen I get my circles no problem. When I drag around with the two fingers everything works like I want it. However, if I lift the first finger, everything stops redrawing, and the second finger that is still on the screen stops being tracked. If I place the first finger back on, everything behaves good again. I figure I must be handling the two fingers poorly.
Also, if I have two fingers on the screen, and I lift and touch the second finger, everything behaves well. It's only in the case where I have two fingers and I lift the first one do I see a problem.
CODE:........................
View 1 Replies
View Related
Jan 10, 2010
I know that there are browsers like dolphin or xscope that allow multitouch zoom, but I was wondering about something else. I actually happen to like the default browser better than those two, I really just want multitouch. I'm no developer, but I was wondering how possible it would be to take the default browser, and add nothing to it but the multitouch zoom.
View 1 Replies
View Related
Mar 23, 2010
How we can find whether Multitouch support is available or not in various device?
I tried like this:
CODE:............
How we can use that.
View 3 Replies
View Related
Feb 17, 2010
I'm seeing a bug with overlays on MapView with the Nexus One. Pinch and zoom multitouch gestures don't scale my overlays until the user releases the gesture, at which point the overlay redraws itself. In contrast, the My Location overlay in Google Maps WILL scale during the gesture. Is there a way to fix this in my app, or is this a MapView bug?
View 2 Replies
View Related
Dec 19, 2009
Is multitouch available to Android app developers? I've heard its on the new 2.0 version but only seen it accomplished on the Internet browser.
View 2 Replies
View Related
Nov 2, 2009
I had assumed that the Motorola Droid supports the new multitouch APIs in Android 2.0, but the reviews of the device I've seen so far say that it isn't used, at least in the built-in apps like the browser (e.g: http://www.engadget.com/2009/10/30/motorola-droid-review/ ). Apparently though, it is supported on the upcoming GSM version of the same handset [url], so perhaps it is just an issue of whether the driver is included on the Droid version of the software. Can anyone with access to a Droid confirm whether the multitouch API works on it?
View 2 Replies
View Related
Jul 18, 2009
I need to zoom-in/zoom-out for my app. Multitouch would be the most obvious way to go about this *sigh*. I would prefer not to use the zoom-in/out widget. I have been trying a number of other techniques but am not satisfied with the feel. Looking for suggestions from the community on alternative approaches. A one fingered zoom?
View 17 Replies
View Related
Jan 17, 2010
I recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should be multiple pointers provided.
Unfortunately, I only have a G1 to test on and it's running Android 1.5 and not 2.0.
Is there any way to test multitouch without a 2.0 device? In the iPhone simulator, you can hold down option and shift option to perform two fingered pinch and two fingered drag, respectively. Is there any similar functionality in the Android emulator? Is it something I should expect to see in the future, or should I just suck it up and buy a new test phone?
View 5 Replies
View Related
Apr 29, 2010
I am attempting to write an application which will require the user to press, at maximum, four "buttons" (ie regions of the screen) at any one time. I have been looking at the multitouch capabilities of the SDK versions > 5, the MotionEvent.getPointerCount() appears to return the number of presses detected on the screen. *What is the maximum number of presses this function will ever return?*
I went digging through the android source code for the MotionEvent class, and couldn't deduce anything from that, I am wondering if the maximum number of presses is heavily hardware dependent? I modified the MultiTouchVis code by Robert Green (from Battery Powered Games) to report the number of presses reported by MotionEvent.getPointerCount() each frame and on my Milestone it consistently reports a maximum of 2 presses. Is this a hardware thing, or does the sdk limit it to 2 presses?
Is there any way to register more than 2 presses at a time? I'm making a musical application and would like the user, for example, to be able to play chords by pressing multiple keys at any one time.
View 2 Replies
View Related