[android-developers] Embedding Stand Alone Apps

2008-09-24 Thread Kory

Hi All,

Is it possible to embed a program written in C++/OpenGL into an
android application?

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] RTSP on emulator

2008-09-24 Thread Sunil

1. How to test RTSP on the emulator? I have android sdk 0.9.
2. Which videos codecs are supported on the android phone?
3. Is there a way to launch phone's in-built media player with the
RTSP url ?

Can someone please answer these questions.

Thanks,
Sunil

--~--~-~--~~~---~--~~
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] removeGroup broken?

2008-09-24 Thread ggcespia

In the onPrepareOptionsMenu, we call:
menu.removeGroup(Menu.CATEGORY_ALTERNATIVE);

then, we add items to the Menu.CATEGORY_ALTERNATIVE group like this:

menu.add(Menu.CATEGORY_ALTERNATIVE, 200 + ix, ix, sText);

I track the calls in the debugger and see that the removeGroup is
called.  It then adds the items in a loop based on the selected entry
in the list we are displaying.  The first time the menu is displayed,
it shows up fine.  However, on subsequent calls to
onPrepareOptionsMenu, it continues to add duplicate items in the
menu.add() call even tho we are calling removeGroup.  So, it appears
that removeGroup is not removing the items added into
CATEGORY_ALTERNATIVE group.

Am I missing something, or is this a bug.  I believe this worked fine
in M5 when using SELECTED_ALTERNATIVE as the group ID.

Greg


--~--~-~--~~~---~--~~
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] WebView.clearCache() not work?

2008-09-24 Thread Nickname

As title.

Neither WebView.clearCache(false) ,

Nor WebView.clearCache(true).
--~--~-~--~~~---~--~~
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: qemu emulator flag not supported anymore in the 1.0 SDK?

2008-09-24 Thread Volker Gropp

Hi,

same Problem here with the SDK1.0 emulator on Linux. Im really
missing
the qemu network settings to be able to use the SDK1.0.

Volker Gropp

On Sep 24, 5:38 pm, Cheryl Sedota <[EMAIL PROTECTED]> wrote:
> In the 1.0 SDK, trying to run:  "emulator.bat -qemu-m 256" on Windows
> XP does not work - I get this error:
>
>    w: invalid option -- '-qemu'
>
> This used to work in the beta (0.9) SDK and the emulator's usage hint
> in the 1.0 SD indicates that the option is valid:
>
>   -qemuargs...           pass arguments toqemu
>   -qemu-h                displayqemuhelp
>
> Please advise.  Thanks,
> Cheryl
--~--~-~--~~~---~--~~
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: ItemizedOverlay with dynamic items exception problem

2008-09-24 Thread Peter Stevenson

Hi


this can be trigger by not create OverlayItem
 

//customized ItemizedOverlay
protected class FriendOverLay extends ItemizedOverlay

private List mItemList = new ArrayList();

{
public FriendOverLay(Drawable marker) {
super(marker);

*mItemList.add(new OverlayItem(whatAroundMe.currentPoint , "Title", 
"Snippet"));*

populateFriends();
}

public synchronized void populateFriends()
{
mFriendList = DataManager.getInstance().getFriendLocations();
super.populate();
}

@Override
public void draw(Canvas canvas, MapView view, boolean shadow ) {

super.draw(canvas, view, shadow);
boundCenterBottom(marker);

//draw other stuffs...
}
}
}


[EMAIL PROTECTED]
protected OverlayItem createItem(int i) {
   
return mItemList.get(i);
}

@Override
public int size() {
   
return mItemList.size();
}*

hope it helps
Peter




elephantbug wrote:
> Hi, Mark,
>
> Here is the code snip:
> --
> Main Map Screen
> ---
> public class MyMapActivity extends MapActivity implements Observer{
>
>//global array of overlay items
>List mFriendList = Collections.synchronizedList(new
> ArrayList());
>
> public void onCreate(){
>  //init...(omit)
>  ...
>  //add itemized overlay
>   myOverLay = new FriendOverLay(marker);
> mMapView.getOverlays().add(myOverLay);
>
>   //...}
>
>   //observer
>   public void update(Observable o, Object args) {
>   if(args instanceof Byte)
>   {
>   Byte event = (Byte)args;
>   if(event == EVENT_UPDATES)
>   {
> // try to refresh the screen
> runOnUiThread( new Runnable()
> {
>   public void run()
>   {
>   if(myOverLay != null)
>   {
>   
> myOverLay.populateFriends();
>   }
>   if(mMapView != null)
>   
> mMapView.postInvalidateDelayed(5000);
>   }
>
> });
>
>   }
>   }
>   }
>
>
>   //customized ItemizedOverlay
>   protected class FriendOverLay extends ItemizedOverlay
>   {
>   public FriendOverLay(Drawable marker) {
>   super(marker);
>
>   populateFriends();
>   }
>
>   public synchronized void populateFriends()
>   {
>   mFriendList = 
> DataManager.getInstance().getFriendLocations();
>   super.populate();
>   }
>
>   @Override
>   public void draw(Canvas canvas, MapView view, boolean shadow ) {
>
>   super.draw(canvas, view, shadow);
>   boundCenterBottom(marker);
>
>   //draw other stuffs...
>   }
>   }
> }
>
>
> -
> The data manager
> -
> public class DataManager extends Observable{
>
>   private List friendStatus =
> Collections.synchronizedList(new ArrayList());
>
>
>   public List getFriendLocations()
>   {
>   synchronized (friendAccessMutex) {
>   return friendStatus;
>   }
>   }
>
> //will spawn a new thread to update the friendStaus array
> periodically.and call setChange and notify the Map Screen (trigger
> update())...
>
> }
>
> ---
>
> Most of time, it works fine. But sometimes ( I have not found the
> pattern yet), it will trigger ArrayOutOfIndexException
> on the ItemizedOverlay.draw() method.
>
> So basically, my question is how to achieve one screen display the
> dynamic data on ItemizedOverlay?
>
> Any input is appreciated.
>
> Thanks.
>
> --elephantbug
>
>
>
> On Sep 24, 6:34 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>   
>> elephantbug wrote:
>> 
>>> I extend the MapActivity and have an ItemizedOverlay which will
>>> display array of items(For example, people) on top of MapView.  These
>>> items' location are moving and some new items might be added in or
>>> some might be removed. There is another thread managing these items.
>>>   
>>> MapActivity is the observer of these items and update the UI whenever
>>> items changes. It works fine most of time. However, periodically, it
>>> will cause trouble and makes ItemizedOverlay throw ArrayOutofIndex
>>> exceptionrom  getIndexToDraw() method.
>>>   
>>> 

[android-developers] WebView cache

2008-09-24 Thread Nickname

Does WebView use HTTP Modified-After header for cache control?

>From my test result, once after WebView downloads a page, it caches
the page and always displays the cache, regardless whether application
reboots.

Use WebView.clearCache(true) to refetch a page seems inefficient on
network bandwidth utilization.

Any idea of this??? 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] Re: Bug with Ellipsize in ListView?

2008-09-24 Thread Romain Guy

You should check the ascii values of your strings. It looks like a
wrong line return (maybe a \r\n?)

On Wed, Sep 24, 2008 at 10:32 AM, Mark Hansen <[EMAIL PROTECTED]> wrote:
>
> I was implementing a view this morning with Ellipsize and noticed some
> characters appearing after the "..."
>
> http://dl.getdropbox.com/u/26335/ellipsize.png
>
> Notice the middle two lines have a box like it has an
> unrenderablecharacter.
>
> Is this a bug, or am I doing something strange?
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~-~--~~~---~--~~
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: SDK 1.0: what about multipart entities

2008-09-24 Thread shotwave

umm, no, I do not tink that this affects te browser, it is all about
the http clien api included into sdk

On Sep 25, 12:44 am, "Shane Isbell" <[EMAIL PROTECTED]> wrote:
> Does this mean that the browser itself also no longer supports multipart
> content?
>
> Thanks,
> Shane
>
> On Wed, Sep 24, 2008 at 9:38 PM, shotwave <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > the Multipart entities were removed from http commons, so in order to
> > use them in SDK 0.9 we had to use external jars  apache-
> > mime4j-0.3.jar, commons-io-1.4.jar, httpmime-4.0-alpha4.jar. This was
> > was fine for beta and android emulation. But now the phone is here,
> > the SDK is released and not beta anymore and it looks like the
> > multipart entities API is not there. I wonder how this is intended to
> > work? Do we need to implement the http post for forms ourselves? and
> > advice anybody?
--~--~-~--~~~---~--~~
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: SDK 1.0: what about multipart entities

2008-09-24 Thread Shane Isbell
Does this mean that the browser itself also no longer supports multipart
content?

Thanks,
Shane

On Wed, Sep 24, 2008 at 9:38 PM, shotwave <[EMAIL PROTECTED]> wrote:

>
> Hi,
> the Multipart entities were removed from http commons, so in order to
> use them in SDK 0.9 we had to use external jars  apache-
> mime4j-0.3.jar, commons-io-1.4.jar, httpmime-4.0-alpha4.jar. This was
> was fine for beta and android emulation. But now the phone is here,
> the SDK is released and not beta anymore and it looks like the
> multipart entities API is not there. I wonder how this is intended to
> work? Do we need to implement the http post for forms ourselves? and
> advice anybody?
> >
>

--~--~-~--~~~---~--~~
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] SDK 1.0: what about multipart entities

2008-09-24 Thread shotwave

Hi,
the Multipart entities were removed from http commons, so in order to
use them in SDK 0.9 we had to use external jars  apache-
mime4j-0.3.jar, commons-io-1.4.jar, httpmime-4.0-alpha4.jar. This was
was fine for beta and android emulation. But now the phone is here,
the SDK is released and not beta anymore and it looks like the
multipart entities API is not there. I wonder how this is intended to
work? Do we need to implement the http post for forms ourselves? and
advice anybody?
--~--~-~--~~~---~--~~
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] Google Chrome or WebKit on Android?

2008-09-24 Thread Ramon Rabello

Since the release of Google Chrome I've been thinking the possibility
of the new browser being integrated with the Android Platform insted
of WebKit. Hence, Android-based mobile devices users will benefit from
awesome features bundled in the browser. Let Android Engineers think
about this :)
--~--~-~--~~~---~--~~
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] Sleep Rhythm Alarm Clock App

2008-09-24 Thread Svetzy

I have a very interesting app that I would like to get created, and  I
was wondering if anyone was looking for a good project and would be
interested in taking it on. I am not a programmer and, having just
started a new job, do not have time to learn.

The idea came from happywakeup.com, where they have developed the
application for Nokia phones only and sell it for 50 euros.. In short,
it's an alarm clock add-on that uses the microphone of the phone to
start monitoring your level of restlessness as you near your pre-set
wake time in order to awaken you when you're in the lightest possible
part of your sleep rhythm. The logic behind the app is fairly
straightforward, but I don't know how difficult it would be in
execution.

If nobody here could/would want to create this, is there a better
place for me to post this request?

Thanks,

Svetzy

--~--~-~--~~~---~--~~
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] tracing a phone

2008-09-24 Thread sukanto

is it possible to locate a phone from another phone if

i) the GPS is not activated in the phone
ii) the GPS is activated in the phone

My idea is to trace a phone and show it on google map

is it possible to trace it from some other phone at all?
Reply ASAP
Thanks in advance ..

sukanto

--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread johnboker

Same here... looks like all the updates are timing out, this may take
a while.

On Sep 24, 7:12 pm, u4Ya <[EMAIL PROTECTED]> wrote:
> Yes me too.  It appears to be frozen.  About 10% of the way done on
> the status bar.  And the jar file being download is stuck at 43%.
> Looks like all the posts for this thread started today, so it might
> just be a temporary issue.
>
> On Sep 24, 2:21 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
>
> > Yeah im having the same issue, actually seems to be frozen up.
>
> > On Wed, Sep 24, 2008 at 2:16 PM, blindfold <[EMAIL PROTECTED]> wrote:
>
> > > The ADT plugin can be downloaded and handled manually via
>
> > >http://code.google.com/android/adt_download.html
>
> > > but apart from ADT, yes, Ganymede is for me too going through a
> > > lengthy update session, currently about halfway through.
>
> > > On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
> > >> Anyone else having this problem???
>
> > >> After hitting "Install" for the ADT and Editor through the Software
> > >> Updates screen, I get a progress dialog that says "Resolving
> > >> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> > >> on 32-bit Windows XP.
>
> > >> The progress bar below shows it's (really, really slowly) downloading
> > >> a bunch of jar files, stuff like
>
> > >>http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>
> > >> and it's just taking an indescribable amount of time... judging from
> > >> the progress bar it looks like it may take hours to download this.
>
> > >> Is anyone else having trouble downloading the ADT plugin?
>
> > --
> > ~chris

--~--~-~--~~~---~--~~
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: ItemizedOverlay with dynamic items exception problem

2008-09-24 Thread elephantbug

Hi, Mark,

Here is the code snip:
--
Main Map Screen
---
public class MyMapActivity extends MapActivity implements Observer{

   //global array of overlay items
   List mFriendList = Collections.synchronizedList(new
ArrayList());

public void onCreate(){
 //init...(omit)
 ...
 //add itemized overlay
  myOverLay = new FriendOverLay(marker);
  mMapView.getOverlays().add(myOverLay);

  //...}

  //observer
public void update(Observable o, Object args) {
if(args instanceof Byte)
{
Byte event = (Byte)args;
if(event == EVENT_UPDATES)
{
// try to refresh the screen
runOnUiThread( new Runnable()
{
public void run()
{
if(myOverLay != null)
{

myOverLay.populateFriends();
}
if(mMapView != null)

mMapView.postInvalidateDelayed(5000);
}

});

}
}
}


//customized ItemizedOverlay
protected class FriendOverLay extends ItemizedOverlay
{
public FriendOverLay(Drawable marker) {
super(marker);

populateFriends();
}

public synchronized void populateFriends()
{
mFriendList = 
DataManager.getInstance().getFriendLocations();
super.populate();
}

@Override
public void draw(Canvas canvas, MapView view, boolean shadow ) {

super.draw(canvas, view, shadow);
boundCenterBottom(marker);

//draw other stuffs...
}
}
}


-
The data manager
-
public class DataManager extends Observable{

private List friendStatus =
Collections.synchronizedList(new ArrayList());


public List getFriendLocations()
{
synchronized (friendAccessMutex) {
return friendStatus;
}
}

//will spawn a new thread to update the friendStaus array
periodically.and call setChange and notify the Map Screen (trigger
update())...

}

---

Most of time, it works fine. But sometimes ( I have not found the
pattern yet), it will trigger ArrayOutOfIndexException
on the ItemizedOverlay.draw() method.

So basically, my question is how to achieve one screen display the
dynamic data on ItemizedOverlay?

Any input is appreciated.

Thanks.

--elephantbug



On Sep 24, 6:34 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> elephantbug wrote:
> > I extend the MapActivity and have an ItemizedOverlay which will
> > display array of items(For example, people) on top of MapView.  These
> > items' location are moving and some new items might be added in or
> > some might be removed. There is another thread managing these items.
>
> > MapActivity is the observer of these items and update the UI whenever
> > items changes. It works fine most of time. However, periodically, it
> > will cause trouble and makes ItemizedOverlay throw ArrayOutofIndex
> > exceptionrom  getIndexToDraw() method.
>
> > Anyone can help me why it might happen and what is the best practice
> > to support dynamic data bind for ItemizedOverlay?
>
> Without seeing your implementation of your ItemizedOverlay subclass, it
> is difficult to make many suggestions.
>
> Bear in mind that if you change the data in a background thread, the
> foreground (UI) thread might still be working off of old information.
> For example, suppose you have six items, and the foreground thread is
> busy drawing those six items on the map. While that is happening, your
> background thread removes one item. The foreground thread has no way to
> know that occurred, so it will try requesting the sixth item...and will
> fail.
>
> Since I don't know how you are telling the MapView that there is changed
> data in the ItemizedOverlay, I cannot make any particular suggestions of
> how to get around this problem. What *may* work is to change the
> contents of your ItemizedOverlay only on the foreground (UI) thread --
> just have the background thread use a Handler or use

[android-developers] ItemizedOverlay with dynamic items exception problem

2008-09-24 Thread elephantbug

Hi,

I came cross this issue sometimes, but have not figured out the reason
yet.

I extend the MapActivity and have an ItemizedOverlay which will
display array of items(For example, people) on top of MapView.  These
items' location are moving and some new items might be added in or
some might be removed. There is another thread managing these items.

MapActivity is the observer of these items and update the UI whenever
items changes. It works fine most of time. However, periodically, it
will cause trouble and makes ItemizedOverlay throw ArrayOutofIndex
exceptionrom  getIndexToDraw() method.

Anyone can help me why it might happen and what is the best practice
to support dynamic data bind for ItemizedOverlay?

Thanks.

--elephantbug



--~--~-~--~~~---~--~~
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: How to access the SMS content provider in SDK 1.0_r1

2008-09-24 Thread kingkung

seriously, what happened to this stuff?

On Sep 23, 11:35 pm, Ernest <[EMAIL PROTECTED]> wrote:
>  Hi,all
>    The sms API in android.provider.Telephony.Sms is removed from the
> new SDK.So how an application access the inbox and outbox of the
> system.I notice that there is a system apk named Mms.apk,it store the
> inbox sms info,but how could access it by content provider or other
> ways?Thank you very much.
--~--~-~--~~~---~--~~
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: How to access the SMS content provider in SDK 1.0_r1

2008-09-24 Thread Ernest

 In the com.android.providers.telephony,there is a database
named mmssms.db stored all sms and mms infomations.

On 9月25日, 上午7时18分, kingkung <[EMAIL PROTECTED]> wrote:
> seriously, what happened to this stuff?
>
> On Sep 23, 11:35 pm, Ernest <[EMAIL PROTECTED]> wrote:
>
>
>
> >  Hi,all
> >The sms API in android.provider.Telephony.Sms is removed from the
> > new SDK.So how an application access the inbox and outbox of the
> > system.I notice that there is a system apk named Mms.apk,it store the
> > inbox sms info,but how could access it by content provider or other
> > ways?Thank you very much.- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread u4Ya

Yes me too.  It appears to be frozen.  About 10% of the way done on
the status bar.  And the jar file being download is stuck at 43%.
Looks like all the posts for this thread started today, so it might
just be a temporary issue.

On Sep 24, 2:21 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
> Yeah im having the same issue, actually seems to be frozen up.
>
>
>
> On Wed, Sep 24, 2008 at 2:16 PM, blindfold <[EMAIL PROTECTED]> wrote:
>
> > The ADT plugin can be downloaded and handled manually via
>
> >http://code.google.com/android/adt_download.html
>
> > but apart from ADT, yes, Ganymede is for me too going through a
> > lengthy update session, currently about halfway through.
>
> > On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
> >> Anyone else having this problem???
>
> >> After hitting "Install" for the ADT and Editor through the Software
> >> Updates screen, I get a progress dialog that says "Resolving
> >> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> >> on 32-bit Windows XP.
>
> >> The progress bar below shows it's (really, really slowly) downloading
> >> a bunch of jar files, stuff like
>
> >>http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>
> >> and it's just taking an indescribable amount of time... judging from
> >> the progress bar it looks like it may take hours to download this.
>
> >> Is anyone else having trouble downloading the ADT plugin?
>
> --
> ~chris

--~--~-~--~~~---~--~~
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] HTC Touch HD skin for Android Emulator ready.

2008-09-24 Thread Olaf Encke

Hello @all.

After creating the HTC Dream skin I got my hands on a nice HTC Touch
HD pic and couldn't resist to turn it into a (two) skin(s) for the
Android Emulator as well. So have a blast and a crazy Android
experience on a shiny new WVGA (480x800) device.

Go grab it here (together with the HTC Dream skin):
http://www.android.encke.net

Happy coding.
--~--~-~--~~~---~--~~
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: ItemizedOverlay with dynamic items exception problem

2008-09-24 Thread Mark Murphy

elephantbug wrote:
> I extend the MapActivity and have an ItemizedOverlay which will
> display array of items(For example, people) on top of MapView.  These
> items' location are moving and some new items might be added in or
> some might be removed. There is another thread managing these items.
> 
> MapActivity is the observer of these items and update the UI whenever
> items changes. It works fine most of time. However, periodically, it
> will cause trouble and makes ItemizedOverlay throw ArrayOutofIndex
> exceptionrom  getIndexToDraw() method.
> 
> Anyone can help me why it might happen and what is the best practice
> to support dynamic data bind for ItemizedOverlay?

Without seeing your implementation of your ItemizedOverlay subclass, it 
is difficult to make many suggestions.

Bear in mind that if you change the data in a background thread, the 
foreground (UI) thread might still be working off of old information. 
For example, suppose you have six items, and the foreground thread is 
busy drawing those six items on the map. While that is happening, your 
background thread removes one item. The foreground thread has no way to 
know that occurred, so it will try requesting the sixth item...and will 
fail.

Since I don't know how you are telling the MapView that there is changed 
data in the ItemizedOverlay, I cannot make any particular suggestions of 
how to get around this problem. What *may* work is to change the 
contents of your ItemizedOverlay only on the foreground (UI) thread -- 
just have the background thread use a Handler or use runOnUiThread() or 
something to arrange for the work to get done on the foreground thread.

-- 
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] SMS between 2 Emulaters using the built in sms messenger

2008-09-24 Thread [EMAIL PROTECTED]

so I have to emulators running and I can make calls between them but
when I try to send a text message between them I can't figure out how
to 'Open Keyboard to compose message' like the app wants me to do.  It
won't let me type a new message until I open the keyboard..any
help?

Thanks,
-dave
--~--~-~--~~~---~--~~
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: Do services run in their own processes

2008-09-24 Thread Anshul

So what about ps command showing mutiple entries and also am able to
kill each service individually using the kill comamnd the services's
PID.

On Sep 24, 3:10 pm, hackbod <[EMAIL PROTECTED]> wrote:
> No components are run in separate processes unless you specify that
> they should in the manifest.  All components are run in the main
> thread of the process they live in.
>
> On Sep 24, 12:27 pm, Anshul <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello everyone,
>
> > I have a service that registers for boot completed event and when
> > started by the phone spawan a thread and creates several other
> > services. My question is, are the services created by the main service
> > running in the same process as the main service or separate processes.
>
> > When I run ps command on amulator shell, I see separate entries for
> > each of the services. But when I read the documentation on services I
> > see the follwoing lines:
>
> > "Note that a new thread is not created for each Activity,
> > BroadcastReceiver, Service, or ContentProvider instance: these
> > application components are instantiated in the desired process (all in
> > the same process unless otherwise specified), in the main thread of
> > that process"
>
> > So I am confused. Please help me understand
>
> > Thanks,
> > -Anshul- 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
-~--~~~~--~~--~--~---



[android-developers] Re: Transparent Buttons & Focus

2008-09-24 Thread Megha Joshi
You can use ColorStateList to set the Button background on focus. The post
below has a nice example on using it:
http://groups.google.com/group/android-developers/msg/0714e077e25d63a6

2008/9/24 Shaun <[EMAIL PROTECTED]>

>
>
> I have some buttons without backgrounds ( produced either by
> setBackgroundDrawable(null) or setBackgroundColor(0x) ) --
> that part works fine. However, when the button does not have a
> background it never gets the orange focus highlight and hence is not
> navigable via trackball. It does actually get focus since my focus
> callback is invoked.
>
> My question is: is there some method I can use to cause the button to
> highlight when it's focused or alternatively what's the
> android.R.drawable resource for the orange background highlighting (I
> can do the focus-handling myself with that).
>
> Thanks.
>
> SPT
>
> >
>

--~--~-~--~~~---~--~~
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: replacing incoming call and outgoing call screens

2008-09-24 Thread Megha Joshi
2008/9/24 kingkung <[EMAIL PROTECTED]>

>
> The incoming call and outgoing call screens (when you call someone/
> receive someone's call) are currently default screens launched by the
> Dialer, or some other built-in Android app.  Is it possible to replace
> these screens?


You cannot change the default call screens. They are part of the inbuilt
Phone app.

>
> >
>

--~--~-~--~~~---~--~~
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] Test SMS app with 2 emulaters

2008-09-24 Thread [EMAIL PROTECTED]

I was wondering how to test an app that listens for SMS messages from
another phone.  I know the DDMS can send messages to an emulator but
they are unordered SMSMessages and thus my app can't supress them.  My
thought was to run 2 emulators and have each send an ordered sms
message to the otherbut how do you do this?

any thoughts would be great.

thanks,
-Dave
--~--~-~--~~~---~--~~
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] SMS Intents Missing From 1.0?

2008-09-24 Thread blim

Our application needs to be able to listen to incoming SMS messages
but android.providers.Telephony.Sms.Intents class has been removed
from 1.0.

Does anybody know where this has been moved to or if we should be
using something else?  I haven't been able to find anything on the
issue or why it was removed after 0.9.

--~--~-~--~~~---~--~~
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] I've got a great App Idea, but i'm not a programmer

2008-09-24 Thread joe

I have an idea, that will help android appeal to a huge business
segment, that doesnt require ANY microsoft applications/programs, and
can probably be designed and implemented with not a lot of
programming.  The problem..I am not a computer guy.  I am a self
employed contractor.  If anyone would be interested in working
together on this project with the goal of making it commercially
viable, and financially profitable, please contact me at
[EMAIL PROTECTED] . I am serious about this, and I know it
will be great.but it is not a game, it is a utlility that will
make use of the existing google features in an android phone.  Please
be prepared to sign a non-disclosure agreement if interested.  You
must be able to program, I can provide the rest as you need to know.

Joe

--~--~-~--~~~---~--~~
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] Sql et android sdk 1.0

2008-09-24 Thread jphdsn

Hello,

In the Notepad Sample there is a a method to open Database and create
a table if it doesn't exist.

public NotesDbAdapter open() throws SQLException {
try {
mDb = mCtx.openDatabase(DATABASE_NAME, null);
} catch (FileNotFoundException e) {
try {
mDb =
mCtx.createDatabase(DATABASE_NAME,
DATABASE_VERSION, 0,
null);
   mDb.execSQL(DATABASE_CREATE);
} catch (FileNotFoundException e1) {
throw new SQLException("Could not create database");
}
}
return this;
}

How do this with the new methods since we open and create DATABASE in
the same time?

Anyone have an idea?  thank's
--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread Xavier Ducrohet

ADT has some dependencies. What is happening is Eclipse updating
itself with the required dependencies.

Depending on the selected mirror, your connection, and the packages
your installation needs, this can take a while.

ADT itself is relatively small and should download quickly.

Xav

On Wed, Sep 24, 2008 at 12:40 PM, kingkung <[EMAIL PROTECTED]> wrote:
>
> Anyone else having this problem???
>
> After hitting "Install" for the ADT and Editor through the Software
> Updates screen, I get a progress dialog that says "Resolving
> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> on 32-bit Windows XP.
>
> The progress bar below shows it's (really, really slowly) downloading
> a bunch of jar files, stuff like
>
> http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse.equinox.executable_3.3.100.v200080606-7H-ELQEDdVvOSVkW65GwAA.jar
>
> and it's just taking an indescribable amount of time... judging from
> the progress bar it looks like it may take hours to download this.
>
> Is anyone else having trouble downloading the ADT plugin?
> >
>

--~--~-~--~~~---~--~~
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: Do services run in their own processes

2008-09-24 Thread hackbod

No components are run in separate processes unless you specify that
they should in the manifest.  All components are run in the main
thread of the process they live in.

On Sep 24, 12:27 pm, Anshul <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I have a service that registers for boot completed event and when
> started by the phone spawan a thread and creates several other
> services. My question is, are the services created by the main service
> running in the same process as the main service or separate processes.
>
> When I run ps command on amulator shell, I see separate entries for
> each of the services. But when I read the documentation on services I
> see the follwoing lines:
>
> "Note that a new thread is not created for each Activity,
> BroadcastReceiver, Service, or ContentProvider instance: these
> application components are instantiated in the desired process (all in
> the same process unless otherwise specified), in the main thread of
> that process"
>
> So I am confused. Please help me understand
>
> Thanks,
> -Anshul
--~--~-~--~~~---~--~~
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: Getting android multimodal - org.apache.commons.scxml

2008-09-24 Thread Jakob Sachse

> Mark Murphy wrote:
> If you are including xml-apis in your build, that might conflict with
> existing DOM and SAX implementations in Android. Try removing xml-apis
> from the build and see what happens.

removing xml-apis from the build path results in errors in a few scxml
classes.
One of which is SCXMLSerializer, I think i could spare this since the
Serializer is only called
from some test classes.

More tricky is that it also breaks Builtin.java which is a
central class within scxml. The only class needed from xml-apis is the
javax.xml.transform.TransformerException
The TransformerException is thrown by org.apache.xpath.XPathAPI which
itself is part of xalan, which i still have in the build path.

But wouldn't that mean that the hole of xalan is incompatible to
android? Or the other way around, if xalan works on android it would
mean
that its inside use of java.xml.* succeeds. And that hence i could
find a way making it work for me as well.

Is there anyone who used xalan on android?

On 24 Sep., 16:14, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Jakob Sachse wrote:
> > Mark Murphy wrote:
> >> If that does not clear up your problem, you can try merging the
> >> commons.scxml source into your own project's source tree
>
> > well, basicly thats what i have done so far
>
> Oh. Sorry, missed that.
>
> > though, i will try to build the jar as you recommended. Even if the
> > problem, as far as i see it
> > comes mainly from the javax.xml package which seems to collide with
> > the Android SDK in some way.
>
> Do you have all the source code to all the commons-scxml dependencies?
>
> If not -- meaning you have commons-scxml source but are still using
> third-party JARs -- start trying to introduce those, either fully into
> your project, or simply recompiling them using your own Java compiler.
> Or, get rid of dependencies that may collide with what is in the Android
> SDK/
>
> For example, according to the dependency chart:
>
> http://commons.apache.org/scxml/dependencies.html
>
> commons-scxml depends upon Xalan, which depends upon xml-apis.
>
> If you are including xml-apis in your build, that might conflict with
> existing DOM and SAX implementations in Android. Try removing xml-apis
> from the build and see what happens.
>
> --
> 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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread kingkung

I did, and it worked... after a scary error (see message above
yours).  thanks.

On Sep 24, 2:35 pm, blindfold <[EMAIL PROTECTED]> wrote:
> Did you downloadhttp://dl-ssl.google.com/android/ADT-0.8.0.zipand
> next update via Help | Software Updates | Available Software| Add Site
> | Archive button to get to this downloaded local zip file?
>
> Thehttp://download.eclipse.orgwebsite currently does appear to be
> crawling or grinding to a halt though due to many people updating
> Ganymede...
>
> On Sep 24, 11:13 pm, kingkung <[EMAIL PROTECTED]> wrote:
>
> > Glad to see I'm not the only one.
>
> > WARNING: I tried manually installing it from the link above, and while
> > installing, got the following error:
>
> >http://download.eclipse.org/releases/ganymede/site.xmlhasencountered
> > a problem.  Transfer Exception
>
> > If you get to this point, DO NOT TOUCH ANYTHING.  If left on long
> > enough, Eclipse will itself find a workaround, and will install the
> > ADT plugin (at least from my experience).
>
>
--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread blindfold

Did you download http://dl-ssl.google.com/android/ADT-0.8.0.zip and
next update via Help | Software Updates | Available Software| Add Site
| Archive button to get to this downloaded local zip file?

The http://download.eclipse.org website currently does appear to be
crawling or grinding to a halt though due to many people updating
Ganymede...

On Sep 24, 11:13 pm, kingkung <[EMAIL PROTECTED]> wrote:
> Glad to see I'm not the only one.
>
> WARNING: I tried manually installing it from the link above, and while
> installing, got the following error:
>
> http://download.eclipse.org/releases/ganymede/site.xmlhas encountered
> a problem.  Transfer Exception
>
> If you get to this point, DO NOT TOUCH ANYTHING.  If left on long
> enough, Eclipse will itself find a workaround, and will install the
> ADT plugin (at least from my experience).

--~--~-~--~~~---~--~~
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] What happened to SMS Inbox/Outbox in Android 1.0?

2008-09-24 Thread kingkung

Can't find the package android.telephony.Sms or anything like it, nor
can I find anything in the documentation... do those content providers
still exist?
--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread kingkung

Glad to see I'm not the only one.

WARNING: I tried manually installing it from the link above, and while
installing, got the following error:

http://download.eclipse.org/releases/ganymede/site.xml has encountered
a problem.  Transfer Exception

If you get to this point, DO NOT TOUCH ANYTHING.  If left on long
enough, Eclipse will itself find a workaround, and will install the
ADT plugin (at least from my experience).

On Sep 24, 1:21 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
> Yeah im having the same issue, actually seems to be frozen up.
>
>
>
> On Wed, Sep 24, 2008 at 2:16 PM, blindfold <[EMAIL PROTECTED]> wrote:
>
> > The ADT plugin can be downloaded and handled manually via
>
> >http://code.google.com/android/adt_download.html
>
> > but apart from ADT, yes, Ganymede is for me too going through a
> > lengthy update session, currently about halfway through.
>
> > On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
> >> Anyone else having this problem???
>
> >> After hitting "Install" for the ADT and Editor through the Software
> >> Updates screen, I get a progress dialog that says "Resolving
> >> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> >> on 32-bit Windows XP.
>
> >> The progress bar below shows it's (really, really slowly) downloading
> >> a bunch of jar files, stuff like
>
> >>http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>
> >> and it's just taking an indescribable amount of time... judging from
> >> the progress bar it looks like it may take hours to download this.
>
> >> Is anyone else having trouble downloading the ADT plugin?
>
> --
> ~chris
--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread geekchique

Yes, but it came down eventually.

On Sep 24, 9:21 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
> Yeah im having the same issue, actually seems to be frozen up.
>
>
>
> On Wed, Sep 24, 2008 at 2:16 PM, blindfold <[EMAIL PROTECTED]> wrote:
>
> > The ADT plugin can be downloaded and handled manually via
>
> >http://code.google.com/android/adt_download.html
>
> > but apart from ADT, yes, Ganymede is for me too going through a
> > lengthy update session, currently about halfway through.
>
> > On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
> >> Anyone else having this problem???
>
> >> After hitting "Install" for the ADT and Editor through the Software
> >> Updates screen, I get a progress dialog that says "Resolving
> >> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> >> on 32-bit Windows XP.
>
> >> The progress bar below shows it's (really, really slowly) downloading
> >> a bunch of jar files, stuff like
>
> >>http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>
> >> and it's just taking an indescribable amount of time... judging from
> >> the progress bar it looks like it may take hours to download this.
>
> >> Is anyone else having trouble downloading the ADT plugin?
>
> --
> ~chris
--~--~-~--~~~---~--~~
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] Obfuscation in eclipse for Android?

2008-09-24 Thread UBZack

Does anyone know if there are plans to include an option to obfuscate,
or encrypt class files (before they are then converted to .dex files)
within the ADT plugin for eclipse?  I've been searching the Android
group for a while now, it seems that people are manually obfuscating
their class files, then manually converting them to dex files, which
is fine if you're building using ant, but it would be really great to
be able to have the eclipse ADT automatically do this process.

Additionally, does anyone have some idea what exactly is Google's
philosophy towards obfuscation/class-encryption in Android?

--~--~-~--~~~---~--~~
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: 'Keytool error' when building

2008-09-24 Thread mitschi

Hi,

I had the exact same problem.

here is what i did:

// look which keytool is first in path
# which keytool
> /usr/bin/keytool

// this is just a link, so let's look deeper
# ls -al /usr/bin/keytool
> lrwxrwxrwx 1 root root 39 2008-09-24 21:41 /usr/bin/keytool -> 
> /etc/alternatives/keytool

// again just a link
# ls -al /etc/alternatives/keytool
> lrwxrwxrwx 1 root root 37 2008-06-10 08:27 /etc/alternatives/keytool -> 
> /usr/lib/jvm/java-gcj/jre/bin/keytool

here is the problem, the keytool in path is the one from the gnu java
vm.

here my solution:
rm /etc/alternatives/keytool
ln -s /usr/lib/jvm/*some-sun-vm*/bin/keytool /etc/alternatives/keytool
rm -rf /home/myhome/.android
eclipse -> and start working...

I think this is a Ubuntu issue and there is a nicer way to change the
keytool alternative, but this worked for me.


/Mitschi



On 31 Aug., 11:03, nazurro <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My email showed up in the discussion a bit late, after Megha Joshi:s
> suggestion to try java 5 instead I got it to work, together with
> deleting the debug.keystore file (which I had tried before).
>
> So I'm good for now. Thx :)  Going for the Notepad tutorial as we
> speak.
>
> /Tobias
>
> On 30 Aug, 23:49, David Given <[EMAIL PROTECTED]> wrote:
>
> > nazurro wrote:
> > > Hello,
>
> > > I have the EXACT same problem, want to try developing for Android but
> > > I just can't get it to work:
>
> > > Ubuntu 8.04
> > > Eclipse 3.3.2
> > > JVM: java-6-sun
>
> > > I would be very happy for suggestions.
>
> > Beats me. Sorry. (That is, in fact, almost exactly my setup --- I'm
> > using Eclipse 3.4.)
>
> > The only thing I can think of is that on my system, when it worked the
> > debug.keystore file was being created from the command line and when it
> > failed it was being created via Eclipse; so you might be interesting to
> > have a try recreating your keystore from the command line... but I'm
> > afraid I don't know how. And at this point I'm a little adverse to
> > playing with my system and breaking it again!
>
> > --
> > ┌─── dg@cowlark.com ─http://www.cowlark.com─
> > │
> > │ "All power corrupts, but we need electricity." --- Diana Wynne Jones,
> > │ _Archer's Goon_
>
> >  signature.asc
> > < 1KViewDownload
>
>

--~--~-~--~~~---~--~~
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] Do services run in their own processes

2008-09-24 Thread Anshul

Hello everyone,

I have a service that registers for boot completed event and when
started by the phone spawan a thread and creates several other
services. My question is, are the services created by the main service
running in the same process as the main service or separate processes.

When I run ps command on amulator shell, I see separate entries for
each of the services. But when I read the documentation on services I
see the follwoing lines:

"Note that a new thread is not created for each Activity,
BroadcastReceiver, Service, or ContentProvider instance: these
application components are instantiated in the desired process (all in
the same process unless otherwise specified), in the main thread of
that process"

So I am confused. Please help me understand

Thanks,
-Anshul

--~--~-~--~~~---~--~~
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: Bitmap issue ...

2008-09-24 Thread Kurt Jacobs
Mike,
   To be honest with you, I'd need to develop more to have a better feel for
it.  I will however, let you know in the future.

Thanks again for you help,
Kurt


On Wed, Sep 24, 2008 at 7:17 AM, Mike Reed <[EMAIL PROTECTED]> wrote:

> There is no way to write to a bitmap in its native format in 1.0, but you
> can read the values by calling copyPixelsToBuffer(). This fills out the
> buffer with whatever the native config is (alpha_8, 565, , ).
> If you could extend the api post 1.0, what functionality would you like to
> see?
>
> mike
>
>
> On Sep 23, 2008, at 2:53 PM, Kurt Jacobs wrote:
>
> Mike,
>Thanks for the explanation.  Is there a way (method that I could call)
> that I can convert the raw bitmap
> to the multiplied version because doing the setPixel?
>
> Thanks,
> Kurt
>
>
> On Tue, Sep 23, 2008 at 11:34 AM, Mike Reed <[EMAIL PROTECTED]> wrote:
>
>>
>> The confusion (and I will try to update the dox to make this clearer)
>> is that the color int is in unpremultipled form, but the internal
>> format for Bitmap pixels is premultiplied.
>>
>> "premultiplied" means that the r,g,b components have already been
>> multiplied by their respective alpha value. Thus 50% transparent Red
>> would be stored as 0x8080
>>
>> "unpremultipled" means that the r,g,b components are stored in their
>> raw form, independent of the alpha value. Thus 50% transparent Red
>> would be stored as 0x80FF
>>
>> Thus when you specify 0x08040201 in unpremultiplied form (as you
>> should for the input to setPixels), that color is internally converted
>> to its premultiplied equivalent, which in this case happens to be
>> 0x0800. When you call getPixels(), the values are converted back
>> to unpremultiplied form automatically, but in this case there is no
>> change.
>>
>> mike
>>
>> On Sep 23, 2008, at 10:40 AM, JakeMaui wrote:
>>
>>
>> I have a bitmap issue.  I created a simple PNG that was 1 pixel high,
>> 16 wide pure white.
>> I loaded the bitmap, extracted the pixels, changed the first one and
>> then created a bitmap
>> from the altered data.  The issue is that I thought that until I save
>> it, I would have a raw bitmap will all the bits set as I had set
>> them.  I found that the bits changed.
>> Does anybody know what I need to do to preserve the bitmap with the
>> bits that I set
>> into it?
>>
>> sample code ...
>>  int picw= bitmap.getWidth();
>>  int pich=bitmap.getHeight();
>>  int[] pix = new int[picw*pich];
>>  bitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);
>>
>>  // It's pure white at this point.
>>  // I set the first byte to this but when I pull it out of the newly
>> constructed
>>  // bitmap, it's 0x800
>>  pix[0]=0x08040201;
>>  createdBitmap = Bitmap.createBitmap(picw, pich,
>> Bitmap.Config.ARGB_);
>>  createdBitmap.setPixels(pix, 0, picw, 0, 0, picw, pich);
>>
>>   // get pixels of newly created bitmap
>>   int picw=embeddedBitmap.getWidth();
>>   int pich=embeddedBitmap.getHeight();
>>   int[] pix = new int[picw*pich];
>>   createdBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);
>>
>> Results 
>> 1000 0100 0010 0001 before
>> 1000   000
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread Chris Chiappone

Yeah im having the same issue, actually seems to be frozen up.

On Wed, Sep 24, 2008 at 2:16 PM, blindfold <[EMAIL PROTECTED]> wrote:
>
> The ADT plugin can be downloaded and handled manually via
>
> http://code.google.com/android/adt_download.html
>
> but apart from ADT, yes, Ganymede is for me too going through a
> lengthy update session, currently about halfway through.
>
> On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
>> Anyone else having this problem???
>>
>> After hitting "Install" for the ADT and Editor through the Software
>> Updates screen, I get a progress dialog that says "Resolving
>> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
>> on 32-bit Windows XP.
>>
>> The progress bar below shows it's (really, really slowly) downloading
>> a bunch of jar files, stuff like
>>
>> http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>>
>> and it's just taking an indescribable amount of time... judging from
>> the progress bar it looks like it may take hours to download this.
>>
>> Is anyone else having trouble downloading the ADT plugin?
> >
>



-- 
~chris

--~--~-~--~~~---~--~~
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: ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread blindfold

The ADT plugin can be downloaded and handled manually via

http://code.google.com/android/adt_download.html

but apart from ADT, yes, Ganymede is for me too going through a
lengthy update session, currently about halfway through.

On Sep 24, 9:40 pm, kingkung <[EMAIL PROTECTED]> wrote:
> Anyone else having this problem???
>
> After hitting "Install" for the ADT and Editor through the Software
> Updates screen, I get a progress dialog that says "Resolving
> Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
> on 32-bit Windows XP.
>
> The progress bar below shows it's (really, really slowly) downloading
> a bunch of jar files, stuff like
>
> http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse
>
> and it's just taking an indescribable amount of time... judging from
> the progress bar it looks like it may take hours to download this.
>
> Is anyone else having trouble downloading the ADT plugin?
--~--~-~--~~~---~--~~
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] SlideME: Organizing a group for testing applications

2008-09-24 Thread Shane Isbell
I need to get a 4 or 5 developers (preferably in Seattle area, so we can
meet up) who are going to have the G1 device in their hands next month to
help out with testing. There will be a dozen or two applications hosted at
http://slideme.org for the October 22nd launch and we need to test with real
devices, so 4 or 5 people should be able to crank these out quickly and get
the apps published for download.

Thanks,
Shane

--~--~-~--~~~---~--~~
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: G1 for developers in Europe

2008-09-24 Thread Octavian Voicu

Thanks, I didn't notice your thread. Let's hope they care about the
developers :)


On Sep 24, 7:57 pm, arnouf <[EMAIL PROTECTED]> wrote:
> I launch the same discussion earlier
> Especially to provide an access to G1 for ADC participant in Europe...
>
> See discussion 
> there:http://groups.google.fr/group/android-discuss/browse_thread/thread/e3...
>
> regards
>
> On 24 sep, 18:51, David Given <[EMAIL PROTECTED]> wrote:
>
> > Octavian Voicu wrote:
>
> > [...]
>
> > > There should be a special offer for developers so that they can buy it
> > > online from anywhere in the world with no subscription, so they can
> > > test their apps on the real thing. That would really speed things up
> > > and make Android better much faster.
>
> > Yeah, but that would provide an easy way for people to get their hands
> > on an unlocked device and so avoid the 2-year T-Mobile contract, so I
> > doubt it will happen.
>
> > (I'd love one. Not on that contract.)
>
> > --
> > David Given
> > [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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] ADT 0.8.0 Eclipse plugin download taking FOREVER

2008-09-24 Thread kingkung

Anyone else having this problem???

After hitting "Install" for the ADT and Editor through the Software
Updates screen, I get a progress dialog that says "Resolving
Dependencies", and it's taking FOREVER.  I have Eclipse 3.4 Ganymede
on 32-bit Windows XP.

The progress bar below shows it's (really, really slowly) downloading
a bunch of jar files, stuff like

http://download.eclipse.org/eclipse/updates/3.4/features/org.eclipse.equinox.executable_3.3.100.v200080606-7H-ELQEDdVvOSVkW65GwAA.jar

and it's just taking an indescribable amount of time... judging from
the progress bar it looks like it may take hours to download this.

Is anyone else having trouble downloading the ADT plugin?
--~--~-~--~~~---~--~~
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] Do services run in their own processes

2008-09-24 Thread Anshul

I have a services that registers itself for boot completed event and
when started by the phone creates two new services in a thread using
startService function. My question is wthere the two newly created
services run in the same process as the servivce that created them or
in separate processes. When I run "ps" command on the ADB shell I see
separatre entries for each of the three services.

I am confused because I found this text in the descrption of Service
class
"Note that a new thread is not created for each Activity,
BroadcastReceiver, Service, or ContentProvider instance: these
application components are instantiated in the desired process (all in
the same process unless otherwise specified), in the main thread of
that process"

Please help me undretsand the concept.

Thanks,
-Anshul
--~--~-~--~~~---~--~~
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: Eclipse plugin update

2008-09-24 Thread geekchique

Uninstall everything then try again and see if that helps.
I had a few teething problems too but just uninstalled/reinstalled.

On Sep 24, 7:19 pm, mistapony <[EMAIL PROTECTED]> wrote:
> Has everyone been successful installing the newest eclipse plugin or
> just updating the plugin?  I am trying to update and getting the
> following error with ganymede on osx:
>
> Cannot complete the request.  See the details.
> Cannot find a solution where both Match[requiredCapability:
> org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/
> [3.2.201.R34x_v20080709,3.2.201.R34x_v20080709]] and
> Match[requiredCapability: org.eclipse.equinox.p2.iu/
> org.eclipse.equinox.preferences/
> [3.2.200.v20080421-2006,3.2.200.v20080421-2006]] can be satisfied.
> Cannot find a solution where both Match[requiredCapability:
> org.eclipse.equinox.p2.iu/org.eclipse.ui/
> [3.4.1.M20080910-0800,3.4.1.M20080910-0800]] and
> Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui/
> [3.4.0.I20080610-1200,3.4.0.I20080610-1200]] can be satisfied.
> Cannot find a solution where both Match[requiredCapability:
> org.eclipse.equinox.p2.iu/org.eclipse.osgi/
> [3.4.2.R34x_v20080826-1230,3.4.2.R34x_v20080826-1230]] and
> Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.osgi/
> [3.4.0.v20080605-1900,3.4.0.v20080605-1900]] can be satisfied.
> Cannot find a solution where both Match[requiredCapability:
> org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/
> [3.4.1.M20080827-0800a,3.4.1.M20080827-0800a]] and
> Match[requiredCapability: org.eclipse.equinox.p2.iu/
> org.eclipse.ui.workbench/[3.4.0.I20080606-1300,3.4.0.I20080606-1300]]
> can be satisfied.
> Cannot find a solution where both Match[requiredCapability:
> org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.1.v3449c,3.4.1.v3449c]]
> and Match[requiredCapability: org.eclipse.equinox.p2.iu/
> org.eclipse.swt/[3.4.0.v3448f,3.4.0.v3448f]] can be satisfied.
>
> etc
--~--~-~--~~~---~--~~
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] Transparent Buttons & Focus

2008-09-24 Thread Shaun


I have some buttons without backgrounds ( produced either by
setBackgroundDrawable(null) or setBackgroundColor(0x) ) --
that part works fine. However, when the button does not have a
background it never gets the orange focus highlight and hence is not
navigable via trackball. It does actually get focus since my focus
callback is invoked.

My question is: is there some method I can use to cause the button to
highlight when it's focused or alternatively what's the
android.R.drawable resource for the orange background highlighting (I
can do the focus-handling myself with that).

Thanks.

SPT

--~--~-~--~~~---~--~~
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: Developing Wi-Fi applications in the emulator

2008-09-24 Thread Bradley Kite

Hi Megha Joshi,

In the 1.0 SDK, WifiManager.getScanResults() returns a list of
ScanResult objects, each of which contains a capabilities String.

Please could you provide an example of what form this string might be?
I'm trying to get an understanding of how I might have to parse this
information in order to construct my own class to represent the
authentication, key management, and encryption schemes of wifi
networks.

Many thanks in advance
--
Brad.

On 24/09/2008, Megha Joshi <[EMAIL PROTECTED]> wrote:
>
>  The emulator doesn't support Wi-Fi, so WifiManager won't tell you anything
> useful.
>
> 2008/9/15 Bradley Kite <[EMAIL PROTECTED]>
>
>
> >
> >
> >
> >
> > On 13/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote:
> > > On 11/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote:
> > >  > Hi all,
> > >  >
> > >  >  I would like to develop an application that makes use of the wifi
> API
> > >  >  (android.net.wifi.*).
> > >  >
> > >  >  Is there any way that I can test my application within the emulator?
> > >  >
> > >  >  At the moment I am getting this error:
> > >  >
> > >  >  E/WifiService(   46): Failed to load Wi-Fi driver.
> > >  >
> > >  >  Which I kind of expected, as the emulator doesn't actually contain
> any
> > >  >  wifi "hardware".
> > >  >
> > >  >  Are there any hacks/tweaks I can make to QEMU that can make it
> present
> > >  >  an emulated piece of wifi hardware to the android device driver?
> > >  >
> > >  >  Is any body else also trying to use the wifi API's and has solved
> this problem?
> > >  >
> > >  >  Many thanks in advance
> > >  >
> > >  > --
> > >  >  Brad
> > >
> > >
> > > Hi all,
> > >
> > >  I've come to the assumption that I wont be able to get wifi working
> > >  within the emulator, so I'm trying to come up with some dummy data to
> > >  "pretend" that its come from the wpa_supplicant.
> > >
> > >  With this in mind, I'm trying to spoof some ScanResult structures, as
> > >  returned by the WifiManager.getScanResult().
> > >
> > >  However, it would seem like this API is still in a state of flux - for
> > >  example ScanResult.capabilities is documented as returning a String,
> > >  but with a TODO note saying that it should be parsed into a
> > >  WifiConfiguration object. Does this mean that the API will change so
> > >  that it returns the WifiConfiguration object, or is it expected of the
> > >  user to parse the string?
> > >
> > >  Would any body be able to clarify the situation with regards to how I
> > >  should be able to detect the parameters of a wifi network?
> > >
> > >  If somebody has access to a real device, could they please send me
> > >  some example strings  as returned by ScanResult.capabilities? In
> > >  particular, what would a free/open-access wifi network capabilities
> > >  string look like?
> > >
> > >  I'd really appreciate the help/guidance that any one has to offer.
> > >
> > >  Kind Regards
> > >
> > > --
> > >  Brad.
> > >
> >
> > Guys, I'm really having trouble with the wifi API - even to the point
> > where I am unable to create any dummy data to work with.
> >
> > My code is as follows:
> >
> > WifiManager wm = (WifiManager)
> getSystemService(Context.WIFI_SERVICE);
> > Log.d(TAG, "Scanning for WIFI Networks");
> >
> > List scan = wm.getScanResults();
> >
> > WifiConfiguration apConfigs[] = new WifiConfiguration[3];
> >
> > if (scan == null)
> > {
> >Log.d(TAG, "No Networks Found. Falling back to debug mode");
> >// Set up the dummy AP Configurations (WifiConfiguration classes)
> >Log.d(TAG, "About to set BSSID");
> >apConfigs[0].BSSID = "00:40:05:a5:88:0d";
> >Log.d(TAG, "BSSID is now set");
> >[...snip...]
> >return;
> > }
> >
> > The only output I get from this, however, is as shown below:
> >
> > D/HotSpotWatcher(  596): Scanning for WIFI Networks
> > D/HotSpotWatcher(  596): No Networks Found. Falling back to debug mode
> > D/HotSpotWatcher(  596): About to set BSSID
> > D/dalvikvm(  116): GC freed 3 objects / 72 bytes in 66ms
> > D/dalvikvm(   90): GC freed 1138 objects / 55512 bytes in 82ms
> >
> > It would seem like attempting to set the BSSID is making the function
> > return early, because it never actually prints out "BSSID is now set".
> >
> > Can any body help please?
> >
> >
> >
> >
> > Kind regards
> > --
> > Brad.
> >
> >
> >
>
>
>  >
>

--~--~-~--~~~---~--~~
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] Google isn't going to do billing for mobile apps? Confirm?

2008-09-24 Thread BikingBill

Saw this:

http://www.moconews.net/entry/419-g1-live-the-android-market-is-no-app-store/

"...when Android Market does allow apps to be sold, Google won’t take
a cut of revenues, unlike Apple (NSDQ: AAPL). It will purely be an
arrangement between the carrier and the mobile app developer. It is
unknown what the revenue-share agreement will be between the carrier
and a developer. This is a smart move. If applications can be sold
through the carrier and appear on a phone bill, rather than being
charged to a credit card, none of the parties involved will have to
pay the credit card companies. It’s unlikely Google won’t get a take
somewhere, such as advertising on its own services, or others."

If true this COULD be bad news. Here's why:

1. Carriers typically take 45% to 50% of the revenue, with net 60-90
day terms.
2. Developers who want to sell apps across multiple territories will
have to make separate agreements with the carriers in each of the
countries.
3. Carrier approval process for billing agreements and apps can be
expensive and time consuming.

My company currently sells mobile content with carrier billing and it
is a far more complex and difficult thing than having a single billing
point of contact.


--~--~-~--~~~---~--~~
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] replacing incoming call and outgoing call screens

2008-09-24 Thread kingkung

The incoming call and outgoing call screens (when you call someone/
receive someone's call) are currently default screens launched by the
Dialer, or some other built-in Android app.  Is it possible to replace
these screens?
--~--~-~--~~~---~--~~
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] Eclipse plugin update

2008-09-24 Thread mistapony

Has everyone been successful installing the newest eclipse plugin or
just updating the plugin?  I am trying to update and getting the
following error with ganymede on osx:

Cannot complete the request.  See the details.
Cannot find a solution where both Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/
[3.2.201.R34x_v20080709,3.2.201.R34x_v20080709]] and
Match[requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.equinox.preferences/
[3.2.200.v20080421-2006,3.2.200.v20080421-2006]] can be satisfied.
Cannot find a solution where both Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.ui/
[3.4.1.M20080910-0800,3.4.1.M20080910-0800]] and
Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui/
[3.4.0.I20080610-1200,3.4.0.I20080610-1200]] can be satisfied.
Cannot find a solution where both Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.osgi/
[3.4.2.R34x_v20080826-1230,3.4.2.R34x_v20080826-1230]] and
Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.osgi/
[3.4.0.v20080605-1900,3.4.0.v20080605-1900]] can be satisfied.
Cannot find a solution where both Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/
[3.4.1.M20080827-0800a,3.4.1.M20080827-0800a]] and
Match[requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.ui.workbench/[3.4.0.I20080606-1300,3.4.0.I20080606-1300]]
can be satisfied.
Cannot find a solution where both Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.1.v3449c,3.4.1.v3449c]]
and Match[requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.swt/[3.4.0.v3448f,3.4.0.v3448f]] can be satisfied.

etc
--~--~-~--~~~---~--~~
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: Android 1.0 SDK Released

2008-09-24 Thread jtaylor

Congrats! This is bigger than the G1. ..My Emulator is very stable.


- Juan T.

On Sep 23, 6:09 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> We're pleased to announce the release of the Android 1.0 SDK, release 1.
>
> For full information, please see Dan Morrill's blog post:
>
> http://android-developers.blogspot.com/2008/09/announcing-android-10-...
>
> SDK Download:
>
>    http://code.google.com/android/download.html
>
> Overview of Changes since 0.9 SDK:
>
>      http://code.google.com/android/migrating/0.9-1.0/changes-overview.html
>
> Android Developer Guide:
>
>    http://code.google.com/android/documentation.html
>
> Thanks for using the Android SDK and Happy coding!
>
> Cheers,
> The Android Team.
--~--~-~--~~~---~--~~
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] GPS Power Consumption Questions

2008-09-24 Thread Jeff Kao
Our app uses the LocationManager to request ongoing updates from the onboard
GPS service.  GPS is notoriously power-hungry, and I'd love to gain some
insight from Google Engineers on how to best use GPS in our app to prevent
too much battery waste in usage on the actual G1 device.

Can a Google Engineer comment on:

a) How much difference it makes (if any) to power consumption whether the
minimum time between GPS update requests (i.e. 1 sec between updates vs. 20
secs between updates) is short or long?  Will that make a difference to an
application running for example, over a few hours?  Or is the power
consumption the same as long as the relevant LocationProvider is enabled?

b) How you can actually "turn off" the GPS, in terms of its power
consumption.  Will a call to to removeUpdates() or removeProximityAlerts()
be enough, or must the relevant LocationProvider be disabled (ie through
System.Settings)?

Thanks!

Jeff

--~--~-~--~~~---~--~~
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] Need help getting started! Mships.com benevolent themes.

2008-09-24 Thread [EMAIL PROTECTED]

Mships.com is new to Android and programming in general. I want to
have a simple clean interface for many Mships.com themes. They're
positive, benevolent and friendly "games" like ILoveNerds!, Ukons
(daily good deeds), PetGhosts!, Groovyz!, PeaceSignz!  + many more.
Mships games are REAL-LIFE games, not traditional games. They want you
to do fun things in the real world based on the game and to coordinate
"moves" with "players" around the world, creating something fun, new +
cool in the world.

Basically, I want to have a simple interface that updates once every
ten minutes with a new message for players around the world. I'd love
for a lot of other functionality that's a natural extension of the
game.

What I am hoping for is some smart fun benevolent programmer out there
to help set me up with a basic interface I can edit to replace the
artwork and specifics for each theme.  It's a pretty cool game we're
setting up. Hoping to get someone's help + attention.

Thanks a lot.
Jonathan
Mships.com

--~--~-~--~~~---~--~~
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: google sdk and eclipse plugin

2008-09-24 Thread Maxim Novikov
Great thanks, Markos. Manual installation from local place works.

2008/9/4 Marcos Hack <[EMAIL PROTECTED]>

>
> It seems to be a problem in the ADT update site. The ADT update site
> URL isn't working (https nor http).
>
> You can try to install the ADT plugin using the Archive Site as
> described in the section "Troubleshooting ADT Installation" on [1].
>
> Regards,
> Marcos Hack.
>
>
> [1] http://code.google.com/android/intro/installing.html#installingplugin
>
>
>
> On Sep 4, 5:16 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I wanted to try to develop some application for Android and downloaded
> > SDK and wanted to get Eclipse Android plugin.
> > But 
> > locationhttps://dl-ssl.google.com/android/eclipse/wasn'tfound.
> > And from Eclipse Software Updates, and from http-browser.
> > Can somebody help me to resolve this problem?
> >
>


-- 
Maxim Novikov

--~--~-~--~~~---~--~~
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] XML-RPC

2008-09-24 Thread [EMAIL PROTECTED]

Hello

I am looking for a way to use XML-RPC with Android. Is there anyone
who has succesfully done this?

Thankful for any advice

Regards

Goluef

--~--~-~--~~~---~--~~
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 with Ellipsize in ListView?

2008-09-24 Thread Mark Hansen

I was implementing a view this morning with Ellipsize and noticed some
characters appearing after the "..."

http://dl.getdropbox.com/u/26335/ellipsize.png

Notice the middle two lines have a box like it has an
unrenderablecharacter.

Is this a bug, or am I doing something strange?
--~--~-~--~~~---~--~~
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: Google support for developers

2008-09-24 Thread Mark Murphy

> 2. Are there possibilities that Google will support Android-based
> businesses with VC funding or marketing collaborations?

There are the Android Developer Challenges. ADC II is supposed to be
announced in the fourth quarter of 2008.

Also, getting applications into the App Market will give you exposure to
all(?) Android users, just as getting into Apple's App Store gives you
exposure to all (non-jailbroken?) iPhone users.

--
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] Survey: One G1 for each ADC entrance

2008-09-24 Thread arnouf

Please,

Could you answer to this survey? I would like that european Android
developers aren't forgotten by Google Android, HTC and T-Mobile.

http://spreadsheets.google.com/viewform?key=pBxgcXvOI-GXYJ4UoYyEpAA

Thanks all!
--~--~-~--~~~---~--~~
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] Google support for developers

2008-09-24 Thread ole!

We are really excited to see Android move forward. We believe that the
openness of this platform
is crucial to buisness development.

Two questions:

1. Will there be a discount price for developers?
2. Are there possibilities that Google will support Android-based
businesses with VC funding or marketing collaborations?
--~--~-~--~~~---~--~~
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: G1 for developers in Europe

2008-09-24 Thread arnouf

I launch the same discussion earlier
Especially to provide an access to G1 for ADC participant in Europe...

See discussion there: 
http://groups.google.fr/group/android-discuss/browse_thread/thread/e3831f8a2899765e#

regards

On 24 sep, 18:51, David Given <[EMAIL PROTECTED]> wrote:
> Octavian Voicu wrote:
>
> [...]
>
> > There should be a special offer for developers so that they can buy it
> > online from anywhere in the world with no subscription, so they can
> > test their apps on the real thing. That would really speed things up
> > and make Android better much faster.
>
> Yeah, but that would provide an easy way for people to get their hands
> on an unlocked device and so avoid the 2-year T-Mobile contract, so I
> doubt it will happen.
>
> (I'd love one. Not on that contract.)
>
> --
> David Given
> [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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: G1 for developers in Europe

2008-09-24 Thread David Given

Octavian Voicu wrote:
[...]
> There should be a special offer for developers so that they can buy it
> online from anywhere in the world with no subscription, so they can
> test their apps on the real thing. That would really speed things up
> and make Android better much faster.

Yeah, but that would provide an easy way for people to get their hands
on an unlocked device and so avoid the 2-year T-Mobile contract, so I
doubt it will happen.

(I'd love one. Not on that contract.)

-- 
David Given
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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: Developing Wi-Fi applications in the emulator

2008-09-24 Thread Megha Joshi
The emulator doesn't support Wi-Fi, so WifiManager won't tell you anything
useful.

2008/9/15 Bradley Kite <[EMAIL PROTECTED]>

>
> On 13/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote:
> > On 11/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote:
> >  > Hi all,
> >  >
> >  >  I would like to develop an application that makes use of the wifi API
> >  >  (android.net.wifi.*).
> >  >
> >  >  Is there any way that I can test my application within the emulator?
> >  >
> >  >  At the moment I am getting this error:
> >  >
> >  >  E/WifiService(   46): Failed to load Wi-Fi driver.
> >  >
> >  >  Which I kind of expected, as the emulator doesn't actually contain
> any
> >  >  wifi "hardware".
> >  >
> >  >  Are there any hacks/tweaks I can make to QEMU that can make it
> present
> >  >  an emulated piece of wifi hardware to the android device driver?
> >  >
> >  >  Is any body else also trying to use the wifi API's and has solved
> this problem?
> >  >
> >  >  Many thanks in advance
> >  >
> >  > --
> >  >  Brad
> >
> >
> > Hi all,
> >
> >  I've come to the assumption that I wont be able to get wifi working
> >  within the emulator, so I'm trying to come up with some dummy data to
> >  "pretend" that its come from the wpa_supplicant.
> >
> >  With this in mind, I'm trying to spoof some ScanResult structures, as
> >  returned by the WifiManager.getScanResult().
> >
> >  However, it would seem like this API is still in a state of flux - for
> >  example ScanResult.capabilities is documented as returning a String,
> >  but with a TODO note saying that it should be parsed into a
> >  WifiConfiguration object. Does this mean that the API will change so
> >  that it returns the WifiConfiguration object, or is it expected of the
> >  user to parse the string?
> >
> >  Would any body be able to clarify the situation with regards to how I
> >  should be able to detect the parameters of a wifi network?
> >
> >  If somebody has access to a real device, could they please send me
> >  some example strings  as returned by ScanResult.capabilities? In
> >  particular, what would a free/open-access wifi network capabilities
> >  string look like?
> >
> >  I'd really appreciate the help/guidance that any one has to offer.
> >
> >  Kind Regards
> >
> > --
> >  Brad.
> >
>
> Guys, I'm really having trouble with the wifi API - even to the point
> where I am unable to create any dummy data to work with.
>
> My code is as follows:
>
> WifiManager wm = (WifiManager) getSystemService(Context.WIFI_SERVICE);
> Log.d(TAG, "Scanning for WIFI Networks");
>
> List scan = wm.getScanResults();
>
> WifiConfiguration apConfigs[] = new WifiConfiguration[3];
>
> if (scan == null)
> {
>Log.d(TAG, "No Networks Found. Falling back to debug mode");
>// Set up the dummy AP Configurations (WifiConfiguration classes)
>Log.d(TAG, "About to set BSSID");
>apConfigs[0].BSSID = "00:40:05:a5:88:0d";
>Log.d(TAG, "BSSID is now set");
>[...snip...]
>return;
> }
>
> The only output I get from this, however, is as shown below:
>
> D/HotSpotWatcher(  596): Scanning for WIFI Networks
> D/HotSpotWatcher(  596): No Networks Found. Falling back to debug mode
> D/HotSpotWatcher(  596): About to set BSSID
> D/dalvikvm(  116): GC freed 3 objects / 72 bytes in 66ms
> D/dalvikvm(   90): GC freed 1138 objects / 55512 bytes in 82ms
>
> It would seem like attempting to set the BSSID is making the function
> return early, because it never actually prints out "BSSID is now set".
>
> Can any body help please?
>
> Kind regards
> --
> Brad.
>
> >
>

--~--~-~--~~~---~--~~
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: Market Place

2008-09-24 Thread Mark Murphy

> They also seemed to imply during the presentation that the App Market
> would only accept free apps at first.

I'm presuming that's part of the "beta" aspect of the initial App Market.

> Any idea on when they'll start allowing for pay apps? How the Market
> charge the user?  (Charge on the cell bill or via Google Checkout?)

They haven't said one way or the other. With luck, they'll have more info
on this when the App Market beta is available.

--
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: How to order T-Mobile G1?

2008-09-24 Thread Matt

"More interestingly, buyers would be able to have access to a
"contract free" G1 (with a price point of $399), and could unlock the
device with T-Mobile's blessing after 90 days"

>From 
>http://www.engadget.com/2008/09/23/t-mobiles-cto-on-g1-unlocking-and-tethering-plus-a-few-detai/

On Sep 23, 8:23 pm, Johntron <[EMAIL PROTECTED]> wrote:
> Yeah, is there an unsubsidized price?
>
> On Sep 23, 5:56 pm, "Casey Borders" <[EMAIL PROTECTED]> wrote:
>
>
>
> > That's a good question.  Can developers who are not with T-Mobile get 
> > devices?
>
> > On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI <[EMAIL PROTECTED]> wrote:
>
> > > T-Mobile G1---The First Android Phone has announced,I am very excited.
> > > I don't know how to order the android phone,can somebody talk about
> > > such related things in  details?
> > > 1) the price is $179,   but   plus taxes and fees; two-year agreement
> > > requiredd,how about ethe
> > > actual price? how about the price for the developers outside USA?
> > > 2)i am not t-mobile member from china,I use china mobile network,how
> > > to order and use?
>
> > > Thanks in advane.
> > > PowerGUI
> > > -
> > > Android DotPhone Team
> > >http://www.dotphone.org/english/
> > >http://groups.google.com/group/android-dotphone/- 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
-~--~~~~--~~--~--~---



[android-developers] Re: Emulator Skins for HTC Dream / T-Mobile G1

2008-09-24 Thread Laguiz

nice!

On Sep 24, 9:41 am, Olaf Encke <[EMAIL PROTECTED]> wrote:
> Hello Android fans and developers.
>
> I just finished building the first HTC Dream/T-Mobile G1 skins for the
> Android emulator and would like to share them with you. Right now I
> have done the black version of the phone in portrait as well as in
> landscape mode. They are tested to work with the latest Android SDK
> version 1.0r1 (they also work with the 0.9beta).
>
> You can get them here:http://www.android.encke.net/(preview
> screenshots available)
>
> I hope you like them and can put them to good use.

--~--~-~--~~~---~--~~
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] Access to GSM Modem

2008-09-24 Thread Matthew Smith

Hello,

are there any examples how to access the phones GSM modem and is it  
possible to place a DataCall using Android?

I would like to write an application which creates a two-way data  
connection between two Android phones using a GSM or UMTS DataCall. It  
has to be a real data call (i.e. using a telephone number) and not an  
Internet based data transfer (so no WLAN, WAP, Bluetooth etc).

I would appreciate any pointers you can give me.

With kind regards

Matthew
  

--~--~-~--~~~---~--~~
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] IPC (by domain socket) between Android's LocalSocket and Linux kernel's PF_LOCAL socket

2008-09-24 Thread Gary Wang

Dear all,

I try to create the communication between Android Application and
Linux kernel Process by IPC domain socket (using abstract namespace
mode), but when I try to creaste new LocalSocketAddress, it always
casued the exception lsited below,

:
E/me  (  372): java.io.IOException: Connection refused
E/me  (  372):  at android.net.LocalSocketImpl.connectLocal(Native
Method)
E/me  (  372):  at
android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
E/me  (  372):  at
android.net.LocalSocket.connect(LocalSocket.java:95)
:

When i try to create local socket and connect from linux kernel to my
LocalSocketServer, it also arised the same problem,

:
Unix socke, connect failed: Connection refused(errno is 111)
:

is it possible to build bi-directed connection domain socket for
exchanging data between dalvik vm and linux kernel ?

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] Attach a webcam to the emulator

2008-09-24 Thread Christian Wiesbauer
Hi,
 
I want to know is it possible to hook a webcam to the new emulator in
Android 1.0? If so, does anybody know how this work?
 
Best regards,
Christian Wiesbauer 
 

--~--~-~--~~~---~--~~
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] G1 for developers in Europe

2008-09-24 Thread Octavian Voicu

Hello,

I was wondering, is there any way for developers in Europe to get
their hands on T-Mobile G1 in October?
I understand G1 will be available in UK in November, but other
countries have to wait until 2009.

There should be a special offer for developers so that they can buy it
online from anywhere in the world with no subscription, so they can
test their apps on the real thing. That would really speed things up
and make Android better much faster.

Thanks,

Octavian

--~--~-~--~~~---~--~~
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] Devices for testing?

2008-09-24 Thread hyphz

Hi,

Will there ever be a way of getting hold of a G-1, or another Android
phone, just for application testing?

It would seem very awkward to be required to pay a monthly fee to T-
Mobile, especially if it is not for actual use as a phone..

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] Re: Market Place

2008-09-24 Thread Joe Erickson

They also seemed to imply during the presentation that the App Market
would only accept free apps at first.  Any idea on when they'll start
allowing for pay apps?  How the Market charge the user?  (Charge on
the cell bill or via Google Checkout?)

On Sep 23, 7:05 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > how do you get your app uploaded to the MarketPalce
>
> The App Market is not yet available. The beta of the Market is supposed to
> be available at the time the T-Mobile G1 ships in October. Whether
> developers will have an opportunity to put their apps in the Market before
> then is unclear at this time, based on the public statements I have seen.
>
> --
> 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] Can AlertDialog not dismiss after click buttons?

2008-09-24 Thread Doggie

I used AlertDialog.Builder to create a dialog to  edit settings, and
check the user input basing on some logic. I wish to show a warning
toast when users click OK button and keep the AlertDialog on screen,
but it seems that the AlertDialog always dismissed after clicking
buttons. Do anyone know how to do that or other solutions? Thanks!

Best Regards,
Willy

--~--~-~--~~~---~--~~
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] Physical Device Keypad Events.

2008-09-24 Thread Yorgen Valune
Hi,
Does someone know how to send events to keypad of an Android physical device (a 
real device) ?
if so, can you please publish this part of the code (I'm willing to simulate 
press-key during my application)?

10x
Yorgen Valune



  
--~--~-~--~~~---~--~~
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: Developing Wi-Fi applications in the emulator

2008-09-24 Thread Ilya G.

Hello Guys,

have you already tried the Wifi capabilities of the new release
(android-sdk-windows-1.0_r1)?! Have you managed to enable the Wifi in
the emulator by calling setWifiEnabled(true) ? The call of the
isWifiEnabled()-method returns false... any ideas?!

Best regards,
Ilya.

--~--~-~--~~~---~--~~
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: Test Location Providers in 1.0

2008-09-24 Thread Joe Erickson

That looks to be the case.  It never made sense to me that we would
have TestProvider code all through the app anyway.

To test Location aware apps now, don't do anything special in your
code (code it like you would for a real production application), but
in Eclipse, open the Emulator Control view to send GPS lat and long.

The docs say you can use a 'geo' app in the tools folder in the SDK,
but it doesn't seem to exist yet.

http://code.google.com/android/toolbox/apis/lbs.html

On Sep 24, 5:21 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I was wondering too, I had to disable this function from my
> application...
> It seems we can only use DDMS or telnet to simulate location now.
>
> On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > The ability to create and configure mock location providers that was
> > added in Beta 0.9 doesn't seem available in 1.0.
>
> > Has this functionality been moved / renamed or has it been dropped
> > entirely for version 1? If the latter, how do we now mock the status
> > and availability of Location Providers?
>
> > Cheers
> > Reto

--~--~-~--~~~---~--~~
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: Mock Location Providers in 1.0

2008-09-24 Thread Ludwig
I do not have a problem playing GPX files from DDMS and my code continues to
work ok with 1.0.
The only change required was to remove the calls to the two methods you
mention when subscribing to location updates.

(I am running on Vista, just in case this is a platform issue)

Ludwig

2008/9/24 Cristina <[EMAIL PROTECTED]>

>
> Hi!
>
> I have downloaded SDK 1.0 this morning, so I have tried to migrate
> some code I have to this version.
> When trying to migrate MockLocationProvider I found that some methods
> have dissapeared from LocationManager:
> setTestProviderEnabled
> addTestProvider
>
> It seems that it not possible to create a Mock Provider by code any
> more...
>
> I have also checked DDMS Location controls, but they seem to not be
> working either in this version.
> Maybe I am doing something wrong, but I have tried kml and gpx. In
> both cases my kml/gpx files loads ok, but when I click on "play"
> button, my application does not receive the locations.
>
> I have test the geo command, and it works...so by the moment I am
> using this, although it is a little hard to write every point in order
> to do tests...
>
> Has anybody managed to make DDMS locations tools to work in 1.0? Is it
> possible to create a mock location provider by code in this version?
> Is there any other way to automate this? maybe an script that calls
> geo utility?
>
>
> 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: Test Location Providers in 1.0

2008-09-24 Thread Reto Meier

That might force the emulator to turn on the GPS (this was
insufficient for me in 0.9, I still needed to enable and activate the
GPS provider in code first). I haven't had a chance to test in 1.0
yet.

Either way, it still only covers part of the problem.

The test-location-provider-thing also lets you emulate the GPS being
turned on / off, mock it's availability, and programatically modify
the current location. It also lets you experiment with alternative
location services that have different capabilities than the built-in
GPS and Network providers.

All that stuff was useful, it would be a shame if it's gone now.

Cheers
Reto


Professinal Android Application Development
http://www.amazon.com/gp/product/0470344717?tag=interventione-20

On 24 Sep, 16:48, Stefan Handschuh <[EMAIL PROTECTED]> wrote:
> The test-location-provider-thing was unnecessary form the start.
>
> You have to do just one thing: implement a service that continiously
> updates you current location. Thats all.
>
> On 24 Sep., 11:21, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>
>
>
> > I was wondering too, I had to disable this function from my
> > application...
> > It seems we can only use DDMS or telnet to simulate location now.
>
> > On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > > The ability to create and configure mock location providers that was
> > > added in Beta 0.9 doesn't seem available in 1.0.
>
> > > Has this functionality been moved / renamed or has it been dropped
> > > entirely for version 1? If the latter, how do we now mock the status
> > > and availability of Location Providers?
>
> > > Cheers
> > > Reto- 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
-~--~~~~--~~--~--~---



[android-developers] android:label

2008-09-24 Thread dai

Hi, are we allowed to change android:label of AndroidManifest.xml via
program dynamically?

Thank you so much
--~--~-~--~~~---~--~~
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: Test Location Providers in 1.0

2008-09-24 Thread Stefan Handschuh

The test-location-provider-thing was unnecessary form the start.

You have to do just one thing: implement a service that continiously
updates you current location. Thats all.



On 24 Sep., 11:21, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I was wondering too, I had to disable this function from my
> application...
> It seems we can only use DDMS or telnet to simulate location now.
>
> On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > The ability to create and configure mock location providers that was
> > added in Beta 0.9 doesn't seem available in 1.0.
>
> > Has this functionality been moved / renamed or has it been dropped
> > entirely for version 1? If the latter, how do we now mock the status
> > and availability of Location Providers?
>
> > Cheers
> > Reto
--~--~-~--~~~---~--~~
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: Mock Location Providers in 1.0

2008-09-24 Thread Reto Meier

Unfortunately I don't have a good answer for you, but we've been
discussing the same question here:
http://groups.google.com/group/android-developers/browse_thread/thread/7005933e731de0f3#


Professonal Android Application Development
http://www.amazon.com/gp/product/0470344717?tag=interventione-20

On Sep 24, 4:22 pm, Cristina <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have downloaded SDK 1.0 this morning, so I have tried to migrate
> some code I have to this version.
> When trying to migrate MockLocationProvider I found that some methods
> have dissapeared from LocationManager:
> setTestProviderEnabled
> addTestProvider
>
> It seems that it not possible to create a Mock Provider by code any
> more...
>
> I have also checked DDMS Location controls, but they seem to not be
> working either in this version.
> Maybe I am doing something wrong, but I have tried kml and gpx. In
> both cases my kml/gpx files loads ok, but when I click on "play"
> button, my application does not receive the locations.
>
> I have test the geo command, and it works...so by the moment I am
> using this, although it is a little hard to write every point in order
> to do tests...
>
> Has anybody managed to make DDMS locations tools to work in 1.0? Is it
> possible to create a mock location provider by code in this version?
> Is there any other way to automate this? maybe an script that calls
> geo utility?
>
> 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] qemu emulator flag not supported anymore in the 1.0 SDK?

2008-09-24 Thread Cheryl Sedota

In the 1.0 SDK, trying to run:  "emulator.bat -qemu -m 256" on Windows
XP does not work - I get this error:

   w: invalid option -- '-qemu'

This used to work in the beta (0.9) SDK and the emulator's usage hint
in the 1.0 SD indicates that the option is valid:


  -qemu args...   pass arguments to qemu
  -qemu -hdisplay qemu help

Please advise.  Thanks,
Cheryl
--~--~-~--~~~---~--~~
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] Mock Location Providers in 1.0

2008-09-24 Thread Cristina

Hi!

I have downloaded SDK 1.0 this morning, so I have tried to migrate
some code I have to this version.
When trying to migrate MockLocationProvider I found that some methods
have dissapeared from LocationManager:
setTestProviderEnabled
addTestProvider

It seems that it not possible to create a Mock Provider by code any
more...

I have also checked DDMS Location controls, but they seem to not be
working either in this version.
Maybe I am doing something wrong, but I have tried kml and gpx. In
both cases my kml/gpx files loads ok, but when I click on "play"
button, my application does not receive the locations.

I have test the geo command, and it works...so by the moment I am
using this, although it is a little hard to write every point in order
to do tests...

Has anybody managed to make DDMS locations tools to work in 1.0? Is it
possible to create a mock location provider by code in this version?
Is there any other way to automate this? maybe an script that calls
geo utility?


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: BufferedReader.readLine() undocumentedly discards "#!" prefix

2008-09-24 Thread Nickname

Sorry. I want to recall this false bug report.

The issue is not there. It is a problem of my logging code ^_^

On Sep 24, 4:12 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Nickname wrote:
> > I just found that BufferedReader.readLine() undocumentedly and
> > silently discards those input lines that starts with "#!" substring.
>
> > I checked with java.sun.com documentation and found nothing about "#!"
> > prefix at all.
>
> > Is it a bug in Android implementation of BufferedReader class??
>
> That feels like a bug. You probably should just post it on the issue
> tracker, with sample code and file -- the Android team will reply on the
> issue tracker if, indeed, this is (somehow) expected behavior.
>
> http://code.google.com/p/android/issues/list
>
> --
> 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] ContentHandler.startElement(..) and ContentHandler.endElement(..) won't be called in 1.0 rc1

2008-09-24 Thread Stefan Handschuh

Following scenario:

SAXParser saxParser = saxParserFactory.newSAXParser();

XMLReader xmlReader = saxParser.getXMLReader();

xmlReader.setContentHandler(handler);
xmlReader.parse(someImputStream);

where handler implements ContentHandler.

xmlReader.parse(..) calls handler.characters(..) but neither
handler.startElement(..) nor handler.endElement(..).

This worked well in 0.9.

Can this regression be reproduced by anybody?


--~--~-~--~~~---~--~~
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: Problem when running SoundRecordingAPISample of Megha

2008-09-24 Thread De San Nicolas Jean Philippe
I've resolved the problem but I've another one now.

Does anyone have read an .amr issued from the audiorecorder?

2008/9/24 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>

> hey,
>
> I've just tried the sample SOUNDRECORDINGAPISAMPLE, and an error occured:
>
> 09-24 15:42:47.059: WARN/ServiceManager(24): Permission failure:
> android.permission.RECORD_AUDIO from uid=10019 pid=5373
> 09-24 15:42:47.059: ERROR/AudioFlinger(24): Request requires
> android.permission.RECORD_AUDIO
>
> I've put a line with a permission in the manifest but it doesn't make
> anything.
>
> Does anyone know permission RECORD_AUDIO?
>
>
> 2008/9/24 Baonq86 <[EMAIL PROTECTED]>
>
>
>> Does anyone record the different format (not .amr) ??
>>
>> On Sep 24, 3:10 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
>> wrote:
>> > I've not played the .amr from the  SOUNDRECORDINGAPISAMPLE.  I've
>> converted
>> > an .mp3 in .amr with software and try to play it. And it woks. maybe the
>> > probleme comes from the recorded .amr
>> >
>> > 2008/9/24 ZIN <[EMAIL PROTECTED]>
>> >
>> >
>> >
>> > > can u show me the way to play the .amr format? i can't run it on
>> > > Android.
>> >
>> > > On Sep 23, 6:04 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
>> > > wrote:
>> > > > sorry,it works
>> >
>> > > > 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>> >
>> > > > > another question about sound an recording. I've read that the only
>> way
>> > > to
>> > > > > record sound is to record it in AMR format. Is it true that the
>> media
>> > > player
>> > > > > does not read this format? And if it's true, is there another way
>> to
>> > > read
>> > > > > with the mediaplayer the sound that we'we recorded?
>> >
>> > > > > 2008/9/23 Megha Joshi <[EMAIL PROTECTED]>
>> >
>> > > > >> Yes...the sample is intended to be used for 0.9 sdk, it wont work
>> > > correct
>> > > > >> for m5.
>> >
>> > > > >> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>> >
>> > > > >> me again...
>> >
>> > > > >>> I think Ive resolved the problem with sdcard but I have another
>> > > > >>> problem...
>> >
>> > > > >>> the error message in red
>> >
>> > > > >>> ERROR/AudioHardware(518): Error 16 opening record channel
>> > > > >>> ERROR/AudioFlinger(518): openRecord returned error 16
>> > > > >>> ERROR/AudioHardware(518): Attempt to close without open
>> >
>> > > > >>> I run the sample with the m5 version of the emulator. Could it
>> be the
>> > > > >>> reason of the  failure?
>> >
>> > > > >>> regards
>> >
>> > > > >>> 2008/9/22 jphdsn <[EMAIL PROTECTED]>
>> >
>> > > >  Hello,
>> > > >  I try the same sample and I have nearly the same result.
>> > > >  have you installed an sdcard and try another time? Have you a
>> > > positive
>> > > >  result?
>> > > >  I try to install an sdcard but I've always the same line In the
>> > > >  logcat: "sdcard access error"
>> > > >  I think I've an error in the path but don't arrive to resolve
>> it.
>> >
>> > > >  If you have the solution can you guide me. Thank's
>> >
>> > > >  On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote:
>> > > >  > I have downloaded this project, and try running it in Android
>> > > >  > Emulator.
>> > > >  > When i click on the StopRecording Button, an alert appears :"
>> > > process
>> > > >  > com.android.samples.audio has stopped unexpectedly ".
>> > > >  > I wonder there is a problem in this project.
>> > > >  > Can someone help me to fix that?
>> >
>> > > >  > 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] Re: Ksoap2 terminology

2008-09-24 Thread sacoskun

If you are planning to consume .NET web services on the server side,
here is an article about it.

http://java.codeproject.com/KB/mobile/CallWebServiceFromkSOAP.aspx

Regards,
sacoskun

On Sep 24, 5:42 am, amishera <[EMAIL PROTECTED]> wrote:
> Hi,
> I finally figured out how to set the values of the variables by
> looking at the codes and wsdls in the group for ksoap2. Probably I
> should write a wiki on this :)
>
> About the net connection problem I entered a hypothetical IP such as
> 10.0.2.2 and then I had to set the user permission on the manifest
> file. And I got it worked!!!
>
> I greatly appreciate your help.
>
> On Sep 21, 3:48 am, maennel <[EMAIL PROTECTED]> wrote:
>
> > Hi amishera,
>
> > Maybe, try to connect to your Web Service using the IP of your PC and
> > not localhost nor 127.0.0.1. If that doesn't work, verify the
> > namespace!!! I had the problem that I forgot to put a "/" (slash) in
> > the end of the string. Without the slash there was no way to make it
> > function. After putting it on, everything worked fine.
> > I think you should be able to find the correct string of your Web
> > Service's namespace in its source code.
>
> > Best,
> > maennel
>
> > On Sep 21, 5:35 am, amishera <[EMAIL PROTECTED]> wrote:
>
> > > 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.
>
> > > > > > 
>
> > > > > > > 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 -- 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
-~--~~~~--~~--~--~---



[android-developers] Re: Getting android multimodal - org.apache.commons.scxml

2008-09-24 Thread Mark Murphy

Jakob Sachse wrote:
> Mark Murphy wrote:
>> If that does not clear up your problem, you can try merging the
>> commons.scxml source into your own project's source tree
> 
> well, basicly thats what i have done so far

Oh. Sorry, missed that.

> though, i will try to build the jar as you recommended. Even if the
> problem, as far as i see it
> comes mainly from the javax.xml package which seems to collide with
> the Android SDK in some way.

Do you have all the source code to all the commons-scxml dependencies?

If not -- meaning you have commons-scxml source but are still using 
third-party JARs -- start trying to introduce those, either fully into 
your project, or simply recompiling them using your own Java compiler. 
Or, get rid of dependencies that may collide with what is in the Android 
SDK/

For example, according to the dependency chart:

http://commons.apache.org/scxml/dependencies.html

commons-scxml depends upon Xalan, which depends upon xml-apis.

If you are including xml-apis in your build, that might conflict with 
existing DOM and SAX implementations in Android. Try removing xml-apis 
from the build and see what happens.

-- 
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: Can bind service in a tabspec view activity?

2008-09-24 Thread Guillaume Perrot

I still have the problem in v1.0.

On 12 sep, 11:54, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I have the same problem, I used a hack, but your workaround sounds far
> much better than mine so I'll try that.
>
> On 1 sep, 11:49, TuanTuan <[EMAIL PROTECTED]> wrote:
>
> > I used a workaroud to make my tabspec get the service.
>
> > I bind the service in tabHost, then put the IBinder in Intent by
> > intent.putExtra(String, IBinder);
>
> > then tabspec can get the service handler
>
> > I am not sure if this is the correct method and if is effective.
>
> > Anyone has experience on this issue?
>
> > Thanks!
>
> > On 8月31日, 上午8时41分, TuanTuan <[EMAIL PROTECTED]> wrote:
>
> > > It is strange. I dont find the way to make it work.
>
> > > On 8月30日, 上午4时40分, marielisacr <[EMAIL PROTECTED]> wrote:
>
> > > > Hi, I have the same problem, I didn't realize what was happen till I
> > > > read your post, so thanks so much.
>
> > > > How can I do to make it works even in a tabspec? Is there a way?
--~--~-~--~~~---~--~~
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-24 Thread Guillaume Perrot

But if my activity in the tab is at the top of the history stack (jump
from tab one to itself, yes it's useless, it's just a test), even if
its launching mode is singleTop, a new activity is launched full
screen.

On 22 sep, 10:52, hackbod <[EMAIL PROTECTED]> wrote:
> That is behaving as expected -- startActivity() launches a new top-
> level activity.  You need to explicitly add tabs just like you put
> your first in the tab host.
>
> On Sep 22, 1:09 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>
> > Ok, here is a sample project:http://tinyurl.com/test-tabs
> > Two tabs, each tab is an activity.
> > There is one menu item in each tab that allow to jump to the other via
> > an intent.
> > The problem is, instead of jumping into the expected tab, a new
> > activity is launched full screen.
> > I tried different combinations of intent flags and manifest flags but
> > in all cases I tested, the activity is launched full-screen instead of
> > reusing the one in tabs...
> > Hopefully I have a workaround (which is quite a hack) to implement
> > this jump feature (by sending a custom intent to the main activity,
> > which call setCurrentTab) but I would like to know if what I am trying
> > to with tabs is possible an how...
>
> > On 20 sep, 14:01, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>
> > > > 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: Problem when running SoundRecordingAPISample of Megha

2008-09-24 Thread De San Nicolas Jean Philippe
hey,

I've just tried the sample SOUNDRECORDINGAPISAMPLE, and an error occured:

09-24 15:42:47.059: WARN/ServiceManager(24): Permission failure:
android.permission.RECORD_AUDIO from uid=10019 pid=5373
09-24 15:42:47.059: ERROR/AudioFlinger(24): Request requires
android.permission.RECORD_AUDIO

I've put a line with a permission in the manifest but it doesn't make
anything.

Does anyone know permission RECORD_AUDIO?


2008/9/24 Baonq86 <[EMAIL PROTECTED]>

>
> Does anyone record the different format (not .amr) ??
>
> On Sep 24, 3:10 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
> wrote:
> > I've not played the .amr from the  SOUNDRECORDINGAPISAMPLE.  I've
> converted
> > an .mp3 in .amr with software and try to play it. And it woks. maybe the
> > probleme comes from the recorded .amr
> >
> > 2008/9/24 ZIN <[EMAIL PROTECTED]>
> >
> >
> >
> > > can u show me the way to play the .amr format? i can't run it on
> > > Android.
> >
> > > On Sep 23, 6:04 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
> > > wrote:
> > > > sorry,it works
> >
> > > > 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
> >
> > > > > another question about sound an recording. I've read that the only
> way
> > > to
> > > > > record sound is to record it in AMR format. Is it true that the
> media
> > > player
> > > > > does not read this format? And if it's true, is there another way
> to
> > > read
> > > > > with the mediaplayer the sound that we'we recorded?
> >
> > > > > 2008/9/23 Megha Joshi <[EMAIL PROTECTED]>
> >
> > > > >> Yes...the sample is intended to be used for 0.9 sdk, it wont work
> > > correct
> > > > >> for m5.
> >
> > > > >> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
> >
> > > > >> me again...
> >
> > > > >>> I think Ive resolved the problem with sdcard but I have another
> > > > >>> problem...
> >
> > > > >>> the error message in red
> >
> > > > >>> ERROR/AudioHardware(518): Error 16 opening record channel
> > > > >>> ERROR/AudioFlinger(518): openRecord returned error 16
> > > > >>> ERROR/AudioHardware(518): Attempt to close without open
> >
> > > > >>> I run the sample with the m5 version of the emulator. Could it be
> the
> > > > >>> reason of the  failure?
> >
> > > > >>> regards
> >
> > > > >>> 2008/9/22 jphdsn <[EMAIL PROTECTED]>
> >
> > > >  Hello,
> > > >  I try the same sample and I have nearly the same result.
> > > >  have you installed an sdcard and try another time? Have you a
> > > positive
> > > >  result?
> > > >  I try to install an sdcard but I've always the same line In the
> > > >  logcat: "sdcard access error"
> > > >  I think I've an error in the path but don't arrive to resolve
> it.
> >
> > > >  If you have the solution can you guide me. Thank's
> >
> > > >  On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote:
> > > >  > I have downloaded this project, and try running it in Android
> > > >  > Emulator.
> > > >  > When i click on the StopRecording Button, an alert appears :"
> > > process
> > > >  > com.android.samples.audio has stopped unexpectedly ".
> > > >  > I wonder there is a problem in this project.
> > > >  > Can someone help me to fix that?
> >
> > > >  > 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] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-24 Thread Cristina

I have just done a test to send a binary messege to a port using this
code in 1.0

SmsManager smsManager = SmsManager.getDefault();
short port = 16001;
smsManager.sendDataMessage("5556","5554", port, "Hola".getBytes(),
null, null);


I use two emulators, one is launched at 5554 and the other at 5556
and
I try to send the binary sms from 5554 to 5556.
In the 5556 phone I have launch an application with a
BroadcastReceiver in order to receive SMS Messages (but I do not know
how to specify the port)


The application does not failed. But the 5556 phone does not receive
anything.
Instead, in the console I receive the following messege every time I
do a try
[2008-09-24 14:05:06 - ddms]ADB rejected shell command (ls -l /):


Strange but it seems that the adb is receiving the request...


Does anybody has an example on how to send/receive binary SMS to an
application port using sendDataMessage?

anywhere, were you able to do it?





On 18 sep, 11:11, anywhere <[EMAIL PROTECTED]> wrote:
> hi Justin
>
> Ithink i have found the answer to the question 2. i think
> BroadcastReceiver#getResultCode() can get the sms send result.
>
> Please help to anwer the following question 1. Thanks
> (1) Whether Android support sending a text message with a port?
> If not, whether will be supported in future release?
>   I find SmsManager#sendDataMessage can be used to send a binary
> message with a port. But not found method for text message with port.
>
> Thanks
> BR
>
> On Sep 18, 4:35 pm, anywhere <[EMAIL PROTECTED]> wrote:
>
>
>
> > hi Justin
>
> >  Thans for your assistance.
> >   I still have other two issues to bother you.
> >  (1) Whether Android support sending a text message with a port?
> > If not, whether will be supported in future release?
> >   I findSmsManager#sendDataMessage can be used to send a binary
> > message with a port. But not found method for text message with port.
>
> >  (2) I noticed when sending a sms message, a result code can be
> > got. So How can i get the result code?
> >   I didn't find the method.
>
> > Thanks
> > br
>
> > On Sep 18, 6:53 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Well, sorry this has taken so long to respond to! In the process of
> > > trying to write a demonstration I discovered a bug. There is a bug in
> > > the emulator code that causesSmsManager.sendDataMessage() to fail due
> > > to an infinite loop.
>
> > > A bug has been filed and this should be fixed in a future release of
> > > the SDK. At that time, please bring this issue up again to remind me
> > > to write a sample.
>
> > > Cheers,
> > > Justin
> > > Android Team @ Google
>
> > > On Sep 10, 2:28 am, anywhere <[EMAIL PROTECTED]> wrote:
>
> > > > hi Justin
>
> > > >Thanks for your help.
> > > >But i am still confused about how to set the port, as i did not
> > > > find any method to set a port for listen coming sms binary message in
> > > > the document.
> > > >if i write a appliction to receive the binary sms message how
> > > > should i do?
>
> > > > Thanks
>
> > > > On Sep 10, 8:18 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > Data messages sent over SMS are limited in length (133 bytes
> > > > > actually), so this is probably the crash that you are running into.
> > > > > The port number is the port on the receiving device that the receiving
> > > > > service is listening on. Presumably your service is bound to this port
> > > > > and waiting for messages.
>
> > > > > Using SMS data messages might not be really what you want to do
> > > > > because of their small size. This is not really a feasible replacement
> > > > > for GTalk's data messaging functionality.
>
> > > > > Cheers,
> > > > > Justin
> > > > > Android Team @ Google
>
> > > > > On Sep 4, 6:08 pm, plusminus <[EMAIL PROTECTED]> wrote:
>
> > > > > > *bump*
>
> > > > > > I'd like to know that too.
> > > > > > How to receive DataMessages then?
>
> > > > > > Btw: your bug may be reated to this 
> > > > > > one:http://code.google.com/p/android/issues/detail?id=856
>
> > > > > > Best Regards,
> > > > > > plusminus
> > > > > > #http://www.anddev.org-WorldslargestAndroidDevelopmentCommunity
>
> > > > > > On 26 Aug., 05:13, anywhere <[EMAIL PROTECTED]> wrote:
>
> > > > > > > hi all
>
> > > > > > > I am now trying to write some application about sms on 0.9 
> > > > > > > beta
> > > > > > > SDK. The method sendTextMessage ofSmsManagerclass performed well.
> > > > > > > But when usingsendDataMessageto send message SDK will crash.
> > > > > > > Would you please explain what's means of destinationPort 
> > > > > > > parameter
> > > > > > > and how to set it.
>
> > > > > > > Thanks- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--~--~-~--~~~---~--~~
Yo

[android-developers] Re: Getting android multimodal - org.apache.commons.scxml

2008-09-24 Thread Jakob Sachse

Mark Murphy wrote:
>If that does not clear up your problem, you can try merging the
>commons.scxml source into your own project's source tree

well, basicly thats what i have done so far

Janosch wrote:
>>Meanwhile I was turning to the source code of commons.scxml so that i
>>could watch it's unsolved problemens

though, i will try to build the jar as you recommended. Even if the
problem, as far as i see it
comes mainly from the javax.xml package which seems to collide with
the Android SDK in some way.





On 24 Sep., 14:21, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Janosch wrote:
> > I think this is due to xml-apis.jar; it includes the javax.xml package
> > which isn't fully available in android core.
>
> > Is there anything I can do, try or fix? I am feeling clueless at this
> > point. Maybe I am trying something impossible.
>
> The good news is that the package you are trying to use (commons.scxml)
> is open source.
>
> First, just try downloading the commons.scxml source code and building
> it on your machine with your own Java compiler, then use the JAR file
> you just compiled in your Android app instead of any binary distribution
> from the commons.scxml project. I ran into problems with Beanshell
> (http://beanshell.org) which this technique solved. This assumes,
> though, that you're using a 1.5 or greater Java compiler -- I have the
> sneaking suspicion this error comes from older compiled JARs (e.g., 1.4.x).
>
> If that does not clear up your problem, you can try merging the
> commons.scxml source into your own project's source tree, and try
> building it as a whole, though I am not certain that will improve
> matters any.
>
> --
> 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: Problem when running SoundRecordingAPISample of Megha

2008-09-24 Thread Baonq86

Does anyone record the different format (not .amr) ??

On Sep 24, 3:10 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
wrote:
> I've not played the .amr from the  SOUNDRECORDINGAPISAMPLE.  I've converted
> an .mp3 in .amr with software and try to play it. And it woks. maybe the
> probleme comes from the recorded .amr
>
> 2008/9/24 ZIN <[EMAIL PROTECTED]>
>
>
>
> > can u show me the way to play the .amr format? i can't run it on
> > Android.
>
> > On Sep 23, 6:04 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
> > wrote:
> > > sorry,it works
>
> > > 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>
> > > > another question about sound an recording. I've read that the only way
> > to
> > > > record sound is to record it in AMR format. Is it true that the media
> > player
> > > > does not read this format? And if it's true, is there another way to
> > read
> > > > with the mediaplayer the sound that we'we recorded?
>
> > > > 2008/9/23 Megha Joshi <[EMAIL PROTECTED]>
>
> > > >> Yes...the sample is intended to be used for 0.9 sdk, it wont work
> > correct
> > > >> for m5.
>
> > > >> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>
> > > >> me again...
>
> > > >>> I think Ive resolved the problem with sdcard but I have another
> > > >>> problem...
>
> > > >>> the error message in red
>
> > > >>> ERROR/AudioHardware(518): Error 16 opening record channel
> > > >>> ERROR/AudioFlinger(518): openRecord returned error 16
> > > >>> ERROR/AudioHardware(518): Attempt to close without open
>
> > > >>> I run the sample with the m5 version of the emulator. Could it be the
> > > >>> reason of the  failure?
>
> > > >>> regards
>
> > > >>> 2008/9/22 jphdsn <[EMAIL PROTECTED]>
>
> > >  Hello,
> > >  I try the same sample and I have nearly the same result.
> > >  have you installed an sdcard and try another time? Have you a
> > positive
> > >  result?
> > >  I try to install an sdcard but I've always the same line In the
> > >  logcat: "sdcard access error"
> > >  I think I've an error in the path but don't arrive to resolve it.
>
> > >  If you have the solution can you guide me. Thank's
>
> > >  On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote:
> > >  > I have downloaded this project, and try running it in Android
> > >  > Emulator.
> > >  > When i click on the StopRecording Button, an alert appears :"
> > process
> > >  > com.android.samples.audio has stopped unexpectedly ".
> > >  > I wonder there is a problem in this project.
> > >  > Can someone help me to fix that?
>
> > >  > 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] Re: Problem with Android SDK 1.0 when playing media

2008-09-24 Thread Baonq86

Oh, really ?? I think it's a big error in Android 1.0. :(

On Sep 24, 4:55 pm, ZIN <[EMAIL PROTECTED]> wrote:
> I copy a file with wma format to sdcard and try opening this media
> file with Android Music App. But it said that "The player can't
> support this format". (I have already openned this format in SDK 9.0
> beta and got success.)
> What's the problem with the newest SDK?
--~--~-~--~~~---~--~~
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: Receiving SMS Messages in 1.0?

2008-09-24 Thread Cristina

Sorry I misundertand your message..

Yes I have tried that part of the application (receiving a text sms)
and works for me.

I have send the message using the DDMS send utility...
Maybe you can use the debugger in order to see if you are receiving
the intent bundle with the extra "pdus"...
Using the debugger I discovered that the intent bundle has this "pdus"
extra, which is an Object[].
Each Object[] element is a pdu (byte[])

Can you see this using the debugger? Where is your application
failing?

Cristina





On 24 sep, 14:20, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]>
wrote:
> Hello, I've tried your code but it failed! my application failed. Have you
> tried and succeed?
>
> 2008/9/24 Cristina <[EMAIL PROTECTED]>
>
>
>
>
>
> > Hi,
>
> > I do not know if it is the right way, but I have found a way to get
> > the message.
> > Here I include my code to get the SmsMessages. I hope it helps you
>
> > public class ServerMessagesReceiver extends BroadcastReceiver {
>
> >    static final String ACTION =
> > "android.provider.Telephony.SMS_RECEIVED";
>
> >    public void onReceive(Context context, Intent intent) {
> >         if (intent.getAction().equals(ACTION)) {
> >                 StringBuilder buf = new StringBuilder();
> >                 Bundle bundle = intent.getExtras();
> >                 if (bundle != null) {
> >                         Object[] pdusObj = (Object[]) bundle.get("pdus");
> >                         SmsMessage[] messages = new
> > SmsMessage[pdusObj.length];
> >                         for (int i = 0; i >                                 messages[i] = SmsMessage.createFromPdu
> > ((byte[]) pdusObj[i]);
> >                         }
> > 
> > 
> > ...
>
> > By the way, Does somebody know how to receive an SMS that has been
> > sent using
> > an application port using the methos.sendDataMessage?
>
> > On 24 sep, 08:15, Reto Meier <[EMAIL PROTECTED]> wrote:
> > > Is it still possible to listen for incoming SMS messages in the latest
> > > 1.0 SDK release?
>
> > > The SMS_RECEIVED_ACTION string used to listen for incoming SMS
> > > messages seems to have gone missing. It used to be available from the
> > > android.provider.Telephony.Sms package, which also seems to have
> > > disappeared, so getMessagesFromIntent has gone too.
>
> > > Previously, you could create a Broadcast Receiver to listen for SMS
> > > messages using this code:
>
> > >   String incoming_SMS =
> > > android.provider.Telephony.Sms.Intents.SMS_RECEIVED_ACTION;
>
> > >   public void onReceive(Context _context, Intent _intent) {
>
> > >     if (_intent.getAction().equals(incoming_SMS)) {
> > >       SmsManager sms = SmsManager.getDefault();
> > >       SmsMessage[] messages =
> > > Sms.Intents.getMessagesFromIntent(_intent);
> > >     }
>
> > > Is there still a way to do this?
>
> > > Thanks
> > > Reto- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--~--~-~--~~~---~--~~
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: Does getLocationFromName work in 0.9?

2008-09-24 Thread max

Is it true that this has not been fixed for 1.0?

On Sep 6, 10:49 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> You are right, getFromLocationName() with bounding box returns a empty list
> ...it is a bug...and will be fixed in the next release.
>
> 2008/9/6 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
>
>
> > Sorry to bump, but does this work for anyone?
>
> > On Sep 3, 10:59 am, "[EMAIL PROTECTED]"
> > <[EMAIL PROTECTED]> wrote:
> > > Does anyone know if getLocationFromName (with a bounding box) works in
> > > 0.9? I can use the simpler version just fine:
>
> > > public ListgetFromLocationName(String locationName, int
> > > maxResults)
>
> > > When I use the version that accepts a bounding box, I always get a
> > > null result:
> > > public ListgetFromLocationName(String locationName, int
> > > maxResults, double lowerLeftLatitude, double lowerLeftLongitude,
> > > double upperRightLatitude, double upperRightLongitude)
>
> > > Has anyone successfully used 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
-~--~~~~--~~--~--~---



  1   2   >