[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 killed then we want to get the notification to the
App A (which launched B).Sso that we can launch that activity again or
something like that...


On Fri, Sep 19, 2008 at 9:48 PM, hackbod [EMAIL PROTECTED] wrote:


 What do you mean it is running in the background?  The only reason you
 should get an immediate cancel is if you used the NEW_TASK flag or B
 is a singleTask or singleInstance launch mode, because in that case it
 runs completely independently of its caller.

 What are you trying to accomplish?

 On Sep 19, 2:24 am, vicky panthri [EMAIL PROTECTED] wrote:
  Yeah I m trying to do that.
  I launch activity B from activity A. here B is Background Activity.
  so when B gets launched by A I get the RESULT_CANCELLED but still my
  Activity B is running in the background.
  I want A to be capture or notify when B dies.
  is that possible?
  I tried with the RunningTaskInfo but couldnt get it working.
 
  Kindly suggest
 
  On Fri, Sep 19, 2008 at 12:40 PM, hackbod [EMAIL PROTECTED] wrote:
 
   If you use startActivityForResult(), you will get RESULT_CANCELED if
   the launched activity crashes while it is running.
 
   On Sep 18, 10:29 pm, wiki [EMAIL PROTECTED] wrote:
Is there a way to capture the death event of one activity to another
activity?
say If two actitivities A and B are runnning separately. so can i get
the death event of activity A to B?
or If A launches B then is there a way that A can be notified with
 the
B's death event to B?
 
Regards
 


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 is
asked by Mr.MALIN to you in this post using Content Provider. but not
succeed. as i am very new to Android i have some confusions.
1. If i use Content Provider then it will fetch all images from phone
or from database if i use Content URI like:-content://media/internal/
images.
2. I get an error in,
ContentURI(android.provider.MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI.toURI());

error:-The method toURI is undefined for the type Uri.

3. I get an erroe in,

int imageIndex =
cur.getColumnIndex(android.provider.MediaStore.Images.Media.DATA);
if(imageIndex==0)
{
final String tag2=Niketa;
Log.i(tag2,No files are there);
}

error:-The method getColumnIndex(String) for the type cursor is
deprecated.


my Code is:-

public class ImageCursor extends Activity {
/** Called when the activity is first created. */
 public void onCreate(Bundle icicle) {
 final String TAG2 = TAG2;
 Log.v(TAG2, Start );
 getDataImage();
 super.onCreate(icicle);
}

   public void addImageB(){
ContentValues values = new ContentValues();
values.put(Images.Media.NAME, road_trip_1);
values.put(Images.Media.DESCRIPTION, Day 1, trip to Los
Angeles);
ContentURI uri =
getContentResolver().insert(Images.Media.EXTERNAL_CONTENT_URI,
values);
OutputStream outStream;
try {
outStream =
getContentResolver().openOutputStream(uri);
Bitmap sourceBitmap =
BitmapFactory.decodeResource(this.getResources(),
R.drawable.gallery_photo_3);

sourceBitmap.compress(Bitmap.CompressFormat.PNG, 50, outStream);
outStream.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
Log.e(MYAPP, e.getMessage());
} catch (IOException e) {
e.printStackTrace();
Log.e(MYAPP, e.getMessage());
}

}
 public void getDataImage(){
ContentURI uri = new

ContentURI(android.provider.MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI.toURI());
Cursor cur = this.managedQuery(uri, null, null, null);
final String tag2=Niketa;
Log.i(tag2,NUM);
if(cur != null)
getColumnDataImage(cur);
}

private void getColumnDataImage(Cursor cur){
   // if(!cur.first())
 //   return;
cur.moveToFirst();

int imageIndex =
cur.getColumnIndex(android.provider.MediaStore.Images.Media.DATA);
if(imageIndex==0)
{
final String tag2=Niketa;
Log.i(tag2,No files are there);
}
else
{
final String tag2=Niketa;
Log.i(tag2,files );
}
/*  do {
ContentURI imagePath = null;
String u = cur.getString(imageIndex);
Log.i(MYAPP, +u);
if(u!=null){
try {
imagePath = new
ContentURI(u);
} catch (URISyntaxException e) {
e.printStackTrace();
Log.e(MYAPP,
e.getMessage());
}
Log.i(MYAPP,
+imagePath.toString());
if(imagePath != null){
InputStream is = null;
ContentResolver cr =
this.getContentResolver();
if(cr != null){
 try{
 is =
cr.openInputStream(imagePath);
} catch
(FileNotFoundException e) {

e.printStackTrace();

Log.e(MYAPP, e.getMessage());
}

[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 be
 updated automatically and the count of item is 2.
 But 222 and 333 can be seen. Seems the item 111 was deleted.

 If I close the application and launch it again, there will be 2 items
 111 and 333.

 Do you have any idea?

Are you implementing getView() in ReminderCursorAdapter? My guess is yes,
given the structure of your constructor.

If so, make sure that there isn't some bug in your getView()
implementation, perhaps related to caching views (e.g., view holder/view
wrapper), that causes it to return the wrong view in this case.

Also, how exactly are you deleting 222 from the Cursor?

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 ?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 a command from a tab to another tab.
  I use startActivity and my activities are flagged singleTop in the
  manifest file.
  Unfortunately, instead of focusing the tab, a new activity, taking the
  whole screen is launched...
  What am I missing ? Is this a bug ?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 going wrong for you?

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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);
  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 automatically and the count of item is 2.
  But 222 and 333 can be seen. Seems the item 111 was deleted.

  If I close the application and launch it again, there will be 2 items
  111 and 333.

  Do you have any idea?

 Are you implementing getView() in ReminderCursorAdapter? My guess is yes,
 given the structure of your constructor.

 If so, make sure that there isn't some bug in your getView()
 implementation, perhaps related to caching views (e.g., view holder/view
 wrapper), that causes it to return the wrong view in this case.

 Also, how exactly are you deleting 222 from the Cursor?

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 way to save the bitmap to an image file (and also load
  one from an image file) ?
 
  I'm working on this SDK example:
 
 http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/TouchPaint.html
 
  Thanks,
  Teo
  
 

 



-- 
Teo (a.k.a. Teodor Filimon, Teominator)
Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
GMT +2 (or PDT +10)

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 using some kind of static variable from the API
would be more secure. Is there a place where the values returned by
this method are defined?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 ?

 


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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:
 You can use the various MediaRecorder.setXXX() 
 methods.http://code.google.com/android/reference/android/media/MediaRecorder

 Only audio recording APIs are available in the sdk. For sample code check
 out the SoundRecordingDemo in Files section.

 2008/9/18 ZIN [EMAIL PROTECTED]



  I want to control some recording parameters. Can anyone tell me more
  detail about the function of this Anroid SDK.
  Thanks,

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] ListT

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.ListCard, but when I write the code
for its constructor:

private ListCard mCards = new ListCard();

eclipse Ganymede complains with the error: cannot instatiate the type
ListCard.  I don't understand why!  The class Card works fine.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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)cur_bm.getWidth();
 float imageHeight = (float)cur_bm.getHeight();
 float newHeight = imageHeight / (imageWidth / screenWidth);
 float newWidth = screenWidth;
 scaleWidth = screenWidth / imageWidth;
 scaleHeight = newHeight / imageHeight;
 image.setImageBitmap(cur_bm);
 SetImageMatrix();
}

void SetImageMatrix() {
 Matrix mtrx = new Matrix();
 mtrx.postScale(scaleWidth, scaleHeight);
 image.setImageMatrix(mtrx);
 image.setScaleType(ScaleType.MATRIX);
 image.invalidate();
}

void ZoomIn(float zoom) {
zoom += 0.01;
scaledWidth += zoom;
scaledHeight += zoom;
ShowImage();
}

void ZoomOut(float zoom) {
   zoom -= 0.01;
   scaledWidth -= zoom;
   scaledHeight -= zoom;
}


On 20 сент, 03:00, Baonq86 [EMAIL PROTECTED] wrote:
 I'm researching about Android. I find there is not Zoom picture
 option in Android. Does anyone can help me to built an applicaion
 about Zoom picture ?? Thank you.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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!

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 ApiDemos I see that string-array elements are
supported, in addition to plain array elements; a little
investigation showed that integer-array elements are also supported.

Changing the array to string-array seems to fix the problem. But
it's not documented that this required. I'm left guessing that array
resources defined with an array element are automatically coerced
into types in a way that causes ListPreference instances to fail.

Tom.

On Sep 19, 11:57 pm, tomgibara [EMAIL PROTECTED] wrote:
 This is probably a bug in the Preferences framework, but I'm not
 particularly familiar with the API and the documentation is a little
 sparse, so I thought I'd check first...

 Is there a restriction on the strings that can be used in the
 entryValues array for a ListPreference?

 I define the following two arrays:

     array name=pref_delay_entries
         item30 minutes/item
         item1 hour/item
         item2 hours/item
         item4 hours/item
         item12 hours/item
         itemday/item
     /array

     array name=pref_delay_values
         item180/item
         item360/item
         item720/item
         item1440/item
         item4320/item
         item8640/item
     /array

 For use in the following ListPreference:

 ListPreference
     android:key=delay
     android:defaultValue=360
     android:title=@string/pref_delay_title
     android:summary=@string/pref_delay_summary
     android:entries=@array/pref_delay_entries
     android:entryValues=@array/pref_delay_values
     android:dialogTitle=@string/pref_delay_dialog_title
     /

 That's it, very simple. Running my PreferenceActivity and attempting
 to open the dialog (SDK 0.9 beta) results in the following exception:

 java.lang.NullPointerException
 at
 android.preference.ListPreference.findIndexOfValue(ListPreference.java:
 169)
 at android.preference.ListPreference.getValueIndex(ListPreference.java:
 178)
 at
 android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.jav a:
 190)
 at
 android.preference.DialogPreference.showDialog(DialogPreference.java:
 289)
 at android.preference.DialogPreference.onClick(DialogPreference.java:
 260)
 at android.preference.Preference.performClick(Preference.java:804)
 at
 android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:
 182)
 ...

 Changing the elements of the pref_delay_values to something other than
 numbers removes the exception.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 the demo Views/Layouts/LinearLayout/9.Layout  
Weight, this change causes a WebView to be overlaid on top of the  
list such that the list is partially obscured. Now, any mouse motions  
on top of the WebView seem to make their way to the ListView. The  
embedded WebView object never gets focus. for example, one can hold  
the mouse on top of the WebView and cause the ListView (which is  
obscured) to respond to scrolling action. If you replace the WebView  
with a TextView instead, then the TextView intercepts all mouse events  
as expected.

Any thoughts on where this bug lies and potential workarounds will be  
greatly appreciated.

Thanks,
DS.

---linear_layout_9.xml---
?xml version=1.0 encoding=utf-8?
!--
 Demonstrates a simple linear layout. The layout fills the screen,  
with the
 children stacked from the top.
 --
AbsoluteLayout xmlns:android=http://schemas.android.com/apk/res/android 

 android:orientation=vertical
 android:layout_width=fill_parent
 android:layout_height=fill_parent

 ListView android:id=@+id/list
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:layout_weight=1.0 /

 Button
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:text=@string/linear_layout_9_button /

WebView
android:layout_width=fill_parent
android:layout_height=fill_parent
android:layout_x=500px
android:layout_y=200px
android:background=#
android:clickable=true
/

/AbsoluteLayout
!--
  * Copyright (C) 2007 Google Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an AS IS BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  --




--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ListT

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 ListCard mCards = new LinkedListCard();

On Sep 20, 3:54 pm, totallyweb [EMAIL PROTECTED] wrote:
 I have a class called Card (a playing card, e.g. the ace of spades)
 and want to implement java.util.ListCard, but when I write the code
 for its constructor:

 private ListCard mCards = new ListCard();

 eclipse Ganymede complains with the error: cannot instatiate the type
 ListCard.  I don't understand why!  The class Card works fine.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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. I saw
 multiple posts related to ksoap2 here. So I was hoping there are
 members of this group who are quite familiar wit these concepts. I
 have done the following:

 SOAP_ACTION=helloWorld
 NAMESPACE=http://localhost:9000;
 METHOD_NAME=sayHi
 URL=http://localhost:9000/helloWorld;

 but I got Socekt timeout exception.

 then I tried to use URL=http://localhost:9000/helloWorld?wsdl;

 but the problem persists.

 So I request you for help.

 Thanks in advance.

 On Sep 19, 1:30 pm, Mark Murphy [EMAIL PROTECTED] wrote:

   I was trying to create a soap client on android using ksoap2.

  snip

   Please help here.

  Additional support for ksoap2 probably can be found at the ksoap2 site:

 http://ksoap2.sourceforge.net/

  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  _The Busy Coder's Guide to Android Development_ Version 1.2 Published!

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 documentation here.

On Sep 20, 6:14 pm, adityaw [EMAIL PROTECTED] wrote:
 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. I saw
  multiple posts related to ksoap2 here. So I was hoping there are
  members of this group who are quite familiar wit these concepts. I
  have done the following:

  SOAP_ACTION=helloWorld
  NAMESPACE=http://localhost:9000;
  METHOD_NAME=sayHi
  URL=http://localhost:9000/helloWorld;

  but I got Socekt timeout exception.

  then I tried to use URL=http://localhost:9000/helloWorld?wsdl;

  but the problem persists.

  So I request you for help.

  Thanks in advance.

  On Sep 19, 1:30 pm, Mark Murphy [EMAIL PROTECTED] wrote:

I was trying to create a soap client on android using ksoap2.

   snip

Please help here.

   Additional support for ksoap2 probably can be found at the ksoap2 site:

  http://ksoap2.sourceforge.net/

   --
   Mark Murphy (a Commons Guy)http://commonsware.com
   _The Busy Coder's Guide to Android Development_ Version 1.2 Published!- 
   Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---