[android-developers] Observing content on a large scale

2008-09-20 Thread Cliff Spradlin
Hi, Lets say I want to monitor and record every change that happens to contacts. If I use a normal ContentObserver, I can't tell what records have changed -- only that some records have indeed changed. Is there some way to find out what changes have happened when I receive the OnChanged() call?

[android-developers] Re: Ksoap2 terminology

2008-09-20 Thread amishera
The problem is I could not find any server side example. So how am I supposed to know the meaning of say SOAP_ACTION? I published my web service using apache cxf, so I know what should I write in my client side code. But in this case I am completely in the dark and there is obviously no documentat

[android-developers] Re: Ksoap2 terminology

2008-09-20 Thread adityaw
Hello, I think you need to change "localhost" to the actual ip address of your machine. I read about this somewhere but I couldn't find it right now. But you should try it. On Sep 20, 11:17 am, amishera <[EMAIL PROTECTED]> wrote: > The thing is that their website does not have much documentaion.

[android-developers] Re: List

2008-09-20 Thread smuehlst
List is a Java interface that cannot be instantiated. You need to create an instance of a class that implements the list interface, for example: private List mCards = new LinkedList(); On Sep 20, 3:54 pm, totallyweb <[EMAIL PROTECTED]> wrote: > I have a class called Card (a playing card, e.g. th

[android-developers] Bug in focus handling between WebView and ListView

2008-09-20 Thread Disco Stu 010
Hello folks, There appears to be a bug in focus handling when a WebView is partially overlapping a ListView. I am able to reproduce this problem via a simple change to one of the ApiDemos example. If you change the file ApiDemos/res/layout/linear_layout_9.xml to be as given below, and run

[android-developers] Re: Possible bug in ListPreference

2008-09-20 Thread tomgibara
Okay, I think this probably isn't a bug in the preferences now, but I'm still a little in the dark. One issue is that (as far as I can tell) the array resource type isn't documented, at least it doesn't appear in: http://code.google.com/android/reference/available-resources.html Looking at the A

[android-developers] Re: Parse JSON

2008-09-20 Thread Mark Murphy
Nemat wrote: > Can anyone tell me the way I can parse JSON??? Look at the org.json package, particularly the JSONObject(String) constructor. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~-~--~~---

[android-developers] Re: About Zoom picture in Android

2008-09-20 Thread Greenz
Hi, Baonq86. You can use Matrix.postScale, ImageViewer.setImageMatrix(Matrix m), ImageViewer.setScaleType(ScaleType.Matrix)... Example: . float scaleWidth, scaleHeight; float zoom = 0.0f; void ShowImage() { Bitmap cur_bm = BitmapFactory.decodeFile(path); float imageWidth = (float)cu

[android-developers] List

2008-09-20 Thread totallyweb
I have a class called Card (a playing card, e.g. the ace of spades) and want to implement java.util.List, but when I write the code for its constructor: private List mCards = new List(); eclipse Ganymede complains with the error: "cannot instatiate the type List". I don't understand why! The c

[android-developers] Parse JSON

2008-09-20 Thread Nemat
Hi Can anyone tell me the way I can parse JSON??? Thanks in advance... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegr

[android-developers] Re: Turn off Android mobile ??

2008-09-20 Thread ema first
Press the Red-Key (Cancel) On Fri, Sep 19, 2008 at 9:57 PM, Baonq86 <[EMAIL PROTECTED]> wrote: > > Does anyone know to turn off the Android mobile in the eclipse > simulator ?? I pressed at the power button (at the high-left corner) > but it doesn't work. Does the eclipse simulate it ? > > > > -

[android-developers] Re: Recorder Sound

2008-09-20 Thread ZIN
In the SoundRecordingDemo, i think it works well, but after i record, i enter to the Music/Playlists to playback what I have had record, the Simulator says that it can't play this format (.3gpp). What can i do now to solve this problem? On Sep 19, 1:22 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:

[android-developers] screen orientation values in Display class

2008-09-20 Thread Huebi
There are several classes where int values for screen orientations are available (Configuration, ActivityInfo). Unfortunately, none matches the values returned from the Display.getOrientation() method and there is no documentation on the returned values. I can take the ints and compare to them but

[android-developers] Re: Saving a bitmap

2008-09-20 Thread Teo
Cool, thanks, it worked. On Fri, Sep 19, 2008 at 2:53 PM, Mike Reed <[EMAIL PROTECTED]> wrote: > > Bitmap.compress(...) > > This will write the bitmap to an OutputStream, compressed as either JPEG or > PNG > > On Fri, Sep 19, 2008 at 6:07 AM, Teo <[EMAIL PROTECTED]> wrote: > > > > Hi, is there a

[android-developers] Re: the listview can't be updated correctly

2008-09-20 Thread Andrew
yes, i implemented getView(). I got the reason that bindView() should be implemented also. On Sep 20, 7:26 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > I set a CursorAdapter to a ListActivity as below: > > > ReminderCursorAdapter adapter = new ReminderCursorAdapter(this, > > cursor, true); >

[android-developers] Re: v0.9, TabActivity, communicate between tabs with intents.

2008-09-20 Thread Mark Murphy
> I am still looking for the answer ;) Personally, I haven't used the particular part of Android you are inquiring about. Generally, providing source code demonstrating your problem tends to yield more responses on lists like this. Can you give us a sample project that shows where things are goi

[android-developers] Re: v0.9, TabActivity, communicate between tabs with intents.

2008-09-20 Thread Guillaume Perrot
I am still looking for the answer ;) On Sep 12, 11:57 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > No one use intents between tabs on this mailing list ? > > On Sep 1, 5:22 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > Hi, I want to use TabActivity, > > What I want to do is to launch

[android-developers] Re: Linux emulator, EditText in numeric input mode, how to type '0'

2008-09-20 Thread Guillaume Perrot
No one to help me ? :/ On Sep 14, 11:22 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > I didn't found a way to enter 0 on my EditText when it's on numeric > input mode='integer' > I found that other numbers must be entered thanks to keyboard letters: > zer sdf wxc but where the hell is 0 ? --~

[android-developers] Re: the listview can't be updated correctly

2008-09-20 Thread Mark Murphy
> I set a CursorAdapter to a ListActivity as below: > > ReminderCursorAdapter adapter = new ReminderCursorAdapter(this, > cursor, true); > this.setListAdapter(adapter); > > There are 3 items in the listview, "111", "222", 333" > > If I delete the item "222" from the Cursor, the listActivity will b

[android-developers] the listview can't be updated correctly

2008-09-20 Thread Andrew
I set a CursorAdapter to a ListActivity as below: ReminderCursorAdapter adapter = new ReminderCursorAdapter(this, cursor, true); this.setListAdapter(adapter); There are 3 items in the listview, "111", "222", 333" If I delete the item "222" from the Cursor, the listActivity will be updated autom

[android-developers] Re: Image listing

2008-09-20 Thread Pratik Goswami
hello, Thanks for help. Actually i have to make an application in that, i have to fetch all images from phone and display it in thumbnail. So m trying to fetch all images first. but when i use yr code of example List8 then also i get an errors. And also i tried yr code that i

[android-developers] Re: DEATH EVENT

2008-09-20 Thread vicky panthri
yeah u are right..I am launching that activity as a separate task.That is y m getting cancelled. we want to launch an activity via another as a new task which will run as a background activity .And will be responsible for doing some periodic task or something like that. so if "in case" that gets k