[android-developers] App not working properly on Motorola Droid and Blur

2010-05-04 Thread Nikhil Agarwal
I have an app 'SMS Invite' (http://www.appbrain.com/app/ com.withoutcoffee.beta.smsinvite) on the Android Market which doesn't seem to work properly on Motorola Droid and Blur. I tested it on HTC Dream and Nexus One where I did not encounter any problems. The Droid user told me that he is able to

[android-developers] Does Android 1.5 messaging work with CDMA?

2010-04-06 Thread Nikhil Agarwal
Hi I have an app 'SMS Invite' on the market which makes use of SMS for sending invites. I was recently informed by a user that it doesn't work properly on Samsung Moment with Cupcake on Sprint network. If I am not mistaken, Sprint network uses CDMA and there is no API for Android 1.5 to send SMS

[android-developers] Sending lots of SMS

2010-03-23 Thread Nikhil Agarwal
I am working on an app that allows sending lots of text messages. I have two questions:- 1) If I send too many messages together (around 80), only about 10 actually go and the rest fail in the first try. Do networks limit how many sms can we send per second or something? Will pausing after every

[android-developers] Re: How to disable the menuitem

2010-03-17 Thread Nikhil Agarwal
Override onPrepareOptionsMenu. Use MenuItem item = menu.findItem(itemId) and then call item.setEnabled(false) to disable it based on some condition. From the docs for onPrepareOptionsMenu:- Prepare the Screen's standard options menu to be displayed. This is called right before the menu is shown,

[android-developers] Re: Periodic VerifyError on Android 1.5 related to GeoPoint in signature

2010-03-15 Thread Nikhil Agarwal
As per javadocs, Verify error is thrown when the 'verifier' detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. I encountered it once before when I was trying to instantiate different classes by checking the version of sdk. Even though I

[android-developers] Re: Periodic VerifyError on Android 1.5 related to GeoPoint in signature

2010-03-15 Thread Nikhil Agarwal
It turns out that VerifyError as per the Android docs is defined differently and more accurately: Thrown when the virtual machine notices that an attempt is made to load a class which does not pass the class verification phase. Makes a lot of sense in my case. On Mar 16, 9:39 am, Nikhil Agarwal

[android-developers] Testing bluetooth on android dev phone 1

2010-01-31 Thread Nikhil Agarwal
Android 2.0 has not been released for the dev phone 1 and so I was wondering if it is possible to test applications that require bluetooth in any other way. You can't test it on the emulator as well. Any suggestions? -- You received this message because you are subscribed to the Google Groups

[android-developers] layoutopt tool for TableLayout with one child and overlapping of views

2010-01-24 Thread Nikhil Agarwal
I am using the following xml for a view:- TableLayout TableRow... TextView.../ CheckBox.../ /TableRow /TableLayout For this view, I got the following output from layoutopt tool ...This TableRow layout or its TableLayout parent is useless I am not sure if I can remove TableRow or

[android-developers] Re: Accessing google calendar through Android using the given protocol

2010-01-22 Thread Nikhil Agarwal
I request the developers to please look into this problem. Am I sending the request correctly? Thank you. On Jan 21, 7:22 pm, Nikhil Agarwal nikhil.dontpa...@gmail.com wrote: I need to insert,update,delete events in google calendar using android. I tried using the protocol given athttp

[android-developers] Accessing google calendar through Android using the given protocol

2010-01-21 Thread Nikhil Agarwal
I need to insert,update,delete events in google calendar using android. I tried using the gdata calendar protocol directly from http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html but I could not go beyond authenticating the user. I was able to authenticate the user and I

[android-developers] Accessing google calendar through Android using the given protocol

2010-01-21 Thread Nikhil Agarwal
I need to insert,update,delete events in google calendar using android. I tried using the protocol given at http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html but I was unable to go beyond authenticating the user. I was able to authenticate the user and I extracted the

[android-developers] Accessing google calendar through Android using the given protocol

2010-01-21 Thread Nikhil Agarwal
I need to insert,update,delete events in google calendar using android. I tried using the protocol given at http://code.google.com/apis/calendar/data/2.0/developers_guide_protoc... but I was unable to go beyond authenticating the user. I was able to authenticate the user and I extracted the Auth

[android-developers] Re: Problem in sending sms

2010-01-21 Thread Nikhil Agarwal
Probably your SMSSender.class also sends a SMS. Once SMS is sent, it will pass an intent to the SMSSender activity. On Jan 21, 5:02 pm, Nemat nemate...@gmail.com wrote: Hi. I am trying to send sms using SmsManager class.Here is my code: PendingIntent pi = PendingIntent.getActivity(this,

[android-developers] Re: Does any changes in the child of listview is reflected in its adaptor.

2010-01-21 Thread Nikhil Agarwal
I suppose you mean that how can we extract which items are checked. That can be done using:- SparseBooleanArray checkedItems = getListView().getCheckedItemPositions (); You can check each item's state by using its position. So for the 0th position, use checkedItems.get(0) and check if it is true

[android-developers] android calendar api?

2010-01-09 Thread Nikhil Agarwal
Hi Could anyone please let me know when will the Android Calendar api come out? It is very important for my application. 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] Re: calendar

2009-11-05 Thread Nikhil Agarwal
: it says so in their release:http://developer.android.com/sdk/android-2.0-highlights.html or perhaps, i just misunderstood it... On Nov 5, 12:45 pm, Nikhil Agarwal nikhil.dontpa...@gmail.com wrote: There was never a calendar app for the emulator though I really wish there was one as well