I need to use intents to add new contacts and they each have two addresses...one lat/lng and one formatted street address. I can do this in the contacts app, so I think this is possible, but I can't figure this out. There doesn't appear to be any secondary/tertiary option as there is with phone numbers. The intent below will run, but the second address overwrites the first.
Does anyone know how to do this?
am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/raw_contact -e "name" "New contact name" -e "postal_type" "Home" -e "postal" "123 Any St Anytown PA" -e "postal_type" "Work" -e "postal" "456 Nowhere St Nowhereville PA"
Sent from my SCH-I545 using XDA Free mobile app
Related
One of my gmail accounts sent spam message today. Gmail access log shows me that at the time when spam was sent account was accessed from mobile phone.
Telefon komórkowy[means "mobile phone"] Polska (83.4.246.117) 16:07 (6 godzin temu)
IMAP Polska (83.4.246.117) 16:07 (6 godzin temu)
How can I check which app did it?
Spam message was like this:
Topic: Re:9
Body:
Code:
..This is a solution to all men�s problem like erectile dysfunction
and impotence. <link>
I'm using cyanogenmod on Nexus One.
Edit:
I used lookout and it found nothing.
It doesn't have to be an app (and most likely it's not) which sent it to you. When you check your email on your PC (and I'm sure there are spam messages sometimes), do they usually relate to software installed on your PC? No, most times not at all (if ever).
It wasn't sent to me, it was sent from my gmail account to all my contacts.
This comes in handy for malware scouting and other stuff: lsof !
That's a neat nix tool to map what program is operating which file/pipe/socket.
example
Code:
# lsof -w | grep TCP
dropbear 1676 0 3u IPv6 25400 TCP *:2222 (LISTEN)
dropbear 1683 0 4u IPv6 26210 TCP 192.168.0.242:2222->192.168.0.110:50519 (ESTABLISHED)
dropbear 1728 0 4u IPv6 26574 TCP 192.168.0.242:2222->192.168.0.110:50695 (ESTABLISHED)
^^ my SSHd
you could script it to make it silently monitor all your connections and log information for further analisys. (instead of filtering TCP we could use the gmail server address or the port number) See on the left, there is the app name that uses the resource (a socket in this case). This means possibly that the infected app will need to send emails again
But we don't want our friends be spammed again, so we'll change our gmail password from another computer or phone we believe it's safe (or just download a linux live system and change from there, if we want to be 99% paranoid)
And of course we won't be updating the password on the phone until we catch the evil app. Eventually, it will try again to connect to gmail and send spam, but access will be denied and you will spot what application is trying to access your mailbox.
Happy hunting !!
Please tell me (in layman's terms) just what is a fully qualified domain name is exactly?
When I type
Code:
hostname -f
I get localhost in return.
It's the when I type
Code:
hostname
and I get the feeling that it should be somehow different.
I know this sounds dumb, but I'm very new to all this. I haven't used a computer since 1995 and I was just learning how to use one then. So please be nice?
host.domainName.topLevelDomain
example: mybox.mydomain.com
Okaaay. -----And please forgive my dumbness, because I haven't used a computer since 1995, and don't know what I'm doing. But I am trying to learn.---- So why does apache2 say it can't determine my domain name?
Sometimes it says cannot determine fully qualified domain name, the others it says cannot determine domain name via ::1 which I believe is IP v 6, other than I don't think my OV supports IP v 6.
what is written in /etc/hostname? That should be your hostname (the thing before the first dot in your FQDN (Full Qualified Domain Name)) and should be identical with the output of
# hostname
# hostname -f
gives you the full hostname. In order to have a hostname that represents a FQDN the hostname should consist of the hostname itself (let's call it donna) and a top level domain.
A top level domain is a standard domain name without subdomain, like example.com.
Now the FQDN would be
donna.example.com
As long as hostname -f doesn't give you something like that apache will always complain and use 127.0.0.1 as hostname.
Depending on your distribution you might have to do some more than setting the hostname in some file, but google should find plenty of examples via "how to set domain name {distribution_name}"
/etc/hostname = NEWJUNK
That is what is written in my /etc/hostname file
Code:
NEWJUNK
I'm looking to create a simple app that just populates a list from a url displaying json.
Here's the source from the webpage.
PHP:
$json = array('one', 'two', 'three', 'four');
echo json_encode($json);
Obviously the final webpage will show different data but it will be very similar.
All i want is for the app to load that URL, get the data and populate it into a listactivity.
Nothing i've found so far seems to work. What should I look up to help me achieve this?
Hello Everyone!
I'll go straith into bussiness. I'm creating a TASKER profile to parse my bank SMS notifications into my Expense Manager APP.
I Already know how to write the SQL databases, but I need help turning the raw SMS into variables.
I've previously used CUT and SED for very basic stuff, I vaguely know how they work, but I was hoping I could find the answer here from someone who knows better than me.
EXPECTED RESULT
The goal is to assing each variable in the SMS to a tasker variable, some variables would need further processing, or would trigger different events.
SMS TEXT STRUCTURE:
Words in BOLD are the variable data that I want to turn into assign to tasker variables.
-------------------------------------------------------------------------------------
DAVIVIENDA: Purchase Approved,
Card *0839, $38.130, Time 21:10,
Seller EL ORIGINAL TEX MEX LAURELES
---------------------------------------------------------------------------------------
DAVIVIENDA (This is the name of the Bank)
Purchase Approved (This means the purchase was successful, the bank ALSO sends SMS in case of Puchase Denied, the exact same SMS but with the Denied state)
*0839 (This is the ending number of the credit card, so in case I have 2 or more cards, I know what card was used)
$38.130 (The amount of the transaction)
21:10 (The time of purchase)
EL ORIGINAL TEX MEX LAURELES (The name of the seller, some sellers have names registered with spaces, others just numbers.)
HYPOTETHICAL APPROACH
My gut feeling tells me the easiest approach would be to replace ALL the characters between the needed variables with commas or lines, in order to allow tasker to recognice it as an array, but I welcome any suggestions that would lead to a better result.
I hope I'm not posting this on the wrong thread, and I really hope I could get some light on this issue! It's been keeping me awake as of late.
Thanks a lot in advance guys!:cyclops:
-David-
Hi everybody,
In my business, I have many clients that I want to contact by SMS INDIVIDUALLY (not group message) to send important updates.
I searched and tried for weeks many of the apps out there and none was satisfying:
1/ Import numbers from Excel Sheet
2/ Accept pasted numbers separated by semi-colon ";"
3/ Have delivery reports
4/ Preferably, SMS will be sent with adjustable time intervals.
5/ Ideally, it would allow SMS templates with names and other fields inserted automatically...
I need 1 or 2, at least one of these options. Options 4 and 5 are a plus but not necessary.
Do anyone of you have an idea of any app or Computer software that can do this using one's operator, and not a third party SMS system ??
cheers...
Have you tried using services such as BulkSMS and SendPulse? They might fit your needs.
joroizin said:
Have you tried using services such as BulkSMS and SendPulse? They might fit your needs.
Click to expand...
Click to collapse
Thank you for your reply.
Well , I have a very good deal with my operator for SMS messages (around 0.15 €) which I think will be difficult to beat for my country (Tunisia) !
That's why, what I really need is an app which uses my carrier to send SMS messages...
No one has any idea?
FreeTextSMS Web Bulk SMS Solution deserves your try
In fact, bulk sms or similar sms apps are permitted on Google Play.
This kind of app is not easy to be uploaded to Google Play because of Google Play's strict spam policy.
So I suggest you to try it from XDA Labs: https://labs.xda-developers.com/store/app/com.joege.freetextsms
Any question or problem, you may catch me through my signature.
Short introduction:
----
FreeTextSMS.net Web SMS Solution is a tool that will allow us to read and answer any SMS we have received on our mobile phone from the operator of any computer.
Using FreeTextSMS.Net Web SMS Solution will be really easy even for users who are not too familiar with this type of process. The first step will be to create a personal account on your website, after which we will only have to scan with the camera of our mobile phone the QR code that appears on the screen of our computer. This will automatically open an interface from which we will have access to the entire SMS system of our Android device and from which we can read and respond to any text message.
One of the most interesting features of FreeTextSMS.Net Web SMS Solution is the fact that it allows us to program the date and time of departure of any SMS, an option that will be very useful especially in the workplace.
nghozzi said:
No one has any idea?
Click to expand...
Click to collapse
FreeTextSMS Web Bulk SMS Solution is a bad idea. It has limitation like 3 groups and 5 members/group for the free version.
@nghozzi
So you ask for developing a custom messenger with some interesting features
My 2 cents:
If you're on a Windows computer then you can create a Windows command script that does most of the features requested.
The heart of such a script would be utilizing Android's built-in standard messenger via ADB
Examples:
Android 5 and older (here Android 4):
Code:
adb shell service call isms 5 s16 "com.android.mms" s16 "+01234567890" s16 "+01000000000" s16 "Hello world !" i32 0 i32 0
Android 6 and later (here Android 9):
Code:
adb shell service call isms 7 i32 0 s16 "com.android.mms.service" s16 "+1234567890" s16 "null" s16 "'Hey you !'" s16 "null" s16 "null"