[android-developers] Error on using ksoap2-android with the example from Falafel

2010-09-27 Thread sonic
Hey guys, I try to build just a simple soap test its same as example from farvale http://vimeo.com/9633556 but what's the matter, it doesn't work for me ... ;( I'm using eclipse 3.6.0 with latest add-in coding for 1.5 -- testing on 1.5 virtual and real phone, it basically should work with 1.5,

[android-developers] Key Injection INJECT_EVENTS

2010-05-14 Thread Sonic..
Hello, I am trying to develop an application to provide remote of my Android phone onto a desktop. Now I am able to send the pointer and key events to the listening thread, but when I try to use the WindowManager API's injectKeyEvent injectPointerEvent, then I receive an error for Permission

[android-developers] desktop remote on phone

2010-05-03 Thread Sonic..
Hello, I wanted to create an application that can be used to take the remote connection of an android phone, on a desktop running Windows, using a USB connection. So all the activity that can be performed on the handset, should be visible on the desktop. Also, If the user interacts with the PC

[android-developers] Re: Moving two views together

2010-04-18 Thread Sonic..
Hey, if you could please give me more details for the same. I'm still a starter in android development. On Apr 13, 6:34 pm, social hub shubem...@gmail.com wrote: hack into onmove onscroll onfling methods and pass them to  other view On Tue, Apr 13, 2010 at 6:25 AM, Sonic.. abhishek.bansal1

[android-developers] Re: Moving two views together

2010-04-18 Thread Sonic..
of a listview. I tried to do something with the OnScrollListener but couldn't find much help. Can I use the OnScrollListener and using the view given I can scroll both the lists. On Apr 19, 10:50 am, Sonic.. abhishek.bansal1...@gmail.com wrote: Hey, if you could please give me more details

[android-developers] Moving two views together

2010-04-13 Thread Sonic..
Hello, I currently have one Scrollview which contains a table layout and one list in my activity. Now my problem is that I wanted to move both of them(Scrollview and list) together and with proper synchronization... So if scrollview is being scrolled then listview should also scroll with the same

[android-developers] Applying animation to all the items in the list at once

2010-04-05 Thread Sonic..
Hello, I have a list view, wherein I need to apply an animation of sliding the list items to the left in case of a horizontal fling. Now I need to apply this animation to all the list items at once. I tried Google it, and I believe I could use setLayoutAnimation for each list item. and that

[android-developers] SQL simple selection - urgent help needed

2010-03-29 Thread Sonic
Hi all, I need urgent help with a simple selection I am having difficulty with. I am trying to return a value of a Double called startPosition, where trackName is equal to a name of a string. The query doesnt seem to be returning anything, here is the code from my DbAdapter. Java: public

[android-developers] Raw sound file as ringtone

2010-03-11 Thread Sonic
Hi all, I am using the following code trying to pull an .mp3 or .ogg file from my raw directory and saving it to the sd card and activating it as a ringtone. Although, it keeps failing for some reason or another and doesnt actually copy the new file to the sdcard. Any ideas please? public

[android-developers] Draw clock like minute hand

2010-02-04 Thread Sonic
Hi all. Just a quick question, how would i go about implementing a clock like hand that rotates around a centre point to different positions depending on a value. e.g. I send it a value of 3, and it points to the 3'o'clock position of a circle. protected void onDraw(Canvas

[android-developers] Scrolling Programmatically in a table

2010-01-25 Thread Sonic..
Hello, I have a table with a number of rows excedding beyond the screen size, so I'll have to implement scrolling for them. But my problem is that I don't have to use ScrollView Or HorizontalScrollView for this purpose. I want to programmatically scroll the table both vertically and horizontally.

[android-developers] Example on how to use Scroller in an activity

2010-01-21 Thread Sonic..
Hello I tried googling for any example on how to use Scroller for doing manual handling of scrolling, but couldn't came across one. I would be grateful if anyone could please help me out in this, on how to use a Scroller in an activity. Thanks in advance -- You received this message because

[android-developers] Re: Example on how to use Scroller in an activity

2010-01-21 Thread Sonic..
I know, but then I require to move two seperate layouts horizontally simultaneously. and these layouts are not child of one parent, so it's not possible to add them in a single HorizontalScrollView. It is for this reason that I thought that I need to scroll them programmatically using Scroller.

[android-developers] Table Layout Fixed Header row

2010-01-19 Thread Sonic..
Okay, so I've got this TableLayout, and its full of data - with all of the rows added programmatically. I've got the TableLayout inside of a HorizontalScrollView, which in turn is inside a ScrollView - this gives me scrolling both horizontally and vertically. What I'm trying to do now is add a

[android-developers] Binding Service to Activity

2009-12-16 Thread Sonic..
Hello, I am working on an android application, where the activity binds to a local service to perform certain tasks. Now I am binding the service in the OnCreate method of the Activity, after which the activity has to use the service object to invoke the functionality defined in the servicein

[android-developers] Drawing

2009-10-07 Thread Sonic
Hi, just a simple question which i'm unsure how would be implemented. Say you have an int called X which is constantly changing, X could equal 0, 10, 20, 30, 40, 50. Now when X is equal to 0, I want it to draw a circle at the bottom if the screen, when X is equal to 50 it will draw an circle at

[android-developers] Question regarding GPS

2009-10-03 Thread Sonic
Hi All, I'm wondering how I would go about the following: An int value is sent to a textview called X for example, the value of X is constantly changing, so x could equal any int. Now what Im unsure how to implement is, if we say X equals 10, I want to be able to time how long it takes

[android-developers] Re: Question regarding GPS

2009-10-03 Thread Sonic
the start threshold then set a member variable to the time. When you go above the end threshold then subtract that from the current time to get the time elapsed. On Oct 3, 11:43 am, Sonic nitroussi...@googlemail.com wrote: Hi All, I'm wondering how I would go about the following

[android-developers] Re: Question regarding GPS

2009-10-03 Thread Sonic
stable approximation. On Oct 3, 6:08 pm, Lance Nanek lna...@gmail.com wrote: When you first go above the start threshold then set a member variable to the time. When you go above the end threshold then subtract that from the current time to get the time elapsed. On Oct 3, 11:43 am, Sonic

[android-developers] Re: Two SurfaceViews in a FrameLayout

2009-09-17 Thread sonic
On 28 Jul., 11:18, Chris chrismc...@hotmail.com wrote: Now, I managed to use two SurfaceViews and making one transparent. It would be very nice if you could post some code showing how you do this! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Urgent: ListView icon problem

2009-08-29 Thread Sonic
Hi all, I would be VERY greatful if you could help me with this one, its literally driving me insane, been trying to do this for 2 days now. I have a listview, now what I want to do it is, when a position in the listview gets clicked on, it changes the icon for that position, to a drawable