messagingbay1 | 1 Jun 2008 03:13
Picon

Send SMS from Gmail email account


Hi, you can send SMS from your gmail now. In your gmail, To send SMS
to mobile +123456789, you only need to add
123456... <at> sms.messagingbay.com as the new contact.

For details, visit:
http://www.messagingbay.com/smsxmpp.jsp?navi=27

regards
Steve Oldmeadow | 1 Jun 2008 03:15
Favicon
Gravatar

Re: Can one play a ByteArrayInputStream audio with MediaPlayer?


Android also includes javax.sound but it is not implemented yet.

How many Java ME phones can do this?  Even though the spec. may
support it implementation is another story.

Wesley | 1 Jun 2008 03:50
Picon

Re: Question About AndroidManifest.xml and resources


Each activity need to declare at AndroidManifest.xml in order to start
activity...
thing I want to do is I want to startActivity without declare it at
manifest file... It can't run activity, exception was throw where the
exception said I need declare the activity in manifest... May be those
value in manifest need to set it somehow in order to startActivity...
Can I set those value in my code so that the activity can run???

the resources that I mean is "getContext().getResources()" it has a
way to getResources.. But is there anyway I can set the Resources that
return from the method???

wesley.

On 5/31/08, Mark Murphy <mmurphy <at> commonsware.com> wrote:
>
> Wesley wrote:
>> 1st question example
>> ApiDemo, it have a lot of example of activity which each activity need
>> to declare at AndroidManifest.xml rite??? If one of the activity I did
>> not declare at manifest, sure I can't start the activity, but I want
>> to hard code the activity manifest in code not in manifest, so that I
>> can start the activity. Is there a way to set it dynamical??
>
> Sorry, I guess I was unclear.
>
> "but I want to hard code the activity manifest in code not in manifest,
> so I can start the activity"
>
(Continue reading)

Shane Isbell | 1 Jun 2008 05:28
Picon

Atomoid 1.0 released: Atom Reader


I just uploaded an Atom reader for android: http://code.google.com/p/atomoid/
. It's a simple implementation using kxml and allows you to attach
handlers to mime-types so that you can read custom xml embedded within
the feed. It's not a UI or application but rather a utility that
allows you to point to a URL and get back object(s) containing the
atom information. Apache License 2.0.

Regards,
Shane

blindfold | 1 Jun 2008 09:27
Picon

Re: Can one play a ByteArrayInputStream audio with MediaPlayer?


Steve,

> How many Java ME phones can do this?  Even though the spec. may
> support it implementation is another story.

Basically all phones from Nokia support it, as well as several
phones from Sony Ericsson and Motorola. It is used in my MIDlet

   http://www.seeingwithsound.com/midlet.htm

which is why I am investigating if a port to Android would be
possible, and was surprised by its current API limitations.

On Jun 1, 3:15 am, Steve Oldmeadow <st... <at> smoco.com> wrote:
> Android also includes javax.sound but it is not implemented yet.
>
> How many Java ME phones can do this?  Even though the spec. may
> support it implementation is another story.
Steve Oldmeadow | 1 Jun 2008 11:16
Favicon
Gravatar

Re: Can one play a ByteArrayInputStream audio with MediaPlayer?


>    http://www.seeingwithsound.com/midlet.htm
>
> which is why I am investigating if a port to Android would be
> possible, and was surprised by its current API limitations.
>

Your app looks great.  I'm sure a port will be possible but you may
have to use javax.sound instead of MediaPlayer.  I wouldn't judge
Android by the current state of its API.

Nomade | 1 Jun 2008 12:04
Picon

Re: ListActivity woes


what i can say about that is that when you go to an other activity or
when you scroll down you list it use the cursor you place in the
SimpleAdapter so when someone click a checkbox for exemple in a row of
your list it is your job to do an update to your cursor (do this by
using the update function for the cursor in java doc).

Once you do that the listActivity will leave your data as selected
because it is bind with your cursor and will automaticaly put the
right data.

to Access an element in a listView use the listView object in the
onListItemClick methode and the position or the View object (you can
do a : (TextView) v.findViewById(R.id.txtResultSendSMS)  v: is the
view that as been clicked).

On May 31, 2:01 pm, David Given <d... <at> cowlark.com> wrote:
> Mark Murphy wrote:
>
> [...]
>
> > If you're sure your data set won't be a-changin' underneath you, you
> > could try using an unmanaged cursor. However, if other activities have
> > the capability of modifying the data you're showing in the list (e.g.,
> > it's a public content provider), then I suspect you *want* to requery
> > upon the activity restarting, lest you show stale data to the user.
>
> Yup, switching to an unmanaged cursor fixed it. I also checked that my
> ListView automatically notices when my database update thread modifies
> the database; that still works, so manually requerying is obviously
(Continue reading)

Mark Murphy | 1 Jun 2008 13:00
Favicon
Gravatar

Re: Question About AndroidManifest.xml and resources


Wesley wrote:
> Each activity need to declare at AndroidManifest.xml in order to start
> activity...

Correct.

> thing I want to do is I want to startActivity without declare it at
> manifest file... 

I do not know of any way to do that.

Why do you feel you need to register an activity at run-time instead of 
at compile-time? There may be other ways to solve your problem that 
better fit the Android framework.

 > It can't run activity, exception was throw where the
> exception said I need declare the activity in manifest...

Correct.

> the resources that I mean is "getContext().getResources()" it has a
> way to getResources.. But is there anyway I can set the Resources that
> return from the method???

1. Put the resources in the res/ directory tree...but I think you knew 
that and don't want to do that for some reason.

2. Create your own base Activity subclass that overrides getResources() 
to return a Resources object that, somehow, you fill in yourself.
(Continue reading)

David Given | 1 Jun 2008 13:37

Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

blindfold wrote:
[...]
> Basically all phones from Nokia support it, as well as several
> phones from Sony Ericsson and Motorola.

I'd be careful. I was working on one mobile phone system (and for
obvious reasons I can't tell you which one it was) and got a chance to
look at the source code for this stuff. To my horror I discovered that
what the streaming audio code actually did was to read the entire stream
into a byte array and play it from there!

So just because they claim support for this kind of stuff doesn't mean
it's actually supported *well*...

--

-- 
┌─── dg@cowlark.com ─────
http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

whitemice | 1 Jun 2008 14:35
Picon
Favicon
Gravatar

Re: How would you like your app marketed?


Any kind of common payment API would be a real boost to the industry.
The act of downloading and installing apps is actually the easy part.


Gmane