[android-developers] Re: Google Maps Broadcast Event for audible navigation instructions start and stop?

2009-12-14 Thread blindfold
+1. I am interested in this functionality too, to mute my app when
Google Maps Navigation is talking.

On Dec 14, 8:52 pm, skyhigh  wrote:
> I have an application which is playing audio.  I have some customers
> that use this application while driving and who also use the Google
> Maps application to get directions to the places where they are
> driving.
>
> They have asked me to change my application to pause my audio while
> the Google Maps application is giving them audio navigation
> instructions.  I am trying to find out if I can register a Broadcast
> Receiver to let me know when the Google Maps application is giving
> audio navigation instructions, or if there is a way to detect when any
> other application has started or stopped playing audio.
>
> It seems that this type of functionality would be beneficial for
> Google Maps and for any type of application which is playing media, so
> I am hoping that Google Maps is broadcasting events when it starts and
> stops giving audio navigation instructions, or that there is a generic
> way to discover when overlapping audio sources are trying to play.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Writing indented XML

2009-12-14 Thread Armond Avanes
Hi Folks,

Anyone knows how I can write indented XML using XmlSerializer or any other
XML specific API?

Regards,
Armond 

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Aldiko View

2009-12-14 Thread Sukitha Udugamasooriya
hi,

Does anybody know what is the View used in the Aldiko epub reader. Is
it a WebView used to displaythe  chapter content?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: IllegalStateException: not connected to MediaScannerService?

2009-12-14 Thread blindfold
Today I received yet another instance of this crash problem, again on
a Droid with Android 2.01:

java.lang.IllegalStateException: not connected to MediaScannerService
at android.media.MediaScannerConnection.scanFile
(MediaScannerConnection.java:148) at
blah.blah.blah.onMediaScannerConnected(Unknown Source)

Is this a Droid bug, or am I missing something? My code is nothing
special, and is just meant to update the image Gallery after writing a
JPEG file. Must one add a supplementary MediaScannerService check, and
if so, how?

Thanks

On Dec 14, 4:11 pm, blindfold  wrote:
> After http://groups.google.com/group/android-developers/browse_frm/thread/1...
> I am using
>
> mScanner = new MediaScannerConnection(this,
>    new MediaScannerConnection.MediaScannerConnectionClient() {
>       public void onMediaScannerConnected() {
>          mScanner.scanFile(fileName, null /* mimeType */);
>       }
>       public void onScanCompleted(String path, Uri uri) {
>          if (path.equals(fileName.toString())) {
>          mScanner.disconnect();
>       }
>    }});
>
> mScanner.connect();
>
> This works fine on my ADP1, but on Motorola Droid with Android 2.01
> this (occasionally?) results in crashes with
>
> java.lang.IllegalStateException: not connected toMediaScannerService
> at android.media.MediaScannerConnection.scanFile
> (MediaScannerConnection.java:148) at
> blah.blah.blah.onMediaScannerConnected(Unknown Source)
>
> while scanFile() is called inside onMediaScannerConnected(). Why would
> there be a MediaScannerConnection without an associatedMediaScannerService?
>
> 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-14 Thread 李務誠
On Sat, Dec 12, 2009 at 6:28 AM, tdom...@googlemail.com <
tdom...@googlemail.com> wrote:

> couldn't fully test if it works.
> but why do I have to call this method, what does it acutally do?
>
> I though it was needed if you want to directly let the camera draw on
> an surface, like here:
>
> http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html
>
> But I want to draw the camera preview on an opengl object, through
> textures, do I really need to do that?
>
Yes. You still need to do that. If applications do not call
setPreviewDisplay, camera drivers may not start the preview even if
startPreview is called. Ex: the current implementation on Droid.

>
> On 11 Dez., 23:10, "tdom...@googlemail.com" 
> wrote:
> > >You need to call setPreviewDisplay in surfaceChanged.
> >
> > ok thanks I will try that later.
> >
> > >And the app shouldn't call setPreviewSize with arbitrary numbers because
> not
> > >every device support 240x160. Use getPreviewSize in 1.6 or use
> > >getSupportedPreviewSizes in 2.0.
> >
> > yeah I was going to do so as soon as I fix this this ugly bug, get an
> > RGB image etc .
> >
> > I wanted to get fast results.
> >
> > On 11 Dez., 02:59, Wu-cheng Li (李務誠)  wrote:
> >
> > > You need to call setPreviewDisplay in surfaceChanged.
> >
> > > And the app shouldn't call setPreviewSize with arbitrary numbers
> because not
> > > every device support 240x160. Use getPreviewSize in 1.6 or use
> > > getSupportedPreviewSizes in 2.0.
> >
> > > On Fri, Dec 11, 2009 at 3:47 AM, tdom...@googlemail.com <
> >
> > > tdom...@googlemail.com> wrote:
> > > > hi,
> > > > I'm trying to get the preview images of the android Camera onto a
> > > > opengl texture. I have been successful so far, it works most of the
> > > > times. Though sometimes I will just get a black screen when starting/
> > > > resuming the application. I have been debugging for days, not finding
> > > > any clue.
> > > > When debugging I noticed that both the camera callback and the
> > > > onDrawFrame are called in such situations. the bytearray of the
> camera
> > > > does contain data. though nothing is shown.
> > > > I would really appreciate if someone could help me with this, cause
> > > > problem has been driving me crazy for days.
> >
> > > > the source can be browsed/checked out here:
> > > >http://code.google.com/p/andar/source/checkout
> >
> > > > --
> > > > 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
> > > > android-developers+unsubscr...@googlegroups.com
> 
> >
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Disable spinner item?

2009-12-14 Thread Romain Guy
I just linked to it. ListAdapter.isEnabled(int).

On Mon, Dec 14, 2009 at 10:49 PM, rexowner  wrote:
> Thank you for your reply.
>
> None of the 2 Class methods or 8 inherited methods on the page cited
> appear to have
> anything to do with disabling items in the list.  None of the
> subclasses
> appear to have a way to do this either.
>
> Maybe I am dense, but it is not at all clear how to do this.
>
> On Dec 13, 2:10 pm, Romain Guy  wrote:
>> This is performed by the 
>> adapter:http://d.android.com/reference/android/widget/ListAdapter.html#isEnab...)
>>
>>
>>
>> On Fri, Dec 11, 2009 at 4:50 PM, rexowner  wrote:
>> > I also want to do this, and after hunting around for half a day, have
>> > not found a way to do it,
>> > and am moving on to some other priorities.
>>
>> > I also would be very interested in this useful behavior.
>>
>> > Sorry I can't be of more help, but if you find a way, please post.
>>
>> > Thanks!
>>
>> > On Dec 10, 4:36 pm, Keith Wiley  wrote:
>> >> How do Idisable(gray out, make unselectable) an item in aSpinner?
>> >> I tried calling View.disable() on the associated child of theSpinner,
>> >> but it remains black text (not gray) and selectable.
>>
>> >> There must be some way of showing but leaving unselectable certain
>> >> items in aspinner, right?  This is a standard "menu" behavior that
>> >> goes back decades.  Android permits it, right?  I want the user to see
>> >> that certain options are possible under certain circumstances even if
>> >> they are impossible at the immediate moment...exactly the way items in
>> >> the main Android menu-button invoked menu can be visible but
>> >> unselectable.
>>
>> >> Thanks a lot.  I'm sure I'm just missing something obvious here.
>>
>> >> Cheers!
>>
>> > --
>> > 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
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Romain Guy
>> Android framework engineer
>> romain...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time
>> to provide private support.  All such questions should be posted on
>> public forums, where I and others can see and answer them
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Anybody know the number of Android user that can buy app against those who cant?

2009-12-14 Thread RobGThai
While Android seems to be raging recently, however not all users are
able to buy application through Market (Thanks Google and their
limited policy).

I just don't know why should I developing an app for a platform that
doesn't really convinced me that it will make me some profit. At the
very least, Google should be able to provide the number of users
logging in to the Market and download paid applications.

I have an unrooted phone sitting here and like 65% of the apps (if not
more) consists of some show-random-photos and sound-clips, I don't
even know if I should call them applications any more. So unless the
apps get some recommendation from somebody, it is more than likely
that it will not get hit unless user know what they are looking for.

The problem comes from the ability for developer to sell and buyer to
buy. It doesn't matter how many phone will be bought in the following
year or how many model will come out. If the user can't buy it, those
number are meaningless to developers.

The whole concern was actually from people asking why am I doing it
when I dont get paid. It's actually a very good question. Not to
mention couple of iPhone developers that suggest AppStore.

It's all based on some article on the net and people around me though.
Has anybody feeling that way as well?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Disable spinner item?

2009-12-14 Thread rexowner
Thank you for your reply.

None of the 2 Class methods or 8 inherited methods on the page cited
appear to have
anything to do with disabling items in the list.  None of the
subclasses
appear to have a way to do this either.

Maybe I am dense, but it is not at all clear how to do this.

On Dec 13, 2:10 pm, Romain Guy  wrote:
> This is performed by the 
> adapter:http://d.android.com/reference/android/widget/ListAdapter.html#isEnab...)
>
>
>
> On Fri, Dec 11, 2009 at 4:50 PM, rexowner  wrote:
> > I also want to do this, and after hunting around for half a day, have
> > not found a way to do it,
> > and am moving on to some other priorities.
>
> > I also would be very interested in this useful behavior.
>
> > Sorry I can't be of more help, but if you find a way, please post.
>
> > Thanks!
>
> > On Dec 10, 4:36 pm, Keith Wiley  wrote:
> >> How do Idisable(gray out, make unselectable) an item in aSpinner?
> >> I tried calling View.disable() on the associated child of theSpinner,
> >> but it remains black text (not gray) and selectable.
>
> >> There must be some way of showing but leaving unselectable certain
> >> items in aspinner, right?  This is a standard "menu" behavior that
> >> goes back decades.  Android permits it, right?  I want the user to see
> >> that certain options are possible under certain circumstances even if
> >> they are impossible at the immediate moment...exactly the way items in
> >> the main Android menu-button invoked menu can be visible but
> >> unselectable.
>
> >> Thanks a lot.  I'm sure I'm just missing something obvious here.
>
> >> Cheers!
>
> > --
> > 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
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: GLSurfaceView.Renderer render rate

2009-12-14 Thread Robert Green
If you're using the render-continuously mode, she'll go as fast as she
can go.  60FPS if you're doing easy HW-accel 2D or very basic 3D.
I've never seen over 60FPS.  It's probably vsynced to that.

I like to use a shared object called the World to pass between my
logic thread and renderer thread.  Logic updates world, renderers
draws it.  Simple!

I keep a simple boolean isLocked on the World and synchronize the
calls to getLock() and release().  You will want to set a max rate for
your logic thread to run and have it figure out how many MS to sleep
for.  I didn't do that the first time and mine would run at 200-300fps
while rendering at 30-60.  That was a big waste of CPU cycles :)  None
of my code does that anymore.

On Dec 14, 9:58 pm, Jeremiah Sellars  wrote:
> I suppose I should add... that my background is homebrew for Nintendo
> DS and coding in C. The game loop would generally just include a call
> to wait for the screen's vertical blank and that was ~1/60th of a
> second. It couldn't be relied upon totally for timing, but as long as
> you weren't running really intense operations it was fine. DS Homebrew
> is substantially closer to the hardware and the combination of
> learning Java, OOP concepts, working with a very large API and
> applying everything to a new platform is causing me to ask some likely
> stupid questions.
>
> Anyway, I hope someone can find a moment to help.
>
> Thanks again,
> Jeremiah
>
> On Dec 14, 3:51 pm, Jeremiah Sellars  wrote:
>
> > Hello everyone,
>
> > Continuing to tackle a game project, I've learned tons and have tons
> > more to learn.
>
> > From what I've picked up, a "proper" game would have at least 3
> > threads. The main activity thread which would likely double as the UI
> > thread, the GL Renderer thread which is setup automatically with the
> > GLSurfaceView.Renderer and then a Game Logic thread. As I understand
> > it, I'll need to make sure to setup a sleep timing in the game logic
> > thread to have it behave correctly, but what I'm not sure on is at
> > what timing is the Renderer thread working at? Exactly how often is
> > onDrawFrame() being called?
>
> > Thanks everyone!
> > Jeremiah

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Facebook login fail

2009-12-14 Thread Krishna Shetty
The permission 
is already added in my manifest file.
Still I am facing the same issue.

Please tell me whether 'FBRocket' library is working for any one.

thanks,
Krishna

On Dec 14, 11:10 pm, Eric Hackborn EH  wrote:
> > I am creating a Facebook application on Android
> > I trying to use Facebook client library called 'FBRocket' in my app
> > mentioned in below link.
> >http://wiki.developers.facebook.com/index.php/User:Android
>
> > But, Facebook login itself is failing.
> > When I test, it takes very long time to display the login screen. Once
> > login user name  and password is entered and  'Connect' is pressed, it
> > displays error ‘Web Page not available..’ Login doesn't succeed.
>
> In case you didn't see it, there's a warning about permissions on the
> FBRocket page:
>
> http://xeomax.net/fbrocket/
>
> IMPORTANT: Many people have been experiencing difficulties with this
> alpha release, mainly concerning the login functionality. This has
> probably been caused by not adding the necessary permissions to your
> AndroidManifest.xml file. You need to add the following:
>  to your
> manifest file of your application in order to enable the embedded
> web-browser control to connect to the Facebook Connect authorisation
> mechanism.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Socket - Network connect drops after 15 minutes

2009-12-14 Thread Edward Falk
Can I ask why you're keeping a connection open for 15 minutes?  That
must be killing the battery.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Simple Call App - Uri?

2009-12-14 Thread AJ
I am trying to make a very very simple app as a beginner but it does
not work. The app just has a text bar and a button. Somehow, the call
button does not start  a call.
Help please.

package com.tests.helloandroid;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
public class HelloAndroid extends Activity {
  EditText mEditText_number = null;
  LinearLayout mLinearLayout_no_button = null;
  Button mButton_dial = null;
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mLinearLayout_no_button = new LinearLayout(this);
mEditText_number = new EditText(this);
mEditText_number.setText("5551222");
mLinearLayout_no_button.addView(mEditText_number);
mButton_dial = new Button(this);
mButton_dial.setText("Dial!");
mLinearLayout_no_button.addView(mButton_dial);
mButton_dial.setOnClickListener(new View.OnClickListener() {
  public void onClick(View v) {
performDial();
  }
});
setContentView(mLinearLayout_no_button);
  }
  public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_CALL) {
  performDial();
  return true;
}
return false;
  }
  public void performDial(){
if(mEditText_number!=null){
  try {
startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:"
+ mEditText_number.getText(;
  } catch (Exception e) {
e.printStackTrace();
  }
}//if
  }

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Copy protection bug statuses

2009-12-14 Thread rflexor
I'd like to switch off copy protection for my app, too.

I think I have successfully managed to reproduce this issue on an 1.5
emulator _just_once_. What I saw from the logcat was that the process
couldn't access the preferences and the database because it ran under
a different UID than the UID that database was stored with. Is this
the error you are referring to?

I'd like to provide a wrapper that tests this condition and guides the
customer to an uninstall. But I'd have to reproduce this condition to
safely test against it. Any ideas how to get this reproduced
successfully on an emulator?

I tried a lot of combinations of

adb -e install -l 


adb -e install -r 

But nothing yet ...

Ralf

On 27 Nov., 19:56, Matt Hall  wrote:
> It looks like I spoke too soon, we've had a few users on the Hero (OS
> 1.5) that are having the copy protection problem (i.e. crashing on
> startup). An uninstall/reinstall fixes the problem as before, but they
> lose their saved data. I've had no reports from other phones of
> problems yet. Could it be that the Hero build of the OS doesn't
> include the bug fix? I'm not sure, I'll update here if I figure
> anything out.
>
> On Nov 25, 1:09 pm,MattHall wrote:
>
> > A further update: We've removed the copy protection on an existing
> > game, and done a new release and no one has reported any problems. So
> > this bug does indeed appear to be fixed.
>
> > A related note: Once we removed the copy protection our game was
> > suddenly visible to Droid Eris users, whereas the final remaining game
> > we have with copy protection is still invisible to them.
>
> > On Nov 20, 6:57 pm,MattHall wrote:
>
> > > Just a note to say that the two bugs mentioned in this thread were
> > > marked by an Android engineer as fixed in 1.5, so we've turned off
> > > copy protection and so far so good. We'll be issuing an update to the
> > > game and so we'll see how things go through that update process. I'll
> > > update here when we find out.
>
> > > On Nov 17, 4:17 pm,MattHall wrote:
>
> > > > I would also love to hear anyone's experience on 1.5+ handsets.
>
> > > > What I would really love though is a definitive answer from Google on
> > > > this issue. I don't know why this can't be addressed officially, we're
> > > > not asking for secret information to be revealed here - we have to
> > > > know these kinds of things to make basic decisions about what to do in
> > > > the market.
>
> > > > If I've overlooked information about this issue then I apologize,
> > > > please point me in that direction as soon as possible. :)
>
> > > >Matt
>
> > > > On Nov 16, 5:35 pm, Dave  wrote:
>
> > > > > These two Issues seem to be identical to me.  We submitted our app
> > > > > with copy-protection turned on (not aware of these issues, nor of the
> > > > > fact that some people wouldn't be able to download our app as a
> > > > > result).  We'd now like to turn copy-protection off so everyone can
> > > > > use our app.  But before hosing all our users running Android 1.5, it
> > > > > would be nice to know which release (1.5 or 1.6) actually fixed this
> > > > > issue.
>
> > > > > Am I misreading the two Issue reports?
>
> > > > > Has anyone switched their app from copy-protection to no copy-
> > > > > protection and had issues with force closes for users running Android
> > > > > 1.5?
>
> > > > > Thanks,
> > > > > -dave
>
> > > > > On Nov 12, 11:32 pm, tauntz  wrote:
>
> > > > > > >> When a bug is marked as "FutureRelease" it usually means it will 
> > > > > > >> be
> > > > > > >> fixed in the next release at the time the bug is closed.
>
> > > > > >http://code.google.com/p/android/issues/detail?id=2263wasmarkedas
> > > > > > "FutureRelease" @ Mar 21, 2009 so it should be fixed in Android 1.5 
> > > > > > -
> > > > > > that was the next version after this date (first SDK released on 13
> > > > > > April 2009).
>
> > > > > >http://code.google.com/p/android/issues/detail?id=2047wasmarkedas
> > > > > > "FutureRelease" @ Apr 20, 2009 so it should be fixed in Android 1.6 
> > > > > > -
> > > > > > that was the next version after this date (released on 15 September
> > > > > > 2009).
>
> > > > > > Tauno
>
> > > > > > On Thu, Nov 12, 2009 at 10:28 PM,MattHall 
> > > > > > wrote:
> > > > > > > So can I take that to mean that that the bug exists in all current
> > > > > > > releases including 2.0? I could really use some concrete info on 
> > > > > > > this
> > > > > > > particular issue as it affects most of our apps and the enlarged
> > > > > > > bundle size is becoming a real problem on Droid.
>
> > > > > > > Thanks very much,
> > > > > > >Matt
>
> > > > > > > On Nov 12, 3:22 pm, Romain Guy  wrote:
> > > > > > >> When a bug is marked as "FutureRelease" it usually means it will 
> > > > > > >> be
> > > > > > >> fixed in the next release at the time the bug is closed. Anyhow, 
> > > > > > >> it
> > > > > > >> means the bug has been fixed and will eventually reach users 
> > > > > > >> phones :)
>
> > > > > > >> On Thu, N

[android-developers] Simple Call App - Uri?

2009-12-14 Thread AJ
package com.tests.helloandroid;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
public class HelloAndroid extends Activity {
  EditText mEditText_number = null;
  LinearLayout mLinearLayout_no_button = null;
  Button mButton_dial = null;
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mLinearLayout_no_button = new LinearLayout(this);
mEditText_number = new EditText(this);
mEditText_number.setText("5551222");
mLinearLayout_no_button.addView(mEditText_number);
mButton_dial = new Button(this);
mButton_dial.setText("Dial!");
mLinearLayout_no_button.addView(mButton_dial);
mButton_dial.setOnClickListener(new View.OnClickListener() {
  public void onClick(View v) {
performDial();
  }
});
setContentView(mLinearLayout_no_button);
  }
  public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_CALL) {
  performDial();
  return true;
}
return false;
  }
  public void performDial(){
if(mEditText_number!=null){
  try {
startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:"
+ mEditText_number.getText(;
  } catch (Exception e) {
e.printStackTrace();
  }
}//if
  }


Is Uri.parse ok here?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: frame buffer data in android

2009-12-14 Thread Niraj
Hi,

I am collecting framebuffer data directly from /dev/graphics/fb0.
This way works properly while working with android emulator.

I am using C code for this purpose, as I didn't get any functionality
in java to read framebuffer directly.
And I am using JNI to call this C function in Android.

If you need the C code for reading framebuffer data, I can directly
mail you.

On Dec 14, 6:35 pm, yog  wrote:
> Hi all,
>
> Iam working on Android frame buffer, I want to collect the frame
> buffer data and dispaly it. can any one tell me,  from where i can
> collect the data, Is it from surface flinger? Is there any way that i
> can collect it from HAL (Hardware abstraction layer) too.
>
> Thanks in advance
> yog

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Audio options for music app - should I use JET?

2009-12-14 Thread akitto
Check out Google up search for Google up and media on YouTube, its an
hour long, the first 30 mins is rubbish but its worth checking out for
your question.

On Dec 15, 4:29 am, k_day  wrote:
> I am currently working on a music app and am starting to think about
> how audio playback should work.  At any given point in time, a user is
> able to play multiple notes from multiple instruments.
>
> My initial thought was to use JET, but I am thinking it may be too
> limited given that I also would like to:
>
> 1)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Audio options for music app - should I use JET?

2009-12-14 Thread k_day
I am currently working on a music app and am starting to think about
how audio playback should work.  At any given point in time, a user is
able to play multiple notes from multiple instruments.

My initial thought was to use JET, but I am thinking it may be too
limited given that I also would like to:

1)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: GK:How to Kill all Activity at a time ?

2009-12-14 Thread Jack Ganesh
Hi..,
 i used the following :

void onClick(){
android.os.Process.killProcess(android.os.Process.myPid())

System.exit(0);

}

but still its coming back to the previous activity.

Any other try ? ?


Cheers,
Ganesh


>>

Hi Ganesh,there are two ways

android.os.Process.killProcess(android.os.Process.myPid())

System.exit(0);

I normally use the second, I agree that some times you just want to
properly exit an app as you dont want it using memory and slowing
your  phone

Alberto


On Dec 8, 5:11 pm, "Mark Murphy"  wrote:
> > For example, in your browser, if you have been opening many pages, and
> > then you click on "Back", it takes you to the previous page in the
> > browser's history. Say, my history has 10 pages, so to finally exit
> > the application, I have to press back 10 times..
>
> Press HOME, and you're done. Moreover, that's what Android is trying to
> teach users to do -- press HOME, and they're done.
>
> Remember: everybody keeps holding iPhone up as perfection for user design,
> and applications there do not have normally an "exit" option AFAICT. Users
> just press The One And Only Button, and they're done. (Note: my iPod Touch
> hasn't been, er, touched since before the OS 3.0 upgrade, so perhaps they
> changed their UI approach recently and I missed it).
>
> So, just make sure your app behaves the way you want when the user presses
> HOME, and you're done.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Socket - Network connect drops after 15 minutes

2009-12-14 Thread GC
Sounds like wifi is going to sleep. Go to wifi settings, hit menu,
tell the wifi to never go to sleep. Understand the battery
implications.


On Dec 14, 8:52 pm, Ron  wrote:
> An additional clue I just caught on DDMS just before the first
> connection failure:
>
> 12-14 19:00:23.164: VERBOSE/WifiMonitor(60): Event [CTRL-EVENT-
> DISCONNECTED - Disconnect event - remove keys]
> 12-14 19:00:23.164: VERBOSE/WifiMonitor(60): Event [CTRL-EVENT-STATE-
> CHANGE id=-1 state=8]
>
> In looking through other message boards it appears this might be
> related to the phone going to sleep.  Any ideas on how to get around
> this?
>
> On Dec 14, 9:06 am, Ron  wrote:
>
>
>
> > I am able to connect to aSocketon my PC from my HTC 1 phone, via IP
> > and successfully transfer data in a thread that gets rescheduled every
> > few seconds.  The problem is that after 15 minutes or so, the
> > connection drops and my debug traces give me the "Network
> > unreachable".  A further clue is that if I plug in or replug in the
> > USB cable I get reconnected.
>
> > I'm wondering what programmatic function will reconnect to the PC
> > without having to fiddle with the USB cable.  I've tried
> > Wifimanger.reconnect and reassociate, neither did the trick.  Perhaps
> > if I knew what actions were peformmed when the usb cable is plugged in
> > (which shouldn't have anything to do with my connection) I would be
> > able to program them into my exception path.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: integration testing with content provider

2009-12-14 Thread tenacious
I've presented how I worked out a solution to this problem at my
blog:  
http://tenacious33.wordpress.com/2009/12/15/android-functional-testing-with-mockcontexts/

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: GLSurfaceView.Renderer render rate

2009-12-14 Thread Jeremiah Sellars
I suppose I should add... that my background is homebrew for Nintendo
DS and coding in C. The game loop would generally just include a call
to wait for the screen's vertical blank and that was ~1/60th of a
second. It couldn't be relied upon totally for timing, but as long as
you weren't running really intense operations it was fine. DS Homebrew
is substantially closer to the hardware and the combination of
learning Java, OOP concepts, working with a very large API and
applying everything to a new platform is causing me to ask some likely
stupid questions.

Anyway, I hope someone can find a moment to help.

Thanks again,
Jeremiah

On Dec 14, 3:51 pm, Jeremiah Sellars  wrote:
> Hello everyone,
>
> Continuing to tackle a game project, I've learned tons and have tons
> more to learn.
>
> From what I've picked up, a "proper" game would have at least 3
> threads. The main activity thread which would likely double as the UI
> thread, the GL Renderer thread which is setup automatically with the
> GLSurfaceView.Renderer and then a Game Logic thread. As I understand
> it, I'll need to make sure to setup a sleep timing in the game logic
> thread to have it behave correctly, but what I'm not sure on is at
> what timing is the Renderer thread working at? Exactly how often is
> onDrawFrame() being called?
>
> Thanks everyone!
> Jeremiah

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Import existing project into workspace - Can't see Android Library in Java Build Path

2009-12-14 Thread Miguel Paraz
Hi,
In Eclipse, when I "Import an existing into workspace" (from a
Mercurial repository, if it matters), I don't have the "Android
Library" in the Java Build Path. Instead, I get "Unable to get system
library for the project."

The .classpath file does have:



and the other projects in the same workspace are OK.

I tried a combination of: refresh, clean/build, fix project
properties...

Looks like this setup is fragile.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to add a third-party jar into apk?

2009-12-14 Thread bear tung
 but javax.xml.transform is already included in xmlsec-1.4.3.jar which is
not work.  T_T

On Tue, Dec 15, 2009 at 6:25 AM, jotobjects  wrote:

> The problem here is that javax.xml.transform is not part of the
> Android platform so you will not be able to use this jar file with
> your Android app.
>
> All you have to do to use a third-party jar with Android is to drop
> the jar file into your project lib directory. However if the jar has
> dependencies then the classes in the jar may not work.
>
>
> On Dec 14, 12:18 pm, Jey Michael  wrote:
> > I think this will be addressed by my fix:
> https://review.source.android.com/#change,12625
> >
> > Looks like the above is not merged into the source tree yet.
> > -J e y
> >
> > On Mon, Dec 14, 2009 at 1:02 AM, bear tung  wrote:
> > > for example, xml-security project.  I used add
> > > xmlsec-1.4.3.jar(http://santuario.apache.org/dist/java-library/) in
> asset
> > > dir,
> > > then I add library. But when I run my Activity, it was force closed
> with
> > > error:
> >
> > > E/dalvikvm( 1427): Could not find method
> > > javax.xml.transform.TransformerFactory.newInstance, referenced from
> method
> > > com.linda.TestTest.onCreate
> > > W/dalvikvm( 1427): VFY: unable to resolve static method 14:
> > > Ljavax/xml/transform/TransformerFactory;.newInstance
> > > ()Ljavax/xml/transform/TransformerFactory;
> > > W/dalvikvm( 1427): VFY: rejecting opcode 0x71 at 0x0008
> > > W/dalvikvm( 1427): VFY: rejected Lcom/linda/TestTest;.onCreate
> > > (Landroid/os/Bundle;)V
> > > W/dalvikvm( 1427): Verifier rejected class Lcom/linda/TestTest;
> >
> > > thanks for help
> >
> > > --
> > > Bear ^O^
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "android-platform" group.
> > > To post to this group, send email to android-platf...@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > android-platform+unsubscr...@googlegroups.com
> .
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-platform?hl=en.
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Bear ^O^

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AudioTrack

2009-12-14 Thread Business Talk
I was just testing the capabilities at this stage. I wanted to see if
it can be done at all. There are many applications I can think of that
require such capability.

On Dec 14, 4:00 pm, niko20  wrote:
> You create two AudioTrack instances, then in each you pass a playback
> listener object, I don't see why you can to multiples at once..
>
> -niko
>
> On Dec 14, 7:27 am, Business Talk 
> wrote:
>
>
>
> > Is the AudioTrack fundamentally designed to be a singleton? Methods on
> > the OnPlaybackPositionUpdateListener receive just one argument, which
> > is the AudioTrack itself. And since the AudioTrack does not have
> > getTag/setTag methods I don't see any way to distinguish among
> > multiple AudioTracks in the OnPlaybackPositionUpdateListener methods
> > short of keeping track of references. So, if it's so why it's not
> > implemented as a singleton? Any thoughts. I am trying to implement
> > concurrent use of the AudioTrack. Anybody has any experience with this
> > approach? Am I wasting time?- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Socket - Network connect drops after 15 minutes

2009-12-14 Thread Ron
An additional clue I just caught on DDMS just before the first
connection failure:

12-14 19:00:23.164: VERBOSE/WifiMonitor(60): Event [CTRL-EVENT-
DISCONNECTED - Disconnect event - remove keys]
12-14 19:00:23.164: VERBOSE/WifiMonitor(60): Event [CTRL-EVENT-STATE-
CHANGE id=-1 state=8]

In looking through other message boards it appears this might be
related to the phone going to sleep.  Any ideas on how to get around
this?

On Dec 14, 9:06 am, Ron  wrote:
> I am able to connect to aSocketon my PC from my HTC 1 phone, via IP
> and successfully transfer data in a thread that gets rescheduled every
> few seconds.  The problem is that after 15 minutes or so, the
> connection drops and my debug traces give me the "Network
> unreachable".  A further clue is that if I plug in or replug in the
> USB cable I get reconnected.
>
> I'm wondering what programmatic function will reconnect to the PC
> without having to fiddle with the USB cable.  I've tried
> Wifimanger.reconnect and reassociate, neither did the trick.  Perhaps
> if I knew what actions were peformmed when the usb cable is plugged in
> (which shouldn't have anything to do with my connection) I would be
> able to program them into my exception path.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to submit device driver into Android kernel source code?

2009-12-14 Thread bluestar
Thanks Mark, I will go to [android-platform] Google Group to ask now.
Thanks

On 12月14日, 下午5時33分, Mark Murphy  wrote:
> bluestar wrote:
> > Does anyone submit source code into Android code?
> > Is there limitation to someone that sumbit?
> > How to do this procedure?
>
> > Hope to tell more in detail about submitting source.
> > (I would like to submit device driver into Android kernel source code)
>
> > Thanks for your BIG BIG BIG help!!!
>
> Some information is athttp://source.android.com, and you will be better
> served asking detailed questions about the process over on the
> [android-platform] Google Group.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] checkbox and icons in listview

2009-12-14 Thread Jose Gomez
Hey I just wrote something like this I couldn't find any examples either but
I can give you some pointers.

Declare your List View Layout


http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">





Declare another layout file for the specific rows.in my cae I have a checkbx
and two textvies but it should be obvious how to change it just add or
remove fields.

 http://schemas.android.com/apk/res/android";
 android:layout_width="fill_parent"
android:layout_height="fill_parent"
  >
  
  
  
  
  
  



Then if you are trying to  get the information out of a custom class say in
my case the shopping list class you need to create a custom Array Adapter
that will utilize this layout
at the bottom you see where I assign the different fields like the 2
textviews and the checkbox to a particular field in the class.

package unf.edu.esifall09.team1;
import java.util.List;

import unf.edu.esifall09.team1.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import android.widget.TextView;


public class ShoppingListAdapter extends ArrayAdapter {

int resource;
public ShoppingListAdapter(Context context, int resource,
List items)
 {
super(context, resource,items);
this.resource=resource;
 }
 @Override
 public View getView(int position, View convertView, ViewGroup parent)
{
LinearLayout shoppingListItemView;
 ShoppingListItems sli =getItem(position);
 String prodName =sli.getItemDescription();
double price = sli.getPrice();
 boolean purchases = sli.isPurchased();
 if(convertView==null)
 {
shoppingListItemView = new LinearLayout(getContext());
String inflater = Context.LAYOUT_INFLATER_SERVICE;
 LayoutInflater vi;
vi = (LayoutInflater)getContext().getSystemService(inflater);
 vi.inflate(resource, shoppingListItemView, true);
}
else
 {
shoppingListItemView = (LinearLayout) convertView;
}
 CheckBox chkPurchased =
(CheckBox)shoppingListItemView.findViewById(R.id.rowItemBought);
 TextView itemName
=(TextView)shoppingListItemView.findViewById(R.id.rowItemName);
TextView itemPrice
=(TextView)shoppingListItemView.findViewById(R.id.rowItemPrice);
 chkPurchased.setChecked(purchases);
itemName.setText(prodName);
itemPrice.setText(Double.toString(price));
 return shoppingListItemView;
 }

}


Ofter that is created go to the activity where you will like your ListView


Declare your Variables
ArrayList items;
ShoppingListAdapter adapter;
ListView lv;

Then on create set up your list view and your adapters

public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

lv=(ListView)findViewById(R.id.lvItems);
items= new ArrayList();


do a loop of some sort to fill in your adapter. Like in my case I read form
a Database

Cursor itemsCur=productsDb.getAllShoppingListItemsCursor(shoppingListPK);
 do{
ShoppingListItems sli = new ShoppingListItems();
sli.setItemDescription(itemsCur.getString(2));
 sli.setPrice(itemsCur.getDouble(4));
sli.setPurchased((itemsCur.getInt(7))==0?false:true);
 sli.setQuantity(itemsCur.getDouble(5));
sli.setShoppingListItemPK(itemsCur.getInt(0));
 sli.setShoppingListPK(itemsCur.getInt(1));
sli.setStorePK(itemsCur.getInt(6));
 sli.setUpc(itemsCur.getString(3));
items.add(sli);
}while(itemsCur.moveToNext());


Set the data into your adapter and add to the List View
adapter= new ShoppingListAdapter(this, R.layout.shippinglistitem, items);
lv.setAdapter(adapter);


}


That should do it Hopefully it makes sense!





Sincerely
Jose C Gomez

http://www.josecgomez.com


On Mon, Dec 14, 2009 at 8:09 PM, Abhi  wrote:

> Hi,
>
> I am looking to create a custom ListView with 6 fixed items in the
> list. Each list row comprising of the checkbox, image icon and a
> single line of text. I have read couple of tutorials but none of them
> seem to be that well explanatory. Could someone please guide me to a
> sample code? That would be great help.
>
> Thanks,
>
> Abhishek
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to handle simultaneous key press

2009-12-14 Thread onceaweek
Thank you for reply.

I'd like to know how to catch previous key press information.
Is there any method in KeyEvent class or somewhere ?


On 12월15일, 오전1시53분, Nightwolf  wrote:
> You should try it.
> At least combinations like "w+a+space" work. I haven't try with
> special keys though.
> My app that needs to handle multiple key presses has boolean array for
> each action (turn left or right, fire etc.). Corresponding array
> elements are set in onKeyDown and onKeyUp event handlers.
>
> On 14 дек, 09:50,onceaweek wrote:
>
>
>
> > I was wondering whether Androd can catch  simultaneous Key Press.
> > For example, a application does something when a user press HOME and
> > MENU key simultaneously.
> > Is it a possible scenario?
>
> > Thank you 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How can I receive WAP Push with custom MIME Type?

2009-12-14 Thread RainBow

Hello,

I am trying to write a simple code that will receive a WAP Push
message on my device. However, when I send a wap message with a custom
mime-type, I get the following error (taken from logcat logs):

Received PDU. Unknown Content-Type = XYZ

where XYZ = my custom MIME-typed message

Looking at the relevant telephony code (WapPushOverSms.java), I found
that their is no switch in the code that will be able to handle a
custom MIME type. (Please see the code below)

So, how do I go about sending a wap-push with custom MIME type? Any
inputs/ideas?

Thanks for reading/answering my post in advance.

Kind regards.

=

URL:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=telephony/java/com/android/internal/telephony/WapPushOverSms.java;hb=15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b

Relevant code from WapPushOverSms.java:

 if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_DRM_RIGHTS_XML)) {

 129 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_DRM_RIGHTS_XML;

 130 } else if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_DRM_RIGHTS_WBXML)) {

 131 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_DRM_RIGHTS_WBXML;

 132 } else if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_SI)) {

 133 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_PUSH_SI;

 134 } else if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_SL)) {

 135 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_PUSH_SL;

 136 } else if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_PUSH_CO)) {

 137 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO;

 138 } else if (mimeType.equals
(WspTypeDecoder.CONTENT_MIME_TYPE_B_MMS)) {

 139 binaryContentType =
WspTypeDecoder.CONTENT_TYPE_B_MMS;

 140 } else {

 141 if (Config.LOGD) Log.w(LOG_TAG, "Received PDU.
Unknown Content-Type = " + mimeType);

 142 return;

 143 }

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] checkbox and icons in listview

2009-12-14 Thread Abhi
Hi,

I am looking to create a custom ListView with 6 fixed items in the
list. Each list row comprising of the checkbox, image icon and a
single line of text. I have read couple of tutorials but none of them
seem to be that well explanatory. Could someone please guide me to a
sample code? That would be great help.

Thanks,

Abhishek

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Getting magnetic field results as degrees

2009-12-14 Thread Mark Murphy
Jeffrey wrote:
> It seems like google should mention somewhere
> that you need to use trig to get degree's from the compass...

That's because you don't.

http://github.com/commonsguy/cw-advandroid/tree/master/Sensor/Compass/

Or, to quote from the docs:

"Sensor.TYPE_ORIENTATION:

All values are angles in degrees.

values[0]: Azimuth, angle between the magnetic north direction and the Y
axis, around the Z axis (0 to 359). 0=North, 90=East, 180=South, 270=West"

http://developer.android.com/reference/android/hardware/SensorEvent.html

What you are trying to do is not use the compass
(Sensor.TYPE_ORIENTATION), but rather the raw magnetic field
(Sensor.TYPE_MAGNETIC_FIELD). *That* might need trigonometry to achieve
what you need, but I suspect the vast majority of things that need the
compass can just use the degrees supplied by the compass.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Consulting/App Development: http://commonsware.com/consulting

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Getting magnetic field results as degrees

2009-12-14 Thread Jeffrey
I got it working, the phone will only need to be lying flat, so that
made it a lot easier. It seems like google should mention somewhere
that you need to use trig to get degree's from the compass... That
doesn't quite seem like general knowledge. Though I had a problem with
the activity force closing occasionally but I fixed that so that it
wouldn't try and take sensor readings until the activity had been open
for 1 second. It also adds to the suspense of what direction the drift
will be :)

On Dec 13, 12:47 am, Ethan Rublee  wrote:
> Here's my code for capturing orientation data... This is a snippet so
> has not been compiled, but should give you and idea.
> Keep in mind that you should register the sensors with something like
> this when ever you want to start listening to sensors:
>
> sensorMgr = (SensorManager) contex.getSystemService
> (Service.SENSOR_SERVICE);
> orientationSensor = sensorMgr.getDefaultSensor
> (Sensor.TYPE_ORIENTATION);
> magnetSensor = sensorMgr.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
> accelSensor = sensorMgr.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
>
> //this class implements SensorEventListener
> sensorMgr.registerListener(this,orientationSensor,
> SensorManager.SENSOR_DELAY_FASTEST);
> sensorMgr.registerListener(this,magnetSensor,
> SensorManager.SENSOR_DELAY_FASTEST);
> orientationsupported = sensorMgr.registerListener(this, accelSensor,
> SensorManager.SENSOR_DELAY_FASTEST);
>
> //*The following is the static data necessary for my
> sensorlistener, these are fields of my class
>  // for storing sensor data
> float[] mags = new float[3];
> float[] accels = new float[3];
>
> int matrix_size = 16;
> // matrices for letting SensorManager do its magic
> float[] RotationMatrix = new float[matrix_size];
> float[] InclinationMatrix = new float[matrix_size];
>
> // an output matrix, that will hold a rotation matrix that
> // can be used in openGl as a modelview matrix
> float[] outR = new float[matrix_size];
>
> // the orientation rotation array
> float[] values = new float[3];
>
> //***
> // here's the meat of the sensor handling, from the
> android.hardware.SensorListener interface
> public void onSensorChanged(SensorEvent event) {
>   Sensor sensor = event.sensor;
>
>   int type = sensor.getType();
>
>   switch (type) {
>   case Sensor.TYPE_MAGNETIC_FIELD:
>
>     mags[0] = event.values[0];
>     mags[1] = event.values[1];
>     mags[2] = event.values[2];
>     break;
>   case Sensor.TYPE_ACCELEROMETER:
>     accels[0] = event.values[0];
>     accels[1] = event.values[1];
>     accels[2] = event.values[2];
>     break;
>   case Sensor.TYPE_ORIENTATION:
>     /**
>      *these are the orientation values in degrees - one of them is the
>      * magnetic heading
>      */
>     // values = event.values.clone();
>
>     break;
>   }
>
>   //this is key to getting your heading, it fills out the matrices
> which are needed to calculate the
>  //heading.  It is important to not that the acceleration data is
> linked to the magnetic data, in that the
>  //physical tilt/yaw of the phone affects the mags vector. Atleast
> this is my understanding.
>   SensorManager.getRotationMatrix(RotationMatrix, InclinationMatrix,
>       accels, mags);
>
>   // this is only necessary for my AR opengl purposes
>   SensorManager.remapCoordinateSystem(RotationMatrix,
>       SensorManager.AXIS_Y, SensorManager.AXIS_MINUS_X, outR);
>
>   // This is the orientation that i need
>   // values[0] = compass in radians
>   // values[1] and values[2] are the rotations about the x and y axis
>   SensorManager.getOrientation(outR, values);
>
>   // I have not used this function but it may give you the magnetic
>   // heading
>   // directly, in radians of course
>   float magHeading = SensorManager.getInclination(InclinationMatrix);
>
> }
>
> Check 
> outhttp://developer.android.com/reference/android/hardware/SensorManager...
> for definitive documentation.
> I would put a text field in your activity and output the values live
> as the sensors update.  I have found that the numbers
> do not behave quite as expected, jumping 180 degrees depending on the
> tilt of the phone.  I have not tried getInclination,
> but documentation seems to point that this would be your best bet.
> Good luck.
>
> On Dec 12, 9:32 pm, Jeffrey  wrote:
>
>
>
> > Okay, so I got a little further, I'm now stuck at the point where I
> > can pull values, but they are the micro-tesla measurements. How do I
> > get degrees from this?
>
> > On Dec 12, 8:13 pm, Jeffrey  wrote:
>
> > > I'm working on an application that will randomly point an arrow in a
> > > direction, and have that arrow maintain it's direction if the device
> > > is moved. All I want to do it get the magnetic field readings as
> > > degrees and I can do it from there. The problem I'm having is getting
> > > the magnetic field readings. I can't find any tutorials on it and 

[android-developers] Re: hi how i can record the phone call

2009-12-14 Thread Eric Wong (hdmp4.com)
read this
http://code.google.com/p/android/issues/detail?id=2117

On Dec 14, 6:21 pm, tuku  wrote:
> actually i want to record the in coming and out going phone calls
> can i do that if yes can u provide me some sample code
>
> bye takecare

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Reminder: IRC office hours tomorrow

2009-12-14 Thread Megha Joshi
Hi Everyone,

Just a quick reminder that our IRC office hour session is taking place
tomorrow morning, 9:00-10:00 a.m. PST. Please join us with your technical
questions at:

irc://irc.freenode.net#android-dev 

Thanks,
Megha

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] GLSurfaceView.Renderer render rate

2009-12-14 Thread Jeremiah Sellars
Hello everyone,

Continuing to tackle a game project, I've learned tons and have tons
more to learn.

>From what I've picked up, a "proper" game would have at least 3
threads. The main activity thread which would likely double as the UI
thread, the GL Renderer thread which is setup automatically with the
GLSurfaceView.Renderer and then a Game Logic thread. As I understand
it, I'll need to make sure to setup a sleep timing in the game logic
thread to have it behave correctly, but what I'm not sure on is at
what timing is the Renderer thread working at? Exactly how often is
onDrawFrame() being called?

Thanks everyone!
Jeremiah

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Creating databases

2009-12-14 Thread Mark Murphy
Neilz wrote:
> I've made a few apps now, which use an SQLite database, no problems.
> In my latest app, I want two tables, and I just realised that every
> example I can find only creates one table.
> 
> So, is this a limitation? Must I use only one table? Assuming I can
> use two, how do I go about changing my create script? Here's a normal
> one, as per the examples:
> 
> private static final String DATABASE_CREATE =
>   "create table myTable (_id integer primary key autoincrement,
> "
>   + "description text not null); " ;
> 
> If there's an example elsewhere, I'd be grateful for a link... thanks.

In onCreate() of your SQLiteOpenHelper, you can call execSQL() as many
times as you like, to execute as many SQL statements as you like. You
can have as many tables, indices, triggers, and whatnot as SQLite
allows, certainly greater than one of each.

So, call execSQL() once to create one table and once to create another
table. Or, courtesy of that semicolon, you may be able to put both
CREATE TABLE statements in a single string -- I haven't tried that.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Creating databases

2009-12-14 Thread Neilz
I've made a few apps now, which use an SQLite database, no problems.
In my latest app, I want two tables, and I just realised that every
example I can find only creates one table.

So, is this a limitation? Must I use only one table? Assuming I can
use two, how do I go about changing my create script? Here's a normal
one, as per the examples:

private static final String DATABASE_CREATE =
"create table myTable (_id integer primary key autoincrement,
"
+ "description text not null); " ;

If there's an example elsewhere, I'd be grateful for a link... 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Google Voice Search has API?

2009-12-14 Thread VY
Hi:

I am interested in using the Google voice search capability as an API.  I
tried looking for it but cannot find it.
Is this voice search capability not available to developers?

thanks

--Vincent

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to prevent or avoid java/lang/IllegalStateException when dealing with Cursors?

2009-12-14 Thread Agus
I often get this message in ddms, even though I have deactivated a cursor.

12-14 15:36:17.310: INFO/dalvikvm(5874): Ljava/lang/IllegalStateException;:
Finalizing cursor android.database.sqlite.sqlitecur...@43807508 on null that
has not been deactivated or closed

Any ideas on how to solve 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Androi ASE

2009-12-14 Thread Mark Murphy
intbt wrote:
> ASE will not install on my G1, I assume it is because I am running 1.5
> and it requires 2.0.
> 
> I can get ASE to run on the Eclipse emulator when it is running 2.0
> (not 1.5 or 1.6).
> 
> Is this correct and where is this described as a requirement for ASE?

You might consider asking these questions on the ASE Google Group:

http://groups.google.com/group/android-scripting

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.2 Available!

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Androi ASE

2009-12-14 Thread intbt
ASE will not install on my G1, I assume it is because I am running 1.5
and it requires 2.0.

I can get ASE to run on the Eclipse emulator when it is running 2.0
(not 1.5 or 1.6).

Is this correct and where is this described as a requirement for ASE?

(As an aside, the G1 downloads for 1.6 at HTC/developers are not
working - not sure what the problem there is...)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Accessing built-in AAC decoder

2009-12-14 Thread ls02
I need to access built-in AAC decoder to decode raw AAC frames. How
can I do this either from NDK code or from Java code?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: [Android 2.0] Contacts FAQ?

2009-12-14 Thread Mo
Hi Rachel,
This is a very informative and helpful blag. I really helped me in
with questions I had about 2.0 API changes for Contacts.

One thing I am still not able to resolve is "How to get all the email
address for a contact" As you mentioned in your explaination that
"ContactsContract.CommonDataKinds.CommonColumns class does not exist."
so how did you made it to work?

Thanks,
Mo.


On Nov 13, 11:22 pm, Rachel Blackman  wrote:
> On Nov 13, 2009, at 6:57 PM, Yao wrote:
>
> > Another important thing is that are new contact APIs stable and public? 
> > Will they be changed in the next release?
>
> > I've been seeing "this is a private method" many times. Contacts APIs were 
> > very stable before, but this time, new APIs  is a big change without any 
> > document...
>
> Decent question.
>
> Okay, so the current list of Contacts Questions For a FAQ/Samples as far as I 
> can tell is as follows. If anyone's interested in taking on one of them and 
> writing up a sample to contribute, chime in?  And as noted above, we probably 
> should make sure whatever we figure out for any of these things is 
> /guaranteed/ public, supported API, not private API that just ended up in the 
> Javadocs or whatever.
>
> ---
>
> 1) How do I just get ALL the contacts under the 2.0 API?
>
>   * I already posted an example of this, and I can readily turn something 
> like that into a simple compilable project.
>
> 2) Given a contact, how do I get all the phone numbers?
>
>   * Ditto above.
>
> 3) Given a contact, how do I get all the email addresses?
>
>   * Ditto above, save that for some reason my copy of Eclipse claims that the 
> ContactsContract.CommonDataKinds.CommonColumns class does not exist.  So my 
> little sample from the other day doesn't compile for me, though replacing 
> ContactsContract.CommonDataKinds.CommonColumns.DATA with just "data1" makes 
> everything work fine.  (Now I wonder if this is a problem in my install of 
> the SDK, or if I misread the docs. Hrm.)
>
> 4) What sort of identifier should I represent a contact with in my local 
> data, so I can later get their most-current data?
>
>   * There was a thread about this on the mailing list, which someone could 
> probably boil down into a sample
>
> 5) How do I set a contact photo?
>
>   * There were SEVERAL threads on this on the mailing list, which could 
> probably boil down into a sample.
>
> 6) How do I add a contact to the address book from within an app?
>
>   * There's been at least one vague thread on this, which... maybe can be a 
> sample?
>
> 7) How do I work with groups? (Create a group, delete a group, get or alter 
> group membership.)
>
>   * I don't think there's been a good answer to this.
>
> 8) How do I add custom data to a contact?
>
>   * I don't think there's been a clear answer to this.
>
> 9) How do I /get/ the nifty status messages and the source for them (a'la 
> 'Away for lunch' on 'Google Talk,' or 'eating a pie!' on 'Facebook'), so I 
> can display them alongside a contact in my own app? (Alternatively, some ask 
> how they can set the nifty status messages and have them appear in the 
> QuickContact bar or in other apps.)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: PopupWindow with GridView - Trouble with inflating view

2009-12-14 Thread k_day
I am still unable to capture the OnItemClick event from my GridView
that is in the PopupWindow.  Can anybody help me with this?

On Dec 4, 12:48 am, k_day  wrote:
> I ended up finding the problem.  I was using the ImageAdapter code
> form the Hello, Gallery example.  That contained a line of code
> referencing a Gallary:
>
> imageView.setLayoutParams(new Gallery.LayoutParams(150, 120));
>
> When used with a GridView, this obviously causes a class cast
> exception.
>
> Now that I have my GridView displaying properly in a popupwindow, I am
> having trouble capturing the OnItemClick event.  Below is my code.
> OnItemClick is never being called when I make a selection in my
> gridview in the popupwindow.  Any ideas?
>
> final GridView gView = (GridView) grid_layout.findViewById
> (R.id.gridview_layout);
> gView.setWillNotDraw(false);
> gView.setFocusableInTouchMode(true);
> gView.setClickable(true);
> gView.setAdapter(new ImageAdapter(this));
>
> final PopupWindow soundSelectorWindow = new PopupWindow(this);
> soundSelectorWindow.setContentView(grid_layout);
> soundSelectorWindow.setBackgroundDrawable(new BitmapDrawable());
> soundSelectorWindow.setOutsideTouchable(false);
> soundSelectorWindow.setTouchable(true);
>
> gView.setOnItemClickListener(new OnItemClickListener()
>     {
>      public void onItemClick(AdapterView parent, View v, int position,
> long id)
>       {
>        //Never gets here.
>        soundSelectorWindow.dismiss();
>       }
>  });
>
> On Nov 14, 3:43 pm, k_day  wrote:
>
> > I did notice that if I remove
>
> > popupview.setAdapter(new ImageAdapter(this));
>
> > I no longer throw the exception.  Am I using the Adapter wrong?  Any
> > help would really be appreciated.
>
> > On Nov 10, 7:29 pm, k_day  wrote:
>
> > > I tried to post on
>
> > >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > > but it appears the discussion is locked (no reply button) for some
> > > reason.
>
> > > I am having a similar issue while trying to use a GridView in a
> > > PopupWindow.  On my Activity's onCreate method, I am inflating a
> > > gridview from xml as follows:
>
> > > LayoutInflater inflater = (LayoutInflater)this.getSystemService
> > > (Context.LAYOUT_INFLATER_SERVICE);
> > > final GridView popupview = (GridView) inflater.inflate
> > > (R.layout.gridviewpopup, null, false);
> > > popupview.setAdapter(new ImageAdapter(this));
>
> > > I would like this GridView to popup on a button click. Also inside of
> > > my activity's onCreate, I have:
>
> > > final Button addButton = (Button) findViewById(R.id.add);
> > >  addButton.setOnClickListener(new View.OnClickListener() {
> > >             public void onClick(View v) {
> > >                 PopupWindow mwindow = new PopupWindow(popupview, 100,
> > > 100);
> > >                 mwindow.showAtLocation(findViewById(R.id.main),
> > > Gravity.CENTER, 100, 100);
> > >                 mwindow.setFocusable(true);
> > >             }
> > >  });
>
> > > On button click, I am throwing a ClassCastException from
> > > GridView.onMeasure(int, int).
>
> > > Can anyone please explain to me what I am doing wrong?
>
> > > Thanks.
>
> > > -k_day

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: JDBC Driver for SQLiteDatabase

2009-12-14 Thread jotobjects
JDBC drivers are never used directly by JDBC applications. In a JDBC
application you reference the URI name of the driver in
DriverManager.getConnection().  That is the only time you ever see the
driver and you never actually call a method on the driver itself in a
JDBC application.  This has nothing to do with Android. It is just
part of JDBC.

On Dec 14, 5:29 am, kristianlm  wrote:
> Hi jotobject,
> I don't understant why this wouldn't be part of the public API. if
> Android is shipped with a JDBC driver, why not let people use it? It's
> certainly useful for many of us!
>
> Kris
>
> On Dec 12, 10:42 pm, jotobjects  wrote:
>
> > On Dec 8, 10:41 pm, Joerg Pleumann  wrote:> 
> > Regarding android.jar, I never checked but I could imagine that it
> > > contains only the public API classes and might even have the actual
> > > bytecode erased. Nothing is ever run against it. It is just there to
> > > make Javac or Eclipse happy (somebody please correct me if I'm wrong).
> > > On the device, the driver should be part of /system/framework/
> > > core.jar.
>
> > The SQLite driver is never used by the public API.  You pass the name
> > as a String URI "jdbc:sqlite:" to getConnection().  That is the way
> > JDBC always works. The drivers are not part of the public API so the
> > documentation is NOT missing anything regarding drivers.
>
> > As far as I can see the only missing documentation is the URI
> > "jdbc:sqlite:" as in Joerg's example -
>
> >             String db = "jdbc:sqlite:" + getFilesDir() + "/test.db";
> >             Class.forName("SQLite.JDBCDriver");
> >             Connection conn = DriverManager.getConnection(db);
>
> > The Class.forName() call is only necessary if Android does not
> > automatically register the driver with DriverManager (I don't know if
> > it does or not).

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to add a third-party jar into apk?

2009-12-14 Thread jotobjects
The problem here is that javax.xml.transform is not part of the
Android platform so you will not be able to use this jar file with
your Android app.

All you have to do to use a third-party jar with Android is to drop
the jar file into your project lib directory. However if the jar has
dependencies then the classes in the jar may not work.


On Dec 14, 12:18 pm, Jey Michael  wrote:
> I think this will be addressed by my 
> fix:https://review.source.android.com/#change,12625
>
> Looks like the above is not merged into the source tree yet.
> -J e y
>
> On Mon, Dec 14, 2009 at 1:02 AM, bear tung  wrote:
> > for example, xml-security project.  I used add
> > xmlsec-1.4.3.jar(http://santuario.apache.org/dist/java-library/) in asset
> > dir,
> > then I add library. But when I run my Activity, it was force closed with
> > error:
>
> > E/dalvikvm( 1427): Could not find method
> > javax.xml.transform.TransformerFactory.newInstance, referenced from method
> > com.linda.TestTest.onCreate
> > W/dalvikvm( 1427): VFY: unable to resolve static method 14:
> > Ljavax/xml/transform/TransformerFactory;.newInstance
> > ()Ljavax/xml/transform/TransformerFactory;
> > W/dalvikvm( 1427): VFY: rejecting opcode 0x71 at 0x0008
> > W/dalvikvm( 1427): VFY: rejected Lcom/linda/TestTest;.onCreate
> > (Landroid/os/Bundle;)V
> > W/dalvikvm( 1427): Verifier rejected class Lcom/linda/TestTest;
>
> > thanks for help
>
> > --
> > Bear ^O^
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-platf...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platform+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/android-platform?hl=en.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Hardware/Carrier Compatibility Group

2009-12-14 Thread Maps.Huge.Info (Maps API Guru)
Probably too early for you yet but I solved this problem by recruiting
a beta test team from my users. On the last page of help text, I asked
for beta testers and about 30 (a couple new every day) responded so
far with a desire to assist in testing the app. They have a variety of
devices and OS's so I get a pretty good range of test conditions, plus
users will do the darnedest things, stuff I'd never think of.

Once you get your app released to the market, you might try and build
your own test community as well.

-John Coryat

"Radar Now!"

"What Zip Code?"

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Hardware/Carrier Compatibility Group

2009-12-14 Thread polyclefsoftware
I don't know about most of you, but as an indie developer I'm faced
with the growing need to:

1) Test visibility of my app on various hardware/carrier combinations
2) Test basic functionality on various hardware/carrier configurations

You would think it would be a wise investment for manufacturers to
gift phones to devs for testing purposes, but most don't. It would be
nice to have a collection of devs and/or users who have access to as
wide a range as possible of configurations, so a dev with a new app
could just send a mail to everyone on the list and ask them to check
that the app is available on the market from their device and that it
downloads and seems to launch and run all right.

Is anyone else interested in trying to form such a group? Does anyone
have any suggestions on the best way to organize it (website, separate
mailing list)? I wouldn't want to clog this list every time someone
wants to check an app.

Thanks,
Derek

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] PCM Data - Frame Count

2009-12-14 Thread Business Talk
I am using the length of my PCM data buffer to calculate the number of
frames; depending if its mono or stereo or 8bit or 16bit.

For example, if it is a mono/8bit then the number of frames is the
length of the buffer. if it is stereo/16bit the number of frames is
the length / 4.

The problem is that the buffer, I create by reading the PCM raw
resource (file), seems to be too long (look below) . Therefore the
number of frames is also too heigh. why am I getting the buffer longer
then it should be?

there is another way to calculate the number of frames;



Number of Frames =  * 

for example 11.025[kHz] * 4000 [ms] = 44100 [frames]

the above calculations should yield the same result, yet they don’t
(the problem is with the buffer length). I am certain that the second
result is correct. am I doing something wrong with the way I read in
the data? I should put it into the WHILE loop when reading. But that’s
not it.



Here is how I create the buffer;



private byte[] readResource (int resourceId)
{
InputStream inputStream = null;
byte[]  inputBuffer = null;
try
{
inputStream = _Context.getResources().openRawResource
(resourceId);
inputBuffer = new byte [inputStream.available()];
inputStream.read(inputBuffer);
}
catch (IOException e)
{
Log.e(this.getClass().getName(), String.format("readResource:
Exception: %s", e.getMessage()));
}
finally
{
try
{
inputStream.close();
}
catch (IOException e)
{
Log.e(this.getClass().getName(), String.format
("readResource: Exception: %s", e.getMessage()));
}
}
return inputBuffer;
}

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] ExpandableListView change background for child items

2009-12-14 Thread droidin.net
I'm using ExpandableListView in my app and one of the complains is
that when expanded it's hard to visually distinguish where the child
item ends and next group item begins. So I would like to change
background of the child list item to the different shade. Brutal
attempts that I've made so far were based on directly changing
background color and text of the elements inside the child view item
but that leads to loss of hovers and highlights. So my question is -
what is a good strategy to achieve the above? I tried styles and
selectors but what really bums me out - that if I change one thing
then I need to add selectors for all combinations of focus/enabled
etc. when all I'm trying to do it to overwrite a single thing. Is
there a way to inherit parent style and set just a background for non-
focused, enabled child item?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] TTS over bluetooth

2009-12-14 Thread Declan Shanaghy
Using Android 2.0 SDK.
Is it possible to direct the TTS engine's output to a connected BT headset?


I've tried with KEY_PARAM_STREAM set to all of the available stream types
but the speech is still output by the speaker on the phone.

Any guidance or suggestions welcome.

Thanks,
Declan




-- 
"An engineer's definition of done is the perfect set of code, and left to
his own devices, an engineer will endlessly improve the code on the mythic
journey to done."
-- http://www.randsinrepose.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] TextView ems, sp, typeface attributes

2009-12-14 Thread jotobjects
I'm using android:ems or android:minEms to fix the minimum width of a
set of buttons so they are all the same width.  Are there better ways
to accomplish that objective?  This works but there are some mysteries
regarding ems.

The ems attribute works correctly with the normal typeface, but
typeface "monospace" is quite a bit smaller/tighter and the ems
attribute does not scale to fit the width of characters in monospace.
For instance, if minEMS is set to 8 it has has room for 12
characters.  Without monospace it fits exactly 8 'm's.  Just wondering
if this is correct behavior and how to know what ems means with
monospace.

Also I'm not clear on the difference between 'sp' and 'dp' for
textSize measure.  TextView docs recommend using 'sp' but I haven't
found where the user scaling factor can be changed.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Write a file to sdcard...

2009-12-14 Thread Jason Proctor
yer welcome. ideally the runtime would throw a permissions exception 
so you'd get an idea of what went wrong. file not found can and does 
mean anything :-)



>Ah thanks Jason, that seems to have fixed it,
>
>Thanks
>
>On Dec 14, 3:33 pm, Jason Proctor 
>wrote:
>>  does your manifest declare WRITE_EXTERNAL_STORAGE permission?
>>
>>  also please use Environment.getExternalStorageDirectory() instead of
>>  /sdcard directly. on future platforms the location might change.
>>
>>
>>
>>
>>
>>  >Hi,
>>
>>  >I'm trying to create a file on the sd card. Using this:
>>
>>  >   OutputStream out = new FileOutputStream("/sdcard/tmp.jpg");
>>
>>  >but that throws a FileNotFoundException. Isn't OutputStream supposed
>>  >to create the file, if not found on disk? I'm looking to write image
>>  >data there.
>>
>>  >This is on a 1.6 emulator. I have an SD card installed, I'm looking at
>>  >the sdcard folder through DDMS, so it's there.
>>
>>  >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
>>  >android-developers+unsubscr...@googlegroups.com
>>  >For more options, visit this group at
>>  >http://groups.google.com/group/android-developers?hl=en
>>
>>  --
>>  jason.vp.engineering.particle
>
>--
>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
>android-developers+unsubscr...@googlegroups.com
>For more options, visit this group at
>http://groups.google.com/group/android-developers?hl=en


-- 
jason.vp.engineering.particle

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: AudioTrack

2009-12-14 Thread niko20
You create two AudioTrack instances, then in each you pass a playback
listener object, I don't see why you can to multiples at once..

-niko

On Dec 14, 7:27 am, Business Talk 
wrote:
> Is the AudioTrack fundamentally designed to be a singleton? Methods on
> the OnPlaybackPositionUpdateListener receive just one argument, which
> is the AudioTrack itself. And since the AudioTrack does not have
> getTag/setTag methods I don't see any way to distinguish among
> multiple AudioTracks in the OnPlaybackPositionUpdateListener methods
> short of keeping track of references. So, if it's so why it's not
> implemented as a singleton? Any thoughts. I am trying to implement
> concurrent use of the AudioTrack. Anybody has any experience with this
> approach? Am I wasting time?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Write a file to sdcard...

2009-12-14 Thread Mark Wyszomierski
Ah thanks Jason, that seems to have fixed it,

Thanks

On Dec 14, 3:33 pm, Jason Proctor 
wrote:
> does your manifest declare WRITE_EXTERNAL_STORAGE permission?
>
> also please use Environment.getExternalStorageDirectory() instead of
> /sdcard directly. on future platforms the location might change.
>
>
>
>
>
> >Hi,
>
> >I'm trying to create a file on the sd card. Using this:
>
> >   OutputStream out = new FileOutputStream("/sdcard/tmp.jpg");
>
> >but that throws a FileNotFoundException. Isn't OutputStream supposed
> >to create the file, if not found on disk? I'm looking to write image
> >data there.
>
> >This is on a 1.6 emulator. I have an SD card installed, I'm looking at
> >the sdcard folder through DDMS, so it's there.
>
> >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
> >android-developers+unsubscr...@googlegroups.com
> >For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> jason.vp.engineering.particle

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread maisonobe alexandre
everybody should write a mail back so they'll understand posting here was
not a good idea .

alex

2009/12/14 Maps.Huge.Info (Maps API Guru) 

> You may have noticed the original message has been removed but the
> quoted text in your replies lives on. I suggest deleting your messages
> from this thread so that it dies quietly. Until then, the payload this
> spammer released will live on.
>
> -John Coryat
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Write a file to sdcard...

2009-12-14 Thread Jason Proctor
does your manifest declare WRITE_EXTERNAL_STORAGE permission?

also please use Environment.getExternalStorageDirectory() instead of 
/sdcard directly. on future platforms the location might change.



>Hi,
>
>I'm trying to create a file on the sd card. Using this:
>
>   OutputStream out = new FileOutputStream("/sdcard/tmp.jpg");
>
>but that throws a FileNotFoundException. Isn't OutputStream supposed
>to create the file, if not found on disk? I'm looking to write image
>data there.
>
>This is on a 1.6 emulator. I have an SD card installed, I'm looking at
>the sdcard folder through DDMS, so it's there.
>
>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
>android-developers+unsubscr...@googlegroups.com
>For more options, visit this group at
>http://groups.google.com/group/android-developers?hl=en


-- 
jason.vp.engineering.particle

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Write a file to sdcard...

2009-12-14 Thread Mark Wyszomierski
Hi,

I'm trying to create a file on the sd card. Using this:

  OutputStream out = new FileOutputStream("/sdcard/tmp.jpg");

but that throws a FileNotFoundException. Isn't OutputStream supposed
to create the file, if not found on disk? I'm looking to write image
data there.

This is on a 1.6 emulator. I have an SD card installed, I'm looking at
the sdcard folder through DDMS, so it's there.

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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Rotate TextView to x degrees

2009-12-14 Thread Hong
Bitmap rotation with Matrix works.
You can also try define a path and canvas.drawTextOnPath

On Mon, Dec 14, 2009 at 10:45 AM, Albert  wrote:

> Hello there! Is there an easy way to rotate a text to some degree as
> with bitmaps??
>
> Matrix matrix = new Matrix();
>matrix.postRotate(15);
>
>Bitmap rotated = Bitmap.createBitmap(originalBitmap, 0, 0,
>  width, height, matrix, true);
>
> If there is not, can you give me a hint of what classes to use or how
> to implement a method to achieve this?
>
> Thanks
>
> Alberto
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Maps Broadcast Event for audible navigation instructions start and stop?

2009-12-14 Thread justinh
Unless it is here then it is unsupported and you shouldn't use it
anyway: http://developer.android.com/reference/android/content/Intent.html

Of course, there is nothing from any of the Google apps listed there.
Not sure about just general audio.


On Dec 14, 2:52 pm, skyhigh  wrote:
> I have an application which is playing audio.  I have some customers
> that use this application while driving and who also use the Google
> Maps application to get directions to the places where they are
> driving.
>
> They have asked me to change my application to pause my audio while
> the Google Maps application is giving them audio navigation
> instructions.  I am trying to find out if I can register a Broadcast
> Receiver to let me know when the Google Maps application is giving
> audio navigation instructions, or if there is a way to detect when any
> other application has started or stopped playing audio.
>
> It seems that this type of functionality would be beneficial for
> Google Maps and for any type of application which is playing media, so
> I am hoping that Google Maps is broadcasting events when it starts and
> stops giving audio navigation instructions, or that there is a generic
> way to discover when overlapping audio sources are trying to play.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to add a third-party jar into apk?

2009-12-14 Thread Jey Michael
I think this will be addressed by my fix:
https://review.source.android.com/#change,12625

Looks like the above is not merged into the source tree yet.
-J e y


On Mon, Dec 14, 2009 at 1:02 AM, bear tung  wrote:
> for example, xml-security project.  I used add
> xmlsec-1.4.3.jar(http://santuario.apache.org/dist/java-library/) in asset
> dir,
> then I add library. But when I run my Activity, it was force closed with
> error:
>
> E/dalvikvm( 1427): Could not find method
> javax.xml.transform.TransformerFactory.newInstance, referenced from method
> com.linda.TestTest.onCreate
> W/dalvikvm( 1427): VFY: unable to resolve static method 14:
> Ljavax/xml/transform/TransformerFactory;.newInstance
> ()Ljavax/xml/transform/TransformerFactory;
> W/dalvikvm( 1427): VFY: rejecting opcode 0x71 at 0x0008
> W/dalvikvm( 1427): VFY: rejected Lcom/linda/TestTest;.onCreate
> (Landroid/os/Bundle;)V
> W/dalvikvm( 1427): Verifier rejected class Lcom/linda/TestTest;
>
> thanks for help
>
> --
> Bear ^O^
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To post to this group, send email to android-platf...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platform+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Difference between pressing 'Back' button and 'Menu button

2009-12-14 Thread hap 497
Hi,

I have an activity on Android with a content view.
After I launch my activity, and I launch another activity on top of
it. And when click 'Back' Button, my activity looks fine (all the text
view and text view values are there).

But when I launch my activity, leave the phone idle and have the blank
screen shown, and press 'menu' button to unlock the screen, some of my
text view's values are not there.

Can you please tell me what are the difference between these 2 cases?
I assume onPause()/onResume() will get called the same way. But why i
don't see some of the text view text values?

Thank you for any advice/suggestion.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Google Maps Broadcast Event for audible navigation instructions start and stop?

2009-12-14 Thread skyhigh
I have an application which is playing audio.  I have some customers
that use this application while driving and who also use the Google
Maps application to get directions to the places where they are
driving.

They have asked me to change my application to pause my audio while
the Google Maps application is giving them audio navigation
instructions.  I am trying to find out if I can register a Broadcast
Receiver to let me know when the Google Maps application is giving
audio navigation instructions, or if there is a way to detect when any
other application has started or stopped playing audio.

It seems that this type of functionality would be beneficial for
Google Maps and for any type of application which is playing media, so
I am hoping that Google Maps is broadcasting events when it starts and
stops giving audio navigation instructions, or that there is a generic
way to discover when overlapping audio sources are trying to play.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Maps.Huge.Info (Maps API Guru)
You may have noticed the original message has been removed but the
quoted text in your replies lives on. I suggest deleting your messages
from this thread so that it dies quietly. Until then, the payload this
spammer released will live on.

-John Coryat

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] In Android 2.0.1 on Droid, the accelerometer seems to stop working when you turn off screen?

2009-12-14 Thread Artem - WorkSmart Labs
Has anyone else seen this? I just wanted to confirm before filing a
report.

This used to be (what I thought was) a hardware problem with the G1 at
some point, but I thought it was resolved for the Droid.

Does anyone have any insights?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Extending the webkit or creating webkit plug in

2009-12-14 Thread Matt Kanninen
You can't extend webkit or the default browser on existing Android
devices, but you can create your own Android distribution and alter
webkit however you please, then install this new firmware on your own
devices or make it available for rooted phones.

You can also ship your own application that features a browser window,
and then track users that way, and in your own application you can do
what what you want with your own cache.

On Dec 14, 10:36 am, javafan  wrote:
> Hi All,
>
> Is there a way to extend Webkit on Android? Can we write plug in for
> webkit in android? Can we do things like creating our own renderer for
> a particular type of data embaded in the webpage? Can we track user
> session or modify data stored in the browser cache/memory?
>
> Please respond if any has any idea about this.
>
> Thanks,
> Javafan

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android >= 1.6: Invalid View object passed to onListItemClick()?

2009-12-14 Thread Romain Guy
>            v.setBackgroundResource(R.color.todo_item_highlighted);

Here's your problem. Views are reused by ListView (so if you change
the background of item #1, it might be reused as item #4 later), this
type of change must be done from the Adapter's getView() method.

-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] List Contact type SIM, Phone, Google

2009-12-14 Thread Nature Boy
Hi there, I'm aiming to develop an application on Android 1.5 that is
required at one point to list all contacts and display the type of
contact ie SIM, Phone or Google. I can easily list all the contacts by
using

Cursor curAllContacts = getContentResolver().query(People.CONTENT_URI,
null, null, null, null);

And looping through the cursor and I can use code like the sample
below to get fields of data

int intNameIndex = curAllContacts.getColumnIndex(People.DISPLAY_NAME);
String strNameValue = cur.getString(intNameIndex);

My question is, is there any field in the people table or a related
table that holds a value to define where the contact came from (SIM,
Phone or Google)?

Many 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Streaming video files endless buffering

2009-12-14 Thread moju
Hello !

I have a problem streaming live video files. When I stream a file say
of duration 5 minutes, it stops after streaming 2 to 3 minutes and
enters in to endless buffering state. The VideoViews's
OnBufferingListener is endlessly executed, however it shows that the
buffering is not progressing anymore : MediaPlayer's buffer says it
has buffered for example 90% whereas when I call
videoView.getBufferPercentage(), I get something very low, like 1% or
5% ...

After a while in the buffering state, the application crashes. It
seems like the buffering is taking all the memory ...

Does anyone has any idea how to solve 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Jose Gomez
There is no mod in the list that can ban him?
Sincerely
Jose C Gomez

http://www.josecgomez.com


On Mon, Dec 14, 2009 at 1:24 PM, Jason Proctor <
jason.android.li...@gmail.com> wrote:

> i've tried a few times to get this guy to stop posting and it's
> pointless. he just blasts away without reading anything, AFAICS.
>
> here's hoping that if enough people mark it as spam it won't get
> through to the list address, not just individual mailboxes.
>
>
>
> >Thanks!
> >Sincerely
> >Jose C Gomez
> >
> >http://www.josecgomez.com
> >Sent from Jacksonville, Florida, United States
> >
> >On Mon, Dec 14, 2009 at 11:13 AM, Business Talk
> ><roman.businesst...@gmail.com>
> >wrote:
> >
> >I just did
> >
> >On Dec 14, 11:11 am, Jose Gomez
> ><j...@josecgomez.com> wrote:
> >>  Can someone please mark this person as spam get them off the list. UGH!
> >>  Sincerely
> >>  Jose C Gomez
> >>
> >>  http://www.josecgomez.com
> >>
> >>  On Mon, Dec 14, 2009 at 11:06 AM, krishna murthy
> >><pkrishna...@gmail.com>wrote:
> >>
> >>
> >>
> >>  > Hi,
> >>
> >>  > This is Krishna with iMCS, we have an urgent requirement for the
> Following
> >>  > position appreciate if you could respond with your Updated profile,
> >>  > Availability, and Visa Status and Expected rate ASAP. Please let me
> know
> >>  > Comfortable level ASAP
> >>
> >>  > *Requirement No:1*
> >>  > Position: SAP Systems Analyst
> >>  > Location:OR
> >>  > Duration:12Months+
> >>  > Job Description:
> >>  > Years of Experience & Expertise Level: Sr. SAP Analyst. 8-9 + yrs.
> exp.
> >>  > Project Description:
> >>  > IT EC3, Finance Information Services group needs an SAP Systems
> Analyst to
> >>  > assist with the E-Pipe EOL Archiving project which gears around
> developing
> >>  > and configuring SAP archiving objects in order to be able to shut
> down the
> >>  > E-Pipe.
> >>  > Daily Responsibilities: Work together with other employees who have
> >>  > experience with the E-Pipe environment at our company. In addition,
> the CW
> >>  > will have to work closely with biz partners in order to understand
> >>  > requirements. The CW will work with his/her team to design, test, and
> >>  > develop archiving objects and deploy them into production. The
> >>CW will need
> >>  > to create documentation for future use.
> >>  > Necessary Skills (Must Have):
> >>  > SAP R3
> >>  > SAP NetWeaver
> >>  > SAP Data Archiving
> >>  > SAP Configuration and customization archiving objects development
> >>  > Additional Skills Desired (Nice to Have):
> >>  > System Analyst skills
> >>  > Communication skills
> >>
> >>  > *Requirement No:2*
> >>  > Position:Oracle Developer
> >>  > Location:MA*{Required F2F (Local Required)}*
> >>  > Duration:6 months+
> >>  > Job Description:
> >>  > strong knowledge of database and date warehousing concepts,
> especially
> >>  > around database architectural issues related to performance. Strong
> >>  > knowledge of Oracle is a requirement. Strong knowledge of MS SQL
> Server in
> >>  > addition is a plus. Experience with ETL processes that load data from
> an
> >>  > OLTP database into a data warehouse is a big plus.
> >>
> >>  > Regards,
> >>  > Krishna
> >>  > iMCS Group Inc,
> >>  > 469 442 3300
> >>  > kris...@imcsgroup.net
> >>
> >>  > --
> >
> >  > > 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
> >
> >  > >
> > >android-developers+unsubscr...@googlegroups.com
> mailto:cr...@googlegroups.com>
> cr...@googlegroups.com>
> >
> >  > > For more options, visit this group at
> >
> >  > >
> http://groups.google.com/group/android-developers?hl=en-
> >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
> > >android-developers+unsubscr...@googlegroups.com
> >For more options, visit this group at
> >
> http://groups.google.com/group/android-developers?hl=en
> >
> >
> >--
> >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
> >android-deve

[android-developers] adding 2d layer to the videoplayer

2009-12-14 Thread qlimax
hi,
is possible to add  a 2d layer to the default android videoplayer?
and in general how? also greedy description of this modding process.
or alternatives to do that?

thx, bye !

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Top of ImageSpan images getting cut off?

2009-12-14 Thread Eldad
I'm trying to use ImageSpan to add icons to a textview (small
graphics, symbols like emoticons, not much taller than normal letters)
and whenever I have icons on the top line of text they're getting
chopped off at the top. Icons on other lines are fine.

It's like the textview, when calculating its size, doesn't take into
account the icon size.

Any idea how to get it to calculate the size correctly, so the top of
the icons can be displayed?

(sorry for the repost - I tried posting this a couple of weeks ago,
but got no replies)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Extending the webkit or creating webkit plug in

2009-12-14 Thread javafan
Hi All,

Is there a way to extend Webkit on Android? Can we write plug in for
webkit in android? Can we do things like creating our own renderer for
a particular type of data embaded in the webpage? Can we track user
session or modify data stored in the browser cache/memory?

Please respond if any has any idea about this.

Thanks,
Javafan

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Jason Proctor
i've tried a few times to get this guy to stop posting and it's 
pointless. he just blasts away without reading anything, AFAICS.

here's hoping that if enough people mark it as spam it won't get 
through to the list address, not just individual mailboxes.



>Thanks!
>Sincerely
>Jose C Gomez
>
>http://www.josecgomez.com
>Sent from Jacksonville, Florida, United States
>
>On Mon, Dec 14, 2009 at 11:13 AM, Business Talk 
><roman.businesst...@gmail.com> 
>wrote:
>
>I just did
>
>On Dec 14, 11:11 am, Jose Gomez 
><j...@josecgomez.com> wrote:
>>  Can someone please mark this person as spam get them off the list. UGH!
>>  Sincerely
>>  Jose C Gomez
>>
>>  http://www.josecgomez.com
>>
>>  On Mon, Dec 14, 2009 at 11:06 AM, krishna murthy 
>><pkrishna...@gmail.com>wrote:
>>
>>
>>
>>  > Hi,
>>
>>  > This is Krishna with iMCS, we have an urgent requirement for the Following
>>  > position appreciate if you could respond with your Updated profile,
>>  > Availability, and Visa Status and Expected rate ASAP. Please let me know
>>  > Comfortable level ASAP
>>
>>  > *Requirement No:1*
>>  > Position: SAP Systems Analyst
>>  > Location:OR
>>  > Duration:12Months+
>>  > Job Description:
>>  > Years of Experience & Expertise Level: Sr. SAP Analyst. 8-9 + yrs. exp.
>>  > Project Description:
>>  > IT EC3, Finance Information Services group needs an SAP Systems Analyst to
>>  > assist with the E-Pipe EOL Archiving project which gears around developing
>>  > and configuring SAP archiving objects in order to be able to shut down the
>>  > E-Pipe.
>>  > Daily Responsibilities: Work together with other employees who have
>>  > experience with the E-Pipe environment at our company. In addition, the CW
>>  > will have to work closely with biz partners in order to understand
>>  > requirements. The CW will work with his/her team to design, test, and
>>  > develop archiving objects and deploy them into production. The 
>>CW will need
>>  > to create documentation for future use.
>>  > Necessary Skills (Must Have):
>>  > SAP R3
>>  > SAP NetWeaver
>>  > SAP Data Archiving
>>  > SAP Configuration and customization archiving objects development
>>  > Additional Skills Desired (Nice to Have):
>>  > System Analyst skills
>>  > Communication skills
>>
>>  > *Requirement No:2*
>>  > Position:Oracle Developer
>>  > Location:MA*{Required F2F (Local Required)}*
>>  > Duration:6 months+
>>  > Job Description:
>>  > strong knowledge of database and date warehousing concepts, especially
>>  > around database architectural issues related to performance. Strong
>>  > knowledge of Oracle is a requirement. Strong knowledge of MS SQL Server in
>>  > addition is a plus. Experience with ETL processes that load data from an
>>  > OLTP database into a data warehouse is a big plus.
>>
>>  > Regards,
>>  > Krishna
>>  > iMCS Group Inc,
>>  > 469 442 3300
>>  > kris...@imcsgroup.net
>>
>>  > --
>
>  > > 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
>
>  > > 
>android-developers+unsubscr...@googlegroups.commailto:cr...@googlegroups.com>cr...@googlegroups.com>
>
>  > > For more options, visit this group at
>
>  > 
> >http://groups.google.com/group/android-developers?hl=en-
>  
>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
>android-developers+unsubscr...@googlegroups.com
>For more options, visit this group at
>http://groups.google.com/group/android-developers?hl=en
>
>
>--
>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
>android-developers+unsubscr...@googlegroups.com
>For more options, visit this group at
>http://groups.google.com/group/android-developers?hl=en


-- 
jason.vp.engineering.particle

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

[android-developers] rename a app's name after it's installed

2009-12-14 Thread Kai
Hi,
is it possible to let users rename the app's name as it appears in the
app menu?

Some users want to make my app appear on a different name of their
choice.

Thanks,
Kai

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: off-center home screen shortcuts on high-res device

2009-12-14 Thread kcoury
Hey Dave,

I actually took a look at your source because I wanted to get this
working on my Droid. It turns out that the issue here is that you're
just using the constant value for the dimension instead of using the
getDimension() method in the Resources class and getting the actual
dimension. You could fix this using the following code:

final Resources resources = getResources();
int iconSize = (int) resources.getDimension
(android.R.dimen.app_icon_size);

One thing to keep in mind is that this dimension will still return 48
on the Droid even though high resolution application icons are 72 x
72. Hope this helps.

Kyle


On Dec 10, 9:31 pm, whizziwig  wrote:
> hi all-
>
> I'm seeing a problem with betterbookmarks where on the droid (as well
> as on the high-res emulator) the icons it generates are coming out off-
> center:http://lh4.ggpht.com/_U2bQZKjeR7E/SyGueGF6_JI/FRE/7WKRvWjOjsc...
>
> The ones that don't look like they take up the entire area allocated
> for an image are 48x48, which is android.R.dimen.app_icon_size on
> these devices. The ones that look like they do take up the whole area,
> but are still off are android.R.dimen.thumbnail_height, which is I
> think 63.
>
> Why is this happening? The images look fine when I preview them in an
> ImageView.
>
> 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Soft keyboard won't open on custom view in landscape mode?

2009-12-14 Thread Eric Hackborn EH
I've been experimenting with the IMM and it's mostly straightforward, but for
some reason, my custom view that launches the soft keyboard works only
in portrait mode.  launching it is easy enough:

InputMethodManager imm =
(InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInputFromWindow(getWindowToken(),
InputMethodManager.SHOW_IMPLICIT, 0);

I've seen a couple notes about the soft keyboard only working in portrait but I
assume this was a limitation in a previous version, since all the
Android EditText
views work fine in both portrait and landscape.  Is there some
additional piece of
work needed to enable landscape?

thanks much,
eric hackborn

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Facebook login fail

2009-12-14 Thread Eric Hackborn EH
> I am creating a Facebook application on Android
> I trying to use Facebook client library called 'FBRocket' in my app
> mentioned in below link.
> http://wiki.developers.facebook.com/index.php/User:Android
>
>
> But, Facebook login itself is failing.
> When I test, it takes very long time to display the login screen. Once
> login user name  and password is entered and  'Connect' is pressed, it
> displays error ‘Web Page not available..’ Login doesn't succeed.

In case you didn't see it, there's a warning about permissions on the
FBRocket page:

http://xeomax.net/fbrocket/

IMPORTANT: Many people have been experiencing difficulties with this
alpha release, mainly concerning the login functionality. This has
probably been caused by not adding the necessary permissions to your
AndroidManifest.xml file. You need to add the following:
 to your
manifest file of your application in order to enable the embedded
web-browser control to connect to the Facebook Connect authorisation
mechanism.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android >= 1.6: Invalid View object passed to onListItemClick()?

2009-12-14 Thread Eus
HiHo!

On Mon, 2009-12-14 at 09:18 -0800, Romain Guy wrote:
> Hi,
> 
> It looks like you are doing the wrong thing in your adapter. Are you
> locally caching views yourself?

AFAIK, no, I am not.

I just do very simple stuff using the available APIs without touching
fancy stuff like caching.

The adapter is ArrayAdapter. The array is a String array. I only
override the following two functions of ListActivity:

@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

setListAdapter(new ArrayAdapter(this,
R.layout.todo_list_row,
new String[] {
"Phobos",
"Demos",
"Venus",
"Pluto",
"Mercury"
}));
}

@Override
protected void onListItemClick(ListView l,
   View v, int position, long id) {

super.onListItemClick(l, v, position, id);

v.setBackgroundResource(R.color.todo_item_highlighted);
}

The todo_list_row.xml is just:


http://schemas.android.com/apk/res/android";
android:id="@+id/RowId"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

> -- 
> Romain Guy
> Android framework engineer
> romain...@android.com
> 
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Market access to paid apps on Droid ?

2009-12-14 Thread jarkman
We've had a couple of reports from Droid users that they can see our
free trial apps in the Market, but not our paid-for ones.

And, as some of them had bought an app on their previous device, they
are understandably anxious to get it onto their new device.

We know it's not afflicting all Droid users, so I am trying to get
some clarity about what is going on. Has this happened to anyone
else ?

I can see a lot of fuss in the market forums about apps being
invisible on unlocked devices (http://www.google.com/support/forum/p/
Android+Market/thread?tid=303d62515914af75&hl=en), but that is not the
case for our users.

Thanks,

Richard

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Call Recording in Andriod ?

2009-12-14 Thread Blake B.
There is an open issue related to this (missing) feature.  #2117.  If
you want to encourage this to take a higher priority, "star" the issue
to be notified of changes.  The number of people following the issue
seems to give some priority to the issue in Google's eyes.

http://code.google.com/p/android/issues/detail?id=2117


On Dec 14, 1:22 am, tuku  wrote:
> hi
>         i also want same thing
>         if u  get any idea then plz help me out
>
> bye takecare
>
> On Dec 9, 4:50 pm, Y2U  wrote:
>
> > Hello Guys i want to know can we record phone calls in android and if
> > yes then can anybody provide me with some sample code or any other
> > info regarding this.
>
> > i read somewhere that call recording is blocked by android but even
> > then there are some call recording apps in the market for android.
> > so please help asap.. :)
>
> > thanks in advance.
>
> > Usman

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Invoking apps in background when phone starts

2009-12-14 Thread Streets Of Boston
Ah, i just clicked on the link in Mark's answer. I totally agree with
his thoughts.

On Dec 14, 12:55 pm, Streets Of Boston 
wrote:
> Yes, it can be done.
> But be absolutely sure that your application needs it and that there
> is no other way.
> If your app/service just tries to save a few seconds on startup-time
> when the user (indirectly) activates it, don't do it.
>
> In other words, don't add to the phone's start-up time if it's not
> absolutely necessary. It may not be just your app; it starts adding up
> to the phone's start-up/boot time if more and more applications start
> running some code on BOOT_COMPLETED.
>
> On Dec 14, 4:10 am, veradis  wrote:
>
>
>
> > Hi  Mark Murphy,
> > thanks for help.
>
> > In my app, the user wont be clicking on the menu icon for loading the
> > application.
> > The app SERVICE should be loaded along with android OS. So, can it be
> > done.
> > I am not sure whether it is good practice or not, but for time being
> > it is my requirement.
>
> > Thanks
> > Veradis- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Invoking apps in background when phone starts

2009-12-14 Thread Streets Of Boston
Yes, it can be done.
But be absolutely sure that your application needs it and that there
is no other way.
If your app/service just tries to save a few seconds on startup-time
when the user (indirectly) activates it, don't do it.

In other words, don't add to the phone's start-up time if it's not
absolutely necessary. It may not be just your app; it starts adding up
to the phone's start-up/boot time if more and more applications start
running some code on BOOT_COMPLETED.

On Dec 14, 4:10 am, veradis  wrote:
> Hi  Mark Murphy,
> thanks for help.
>
> In my app, the user wont be clicking on the menu icon for loading the
> application.
> The app SERVICE should be loaded along with android OS. So, can it be
> done.
> I am not sure whether it is good practice or not, but for time being
> it is my requirement.
>
> Thanks
> Veradis

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Localization for simplified and traditional chinese

2009-12-14 Thread HeHe
killing your app in DDMS and re-run it should work, too.

On Dec 14, 4:50 am, Kit  wrote:
> Sorry, i just realized that i have to restart the emulator after
> changing the locale.
> the localization works now. Thanks.
>
> On 12月14日, 上午10時11分, Kit  wrote:
>
>
>
> > Hi HeHe,
>
> > Thanks for your reply and sorry for the misleading. let me clarify my
> > question.
>
> > i didn't make any coding on localization. what it want to do is to let
> > my application shows either traditional chinese/simplified chinese
> > depending on the phone locale. currently i got the following two
> > strings.xml in my /res folder
> >     - /values/strings.xml (default)
> >     - /values-zh/strings.xml  (for locale with language code = zh)
>
> > so what i have done now is if the phone locale is not with language
> > code zh, default strings.xml is shown. and if the locale is zh-TW
> > (Taiwan) or zh-CN(China), /values-zh/strings.xml is shown.
>
> > i supposed zh-TW should show the Traditional Chinese and zh-CN should
> > show the Simplified Chinese. so i modified the /res folder as follow
> >     - /values/strings.xml (default)
> >     - /values-zh-rCN/strings.xml  (for locale = zh-CN)
> >     - /values-zh-rTW/strings.xml  (for locale = zh-TW)
>
> > but this doesn't wok, now only default strings.xml is shown no matter
> > which locale is set.
>
> > Thanks,
>
> > Regards,
> > Kit
>
> > On Dec 14, 8:56 am, HeHe  wrote:
>
> > > not quite get your question.
>
> > > selection of the resource folder should be automatic, as indicated in
>
> > >         android-sdk-windows/docs/guide/topics/resources/resources-
> > > i18n.html
>
> > > the current locale of your phone/emulator can be learned by
>
> > >                 Locale.getDefault();
>
> > > hope this helpful to you.
>
> > > On Dec 12, 11:25 pm, Kit  wrote:
>
> > > > i want to create an application which supports both simplified and
> > > > traditional chinese. so i created 2 strings.xml in values-zh-rCN (sim.
> > > > chi) and values-zh-rTW (tra. chi). but then i run the application in
> > > > the emulator, it seems that only the default strings.xml is loaded.
>
> > > > i tried to use values-zh as the strings.xml folder. it will be loaded
> > > > for both zh-CN and zh-TW locales. so is that i cannot add region code
> > > > for the strings.xml?
>
> > > > Thanks for your answer
>
> > > > Regards,
> > > > Kit

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: map sdcard to drive letter or directory on windows

2009-12-14 Thread Mark Murphy
sdphil wrote:
> oops - sorry, I meant in the simulator.

Oh, sorry. Ummm...unless somebody creates a Windows storage driver that
maps over adb or something, I doubt that's possible. Though you might
poke around the documentation for qemu -- the underlying engine for the
emulator -- to see if anything pops up that might fit the bill.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: sorry cannot play this video!?

2009-12-14 Thread Valentino XM
Hello Ranjeet,

thank you for the assist. As  I  am new to all of this,  therefore
confused.  it would be a bit more advantageous for me if you could add
the necessary code line  for the ( raw) segment,  video data and
buffer progamatically?   have buffer as frame wise?

On Dec 14, 1:49 pm, Ranjeet  wrote:
> Hi Valentino
>
> I belive you are able to play the vedio from the SD Card.
>
> Now to play the vedio through streaming, you need to get the RAW VEDIO data
> and buffer it programatically, then you need to give the path of the buffer
> to play it back, and simultaneously in back ground it should buffer with new
> data through web.
>
> have your buffer as Frame wise.
>
> Let us know if you have the same issue.
>
> Thanks
> RanjeetOn Mon, Dec 14, 2009 at 5:52 PM, Valentino XM  
> wrote:
> > Hi!
>
> > I have been trying to code this for 6 days.
>
> > Playing from a File or Stream
>
> >    MediaPlayer mp = new MediaPlayer();
> >    mp.setDataSource(PATH_TO_FILE);
> >    mp.prepare();
> >    mp.start();
>
> > my code...
>
> > package info.shouraig.com;
>
> > import android.app.Activity;
> > import android.net.Uri;
> > import android.os.Bundle;
> > import android.util.Log;
> > import android.widget.MediaController;
> > import android.widget.VideoView;
>
> > public class XSO6 extends Activity {
> >        private final static  String RTSP = "rtsp://
> > v4.cache2.c.youtube.com/
> >http://www.youtube.com/watch?v=8bmWwxixT0Y";;
> > VideoView VideoViewXSO6;
>
> >        /** Called when the activity is first created. */
> >   �...@override
> >    public void onCreate(Bundle savedInstanceState) {
> >        super.onCreate(savedInstanceState);
> >        setContentView(R.layout.main);
>
> >        //***VideoView to video element inside Multimedia.xml file
>
> >        VideoView videoView =(VideoView)findViewById
> > (R.id.VideoViewXSO6);
> >        Log.v("videoViewXSO6", "***Video to Play:: " + RTSP);
> >        MediaController mc = new MediaController(this);
> >        mc.setAnchorView(videoView);
> >        Uri video = Uri.parse(RTSP);
> >        videoView.setMediaController(mc);
> >        videoView.setVideoURI(video);
> >        videoView.start();
> >    }
> > }
>
> > and still.. the error message in the emulator reads... "sorry this
> > video cannot be played"
>
> > is there something i need to do or not do in order to stream this
> > video from Youtube"..
>
> > TIA
>
> > cheers
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.> To post to this group, send email 
> > toandroid-develop...@googlegroups.com
> > To unsubscribe from this group, send email 
> > to>android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Dialog & windowBackground style item

2009-12-14 Thread skink
hi,

i'd like to create custom Dialog with custom background Drawable.

so i creaded style that defines "windowBackground" item and sets it to
"@drawable/dialog_background":


@drawable/dialog_background
true


dialog_background.xml looks like this:


http://schemas.android.com/apk/res/
android">






where:

@drawable/dialog_bg is nine patch bitmap that defines dialog's
background

@drawable/red_circle is 32x32 png bitmap that contains simple red
circle with radius of 16px and is
offset on the left and top by 16 pixels so that its center is located
on the position (0, 0)
of my dialog

basically i'd like to get something like this:

   *
  ###
 *###*--+
  ###   |
   *|
   ||
   ++

but due to clipping to dialog bounds i got:

   ##*--+
   ##   |
   *|
   ||
   ++

my question is if it's possible to avoid Drawable clipping?

if so, how?

i already tried this:

Window w = getWindow();
ViewGroup decor = (ViewGroup) w.getDecorView();
decor.setClipChildren(false);

but it didn't help...

any suggestions?

thanks
pskink

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: map sdcard to drive letter or directory on windows

2009-12-14 Thread sdphil
oops - sorry, I meant in the simulator.

On Dec 14, 9:02 am, Mark Murphy  wrote:
> sdphil wrote:
> > is there a way to map the sdcard (/sdcard) to a drive letter or
> > directory on a windows box?
>
> Mount it as a USB drive. You should have an option to do that when you
> slide down the notification drawer with the USB cable attached.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Consulting/App Development:http://commonsware.com/consulting

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android >= 1.6: Invalid View object passed to onListItemClick()?

2009-12-14 Thread Romain Guy
Hi,

It looks like you are doing the wrong thing in your adapter. Are you
locally caching views yourself?

On Mon, Dec 14, 2009 at 12:49 AM, Eus
 wrote:
> HiHo!
>
> This subject originates here:
> http://groups.google.com/group/android-beginners/browse_thread/thread/772ff8b97facfab2/9a470dd0b71dbef3
>
> To sum up:
>
> When I click on an item in the ListView, the background color that gets
> changed is not that of the clicked item but instead of the other item in
> the opposite side relative to the middle item:
>
> 1 <-- I click here
> 2
> 3 <-- Acts as a mirror
> 4
> 5 <-- This is the one that gets changed
>
> 1
> 2 <-- This is the one that gets changed
> 3 <-- Acts as a mirror
> 4 <-- I click here
> 5
>
> This problem persists even when I use CheckedTextView like what is
> suggested in the post.
>
> I use the latest stable SDK.
>
> This problem occurs when the target platform is Android 1.6, 2.0 or
> 2.0.1.
>
> The problem does not occur when the target platform is Android 1.1 or
> 1.5.
>
> However, the problem will also occur when the program is compiled for
> 1.5 and run in 2.0.1.
>
> The simple problematic code can be found here:
> http://www.mediafire.com/?sharekey=6dd15ff25c627a277432d3c9683f450acd7138973b42b69438538f5672f1b9df
>
> There I also put the screenshots showing the problem:
> demo01.png: I click an item.
> demo02.png: the clicked item doesn't get changed but the reflective item
> does.
>
> Is this a bug in newer Android platforms?
>
> If it is intended, what is the reason and could you please show me how I
> should fix my code?
>
> Thank you.
>
> --
> Best regards,
> Eus (FSF member #4445)
>
> In this digital era, where computing technology is pervasive, your
> freedom depends on the software controlling those computing devices.
>
> Join free software movement today! It is free as in freedom, not as in
> free beer!
>
> Join: http://www.fsf.org/jf?referrer=4445
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Good android book

2009-12-14 Thread TreKing
Do a search for "Android Book(s)" in this group, this is asked all the time.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking


On Mon, Dec 14, 2009 at 3:18 AM, hafez ahmad  wrote:

> Dears,
>
> can someone recommended a good android development book.
>
> Regards,
> HD
>
>
>  --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] map sdcard to drive letter or directory on windows

2009-12-14 Thread Mark Murphy
sdphil wrote:
> is there a way to map the sdcard (/sdcard) to a drive letter or
> directory on a windows box?

Mount it as a USB drive. You should have an option to do that when you
slide down the notification drawer with the USB cable attached.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Consulting/App Development: http://commonsware.com/consulting

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] map sdcard to drive letter or directory on windows

2009-12-14 Thread sdphil
is there a way to map the sdcard (/sdcard) to a drive letter or
directory on a windows box?

i can always do "adb pull /sdcard sdcard" but that can take a while if
you've got a lot of stuff on there...

tia.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: please help me with opengl exception.

2009-12-14 Thread Nightwolf
It should be allocateDirect instead of allocate.

On 14 дек, 02:22, billconan  wrote:
> hello guys,
>
> i'm trying to draw a very simple 2D triangle with opengl. but i have
> exception "illegal parameters"
>
> the problematic line is
>
>         gl.glVertexPointer(3, GL11.GL_FLOAT, 0, mVertexBuffer);
>
> i'm new to android, my experience with it so far is so frustrating. i
> simply copied code from other examples. and it simply doesn't work.
>
> i'm pretty sure the mVertexBuffer is successfully initialized. because
> i can see the size of the buffer is 48 right before the execution of
> the problematic line with the debugger. and this size is correct.
>
> however it just doesn't work.
>
> i initialized the buffer this way:
>
>                 mVertexBuffer = ByteBuffer.allocate(12*4);
>                 mVertexBuffer.order(ByteOrder.nativeOrder());
>                 mVertexBuffer.position(0);
>                 mVertexBuffer.putFloat(-1);
>                 mVertexBuffer.putFloat(-1);
>                 mVertexBuffer.putFloat(-1);
>                 mVertexBuffer.putFloat(1);
>                 mVertexBuffer.putFloat(1);
>                 mVertexBuffer.putFloat(1);
>                 mVertexBuffer.position(0);
>
> the code was actually copied from a opensource example.
>
> can somebody help me?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to handle simultaneous key press

2009-12-14 Thread Nightwolf
You should try it.
At least combinations like "w+a+space" work. I haven't try with
special keys though.
My app that needs to handle multiple key presses has boolean array for
each action (turn left or right, fire etc.). Corresponding array
elements are set in onKeyDown and onKeyUp event handlers.

On 14 дек, 09:50, onceaweek  wrote:
> I was wondering whether Androd can catch  simultaneous Key Press.
> For example, a application does something when a user press HOME and
> MENU key simultaneously.
> Is it a possible scenario?
>
> Thank you 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] WebView losing onTouchListener when BuiltinZoomControls are used?

2009-12-14 Thread Patrick
I have a WebView widget that I'm using to display stuff. I have a
touch listener set up to get taps from it. I also use the builtin zoom
controls (for zooming, of course).
If you don't scroll the view, you can tap and the app acts as
expected. If you scroll at all, and let the controls go away, you can
no longer tap. I have some dummy Toasts for debugging that trigger on
touch events. These work right, then stop working once the zoom
controls do their thing.

So my question is, am I doing something wrong? Is there a "blessed"
way for onTouch listeners and WebView's builtin zoom controls to
peacefully coexist? Or am I just on the complete wrong track for doing
what I'm doing

API Level 3, by the 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to communication with PC client.

2009-12-14 Thread Ron
You say no other connections are available so I don't know who useful
this answer would be, but I was able to do this through WiFi and a
cheap router.  The address of the PC socket is the IP address of the
wireless PC port, found through ipconfig.  I have a further posting
pending about difficulty in keep the connection up for the long term,
but that's a different issue.  To connect the phone to the router go
to Settings->Wifi.

On Dec 10, 3:50 am, feng jacky  wrote:
> Hi,
>
> I wrote a TCP socket client, an android application. On my emulator, it can
> successfully connect to a TCP sever running in my PC. But, when I deployed
> the the apk into my real phone, HTC g4, it dosen't work. An exception was
> raised said "java.net.SocketException: Network unreachable".
>
> The situation is, my handset was connected to my PC via USB, and no other
> connections were available. How can my android application connect to a PC
> server in the case. I don't know if we can use socket over usb connection.
> If yes, then why my application doesn't work. If no, then how?
>
> Thanks a lot.
>
> jack

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Socket - Network connect drops after 15 minutes

2009-12-14 Thread Ron
I am able to connect to a Socket on my PC from my HTC 1 phone, via IP
and successfully transfer data in a thread that gets rescheduled every
few seconds.  The problem is that after 15 minutes or so, the
connection drops and my debug traces give me the "Network
unreachable".  A further clue is that if I plug in or replug in the
USB cable I get reconnected.

I'm wondering what programmatic function will reconnect to the PC
without having to fiddle with the USB cable.  I've tried
Wifimanger.reconnect and reassociate, neither did the trick.  Perhaps
if I knew what actions were peformmed when the usb cable is plugged in
(which shouldn't have anything to do with my connection) I would be
able to program them into my exception path.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] continuous update of a texture

2009-12-14 Thread space
Hi!

In an application I would like to update the contents of a texture in
each frame. In short, in each frame I need to render to a Bitmap and
then use that Bitmap as a texture in a 3D context.

I tried to use the  GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, image,
0) call, but it seems that it keeps eating memory (after a while the
app is killed due to out of memory).

Also, I wonder if this is the fastest solution?

And a third question: is it possible to render into a texture with
opengl?

Thank you in advance!
/Pal Szasz

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] ProgressDialog for download progress

2009-12-14 Thread Yves Glodt
Hi,

could someone provide or point to an example on how to download a file
by http get, save it to the sd card, and show the download progress in
a ProgressDialog?

Best regards,
yglodt

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Urgent Position for Android Developer | Telecommute

2009-12-14 Thread Navneet Chalana
Hello Friends,

Hope you are doing great,

I am currently in search of an experienced Android Developer who could
doan Android port. If you are available and looking for new projects.
Please send resumes to navn...@okayainfo.com or call me at
631-685-1134 X 260 for further discussions.

Project Details:

We're currently working on versions for S60v5 Touchscreen and iPhone,
so we'll have skins for touchscreen devices.  We'll also have a
graphics pipeline for OpenGL-ES 1.1 and OpenGL-ES 2.0.The front-
end source is all vanilla C, using very few external libs:  libc and
zlib.



Thanks & Regards

Navneet Chalana

Sr. Account Manager
631-685-1134 x 260 | navn...@okayainfo.com | I am available LinkedIn |
Okaya Inc. 99 Mark Tree Rd, Suite 304 Centereach, NY 11720 | URL:
http://www.okayainfo.com - Fax: 631-389-2446 |

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


  1   2   >