maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SMS Bomber on Sailfish OS (https://talk.maemo.org/showthread.php?t=99662)

HtheB 2017-08-02 22:22

SMS Bomber on Sailfish OS
 
Is there any native app for Sailfish OS to be able to send a lot of messages at once to the same person?

Schturman 2017-08-03 00:19

Re: SMS Bomber on Sailfish OS?
 
Quote:

Originally Posted by HtheB (Post 1531914)
Is there any native app for Sailfish OS to be able to send a lot of messages at once to the same person?

Hi. You really don't like someone :D
You can create simple script for this...
1. Create file named "bombsms.sh" in /home/nemo.
2. Add this content:
Code:

#!/bin/bash

set -x
dconf write /desktop/bombsms/count 0
while true
do
if [[ $(dconf read /desktop/bombsms/count) == 5 ]]; then
break
else
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:PHONE string:"BANANA!!!"
dconf write /desktop/bombsms/count $(($(dconf read /desktop/bombsms/count)+1))
sleep 2
fi
done

3. Do some changes and save them:
PHONE - change to number of person in international or local format.
5 - change to number of sms's you want to send, but REMEMBER -> you pay for each sms!!!
sleep 2 - change to prefered interval in seconds between sms's.
BANANA!!! - change to your own text.
4. Give permission:
Code:

chmod 4755 /home/nemo/bombsms.sh
5. Run script as USER (nemo):
Code:

/home/nemo/bombsms.sh
6. This sms's not shown in Messages app.

Enjoy :D

HtheB 2017-08-03 05:49

Re: SMS Bomber on Sailfish OS?
 
Thank you very much!
No, my provider has unlimited data, but after the first 5GB, I need to send a text message that will give me another free 1GB extra, and if that is also been used, I can send another message to get another 1GB (I can go on forever for free)
They have done this to prevent abuse of the unlimited data.

But I found out that I don't have to wait to use the first 5GB at all. I can send like 50 messages directly, and get 50GB :D


Now all I need is a .desktop file

Schturman 2017-08-03 06:11

Re: SMS Bomber on Sailfish OS?
 
Hhhaaa, ok. How to create .desktop file you know :)
Good luck :)

HtheB 2017-08-03 09:10

Re: SMS Bomber on Sailfish OS?
 
1 Attachment(s)
for the users that wants a .desktop file, you can get the attached icon and use this for the desktop file (name de file to smsbomber.desktop and move it to "/usr/share/applications/":

Code:

[Desktop Entry]
Name=SMS Bomber
Comment=SMS Bomber script by Schturman
Exec=/home/nemo/smsbomber.sh
Icon=/home/nemo/smsbomber.png
Terminal=false
Type=Application


Schturman 2017-08-03 17:57

Re: SMS Bomber on Sailfish OS
 
Ufff, it taken my thoughts... I think I will create simple app for this with setting (qml) :D

Schturman 2017-08-04 07:34

Re: SMS Bomber on Sailfish OS
 
2 Attachment(s)
Hehh.... :D

n950 2017-08-04 07:59

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Schturman (Post 1532026)
Hehh.... :D

Hi,
Can you share application please?
It's nice.
Thank you
You do a good work.

Schturman 2017-08-04 08:38

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by n950 (Post 1532029)
Hi,
Can you share application please?
It's nice.
Thank you
You do a good work.

Soon on openrepos... I need to do some tests and package it :)

HtheB 2017-08-04 09:52

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Schturman (Post 1532033)
Soon on openrepos... I need to do some tests and package it :)

Maybe you should add a checkbox with "I have unlimited SMS Plan" so that will enable a higher quantity of sms's (So I can send 500 instead of 15 :p ).

cvp 2017-08-04 10:51

Re: SMS Bomber on Sailfish OS
 
Is it possible to replace your own number with a text or other number?

Or send as Flash/Service SMS like on n900 ^^

pichlo 2017-08-04 11:23

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by HtheB (Post 1532040)
Maybe you should add a checkbox with "I have unlimited SMS Plan" so that will enable a higher quantity of sms's (So I can send 500 instead of 15 :p ).

I used to have a plan with 5 free SMS per day. If you want to go that fancy you could also add an option to send 'x' SMS per day for 'y' days. Just kidding :D

Schturman 2017-08-05 11:56

Re: SMS Bomber on Sailfish OS
 
Ok, I thinks it's ready for testing :D
Try it and report here or on TJC....
https://openrepos.net/content/schturman/bomb-sms

Schturman 2017-08-05 11:57

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by cvp (Post 1532044)
Is it possible to replace your own number with a text or other number?

Or send as Flash/Service SMS like on n900 ^^

Hmmmm, I don't know if it possible....

n950 2017-08-05 12:34

Re: SMS Bomber on Sailfish OS
 
Hi,
I have last Sfos version.
I have installed your app but i don't see any icon app launcher on my desktop why?
How to run the application?

Thanks

Schturman 2017-08-05 12:38

Re: SMS Bomber on Sailfish OS
 
1 Attachment(s)
Quote:

Originally Posted by n950 (Post 1532106)
Hi,

I have installed your app but i don't see any icon app launcher on my desktop why?

Because you need to create one or more from setting :)

HtheB 2017-08-05 18:23

Re: SMS Bomber on Sailfish OS
 
Isn't SMS Bomber a better name then Bomb sms?

Edit: If you want, you can use my icon posted in this thread instead of that one, which is actually coming from this one... :p

You can also have it set as a default icon if no icon has been set.

Schturman 2017-08-05 18:48

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by HtheB (Post 1532121)
Isn't SMS Bomber a better name then Bomb sms?

Edit: If you want, you can use my icon posted in this thread instead of that one, which is actually coming from this one... :p

You can also have it set as a default icon if no icon has been set.

it's so really doesn't matter how you'll call it :D
You can change the name by editing this files:
/usr/share/jolla-settings/pages/bombsms/ActionList.qml (line 37)
/usr/share/jolla-settings/entries/bombsms.json (line 7)
And I like my icons :P

cvp 2017-08-05 21:48

Re: SMS Bomber on Sailfish OS
 
cant install it over storeman and or openrepos. (INOI R7@2.1.1.24)

Schturman 2017-08-05 22:19

Re: SMS Bomber on Sailfish OS
 
what error you get ?

cvp 2017-08-06 07:49

Re: SMS Bomber on Sailfish OS
 
Popup says:

Installing Problem
bombsms-settings

i dont have any patches/modifikations

Schturman 2017-08-06 08:08

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by cvp (Post 1532145)
Popup says:

Installing Problem
bombsms-settings

i dont have any patches/modifikations

try to install from Warehouse app, it should show error. Or download file and install from terminal and show me output.

cvp 2017-08-06 08:31

Re: SMS Bomber on Sailfish OS
 
sailfish-utilities missing

Markkyboy 2017-08-06 09:47

Re: SMS Bomber on Sailfish OS
 
Hi Schturman,

I installed your app, sms-bombed my own number from shortcut I made within the app, then uninstalled the app as I don't really have a use for it right now, but was surprised to see the shortcut still on the launcher, I didn't reinstall the app to remove the shortcut launcher but removed it manually.

Surely when the app is removed, any associated files should also get removed as well?

pichlo 2017-08-06 11:27

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Markkyboy (Post 1532150)
Surely when the app is removed, any associated files should also get removed as well?

Do you want all your documents deleted when you uninstall Office?

Schturman 2017-08-06 12:15

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by cvp (Post 1532148)
sailfish-utilities missing

Good, install it from Sailfish store.

Schturman 2017-08-06 12:18

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Markkyboy (Post 1532150)
Hi Schturman,

I installed your app, sms-bombed my own number from shortcut I made within the app, then uninstalled the app as I don't really have a use for it right now, but was surprised to see the shortcut still on the launcher, I didn't reinstall the app to remove the shortcut launcher but removed it manually.

Surely when the app is removed, any associated files should also get removed as well?

Exactly as pichlo said... I did uninstall process with checking if you have desktop files, it will left them. It also explained in "How to use" page... You can create icons, delete my package and still use your created icons.


All times are GMT. The time now is 21:06.

vBulletin® Version 3.8.8