[android-developers] Re: How to send at command

2010-03-28 Thread saru
probably you misunderstood my question.

I m interested to send AT command by programming in android.
I m searching some API to do this in android.

On Mar 28, 9:07 pm, Joaquim Azevedo joaxazev...@gmail.com wrote:
 You already try use ADB, maybe exist commands you need. If not, you need to
 connect your phone in modem mode. Some phones can connect both at same time.



 On Sun, Mar 28, 2010 at 02:02, saru sarucs...@gmail.com wrote:
  Hey i need to send AT command to modem in android phone.
  But by searching android i could not find any API to send AT command.
  Please can any did it or can any one share any idea regarding AT
  command.
  Please it is very much important for me

  --
  You received this message because you are subscribed to theGoogle
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  To unsubscribe from this group, send email to android-developers+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

 --
 Att,
 Joaquim Azevedo

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] How to send at command

2010-03-27 Thread saru
Hey i need to send AT command to modem in android phone.
But by searching android i could not find any API to send AT command.
Please can any did it or can any one share any idea regarding AT
command.
Please it is very much important for 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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Answer automatically to Incoming Call

2010-03-21 Thread saru
Hi Bibek,
 Is it possible by modifying code??? Are you sure
If possible can you give some hints actually what needed to do in
source code to answer call programatically.

On Mar 19, 1:03 am, Kumar Bibek coomar@gmail.com wrote:
 This is simply not possible if you are not modifying the source code.
 Don't waste time.

 Thanks and Regards,
 Kumar Bibek

 On Mar 18, 11:52 am, Andreas andreas.bex...@gmail.com wrote:

  Hi,

  I have not tried this, but it seems to me that you use the
  ACTION_CALL_BUTTON in your code, rather than the ACTION_ANSWER, and
  you should probably broadcast it using Context.sendBroadcast rather
  than startActivity. Just my cents.

  Regards

  Andreas

  On Mar 18, 7:40 am, midoub elmehdi.benso...@gmail.com wrote:

   hello,
   I know this is not the good forum to post my question, but I need help
   and I spend 3 days to try to find solution ,but no way:(.
   I'm trying to develop application that can answer incoming call
   automatically.
   In my code I use the intent Action_Anwser  but it's seem not work.
   The snippet of my code
   :
           public void onCallStateChanged(int state, String incomingNumber) {
                           super.onCallStateChanged(state, incomingNumber);
   :
    Intent intent = new Intent(Intent.ACTION_CALL_BUTTON);
                               
   intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                                  startActivity(intent);
   
   Maybe I had forget the permission in manifest or somthing like this!!!
   Thanks for your help.
   best regards,



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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: send dtmf

2010-03-21 Thread saru
Murphy, expecting a reply about android dtmf and telephony feature

On Mar 16, 12:23 pm, saru sarucs...@gmail.com wrote:
 Thanks again Murphy.
 Look i need to pass dtmf tone over GSM (telephony line).

 Look it should be possible in android.

 From very beginning of my starting in android I followed that android
 has very silly telephony API
 than other OS like black berry, iphone and others.

 even People from other platform can not believe that in android
 telephony feature in unavailable.

 Here I want to quote All application in android are same. It is
 completely false.
 Android restricted their Phone application exclusively.They did not
 provide any advantage for developer.
 I think android developers r suffering for this. So hope in future
 version android will relax their telephony API and Phone application

 On Mar 15, 7:16 pm, Mark Murphy mmur...@commonsware.com wrote:

  saru wrote:
   Thanks Murphy for ur reply.

   I explored ToneGenerator class. Where i m seeing one function
    startTone(int toneType)
   This method starts the playback of a tone of the specified type.

   But i need a function like sendDtmf().

   Please can you help again???

  If you are looking to play DTMF tones over the speaker or headset, use
  startTone().

  If you are looking to play DTMF tones over the telephony connection
  (e.g., to control a voicemail menu), that is not possible in Android.

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

  Android App Developer Books:http://commonsware.com/books



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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: android Telephony API access levels

2010-03-18 Thread saru
Hi i am searching the same feature (specially accepting call) from
last 3 months but found nothing significant

1.Some tell to change android source code and relative permission to
avail this feature.(fruitless)
2.some tell you should build your own application to accept call. Can
you imagine how much low level working needed to implement this
application.
3.some tell me for key injection. But android was aware of it and
blocked such types of key injection. Possible in Black Berry
4. most people tell it is impossible in present version but Google
might consider it in heir future release.
5. There is no way to override the existing phone application. though
android says All applications are same. But i think it is not true in
case android built in phone application.

I m urging if any people reading this thread have any idea about it
Please share as it is a long desired question


On Mar 17, 1:56 pm, Venu toyv...@gmail.com wrote:
 Hi,

 I'm also having similar kind oftarget.

 But I didn't find any thing suitable for my requirement in SDK.

 How can I develope  a complete third party telephony application using
 SDK.
 [Dialing a call
  Answering an incoming call
  Call supplementary services
  etc., using SDK ]

 Can any one at least say possibilities YES/NO

 FYI: I am exactly looking for CTelephony equivalent in Android. Is is
 possible in Android 1.5 SDK ???

 -regards
 Bytes

 On Feb 15, 10:26 am, mike hasitharand...@gmail.com wrote:

  intelephonyAPI what are the access levels, can i change certain
  methods
  in other terms i wanted to run my application on top oftelephonyAPI.
  When a call comes or when dialing a  certain number i want to access
  my application and need to display my application output as well.

  so will i be able to run third party applications on top of API???
  can i be able to change native methods???
  what are the access levels ??

  regards,
  Randika



-- 
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: Answer automatically to Incoming Call

2010-03-18 Thread saru
if NY ONE OUT THEIR FIND ANY CLUE PLEASE POST HERE. it is a long
desired question

On Mar 18, 6:43 am, phillip phtp...@gmail.com wrote:
 Hi,

 I got the same problem as you do. I'm trying to look atthe original
 Phone app fromgoogle, but have no clue. The app manifest doesn't have
 Action_answer.

 Phillip

 On Mar 17, 3:40 pm, midoub elmehdi.benso...@gmail.com wrote:

  hello,
  I know this is not the good forum to post my question, but I need help
  and I spend 3 days to try to find solution ,but no way:(.
  I'm trying to develop application that can answer incoming call
  automatically.
  In my code I use the intent Action_Anwser  but it's seem not work.
  The snippet of my code
  :
          public void onCallStateChanged(int state, String incomingNumber) {
                          super.onCallStateChanged(state, incomingNumber);
  :
   Intent intent = new Intent(Intent.ACTION_CALL_BUTTON);
                              intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                                 startActivity(intent);
  
  Maybe I had forget the permission in manifest or somthing like this!!!
  Thanks for your help.
  best regards,



-- 
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] send dtmf

2010-03-15 Thread saru
Hey Can any one please tell me how to send dtmf in android.any code
regarding it would be appreciated.

-- 
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: send dtmf

2010-03-15 Thread saru
Thanks Murphy for ur reply.

I explored ToneGenerator class. Where i m seeing one function
 startTone(int toneType)
This method starts the playback of a tone of the specified type.

But i need a function like sendDtmf().

Please can you help again???

On Mar 15, 4:52 pm, Mark Murphy mmur...@commonsware.com wrote:
 saru wrote:
  Hey Can any one please tell me how to send dtmf in android.any code
  regarding it would be appreciated.

 Try ToneGenerator:

 http://developer.android.com/reference/android/media/ToneGenerator.html

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

 Android Training in US: 14-18 June 2010:http://bignerdranch.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] Re: send dtmf

2010-03-15 Thread saru
Thanks again Murphy.
Look i need to pass dtmf tone over GSM (telephony line).

Look it should be possible in android.

From very beginning of my starting in android I followed that android
has very silly telephony API
than other OS like black berry, iphone and others.

even People from other platform can not believe that in android
telephony feature in unavailable.

Here I want to quote All application in android are same. It is
completely false.
Android restricted their Phone application exclusively.They did not
provide any advantage for developer.
I think android developers r suffering for this. So hope in future
version android will relax their telephony API and Phone application

On Mar 15, 7:16 pm, Mark Murphy mmur...@commonsware.com wrote:
 saru wrote:
  Thanks Murphy for ur reply.

  I explored ToneGenerator class. Where i m seeing one function
   startTone(int toneType)
  This method starts the playback of a tone of the specified type.

  But i need a function like sendDtmf().

  Please can you help again???

 If you are looking to play DTMF tones over the speaker or headset, use
 startTone().

 If you are looking to play DTMF tones over the telephony connection
 (e.g., to control a voicemail menu), that is not possible in Android.

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

 Android App Developer Books:http://commonsware.com/books

-- 
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: Looking to becoming a developer part time

2010-03-10 Thread saru
i think a little time is not worthy. so plan to give more time

On Mar 10, 2:36 am, TreKing treking...@gmail.com wrote:
 On Mon, Mar 8, 2010 at 1:12 PM, omnilaw omni...@gmail.com wrote:
  I plan on spending a little time a night trying
  to learn the programming needed and get familiar with the SDK once I'm
  up to speed but wasn't sure where to start.

 Do you know Java? If not, that's priority #1. If you do, a book on Android
 and the online documentation and samples are probably a good place to start.

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

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

2010-03-10 Thread saru
Who told to develop mysql application in android.
Android does not support mysql database.
rather try to use SQlite database

On Mar 9, 4:45 am, Si458 simonsmith5...@googlemail.com wrote:
 Hiya,

 Im currently trying to develop a mysql app on the android, ive got the
 basics working and ive also managed to get the JDBC working with java
 but not android :(

 im running my application threw the debig ineclipseand it appears to
 be these lines it comming up with errors

 Class.forName(com.mysql.jdbc.Driver);
 Connection conn = DriverManager.getConnection(url
 +dbName,userName,password);

 what do u think im doing wrong?

 as im moving forward and forward ineclipsethrew the lines (F5) it
 keeps going into
 Class.class and saying Source Not Found ???
 and also
 ClassLoader.class and saying source not found aswell

 what do u think im doing wrong or what should i do???

 thank you :)

 SASmith
 Simon Smith

-- 
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] What is protected-broadcast in android manifest file?

2010-03-09 Thread saru
Hey i am seeing in android built-in phone application's manifest a tag
named protected-broadcast

like
protected-broadcast
android:name=android.intent.action.SERVICE_STATE /

I goggled but cant managed to understand actually what it means?/

-- 
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] a BET. if u can then do.I think Impossible

2010-03-09 Thread saru
Hey dude!!

Whats up. Hope u all r doing all. Almost last 2 months i am searching
for an android application which can accept call automatically if
there is an incoming call . But i failed to find and i talked with
various developer out there and failed to get any response.

Now if any guy out there have any idea or confident about  building
such an application(Must be android Application) then please post your
concept here or can contact with me privately. Very Honestly if you
can then i will pay u a reasonable amount. As it comes to me it is
impossible but I know there is nothing IMPOSSIBLE. I dont know what is
true POSSIBLE or IMPOSSIBLE.

Please it is my humble request do not give any answer if u are unsure
or not confident.

-- 
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: using internal class that is not shipped with android SDK

2010-03-08 Thread saru
Look, I need to write code for accepting call but there is no such
Public API thats why i am thinking of writing private API by which i
can write code to accept call

On Mar 8, 1:31 pm, Romain Guy romain...@android.com wrote:
 Hi,

 Don't use private APIs as these may and will change from one version
 of Android to another (or even from one phone to another phone). This
 will only make your app break.



 On Sun, Mar 7, 2010 at 10:28 PM, saru sarucs...@gmail.com wrote:
  Hey I am very much interested  and also needed to use an internal
  class which is not shipped with android sdk.

   the class is com.android.internal.telephony.Phone.

  Please if u guys have any idea about how ti use internal class then
  please let me know.

  --
  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: How to display all contacts?

2010-03-08 Thread saru
there are hundreds of posts regarding this. Just do a  google search.

On Mar 8, 6:40 pm, Nox v.beh...@googlemail.com wrote:
 Hello everybody,

 I want to develop an app, which displays every Contacts with their
 birthdays but I don´t know how to display the contacts.
 Is there a way to do that?

 Thanks in advance

 From Viktor

-- 
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: Supress the native In Call Screen and replace with 3rd party?

2010-03-07 Thread saru
Man you cant never do it as android is very much closed. Feom my
knowledge I can say no one can suppress android outgoing call screen
and Incoming call screen till today.God knows whether android open
their their telephony API so that developer can make great
software!!

I am sure someone would tell you it is not possible in SDK level but
possible in firmware level etc

On Mar 6, 12:06 am, mscwd01 mscw...@gmail.com wrote:
 I haven't looked into it but there must be an intent-filter you can
 use to launch your Call screen when necessary?

 On Mar 5, 9:39 am, draf...@gmail.com draf...@gmail.com wrote:

  Currently creating a VOIP application for Android and I was wondering
  is there any possible way to supress the In Call Dialog when sending a
  call over GSM and use our own 3rd party In Call Dialog or screen
  instead?

  At the minute when we switch from our VOIP call and send it over GSM
  via the ACTION_CALL intent it does everything we want except it brings
  up the native In Call screen whereas we want our own In Call screen to
  display here.

  So I was wondering what kind of options we would have on this?

  What would you reccomend we look into doing?

  Thanks in advance



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


[android-developers] using internal class that is not shipped with android SDK

2010-03-07 Thread saru
Hey I am very much interested  and also needed to use an internal
class which is not shipped with android sdk.

 the class is com.android.internal.telephony.Phone.

Please if u guys have any idea about how ti use internal class then
please let me know.

-- 
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 implement answer function programmetically?

2010-03-04 Thread saru
hey i am a sufferer of this topic. Last 3 months i am searching and
asking from different people both in online and offline. But till any
one did not give any satisfactory answer.

What i can say you clearly at present there is no API to accept call
and also android blocked simulation accept button and end button of
phone.

If you guys there have any clue regarding this topic then share here.

I bet no one could that. ha ha i am a looser and now seems you will be
a loser

On Mar 4, 6:05 pm, James Wang jameswangc...@gmail.com wrote:
 I do not think you can make it with SDK, even Hint2.

-- 
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] what is pending intent?

2010-02-16 Thread saru
Hi, Please clarify me What is Pending  Intent with an example.

-- 
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: programatically press a button

2010-02-15 Thread saru
hey, Please tell me about 
http://davanum.wordpress.com/2007/12/19/android-simulate-key-strokes/.
How they did it

On Feb 14, 7:17 pm, Mark Murphy mmur...@commonsware.com wrote:
 saru wrote:
  Hey i want to write a program in android to press  menu button or end
  button or answer button automatically.

 You can't, sorry.

 --
 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: programatically press a button

2010-02-15 Thread saru
hi  Houcem Berrayana,
 thanks for sharing with me and helping me. But unfortunately i am not
getting output by running your code.Can you please send me the whole
sample code.if you can then please mail me.my mail id,
sarucs...@gmail.com


On Feb 15, 4:52 pm, Houcem Berrayana houcem.berray...@gmail.com
wrote:
 Hi saru,
 I posted the same question last Friday. I found the solution which
 consists on dispatching the event using the event dispatcher of the
 activity. If you would like to read some advanced technical details
 about event processing you can read this excellent 
 post:http://letsgoustc.spaces.live.com/blog/cns!89AD27DFB5E249BA!488.entry

                  public void onClick(View v) {

                                 new Thread(new Runnable() {

                                         @Override
                                         public void run() {
                                                 KeyEvent backEvtDown = new 
 KeyEvent(KeyEvent.ACTION_DOWN,
 KeyEvent.KEYCODE_BACK);
                                                 KeyEvent backEvtUp = new 
 KeyEvent(KeyEvent.ACTION_UP,
 KeyEvent.KEYCODE_BACK);
                                                 
 mActivity.dispatchKeyEvent(backEvtDown);
                                                 
 mActivity.dispatchKeyEvent(backEvtUp);

                                         }
                                 }).start();
                         }

 Best Regards,

 On 15 fév, 10:28, saru sarucs...@gmail.com wrote:

  hey, Please tell me 
  abouthttp://davanum.wordpress.com/2007/12/19/android-simulate-key-strokes/.
  How they did it

  On Feb 14, 7:17 pm, Mark Murphy mmur...@commonsware.com wrote:

   saru wrote:
Hey i want to write a program in android to press  menu button or end
button or answer button automatically.

   You can't, sorry.

   --
   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] expanding android.jar

2010-02-15 Thread saru
Some classes are NOT PUBLIC like android.os.ServiceManager,
android.view.IWindowManager, etc, they are implemented in the mobile
devices, but not present in the SDK .jar. This is because these
classes are private APIs .
now please tell me is there any way like compiling source code or
importing private class file into android.jar so that i can use this
private APIs

-- 
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] programatically press a button

2010-02-14 Thread saru
Hey i want to write a program in android to press  menu button or end
button or answer button automatically. Please help me if you can.
though i got some links like 
http://davanum.wordpress.com/2007/12/19/android-simulate-key-strokes/
BUT i am getting error because of using import
android.os.ServiceManager; and import android.view.IWindowManager; as
this packages can not be resolved

-- 
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 use com.android.internal.telephony

2010-02-04 Thread saru
hey i need to use com.android.internal.telephony package for my
development. but i am in a doubt whether i would use
android.internal.telephony package or how

Please tell me about it?

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


[android-developers] answer call using acceptCall() of Phone.java

2010-02-03 Thread saru
Hey i got a function acceptCall() by which android receive call. the
path is android.internal.telephony.Phone.java.

Now you gays please tell me can i use it answer a call
programmetically. Please you got any idea about it then share  with
me .

or if you have any other idea about answering auto call then  you can
help me also.

-- 
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: About calling feature in android

2010-02-02 Thread saru
look there is already dialing software in market.So Please tell me if
dialing feature(API) is unavailable to developer how people out there
developed such dialing software in android.

On Feb 2, 1:20 pm, XC He schosnab...@gmail.com wrote:
 you might reference this  Why it is impossible to intercept incoming
 calls on Android
 (http://blog.wangling.me/2009/08/why-it-is-impossible-to-intercept-inc...
 )

 but I did not verify the correctness of the content.
 IMHO, you have to refer the call barring related feature.

 2010/2/1 saru sarucs...@gmail.com:

  Look i need to develop a dialer software(in android-OS) where i need
  to catch different calling features.So far i get notices of incoming
  call, outgoing call and different call state.

  But what is needed to me are
  * my application can receive the call(Accept button in my application)
  *my application can reject the call(Cancel button in my application)

   before posting here probably i searched every where in web but
  failed.Please if u people out there have any idea how could i
  implement accept and reject button in my application please let me
  know.

  --
  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] android.intent.action.ANSWER

2010-02-02 Thread saru
I am using android.intent.action.ANSWER for receiving my call
(android_OS). below i m giving code segment i used:

in android manifest file i wrote
 intent-filter
action  android:name=android.intent.action.ANSWER /
category  android:name=android.intent.category.DEFAULT /
  /intent-filter

in activity class i wrote

 try
   {
  // answer the phone
  Intent myIntent = new Intent(Intent.ACTION_ANSWER);
  myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP
| Intent.FLAG_DEBUG_LOG_RESOLUTION
| Intent.FLAG_FROM_BACKGROUND
| Intent.FLAG_ACTIVITY_NEW_TASK);
  ftaContext.startActivity(myIntent);
   }
   catch (Exception e)
   {
  cleanup();
  return;
   }

But i did not get any result. Please see my code and give me a
feedback asap.

-- 
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] android.intent.action.ANSWER

2010-02-02 Thread saru
I am using android.intent.action.ANSWER for receiving my call
(android_OS). below i m giving code segment i used:

in android manifest file i wrote
 intent-filter
action  android:name=android.intent.action.ANSWER /
category  android:name=android.intent.category.DEFAULT /
  /intent-filter

in activity class i wrote

 try
   {
  // answer the phone
  Intent myIntent = new Intent(Intent.ACTION_ANSWER);
  myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP
| Intent.FLAG_DEBUG_LOG_RESOLUTION
| Intent.FLAG_FROM_BACKGROUND
| Intent.FLAG_ACTIVITY_NEW_TASK);
  ftaContext.startActivity(myIntent);
   }
   catch (Exception e)
   {
  cleanup();
  return;
   }

But i did not get any result. Please see my code and give me a
feedback asap.

-- 
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] Answer and hang up a call

2010-02-02 Thread saru
Can anyone point me how to auto answer calls and hangup
programmetically, and the related permission? Sample or skeleton code
is appreciated.

-- 
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] About calling feature in android

2010-02-01 Thread saru
Look i need to develop a dialer software(in android-OS) where i need
to catch different calling features.So far i get notices of incoming
call, outgoing call and different call state.

But what is needed to me are
* my application can receive the call(Accept button in my application)
*my application can reject the call(Cancel button in my application)

 before posting here probably i searched every where in web but
failed.Please if u people out there have any idea how could i
implement accept and reject button in my application please let me
know.

-- 
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: About calling feature in android

2010-02-01 Thread saru
i posted this messages some 2 hours ago but did not get any answer
yet.Please it is urgent for me and please help me if you can atleast
give me some clue

On Feb 1, 12:09 pm, saru sarucs...@gmail.com wrote:
 Look i need to develop a dialer software(in android-OS) where i need
 to catch different calling features.So far i get notices of incoming
 call, outgoing call and different call state.

 But what is needed to me are
 * my application can receive the call(Accept button in my application)
 *my application can reject the call(Cancel button in my application)

  before posting here probably i searched every where in web but
 failed.Please if u people out there have any idea how could i
 implement accept and reject button in my application please let me
 know.

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