I'm doing my fyp in Android app and I'm still learning the whole deal, and I'm welling to learn it, my question is how can you make an Android based device to respond to predefined SMS codes to do a specific function?
I would appreciate any related info whether task related or programming related.
Have read few books so far but didn't find any info regarding controlling the phone with SMS.
You will have to listen for SMS and and execute accordingly. This article may help you get started.
Related
I am testing an app which has a registration flow and I want to test if incoming calls, sms, alarms or other notifications during this flow will create problems. I am using Espresso for UI automation.
I am new at this and have searched quite a bit but don't seem to find a one shot solution to simulate these, I found telnet for calls but I am using a physical device and did not find anything for others.
If there is a framework for simulating these, please help.
Thank you.
If you are testing more than one application, as it seems from your questions where you mention calls, sms, etc. which are assumed to be handled by other applications, you should use UiAutomator instead of Espresso.
You can find more information in Testing UI for Multiple Apps
In case you want to generate those tests automatically you can take a look at culebra.dtmilano.com.
So, as this is still unanswered and may help someone in future.
There is NO framework currently which can do these on a physical device, you can execute shell commands programatically on an emulator for calls etc.
For me, I used a 3rd party app like automate on a different device and sent sms from my app to it and it inturn called me back, you can add most of the functionality required by this. If you dont want sms charges, you can use discover bluetooth and trigger calls when you see a particular device. Add relevant permissions to use these in your app.
I am trying to build an android application which will display the user what data was sent from all apps and what data was received on all apps installed on the device.
I have searched but nothing came which could give me a start. Is there any encryption/decryption techniques used(Since i have no idea about the same).
It would be a privilege if i get to know where to start with this project.
I think you are talking more about a background service running all the time, but that's really complicated if you don't have clear idea on how they works.
Start with this: http://developer.android.com/guide/components/services.html
i am trying to build an android application which will display the user what data was sent from all apps and what data was received on all apps installed on the device.
I have searched but nothing came which could give me a start. Is there any encryption/decryption techniques used(Since i have no idea about the same).
It would be a privilege if i get to know where to start with this project.
I think you are talking more about a background service running all the time, but that's really complicated if you don't have clear idea on how they works.
Start with this: http://developer.android.com/guide/components/services.html
I don't really know if Android let you spoof this kind of information about other apps, but if yes, let me know.
hello i want to develop an GPS Tracking Application with an online panel.
i have been looking and learning this code found here:
http://code.google.com/p/open-gpstracker/source/
But they don't provide any online tracking information, i need to make a GPS application with admin to see online data of the track traces and record like WAY Android application.
And i don't want user to view tracking on mobile, the application only runs in background.
I just need guide, where to start and what stuffs i need to look at.
I know asking here without a source code is waste of time, still i hope you guys can provide me a startup guide to get started with my development.
I think I have exactly what you want:
https://github.com/tananaev/traccar-client-android
The server side code:
https://github.com/tananaev/traccar
and web interface is a separate project:
https://github.com/tananaev/traccar-web
A good start might be checking out this example app: https://github.com/cintric/cintric-android-demo
It uses a free Cintric SDK for battery efficient tracking. It also has a cool web panel which might provide good inspiration for your app.
The SDK provides callbacks for GPS updates which you can then use to send to your server, or you can let cintric manage sending the data and sync in batches via the api.
After many sites searched and googling,
I can't find anything for my problem.
I want to capture the sequence of user interactions on android device. Starting from when the device is powered ON. And one more thing is that I'm not talking about the user event on UI of any application. It's for whole device UI interactions. And if any tools are available then please let me know about it. I didn't get anything about this. Any help or suggestion is well appreciate.
This is not possible, except perhaps via modified firmware, for obvious security and privacy reasons.
I am not sure at what extent it will help you to achive your goal but the best way I know is that:
You need to implement Broadcastreceiver for every action like action android:name="android.intent.action.BOOT_COMPLETED" when your device starts, similarly you need to use all the action which will notify you in your receiver.
You can run a service where you can check which app is running for your record. For this you need to fetch installed app list.