[android-developers] Re: Dialer

2009-07-29 Thread Sudeep Jha
 Hi Michelle,
you can use the following code snippet.

Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse(tel:+yourphoneNumber));
activity.startActivity(intent);

Regards,
Sudeep

On Wed, Jul 29, 2009 at 5:40 PM, Michelle Silva m...@cin.ufpe.br wrote:

 Hi,

 i'm beginner in Android and i'd like to know how can i access the
 Dialer aplication. I'd like to make a test that access dialer, dial a
 number, make a call and after some time, end this call. I'm using the
 emulator.
Can somebody help me?
Best regards,
   Michelle.
 



-- 
Warm Regards,
Sudeep

--~--~-~--~~~---~--~~
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: Dialer

2009-07-29 Thread Michelle Silva
Hi Sudeep,

  thak you for your help, but how I said i'm beginner and there are
things that i can't understand yet:
   1- Do I put this code inside an activity class ?
2 - What is Uri that calls this parse?

  Regards,
   Michelle.


2009/7/29 Sudeep Jha sudeep.neti...@gmail.com

  Hi Michelle,
 you can use the following code snippet.

 Intent intent = new Intent(Intent.ACTION_CALL);
 intent.setData(Uri.parse(tel:+yourphoneNumber));
 activity.startActivity(intent);

 Regards,
 Sudeep


 On Wed, Jul 29, 2009 at 5:40 PM, Michelle Silva m...@cin.ufpe.br wrote:

 Hi,

 i'm beginner in Android and i'd like to know how can i access the
 Dialer aplication. I'd like to make a test that access dialer, dial a
 number, make a call and after some time, end this call. I'm using the
 emulator.
Can somebody help me?
Best regards,
   Michelle.




 --
 Warm Regards,
 Sudeep

 


--~--~-~--~~~---~--~~
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: Dialer

2009-07-29 Thread Sudeep Jha
Hi Michelle,
Yes,you need to put this code into an activity class.
 Also,you need to set permission in your manifest file.
uses-permission android:name=android.permission.CALL_PHONE /
 ...

On Wed, Jul 29, 2009 at 6:00 PM, Michelle Silva m...@cin.ufpe.br wrote:

 Hi Sudeep,

   thak you for your help, but how I said i'm beginner and there are
 things that i can't understand yet:
1- Do I put this code inside an activity class ?
 2 - What is Uri that calls this parse?

   Regards,
Michelle.


 2009/7/29 Sudeep Jha sudeep.neti...@gmail.com

  Hi Michelle,
 you can use the following code snippet.

 Intent intent = new Intent(Intent.ACTION_CALL);
 intent.setData(Uri.parse(tel:+yourphoneNumber));
 activity.startActivity(intent);

 Regards,
 Sudeep


 On Wed, Jul 29, 2009 at 5:40 PM, Michelle Silva m...@cin.ufpe.br wrote:

 Hi,

 i'm beginner in Android and i'd like to know how can i access the
 Dialer aplication. I'd like to make a test that access dialer, dial a
 number, make a call and after some time, end this call. I'm using the
 emulator.
Can somebody help me?
Best regards,
   Michelle.




 --
 Warm Regards,
 Sudeep




 



-- 
Warm Regards,
Sudeep

--~--~-~--~~~---~--~~
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: Dialer App Source Code

2009-04-05 Thread bw

Actually, the dialer is here:

http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree



On Apr 5, 11:52 am, bw ben.weisb...@gmail.com wrote:
 The web interface to view android source code is here:

 http://android.git.kernel.org/

 From there you can get to the phone app:

 http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=tree

 -Ben

 On Apr 3, 9:05 pm, TJ104 tiny.timmy.t...@gmail.com wrote:



  Hello,
  First of all, Thank you to Google for Android! It isn't perfect, but
  it has A LOT of promise!
  I was looking to write an app that would utilize the keypad in
  Google's dialer app. I've looked around and I haven't been able to
  stumble on to the code for the keypad. I don't know if I'm using the
  correct search terms or if what I'm asking for is just completely
  unrealistic. If one of you could help me with this that would be
  awesome.
  I was hoping to write a texting app that utilized the 10 key that the
  dialer uses. I have very little experience with Android, but I have a
  fair amount of experience with Java. As I understand it, Android
  displays things in a variety of containers, I am not sure how the
  dialer app is set up. I'm not to good with the UI side of things, so I
  wanted to Frankenstein my app by altering the dialer app's keyboard a
  bit and completely changing the functionality of the buttons.
  This app would be intended for short reply's to text messages, and
  (more importantly) allowing my wife to text with a familiar
  interface.
  I found a forum online that taught me what I needed to know about how
  to send and receive SMS messages with Android, now I just need to code
  my text prediction side of things and deal with the UI (and related
  aspects).
  ANY help would be greatly appreciated!

  Thank You,
  TJ
--~--~-~--~~~---~--~~
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: Dialer App Source Code

2009-04-05 Thread bw

The web interface to view android source code is here:

http://android.git.kernel.org/

From there you can get to the phone app:

http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=tree



-Ben



On Apr 3, 9:05 pm, TJ104 tiny.timmy.t...@gmail.com wrote:
 Hello,
 First of all, Thank you to Google for Android! It isn't perfect, but
 it has A LOT of promise!
 I was looking to write an app that would utilize the keypad in
 Google's dialer app. I've looked around and I haven't been able to
 stumble on to the code for the keypad. I don't know if I'm using the
 correct search terms or if what I'm asking for is just completely
 unrealistic. If one of you could help me with this that would be
 awesome.
 I was hoping to write a texting app that utilized the 10 key that the
 dialer uses. I have very little experience with Android, but I have a
 fair amount of experience with Java. As I understand it, Android
 displays things in a variety of containers, I am not sure how the
 dialer app is set up. I'm not to good with the UI side of things, so I
 wanted to Frankenstein my app by altering the dialer app's keyboard a
 bit and completely changing the functionality of the buttons.
 This app would be intended for short reply's to text messages, and
 (more importantly) allowing my wife to text with a familiar
 interface.
 I found a forum online that taught me what I needed to know about how
 to send and receive SMS messages with Android, now I just need to code
 my text prediction side of things and deal with the UI (and related
 aspects).
 ANY help would be greatly appreciated!

 Thank You,
 TJ
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---