[android-beginners] Re: Android communication

2009-10-05 Thread Chris Stratton

Or to put it another way, the current method is to use a make a server
somewhere on the internet (or perhaps wifi intranet)  to catalog and
function as an intermediary between the phones.

In the future or maybe now with low-level hacking, ad-hoc wifi or
something bluetooth based could become an option.

On Oct 5, 4:09 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
 If you want to communicate within a wireless LAN  (using
 infrastructure mode on Wifi) you can come up with your own discovery
 protocol.

 If you want to communicate outside your locale network, you might want
 to use some cloud service which can help with client discovery.

 Another option might be Wifi Adhoc. Current Android SDK has no support
 for Wifi Adhoc, but you can get it running on platform level (or wait
 till it's supported).

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Oct 2, 4:51 pm, Jerome White jer...@cs.caltech.edu wrote:

  I'd like to build an application in which there are several Android
  devices that communicate amongst themselves. What is the best way to
  do this? Wi-Fi seems like a good option, in that you can discover your
  neighbors and don't need any hard coded identifiers (such a phone
  number), but I'm not sure. What is the standard practice? Thanks

  jerome
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Compile C on Android Phone

2009-10-03 Thread Chris Stratton

On Oct 3, 5:18 am, Sean Hodges seanhodge...@googlemail.com wrote:
 As far as I'm aware, no. There is no native C compiler available for
 the stock Android platform. To get that level of access to your
 device, you'd need to root the phone and cross-compile a tool-chain
 for it.

Rooting the phone is not technically required, though it would make
life easier by opening up your options for where to install the
executable.

I'm not aware of a C compile that has been made to run on an android
phone (as opposed to produce executables for one, which is common).
I'm sure it is possible, however I would also suggest that it's
probably not a good idea - you have a computer with limited ram, the
available storage media is not really designed for intensive re-write
cycles, and you don't exactly have a great platform on which to do
serious file editing.  But none of these things mean you couldn't do a
little light duty development on the phone if you really, really want
to.

If you really want to do it, an option to compiling a compiler with
the android toolchain would be to see if you could make one built to
run on arm-linux work by moving over enough of the arm-linux shared
libraries, as this may be simpler than trying to compile against
android's non-linux libraries.  Look up the people who have been
running Debian-arm on (rooted) phones.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to compile C application in Emulator

2009-09-18 Thread Chris Stratton

On Sep 17, 1:55 am, Smruti Pragyan Misra smruti...@gmail.com wrote:
 Hi,
         I have compiled a C application with ELDK4.1 for ARM.However when I
 push it to Android and tried to run it on the shell,it fail.Please help me
 with this.

That is not the right toolchain to be using for Android, as while
Android has a linux kernel it does not have a usual linux userspace or
libraries.  If you can statically link the executable and it's in the
right format it might work, but Android is primarily intended for
pseudo-java programming within it's provided SDK.  If you really want
to write (or port) C programs, download the android NDK and re purpose
its toolchain to build executables dynamically linked against
Android's unique runtime libraries.  That toolchain is actually
intended for building jni libraries, not stand alone executables, but
if you search for an unofficial setup called android-ndk-wrappers
you will be able to set it up for somewhat normal compiler usage.

Also your executable will have to be stored somewhere that is not
mounted noexec, and have its exec bit set.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Routing audio to within the call

2009-09-18 Thread Chris Stratton

On Sep 17, 1:42 pm, Ron Schnell schn...@gmail.com wrote:
 I've been following the new APIs as they come out, and I notice a few
 different options on how to route media playback to the speaker,
 bluetooth, earpiece, etc.  But I have never seen an option to route
 media playback into an active telephone call. Am I correct that this
 is impossible?  Any chance that it will become possible?

Opinions seem to vary between not possible on current phones and
not possible with the current baseband firmware for current phones -
ie, at the very least it needs changes below the level of android.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development Phone

2009-09-17 Thread Chris Stratton

On Sep 17, 8:55 am, Jeffrey Blattman jeffrey.blatt...@gmail.com
wrote:

 unlocked means it is not tied to a particular provider, so that is
 irrelevant to the question. you can normally add / remove any apps you
 want on a standard android phone.

I don't think you will be able to remove the applications that ship
with the phone unless you build and flash new system images, and for
that you will need root or a bootloader that lets you flash unsigned
firmware.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Chris Stratton

On Sep 17, 7:12 am, Mark Murphy mmur...@commonsware.com wrote:

 2. You cannot hangup/terminate call programmatically from an SDK
 application.

Can you turn off the radio / enter airplane mode?   Or will that only
pop up a dialog for the user?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development on the MyTouch 3G

2009-09-13 Thread Chris Stratton

On Sep 13, 9:45 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
 Don't worry. You have not to send back your MyTouch. You can do what
 you can do with the G1 or developer phone.

Well, a myTouch user isn't t likely to inadvertently write
applications that don't work without a slide-out keyboard ;-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Chris Stratton

But there's no reason a future version of the platform couldn't
include both a documented api and an explicit reject calls
permission.

On Sep 10, 12:51 pm, Chris Stratton cs07...@gmail.com wrote:
 On Sep 10, 11:48 am, Mark Murphy mmur...@commonsware.com wrote:

  Blocking incoming phone calls...even if I
  knew how to do it, I would not be discussing it on an open list like
  this. After all, malware might exploit this capability to block all
  incoming calls, or random incoming calls, or something.

 Malware with the permission to block calls would also have the
 permission to make calls, wouldn't it?  If so, would think that be
 more serious, potentially running up substantial bills - and point to
 the same caution of users needing to be careful of what applications
 with phone permissions they install.

 I would think that the ability to block calls, for example all calls
 not in contacts, is much more likely to be employed to combat malware
 of the robo-dialer sort used by unscrupulous telemarketers...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-10 Thread Chris Stratton

On Sep 9, 4:30 pm, Earl Wilson earl...@gmail.com wrote:

 No you can not.  The  type of applications you can develop on a
 windows mobile device is windows mobile applications.  Android is
 different the windows.  That is the same as trying to run or develop
 Mac OSX apps for your windows phone.

What keeps you from developing OSX applications for windows is not
primarily something technical, but Apple's perhaps over-reaching
claims of control over the OSX api's.  In the case of android, the
apis are not only documented but the actual code is available (and if
you are careful to do it right, legal) to use as the basis of a
translation layer.   In other words, for running android apps on a
windows mobile phone the problems are simply technical... if someone
wants to do it badly enough, they will come up with a way to.

More practical and popular approaches seem to be to try to get a build
of android running entirely in place of windows mobile.  The HTC line
of android phones at least give the impression of being descended from
from the hardware of their windows mobile platforms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Chris Stratton

On Sep 9, 5:33 pm, Justin Anderson janderson@gmail.com wrote:

  I have a new Samsung Omnia with Windows Mobile 6.1 on it.

  Can I develop Android applications to run on this type of phone?

 No.  That is the equivalent of asking if you can develop windows
 applications to run on Linux.

Well, I do that routinely (specifically, I write windows applications
by cross compiling from a linux machine, and test them on the
development machine using the wine compatibility layer).

I would assume that sooner or later we are going to start to see
compatibility layers to allow applications developed for one framework
to run on another, though it may not become fully practical until
phones have a bit more horsepower, and it will probably first become
practical as a cross platform toolkit where you write for the
compatibility layer rather than any native framework.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development Phone

2009-08-29 Thread Chris Stratton

On Aug 24, 9:09 am, Ran dahan...@gmail.com wrote:

 What is the benefit of working with ADP1 over the other Android
 phones ?

Just to expand on what others have said:

Cost seems comparable betwen a dev phone and a retail phone at full
retail or plan price + termination fee, so it's really more a of a
technical question.

Reasons for a dev phone

-sim unlocked (some such as tmobile may? do that if you pay full
retail or eventually on a plan)
-can change linux and system libraries
-can change pre-installed applications
-tmobile myfaves application sends periodic sms which costs money on
any other network

Reasons for _not_ getting a dev phone

-only one older dev phone model generally available at present
-dev phones can't buy paid applications from the market (including
your own)
-if you sell apps, you need to restrict yourself to the capabilities
of your users phones (and test on such a device!)
-various preinstalled proprietary applications missing (+/- depending
on your interest)

The not being able to change preinstalled applications is in my mind
the least anticipated, and most annoying, problem.  There are many
areas where very small decisions of questionable wisdom in default
applications really hamper the user experience (even in the using it
just to make calls sense), but these can't be very readily changed on
a retail phone, particularly the parts most closely involved in the
telephone functionality.

As of this moment, I believe most of the retail phones are probably
still shipping with an easily rooted linux kernel, but that probably
will get closed up (already fixed in google's tree) and they will be
limited until another hole is found.







--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---