hello,

how can I unsubscribe from the android developers message string?

thank you,

Iaroslav



 
  Today's Topic Summary
Group: http://groups.google.com/group/android-developers/topics


how to get the label of the custom address from a contact [1 Update]
Application Model Doc - reference please [1 Update]
Catch HTTP error code with WebView [1 Update]
MediaPlayer Problem [1 Update]
How to end the Application? [1 Update]
Is it OK to use Thread instead of Service in Android home screen widget? [1 
Update]
disable activity transitions [1 Update]
Find/Set Value of Spinner [1 Update]
Adding a new api in android [1 Update]
New AT&T Android Phone [1 Update]
Andriod with XML-RPC weirdness [1 Update]
Regarding Sys time [1 Update]
Inadvertent zoom during text-input since 2.1update [1 Update]
Device Seeding Program for Top Android Market Developers [3 Updates]
how to use undx tool [1 Update]
SDK And Avd Manager Slow Downloads and Stalls [1 Update]
Multitouch seems badly broken on Nexus One 2.1-update1 [1 Update]
LocationProvider changes since 1.5? [1 Update]
Web Application Dev - Zoomed Image Quality [1 Update]
SMSManager deliveryIntent [2 Updates]
Text in a circle that rotates on touch [2 Updates]




  
  
   Topic: how to get the label of the custom address from a contact

  
    
      valentin popa  Mar 04 05:28AM -0800
        ^

      
       

      Hi,

I'm trying to get the custom address label from a contact. For example

if someone is adding a new custom address into a contact he/she can

also give a name description (a label) of that address. I know how to

indetify the type of the address but I don't know how to retrieve the

label.  If you have any ideea please help. (I'm trying to do this in

SDK 2.0.1 and up).

Thanks in advance!


      
 

    
  

  
  
   Topic: Application Model Doc - reference please

  
    
      nuvibob  Mar 04 07:36AM -0800
        ^

      
       

      Someone referred to the "Application Model Doc" in a post and I am

looking for such a doc with that title.  Can some provide a link?  It

is in reference to methodology to have a notification interact with an

application.

 

"Application Model doc, which outlines two of the

most common ways to have notifications interact with applications. "


      
 

    
  

  
  
   Topic: Catch HTTP error code with WebView

  
    
      Manuel Vela  Mar 04 07:37AM -0800
        ^

      
       

      Hello!

Is there a method to catch HTTP error codes with a WebView?

Because my goal is to capture a 401 code but nothing happen with

"onReceivedError".

 

Thanks for your answers!


      
 

    
  

  
  
   Topic: MediaPlayer Problem

  
    
      Bholu  Mar 04 05:08AM -0800
        ^

      
       

      Hi,

 

I have already developed MediaPlayer Application for Android 1.5.

 

In this mediaPlayer, I have created Local Server in Android  which

download data from Media Player

 

Server and that Local Server is passed data to Media Player.

 

MediaPlayer is Successfully Running on Android 1.5.

 

But, When I am going to try this media player source code in android

1.6(higher Version)  then Media

 

Player is unable to play data.

 

what Is reason I do not know? but When I am going to dig my source

code then I found that MediaPlayer  is unable to called

"onPrePared(MediaPlayer mp)" because MediaPlayer Process is going to

stuck in

 "prepareAsync()" Function..

 

Can you tell me when this happens?

 

Thank you in Advance..

 

Regards

Bholu

 

play data.


      
 

    
  

  
  
   Topic: How to end the Application?

  
    
      vinoth  Mar 04 03:29AM -0800
        ^

      
       

      How to exit from the whole application.?(Not from the Activity)


      
 

    
  

  
  
   Topic: Is it OK to use Thread instead of Service in Android home screen 
widget?

  
    
      kknight  Mar 04 10:15AM -0800
        ^

      
       

      I am writing a home screen widget following Jeff Shakey's tutorial,

http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html.

 

This tutorial uses service to avoid any ANR timeouts. I just wonder,

can I use Thread instead of service to do the work of getting data and

updating RemoteViews? I don't want to create a service, because Thread

is easier to handle and pass data into Thread.

 

Thanks.


      
 

    
  

  
  
   Topic: disable activity transitions

  
    
      Hekki  Mar 04 03:57AM -0800
        ^

      
       

      Hi,

 

Romain Guy in a recent twitter mentionned the

overridePendingTransition which is api level 5 :

http://d.android.com/reference/android/app/Activity.html#overridePendingTransition(int,
 int)

 

Api level 5 is Android 2.0.

 

To use this function only if it exists in order to maintain Android

1.5 compatibility you need to look at the getMethod/invoke pattern.

 

For example, I use it to check if there is multitouch support (api

level 5 as well).

 

First you check if a method exists in a particular class using

getMethod wich throws a NoSuchMethodException if it's not found :

try {

        getPointerCountMethod=MotionEvent.class.getMethod("getPointerCount",

int.class);

}

catch (SecurityException e)

{multiTouchExistInSdk=false;e.printStackTrace();}

catch (IllegalArgumentException e)

{multiTouchExistInSdk=false;e.printStackTrace();}

catch (NoSuchMethodException e)

{multiTouchExistInSdk=false;e.printStackTrace();}

 

Then later on when you want to actually use the method in your code :

 

if (multiTouchExistInSdk) {

  multitouchSdkObject=getGetPointerCountMethod.invoke(event);

  int numberOfPointers=((Number)multitouchSdkObject).intValue();

}

 

Hope that helps.

 

Yahel


      
 

    
  

  
  
   Topic: Find/Set Value of Spinner

  
    
      Phuah Yee Keat  Mar 04 09:18AM -0800
        ^

      
       

      The question is how to get from "red" to "2", getSelectedItemPosition

is to get from "2" to "red", I am facing exactly the same problem as

the first poster. The way I do it is by bruteforce, looping thru

everything in the adapter and comparing the "red" to each of it.


      
 

    
  

  
  
   Topic: Adding a new api in android

  
    
      Anandi  Mar 04 05:26AM -0800
        ^

      
       

      Hi all,

 

I am a beginner in android development. I want to add a new api in

android. Can anyone please provide some information on this?

 

I refered to one readme available on net, but i felt lost while

following it.

 

Thanks in advance. Looking forward to some good information.

 

Regards,

Anandi


      
 

    
  

  
  
   Topic: New AT&T Android Phone

  
    
      Selig Arkin  Mar 04 10:45AM -0800
        ^

      
       

      According to some reviews the new Android phone from AT&T Replaces

Google with yahoo as the default search engine. from a littke poking

around to switch it back I just need to install the GoogleSearch

package thing from the tree - since this phone is not yet out, I can't

be sure, but Am I on the right track with this? Terribly sorry if this

is the wrong group,


      
 

    
  

  
  
   Topic: Andriod with XML-RPC weirdness

  
    
      MikeK  Mar 04 11:14AM -0800
        ^

      
       

      I have some well-debugged XML-RPC interfaces on a site that work

wonderfully from both PHP and from JAVA. Using Eclipse I am able to

write Java apps using either the Redstone or Apache XML-RPC libraries

quite simply. These test cases using the 2 libraries utilize

JavaSE-1.6 (jre6) libraries as well as one of the 2 xml-rpc libs

referenced above. No problems.

 

My problem is making this work on Android. I have added ADT to my

Eclipse setup and easily executed the HelloWorld test using a virtual

1.6 or 2.1 Android device - no problems.

 

Whenever I go into the Build Path in Eclipse and add the external jars

for either the apache or redstone XML-RPC libs my console goes wacky

with a ton of the following:

 

Ignoring InnerClasses attribute for an anonymous inner class that

doesn't come with an associated EnclosingMethod attribute. (This class

was probably produced by a broken compiler.)

 

If I puch ahead and debug the code when it actually ships off the XML

request I get an exception out of the XML library on permissions of

some sort.

 

Why does this only happen in an "Android" project. These libraries

seem to have no problem running in Non-Android standard java configs.

 

Thanks in advance to anyone who can shed some light on this. Once we

proof the ability to talk to our server we can proceed down the road

of actually porting our app to Android.


      
 

    
  

  
  
   Topic: Regarding Sys time

  
    
      vinoth  Mar 04 02:53AM -0800
        ^

      
       

      How to set the device time via an application? Is there any APIs

available for this?


      
 

    
  

  
  
   Topic: Inadvertent zoom during text-input since 2.1update

  
    
      Low Fuel  Mar 04 10:00AM -0800
        ^

      
       

      Is anyone else seeing this?

 

Since the 2.1 update for the nexus one, when accessing a text input

box inside a webview-based UI, as the keyboard is displayed there is a

zoom-in that occurs.  This wasn't happening before the update, and

doesn't happen in the emulator either.

 

Would appreciate any suggestions on how to fix.

 

Thanks!


      
 

    
  

  
  
   Topic: Device Seeding Program for Top Android Market Developers

  
    
      Breezy  Mar 06 07:24AM -0800
        ^

      
       

      Especially boxes the size of kilos of drugs.  lol

 

I'm sure 2-4 weeks is purely for the sake of giving us a timeline...

It may be 4-5 days, but if they said that and for whatever reason you

didn't get it, someone might throw a fit.

 

We see it all the time...  "Google promised me and they didn't keep

their promise!  I'm getting an online petition signed because that

fixes everything, then I'm going to sue and own Google!"  lol well you

get the gist...  2-4 weeks is probably playing it safe.

 


      
 

    
  
    
      Thomas Riley  Mar 06 09:51AM -0800
        ^

      
       

      Exactly! A perfect example of what you have just suggested would be a

OTA Rom! :P

 

 

 


      
 

    
  
    
      Hekki  Mar 04 02:55AM -0800
        ^

      
       

      Ok,

 

I have to admit, I've been harsh on Google about the Android Market

and the completely broken multitouch, but that's a nice move.

 

I've been struggling with users with phones I don't have, which makes

things very hard to debug.

 

So this phone is very welcome and I really appreciate the gift.

 

Thank you the Google team.

 

Yahel

 

PS : But I'll be back after you on the Android Market and the

Multitouch matters when the euphoria dies :D Lucky for you it might

not be dying too fast :D


      
 

    
  

  
  
   Topic: how to use undx tool

  
    
      pradeep vr  Mar 04 03:46AM -0800
        ^

      
       

      Hi frns plss tel me the complete procedure about how to use undx tool

(undx.jar) to disassemble classes.dex file to get .class files


      
 

    
  

  
  
   Topic: SDK And Avd Manager Slow Downloads and Stalls

  
    
      JBuck  Mar 04 12:55PM -0800
        ^

      
       

      I have been having a problem with the SDK/AVD manager stalling during

downloads.  I google the issue and found a few other people with the

same issue, but no apparent solution.

 

I think I might have found a solution.  If you have Windows 7 / Vista

or the the New TCP stack for XP  I believe it is the TCP/Stack Auto-

tuning that is causing the issue.

 

>From a elevated  Command Prompt

 

C:/ netsh interface tcp set global autotuning=disabled

 

Disables the auto tuning.  Once I did this I no longer had any issues.

 

 

We had a similar issue with some sync software we developed, which

prompted me to look there.

 

---

JB


      
 

    
  

  
  
   Topic: Multitouch seems badly broken on Nexus One 2.1-update1

  
    
      Sebastian Kleinau  Mar 04 04:24AM -0800
        ^

      
       

      Hi,

I am a computer science student working on a FTIR Do-It-Yourself

Multitouch-Table at university.

>From reading many papers about multitouch I know about a capacitive

system called DiamondTouch

where this effect also happens and is called shadowing.

At the Internation Tabletops and Surfaces 2009 conference a paper by

Berard and Laurillau

was published that tries to solve that. Take a look at it:

http://iihm.imag.fr/publs/2009/ITS2009_Berard_DTMultiTouch.pdf

On page 2 figure 2 you will find an image showing exactly the same

problem and the text also

describes why this happens.

If you further search Google for DiamondTouch and how this works you

will understand the problem

and that it is indeed caused by the hardware. I didn't read the papers

in detail but I think it

can't be completely solved by software workarounds (I consider that

nobody would write papers about it if the problem was solved ;) ).


      
 


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

Reply via email to