[Q] Creating a custom Android telephony application - General Questions and Answers

I am a novice Java developer and need to create a custom Android telephony application with the following functionality
launches automatically when device starts , boots
launches in kiosk mode, no notifications, or access to other applications!
has a single 'call' button which places a phone call to a hardwired phone number.
has the ability to communicate 1 way simple data to external device(think arduino) via bluetooth. i.e. when call received signal to arduino to flash lights, etc
optional display for either hardcoded message or number received.
Should I make use of a single Activity class?
What other classes should I create or make use of?
Are there any Android projects on Github or elsewhere that have parts of this functionality I might study and learn from?
Any other architecture tips or suggestions?

Related

S M S P R O F I L E S

Problem:
there is a GSM Module in my car. It has three functions:
1) Send alarm warnings (when someone is trying to steal the car or CD player) to my phone (XDA2) as a SMS.
2) Retermine car's location, when it is stolen
3) Remote control of Webasto heater (when standard radio remote control can't reach the car - max. distance is 800m)
Each of these function has a small problem:
ad1) XDA just once silently beeps when SMS is received. It is fine for regular messages, but not for that message saying "Someone si trying to steal your car!". So I need a different sound for received messages, depending on sender - the sound for SMS sent by my car must be louder and longer, than SMS sent by my wife! How to do that?
ad2) I'm using T-Mobile Locator service for that. I don't know if TMO offers it in all countries, but here, if you know LocatorPIN of some mobile phone, you'll immediately receive a SMS containing location of that phone. I also have a great navigation software and maps (2CDs) from TMO - so when your phone is connected to the PC, you can track location of your car (or even of your wife). But without the PC, you'll only receive a text message with approximate location (calculated from one BTS). On PC you'll get more precise position calculated from more BTSes. So I need to use my XDA as the PC - I want to see accurate position on the map. But I'm not sure if some PocketPC navigation map software (such as TomTom) is able to read the coordinates automatically from SMS in inbox. On PC you can use any GPS software with "T-Mobile Locator", because TMO provides a driver, which simulates GPS, but in fact it sends SMS location requests, reads the SMS responses and sends coordinates from them to the navigation software.
ad3) To start or stop or control other heaters functions, you need to send a SMS to your car in special format (syntax). There must be a 7-digits password for the car's GSM gate and SMS also must contain commands for the heater in proper syntax. So I'd love some application simillar to those applications for infrared remote controls - the fullscreen panel with buttons such as "Start heating", "Stop heating", "Turn winter mode on", "Turn summer mode on", "Auto switch-off after XXX minutes", etc... (all commands accepted by heater and/or climatronic). I'd define SMSes in proper format under these buttons (just once) and then I would be just pressing these buttons and XDA will automatically send the SMS. Is there such a piece of software (remote control software sending SMS mesages instead of infrared beams)?
In a worst case I would create that software by myslef. I just received a DVD with latest VisualStudio.NET from M$, I also have the devkit for WM2003. But I don't know, how to send SMS, how to read it from inbox, atc...

New GSM-AUTO SYSTEM for controlling preheaters via a Mobile or Cell Phone!

I have recently seem a new site GSM-AUTO and they have developed a system of controlling pre heaters for aircraft,trucks and vertually anything that requires remote activation.
I thought the gsm-auto wuld be restricted to maybe the high tech phones but the system will operate with any cell phone.
The amazing thing about the gsm-auo is that the user never pays for the call as the system has a unique caller ID function that can read an incomming telephone number in milli-seconds and reject the call.
I wondered what other applications the gsm-auto system would have as it cannot be restricted to just aircraft preheaters,

how can i intercept a phone call?

what i want to do is to automatically add a specific prefix to all outgoing calls made, for the purpose of saving calling fee in my area. for instance, i want to add 1234 before any call number, whether it's from call history, contact, or any other sources.
im a .net developer, but i didn't find any managed library that can intercept a phone call and make modifications to it. i also explored the TAPI a little bit, it appeared to be able to do the work for me. but the problem is i've no idea of c++ programming.
so is there anybody here who can help me on how to wrap these native methods into managed counterparts?
any/other clue would be appreciated.
Take a look at Google Voice. Perhaps that might be simpler to use to save money on calls?
Hi,
try with Settings > Connections > Advanced > Dialing Rules
I think you can setup a profile that fit your needs.
Bye
arblueboy said:
Hi,
try with Settings > Connections > Advanced > Dialing Rules
I think you can setup a profile that fit your needs.
Bye
Click to expand...
Click to collapse
doesn't work. and i don't think that setting is for phone connection.
actually i've changed my idea to developing a separate application to access call history and contact. and then when call button is clicked, use the managed Phone class to dial out. this still needs native dll as to accessing the call history. but this seems to be more practical than intercepting outgoing calls.
iDialer
http://supware.net/iDialer/
Not sure if this is exactly what you want, but I use this with my Googlevoice configuration to make free calls. Here's how I have it set up:
1. Installed iDialer
2. Installed configuration CAB that I built through the iDialer website
3. Click the phone icon within iDialer to set it to "Ask" which service to use.
4. I also have installed iContact, so I then go the contact I want through iContact.
5. I select the number for that contact that I want to dial (Home, Work, Mobile, etc.)
6. My phone brings up a pop-up asking:
-Alltel
-GoogleVoice Internet
-GoogleVoice CallingCard
7. I select what I want and it dials that instantly.
This works VERY well for me, and I am able to use my callingcard for out-of-network calls, and Alltel for quick in-network calls.
Hope this info helps!
jakewill
thanks for the details.
i have 2 queries b4 actually trying it:
1. does the phone call get available via the network? if yes, then it's not applicable for me, cos i'm using gprs which is slow if i want to transfer voice.
2. i checked out google voice and found that it only supports numbers in US. true?
Moved as not software release or development.
Please take your time to read the rules..

[Q] How do you know if an app is infected spyware?

OK, so sometimes I download apps that are cracked from various websites online.
Recently I have just installed ROM Toolbox Pro and I was going through all the various options.
One option is "Auto Start Manager", which tells you which broadcast receivers are enabled etc.
1) What is a broadcast receiver and how is it related to Permissions that the app requires you to accept at installation?
2) I found one broadcast receiver that was called [APP NAME].spy.SMSReceiver that was "enabled by default"
I didnt understand why the heck that app would have anything to do with SMS
and why was the broadcast receiver called "spy"?
*is it really a piece of spyware and the hacker was being stupid or having a laugh thinking noone would ever see it?
*is it that an Android developer at Google has a twisted sense of humour and wants to include the word "spy" deep in the system workings to spook anyone coming across it?
--------------
Thanks
A broadcast receiver is a component that responds to system-wide broadcast announcements. Many broadcasts originate from the system—for example, a broadcast announcing that the screen has turned off, the battery is low, or a picture was captured. Applications can also initiate broadcasts—for example, to let other applications know that some data has been downloaded to the device and is available for them to use. Although broadcast receivers don't display a user interface, they may create a status bar notification to alert the user when a broadcast event occurs. More commonly, though, a broadcast receiver is just a "gateway" to other components and is intended to do a very minimal amount of work. For instance, it might initiate a service to perform some work based on the event.
A broadcast receiver is implemented as a subclass of BroadcastReceiver and each broadcast is delivered as an Intent object.
Spy SMS software is the next generation of smartphone spy software. It allows you to monitor sms activities of a particular target cell phone. If installed on the target mobile phone, it will automatically copy all text messages (sms) sent and received by the target mobile phone and silently forward these copied messages to your own mobile phone in real-time, all the time without the target user knowing it.

[Q] Wireless Miss call Notification

I want to make a missed Call or SMS notification application. It works out this way.
A user receives the missed call on a primary android device. The name of the caller is transferred to the secondary android device like it can be a pop up on the secondary device with the name of the caller. The two devices are connected to each other through wireless network like it can be Bluetooth or Wireless LAN.
It is not necessary that you can guide me the complete functionality. Please guide me where to start with . Any similar thread that is already posted, any simple guidance where to start with ?
What I am supposed to make is similar to this but notification to the mail box is not required.
play.google.com/store/apps/details?id=com.becomputer06.lonely.android.free
I am a complete newbie, so your generous help is requested. Thanks.

Categories

Resources