I'm developing an SMS scheduler android application, and would like to include my app in the chooser when a user is trying to send an SMS outside of my app.
i.e. after using the voice commands to create a message, it asks which application you'd like to use to complete the task.
I'd like to add my app to the chooser for as many starting points as possible, including possibly the ability to intercept a message after you press send in the messaging app, and ask if you want to send it with my app.
I believe I should be using intent filters with particular mimetypes, but I dont know which ones. Is editing the manifest all I have to do?
EDIT: is this the correct thread?
So I've been working on sending information from another activity in the same app. I have a main menu activity with a listview containing pending messages and a compose activity which can accept strings, etc to load into the edittext fields. (This works)
Do I need this bundle to be in a particular SMS formatting (keys for Strings and such)?
No it belongs in android development.
Related
Hi all,
Check out this scenerio and let me know your thoughts.
You know that app.apk is installed as a background service. Via looking into the manifest file you know all the intent filters they are using and all the permissions they are utilizing.
If you want to eavesdrop and intercept the message traffic app.apk generates as it is listening and sending information to its remote server, is that possible? In what ways would go about doing that?
I would think this should be possible via intent filters and Xlistener methods.
Extra info:
The manifest declares the following permissions:
Internet, read phone state, wake lock, receive boot completed, acce fine location, access coarse location, access wifi state, receive sms, read sms, send sms, read contacts, disable keygaurd, persistant activity, vibrate, get tasks, kill background process, restart packages, write settings, call phone, modify audio settings, process outgoing calls.
All of those permissions have an associated intent filter. All of the data is stored in shared preference.
I know that's a scary list of permissions..I'm looking into the possible security flaws of this app in order to make it safer.
Thanks
I am new to Android development, hence kindly forgive any unintentional mistakes, if made.
I have a native activity rendering using ES2.0. The app needs to start twitter authentication (it uses twitter4j).
I am starting a new activity with twitter auth url. It shows the login page. I give userId, password, the native browser says now it would be redirected to the previous page or something. Then I see a black screen which apparently is the default browser still on top of the application. If I go to home, and background processes, I see my app and the browser as separate activities which makes sense.
Now my question is , how do I code my app to return back to the application once the authentication ends?
Here is the code flow to start the new activity
1. Native code calls JNI function to start authorization
2. The Java function creates an AsyncTask, in doInBackground() it gets the request token using getOAuthRequestToken(URL) where URL = custom url "app1://callback".
3. in onPostExecute() , app starts new intent activity using this code
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(requestToken.getAuthenticationURL()));
BaseGameActivity.startActivity(intent);
Log.debug("authenticate task post ends");
Not really sure where to ask this so if this is the wrong place, please let me know where to go!
Is there a tool somewhere in which you can run an app in an emulator and view the actual code being processed in each interaction? For example, if the user pressing a button causes the code "refresh voicemail list" to fire, then when the button is pressed in the emulator, "refresh voicemail list" will print in a log, ideally also on the screen to watch it real-time.
My purpose in this is to figure out what an app does at certain points (hopefully the intents being sent) so I can attempt to duplicate it through a shell command. More specifically, although this tool would be useful in multiple situations, I'm looking for the intent sent when Google Voice refreshes a voicemail to get the transcript. I'm hoping to force that refresh in the background so the sqlite database updates without needing to manually open the app and refresh it. I use the sqlite database in a Tasker profile to get the transcript as a variable and unless the Google Voice app refreshes after a missed call, the transcript isn't in the database.
Any tips to point me in the right direction in this endeavor?
The application for memorizing texts and poems in English and Russian languages.
ByHeart (heart) - the app allows you to quickly and efficiently memorizing texts and poems by heart.:fingers-crossed:
The main idea of the application is the memorization of texts by gradually reducing the user-visible words. Close or open a word can be both automatically and manually by clicking on any word.
To use the application, all you need is to copy the text from the internet and save it in the app, then the text will be available to you at any time.
In addition, this app also allows you to create folders and store texts organize them as it is necessary for you.
In the application is already added a number of folders with the verses, for easier understanding of the application.:good::good:
You can find this app in google play by name "ByHeart (Poems and texts)" or copy bellow link
play.google.com/store/apps/details?id=com.studypoem.wgjuh.byheart
Hey. Have been trying to search an answer for this but it's quite impossible. So I'm using two apps:
1) Using Calendar Notifier for reliable calendar reminders and managing them since other apps, including stock calendar app ones are not firing reliably and don't fire since already Lollipop (which is a verified Android bug and a separate problem).
2) Using Gemini Calendar app for usability and simplicity.
Whenever I need to open the event in Gemini Calendar for editing from the reminder window (attach 1) it uses the Gemini View Event instead of Gemini Add | Edit Event, that's because "android.intent.action.VIEW" is used from the Calendar Notifier and when sending that intent to stock calendar app it doesn't matter - the event is edited either way. If I use Intent Interceptor and modify the intent to "android.intent.action.EDIT" everything works correctly and I get offered a choice to edit the event, but this app does not support automation. I could write about this to the developer of Calendar Notifier and I probably will, but I was wondering if there is an app or tool to catch an event, modify it and send it forward automatically? I tried Better Open With and it even shows the correct Gemini Add | Edit Event but it still opens the view instead of edit (and I will probably write to that developer too). But still, there should be possible to do this, I tried Tasker as well but I am not probably skilled enough. In any way, all ideas welcome!
Thanks in advance!
Hm... Mods, have I posted in the wrong section or nobody has a clue what I'm talking about?