[android-developers] Re: Detect SMS sending limitation

2012-04-03 Thread Jawwad Farooq
Any further comments?

Thanks

On Mar 29, 6:32 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Thu, Mar 29, 2012 at 3:33 AM, Jawwad Farooq jawwad.far...@gmail.com 
 wrote:
  Is there still a limitation on sendingSMSin Android 2.2+ versions?
  In Android 2.2, an App can't send more than 100 messages in an hour.

 AFAIK, yes.

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

 Android Training in NYC:http://marakana.com/training/android/

-- 
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] Detect SMS sending limitation

2012-03-29 Thread Jawwad Farooq
Hi All,

Is there still a limitation on sending SMS in Android 2.2+ versions?
In Android 2.2, an App can't send more than 100 messages in an hour.

And if this limitation is removed in later versions of Android, is
there any standard way to detect that if the phone can send more than
100 messages or not?


Regards,


Jawwad

-- 
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] SQLite returned: error code = 14

2012-03-28 Thread Jawwad Farooq
Hi All,

I am trying to read db file through a PhoneGap App but receiving
sqlite returned: error code = 14, msg = cannot open file at source
line 25467 exception.

I am unable to figure it out why this happens. The db file is there
and everything is fine to my knowledge.

Your response is highly appreciated.

Best Regards,

Jawwad

-- 
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] ON BOOT RECEIVER

2011-02-11 Thread Jawwad Farooq
Hi All,

Kindly tell me how my application can be notified of the device boot?
My application is stored on the external memory


Please Help


Jawwad Farooq

-- 
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: ON BOOT RECEIVER

2011-02-11 Thread Jawwad Farooq

I mentioned this intent ACTION_EXTERNAL_APPLICATIONS_AVAILABLE in
the manifest file but it didn't work. Can u kindly explain the
reason ?


On Feb 12, 2:07 am, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Feb 11, 2011 at 4:0i1 PM, Jawwad Farooq jawwad.far...@gmail.com 
 wrote:
  Kindly tell me how my application can be notified of the device boot?
  My application is stored on the external memory

 Step #1: Get your application off of external memory, since that will not 
 work:

 http://developer.android.com/guide/appendix/install-location.html#Sho...

 Step #2: Set up a BroadcastReceiver in the manifest to watch for the
 BOOT_COMPLETED action -- you will also need the accompany permission.

 Here is a sample project demonstrating this:

 https://github.com/commonsguy/cw-advandroid/tree/master/SystemEvents/...

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|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: ON BOOT RECEIVER

2011-02-11 Thread Jawwad Farooq
After receiving the broadcast, i want to set the Alarm. Here is the
code:


receiver android:name=.util.OnBootReceiver
intent-filter
action 
android:name=android.intent.action.BOOT_COMPLETED /
action
android:name=android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE/
/intent-filter
/receiver



On Feb 12, 2:16 am, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Feb 11, 2011 at 4:12 PM, Jawwad Farooq jawwad.far...@gmail.com 
 wrote:
  I mentioned this intent ACTION_EXTERNAL_APPLICATIONS_AVAILABLE in
  the manifest file but it didn't work. Can u kindly explain the
  reason ?

 No, because I have no idea what you were expecting to happen when you
 mentioned that Intent action. That broadcast action is documented
 here:

 http://developer.android.com/reference/android/content/Intent.html#AC...

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|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] Programatically assigning String value as 'Id'

2011-02-07 Thread Jawwad Farooq
Hi All,

I want to know, Is there any way to assign string value as ID for the
component programatically. I am doing something like this:

TextView textView = new TextView(this) ;
textView.setText(hello) ;
textView.setId(10) ;


But need some method which assigns my string value as ID...

Like
textView.setId( someMethod(textViewId) ) ;


Please Reply...

-- 
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] Programatically assigning String value as 'Id'

2011-02-07 Thread Jawwad Farooq

But in my case that resource does not exist. I have to dynamically
create and assign ID to that.

Kostya Vasilyev wrote:
 http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String,
 java.lang.String, java.lang.String)

 07.02.2011 13:34, Jawwad Farooq пишет:
  Hi All,
 
  I want to know, Is there any way to assign string value as ID for the
  component programatically. I am doing something like this:
 
  TextView textView = new TextView(this) ;
  textView.setText(hello) ;
  textView.setId(10) ;
 
 
  But need some method which assigns my string value as ID...
 
  Like
  textView.setId( someMethod(textViewId) ) ;
 
 
  Please Reply...
 


 --
 Kostya Vasilyev -- WiFi Manager + pretty widget -- 
 http://kmansoft.wordpress.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] How to have a Service, un-killed by any task killer

2011-01-16 Thread Jawwad Farooq
Hi,

I want to have a service that will not be killed by any task killer.
Can you please give some code snippet for that




Regards,


Jawwad Farooq

-- 
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] Any tried 'PhoneUsage' application

2011-01-10 Thread Jawwad Farooq
Hi,

Can anyone tell me which Chart/Graph's API were used in Phone Usage
application?? That application has wonderful graphs.



Regards,


Jawwad Farooq

-- 
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: Any tried 'PhoneUsage' application

2011-01-10 Thread Jawwad Farooq

Thanks for the quick reply. Do you know about any API ?


On Jan 11, 11:42 am, Kumar Bibek coomar@gmail.com wrote:
 There are no chart/graphs api in the SDK. So, it should be really a
 third-party library or the app developer's code.

 Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

 On Tue, Jan 11, 2011 at 12:08 PM, Jawwad Farooq 
 jawwad.far...@gmail.comwrote:



  Hi,

  Can anyone tell me which Chart/Graph's API were used in Phone Usage
  application?? That application has wonderful graphs.

  Regards,

  Jawwad Farooq

  --
  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.comandroid-developers%2bunsubs­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


[android-developers] Unknown application a large number of SMS messages are being sent. Select OK to continue, or Cancel to stop sending

2011-01-04 Thread Jawwad Farooq
Hi,

My application is sending around 300 messages in a go. But after
sending about 100 messages, an Alert appears each time before sending
the remaining messages. Alert says:


Unknown application a large number of SMS messages are being sent.
Select OK to continue, or Cancel to stop sending


If everytime I press the OK button, the messages keep on going but If
I am unable to click within some time(dont know the exact timeout), my
application stops and the SIM services are re-intiallized(means
suddenly there is a cross on the network signals and then it comes
back).

Please help me as I am stuck at this point and the project deadline is
over my head.


Regards

Jawwad

-- 
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: SMS sending through HTC Desire

2011-01-04 Thread Jawwad Farooq
Yes I am calling from another phone on my development phone ...



On Dec 31 2010, 9:05 pm, TreKing treking...@gmail.com wrote:
 On Thu, Dec 30, 2010 at 2:22 AM, Jawwad Farooq jawwad.far...@gmail.comwrote:

  I make a call to my number and got the busy tone.

 Please tell me you mean you used a different phone to call your development
 phone ... because if you're calling your development phone with your
 development phone ... well ...

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

-- 
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: SMS sending through HTC Desire

2011-01-04 Thread Jawwad Farooq
No, not about voicemail ... I am talking about simple phone call

On Dec 31 2010, 10:02 pm, XiaoXiong Weng ad...@littlebearz.com
wrote:
 Wouldn't that just goto the voicemail?

 Erh, when I send text to myself it works J

 From: android-developers@googlegroups.com
 [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing
 Sent: Friday, December 31, 2010 11:06 AM
 To: android-developers@googlegroups.com
 Subject: Re: [android-developers] SMS sending through HTC Desire

 On Thu, Dec 30, 2010 at 2:22 AM, Jawwad Farooq jawwad.far...@gmail.com
 wrote:

 I make a call to my number and got the busy tone.

 Please tell me you mean you used a different phone to call your development
 phone ... because if you're calling your development phone with your
 development phone ... well ...

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

 --
 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 
 athttp://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] SMS sending through HTC Desire

2010-12-30 Thread Jawwad Farooq
Hi All,

I am facing a very weird situation while sending SMS.

The problem is: I am going to send SMS to multiple receipients(about
10) through built-in application, and just after pressing the 'Send'
message button, I make a call to my number and got the busy tone.

From this I got that whenever phone is sending bulk SMS, it gives busy
tone to its caller...


Is this true???

Can anyone check this behavior on his/her Android phone, for me
please ??? I am using Android 2.2 and the phone is HTC Desire.


Please reply soon as I am stuck at this point..


Regards,

Jawwad

-- 
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: Available databases for Android

2010-12-15 Thread Jawwad Farooq

While surfing I found a very very useful resource:

http://tordtech.blogspot.com/search/label/Benchmarking

Please have a look ..


On Dec 15, 10:40 am, Jawwad Farooq jawwad.far...@gmail.com wrote:
 Thanks for the link But I only need the benchmarks for available
 Android databases..

 Any other link??

 On Dec 14, 10:00 pm, Bret Foreman bret.fore...@gmail.com wrote:

  Here's a list of the standard DB performance 
  metrics:http://www.tpc.org/tpcc/

  Which ones are you interested in?

-- 
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] Available databases for Android

2010-12-14 Thread Jawwad Farooq
Hi All,

Can you please mention some of the databases like SQLite to use in
Android applications??


Regards,


Jawwad Farooq

-- 
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: Available databases for Android

2010-12-14 Thread Jawwad Farooq

Thanks to all of you 

Still looking for other answers



On Dec 14, 9:28 pm, Bret Foreman bret.fore...@gmail.com wrote:
 http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/

 On Dec 14, 8:22 am, Jake Basile jakerbas...@gmail.com wrote:

  The only built in option is SQLite, available under 
  android.database.sqlite. I'm not aware of anything else but there could be 
  third party ones 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: Available databases for Android

2010-12-14 Thread Jawwad Farooq

No, I don't want to have such type of complex functionality on the
phone. But for the knowledge and to make the performance comparison
among all the available DBs.


On Dec 14, 9:38 pm, Bret Foreman bret.fore...@gmail.com wrote:
 Regarding the Berkeley DB, you should remember that  of complex functionality 
 on theSQLite is already
 more complex than many developers want to deal with. Berkeley DB is a
 full-fledged database like Oracle and it's far more complex than
 SQLite. I wouldn't recommend using it unless you have a very complex
 data model and very stringent data integrity requirements. Being able
 to do incremental backups, roll transactions backward and forward,
 create hot fail-overs...do you really want all that on a phone?

 On Dec 14, 8:28 am, Bret Foreman bret.fore...@gmail.com wrote:

 http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/

  On Dec 14, 8:22 am, Jake Basile jakerbas...@gmail.com wrote:

   The only built in option is SQLite, available under 
   android.database.sqlite. I'm not aware of anything else but there could 
   be third party ones 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: Available databases for Android

2010-12-14 Thread Jawwad Farooq
Thanks for the link But I only need the benchmarks for available
Android databases..

Any other link??


On Dec 14, 10:00 pm, Bret Foreman bret.fore...@gmail.com wrote:
 Here's a list of the standard DB performance metrics:http://www.tpc.org/tpcc/

 Which ones are you interested in?

-- 
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: Browse Window

2010-12-08 Thread Jawwad Farooq

Thanks Murphy for the help .

Is there any other options to do this... ?



On Dec 7, 6:56 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Tue, Dec 7, 2010 at 8:52 AM, Jawwad Farooq jawwad.far...@gmail.com wrote:
  I want to open a window and in that show the directories and files in
  that. Kindly tell me is there any component available that has all the
  required features.

 OI File Manager offers that:

 http://www.openintents.org/en/node/159

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

 Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] Browse Window

2010-12-07 Thread Jawwad Farooq
Hi,

I want to open a window and in that show the directories and files in
that. Kindly tell me is there any component available that has all the
required features.


In simple words, I need a Browse window...

Plz Help..




Regards


Jawwad

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