Android :: How Does Touch Gesture Processing?

Dec 15, 2009

I want to know that android has a touchscreen requirement about hardware and software.And how does touch gesture processing where, for example, in driver layer or framework or application,

Android ::  how does touch gesture processing?


Android :: Processing Raw Audio Data

Apr 10, 2009

I want to develop an app that lets one intercept raw audio data sent for playback (possibly by a different app), and apply audio enhancements over this raw data.Does Cupcake allow such filtering of audio data? If so, which API should I use? I understand this may not be possible at an application level for security reasons.I'm trying to see if this is possible with native code linking to public or private API of Android.

View 3 Replies View Related

Android :: Processing RSS Feeds With Namespaces

Apr 23, 2010

I'm trying to write an XML parser that takes an RSS feed & fetches the image urls shown in the url attribute of the <media:thumbnail> tag. This is all being done via android.Util.Xml, & is an adaptation of the code shown here. An example RSS feed that I'm trying to use is the BBC News RSS feed. However, media is an additional namespace & (probably) as a result my parser isn't working as it should. A version of my parse method is below. Is there any (no doubt simple) way to get my list of image URLs working?

..................

View 2 Replies View Related

Android :: WebView And Response Processing

Nov 8, 2010

Currently, I use a regular activity with some EditText fields as a registration screen in my application.The inputs are used to construct a soap message which is posted to the registration server, with the response being parsed to do some configuration of the application.I'd like to change this to have the registration page load in a WebView instance, so that the registration process takes place on an external web page.This would make it easier to make changes to the registration process without having to deploy a new build, as it would just be a matter of changing the web page that is loaded in the WebView.The question is would there be any way for me to get the response that is sent back from my registration server to the client? From what I can tell, if I went this route, there wouldn't be a way for me to parse the response like I currently do to initialize the application settings.

View 2 Replies View Related

Android :: Activity Background Processing

Apr 17, 2010

"Note that when you write an activity, you can make it stop or continue running when it is moved to the background (see onStop() in Activity Lifecycle). For activities that download data from the network, it's recommended to let them continue downloading so the user can multi-task." As far as I was aware I had to create a service if I wanted to have a background activity such as a media player, internet download, or processing of data in files on the SD card continue when the activity was no longer in the foreground.I went and reread the onStop information on the "Activity Lifecycle" page, which was referred to. But I didn't find any mention of how an activity might continue to run in the background after onStop was called.

View 3 Replies View Related

Android :: Processing Events In SurfaceView

Jun 10, 2009

I am creating a custom Widget which extends SurfaceView and I am planning to use it for camera preview.In the main activity I tried to implement some event listeners but can't catch any event.If I press a button the LogCat outputs "Continuing to wait for key to be dispatched" line.Does anyone know how to implement event listeners in main activity using SurfaceView classes?

View 3 Replies View Related

Android :: App Is Getting - Trouble Processing - Error

Aug 10, 2010

My android app was running ok under Eclipse, then I tried to add some GridView sample code from some online examples and now it will not build/run anymore.

I keep getting the major error:

CODE:..

Attempt to include a core VM class in something other than a core library.

I have never put anything to do with 'SocketFactory' in any of my code. I searched all of my code and can't find any code that I did that contains the SocketFactory.class.

I deleted my xml's and classes that I was working on that had to do with the GridView and reverted back to the code I had before, when it was running - but now I continue to get the above error. I even try to use 'Clean' but the error continues. Does anyone know what I should do about this error?

View 1 Replies View Related

Android Image Processing Functions

Oct 15, 2011

I want to perform various image processing functions such as threshold,equalize etc on the image i capture from the camera...What should i use in order to do that?

Also,when i installed the app in my phone, after clicking the pic, the next screen appears, and after clicking the button for performing other functions, force close comes up...what could be the reason,because my code works fine without the camera portion...

View 2 Replies View Related

Android :: Gesture

Jul 31, 2009

I would like to know what is meant by gestures in typical mobiles more specifically android ones. Android supports gesture recognition.

Is a gesture termed as when user holds the device and shakes it(say upwards, downwards or side- side)?
Is a gesture termed as when a finger is placed on the screen and traced UP,DOWN,RIGHT,LEFT? If so what is the difference between touch screen and gestures.

I am confused between 1) and 2) option.

What is a gesture exactly?

View 3 Replies View Related

Android :: Processing And Regular Input Apps

Oct 7, 2010

Processing has Android support and it seems to be pretty awesome from my 10 minutes of playing with it. But I would like to make a regular (nongraphics) application like a twitter feed reader or something. So is there something like Processing that can do regular apps? Besides Titanium.Basically I am looking for anything that will make coding for android easier, processing was so easy to get working that I was very happy with it, but it is for graphics only. Titanium didn't give me the same wow factor and it isn't open so that kind of takes away from it. What other tools are out there?

View 2 Replies View Related

Android :: Image Processing On Picture Taken From Camera

Jan 11, 2010

I'm writing an application for Android. I need to make some image processing on the picture taken from camera.I use Camera.PictureCallback to get the photo, and I get picture in byte array.The problem is I want to make operations on every pixel of photo (some filtering and other stuff) so I guess, have photo in byte array is not a bad idea. But I don't know how interpret information in this byte array... The only way I know to make the processing is use BitmapFactory.decodeByteArray() and then use Bitmap object. Is this a good way to handle a lot of image processing?

View 1 Replies View Related

Android :: Obtaining Video Frames For Processing

Dec 31, 2009

I am trying to decode and obtain all frames in a video stream, each of which would be processed by a native signal processing engine and re-encoded back to a MPEG4/MP4 file. I noticed that there was a getFrameAt() function in earlier versions of SDK but its not available in v 1.6 on which I am working. As I am fairly new to Android, I would like to know from more experienced people around here as to how I can extract video frames into a buffer for processing.

View 2 Replies View Related

Android :: How Can I Do Image Processing On JPEG Data

Apr 13, 2009

I am confused on how to implement image processing algorithm on JPEG data.I have set P.setpicturesize (640,480) so the camera.takepicture (null,null,Imagecapture callbck) returns the image data. Void onPictureTaken(byte[] data, Camera Camera) returns JPEG data, but(x = data.length), the value of x is less than 640*480 bytes.Please kindly let me know how can I start editing pixel information of the image and image comparison algorithms.

View 2 Replies View Related

Android :: Audio Programming / Sound Processing And DSP

Jun 23, 2010

The application allowed its users to control the volume of the artist; even mute it.How is this possible?Does adjusting artist sound/setting equalizer etc. mean performing some transformation of required frequencies? What sort of mathematics is required here(frequency domain transformations)?The application recorded users voice input via a mic. Assuming that the sound is recorded in some format, the application was able to mix the recording with the karaoke track(with artists voice muted). How can this be done?Did they play both the track and voice recording simultaneously? Or maybe they inserted additional frequency(channel?) in the original track, maybe replaced it?What sort of DSP is involved here? Is this possible in Java, Objective C?

View 1 Replies View Related

Android :: Real Time Audio Processing

Feb 13, 2010

I'm trying to figure out how to write an app that can decode audio morse code on the fly. I found this document which explains how to record audio from the microphone in Android. What I'd like to know is whether it's possible to access the raw input from the microphone or whether it has to be written/read to a file.

View 3 Replies View Related

Android :: Optimizing Image Processing Algorithms

Aug 19, 2010

I am developing a mobile application that involves complex image processing operations. The app is designed in Java while the core image processing ops are implemented in native code, and compiled using the Android NDK.Now, I know that native code will *not* yield any significant performance improvement over Java code, and that the NDK purpose is only to support re-use of code libs (or to quickly integrate legacy code).are there any resources/tips-n-tricks/white papers/ samples on optimizing image processing algorithms for Android? To be even more specific, I am looking out for optimizing memory operations (cache misses, memory stalls, etc.). I profiled my application code and came to the conclusion that memory issues are causing the *maximum* performance penalty. (Nothing surprising over there, it is expected, but just verified with profile data as well).

View 1 Replies View Related

Android :: Java Example Of Processing JSON Response?

Aug 27, 2010

I am writing a simple Android app and have a database that will send back information into the app. I am new to Android and am looking for a simple example that demonstrates how the Android App can process a JSON response received from a HTTP request. I need to see what classes are used for Android apps to process a HTTP response. A reference to a good tutorial, or if you're keen, write a very basic method to do the job.

View 1 Replies View Related

Android :: Processing Video And Sound On Phone

May 19, 2010

I want to merge a sound file and a video file (remove the sound from the video file and replace it with my own sound) and this should happen on the phone.I have done this through ffmpeg, but I can't do that now.Any help appreciated,

View 1 Replies View Related

Android :: Get Performance Increases Using Processing For Droid?

Oct 14, 2010

I have converted a few of my Processing sketches into Android apps, but they seem to run really slowly in the emulator and on my device.

Are there any tips on how to increase the speed and performance of my sketch running as an Android app? Are there things or parts of the Processing API I should avoid?

View 1 Replies View Related

Android :: Gesture Over A Button

Oct 6, 2010

I create some gestures and they are working, but if I add a button the gesture doesn't work over the button. I split the display resolution to make different gestures and i get x, y coordinates. If i make a gesture starting with the button the coordinates are both 0, only under them i get normal coordinates. It's like the coordinates are starting only after the button.

View 1 Replies View Related

Android :: Gesture In Listview

Oct 13, 2010

I have to add a gesture to my listview,i want to implement the same functionality of contact application.
when i left swipe it should send a message,right swipe it should call. can anyone help me how to do those gesture detection... i have implemented it in various other views... but i couldn't do for listView... i don't what going worng...

My code is:

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

View 1 Replies View Related

Android :: Way To Allow For Pre / Post-processing Of All Notifications And Additional Workflow?

Nov 2, 2010

Or extend it in some way to allow for pre/post-processing of all notifications and additional workflow?

View 6 Replies View Related

Android :: Catching AudioRecord Exception When Not Processing Fast Enough

Jun 19, 2009

In the Eclipse log I can clearly see a warning pop up (something about buffer overflow) every time I don't read from the AudioRecord buffer fast enough and consequently miss a chunk of audio samples. Is there any way I can detect that notification programatically so I know exactly when I have missed a chunk?

View 2 Replies View Related

Android :: Handling Out Of Memory Exception On Image Processing

Sep 16, 2010

This is the sequence part of this question: http://stackoverflow.com/questions/3674441/combining-2-images-overlayed

so the problem is: if the image size is too big - it'll got an exception (out of memory exception)
what i want is, to handle even if the handset got the lower spec hardware, it doesn't go to that exception (but it'll take a longer time to process the image) is it possible to do that?

The code snippet is like this:

CODE:......

And that block of code is inside the async task.

View 1 Replies View Related

Android :: Processing More Than One Button Click At Droid Widget?

Mar 18, 2010

I saw this topic and implement IntentService as describes, but what if I want more that one button? How can I distinguish button from each other?
I'm trying to setFlags, but cannot read it at onHandleIntent() method code...

At this little piece of code I have two PendingIntent linked with setOnClickPendingIntent, can I distinguish this intent for different actions and processing?

View 1 Replies View Related

Android :: Crash On Gesture Recognize

Sep 3, 2010

I got a crash with the following stack trace:

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

Line 130 in my code is: ...........

What's wrong and what checks can I perform on gesture before sending it to recognize to avoid this crash?

View 5 Replies View Related

Android :: Gesture Recognition Library

Apr 11, 2009

I had developed a simple gesture recognition library for Android (not for accelerometer; I mean touchscreen - finger gestures). I had to abandon it for quite a while, but recently I was able to clean it a bit and port it to 1.0 SDK. It is released under GPL. Here are some sample videos:

http://www.youtube.com/watch?v=C7A6OHWfSOE [url]

View 7 Replies View Related

Android :: New Gesture Recognition Application

Apr 30, 2009

http://android-wydiwyg.blogspot.com/

Me and some of my friends have made a gesture recognition application for android. It allows you to customize gestures that will call, text, or email one of your contacts or launch an application. Please check out our blog and demonstration video and comment to let us know what you think.

View 2 Replies View Related

Android :: Gesture Or Shorthand Keyboard

Apr 30, 2010

I got pretty good at using the Palm shorthand for entering text. I'm pretty sure that a similar "shorthand keyboard" would work out well on the Android phones, but I haven't seen any apps that will replace the keyboard with a "shorthand" pad.

View 2 Replies View Related

Android :: ScaleGestureDetector Not Detecting Gesture End

Oct 31, 2010

I have hooked in a ScaleGestureDetector to an OnTouchListener as instructed in Android documentation. For some reason the ScaleGestureDetector does not always detect end of a pinch gesture. This happens mostly when pinching fast from large to small.

The effect is that after I have released both fingers the detector does not fire the gesture end event. If I touch the screen with one afterwards it still thinks I'm continuing the scale gesture (keeps firing onScale events). I have to do another gesture to get the detector to fire end event.

I have added logs to the OnTouchListener and when the scale gesture gets stuck I still get motion events normally when using one finger and event.getPointerCount() is 1.

I have made sure that I don't have any other listeners intervening. View that has the onTouchListener is not the only view on screen but this effect happens also when I'm very careful to begin and end the gesture inside this one view.

Is there any way to improve the end detection?

Or if there a way for me to manually set the ScaleGestureDetector to fire onScaleEnd and change scaleGestureDetector.isInProgress() to false?

View 1 Replies View Related







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