Send ALl for C2DM

grant1842

Active Member
Licensed User
Longtime User
Hey Earl any chance you might modified the .jar file to accept a ( Send ALL ) parameter ?

I installed the php script on my server .

If the jar file would send the same message to all the (names) in the mysql database it would be great to push a message to all who are using the app.

Example use would be to offer 20% off sale to all who are using your app.

Just wondering if you was thinking of modifying the jar app.

Great job you do.

Thanks
 

grant1842

Active Member
Licensed User
Longtime User
THanks Erel.

I have the example php script installed on my site . Does it support the Get All ?

THanks
 
Upvote 0

grant1842

Active Member
Licensed User
Longtime User
I did test the get all on my site and it did return all.
I am trying to figure out how to send all.
b4a_c2dm.bat send > getall> message.
What syntax could I use with the bat file to send message to all.
Thanks
 
Upvote 0

grant1842

Active Member
Licensed User
Longtime User
THanks for your reply I will play around with it.
I all ready wrote a windows app to do it.
If anyone wants a copy of it I can post it for people to share.
I connect to the mySql data base and get the lists of ids and the pass them to the bat file.
So if any one wants it just say so and I will add a new form to the app to put your mysql info connection info to use it.
Thanks for everyone efforts here this is a place where a Neeewwbbbb like me can ask questions and get help to learn .
 
Upvote 0

myriaddev

Active Member
Licensed User
Longtime User
I could use the script

I was to start writing code in a week. Please share your code.
Thanks, Jerry
 
Upvote 0

grant1842

Active Member
Licensed User
Longtime User
Basic Windows Send All App

1. Put the 2 files in your Desktop folder(Erels Push Demo).

2. The first time you run the app it will give mysql connection error. This is because you have not setup your mySql info yet. After that it will work fine.

3. Click Main> Setup. Enter in your correct mySql info to connect to your database.

This windows app just connects to your mySql database and get a list of phone IDs and passes it to the b4a_c2dm.bat file .


grantspdr.com/dloads/Push.zip
 
Last edited:
Upvote 0
Top