Detect and get dialled number in Android using Appcelerator - appcelerator

I am looking for a way to detect if the user is dialling a number that is 'like' a value in my database. I have got a REST api working to retrieve numbers for my application, just need a way to intercept and compare for Android in Appcelerator.
I have looked around but can't find a way to do this within Appcelerator, not sure where to start. I looked on a forum (https://archive.appcelerator.com/question/117852/detecting-phone-call-on-android) but no results.
Would this be an Android service and check in the background if a user is dialling? (http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Service) or is there a better way? Maybe I could use the Android intent functionality (http://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters-section-43287610_AndroidIntentFilters-RespondtotheCallingActivity) or better still maybe there is a module for this. Had a look on their site, could only see one but it's a paid module(https://marketplace.appcelerator.com/apps/5672?restoreSearch=true#!overview). Not even sure if it works though.
Any help or point in the right direction is appreciated.

Related

Reasons why reviews might not appear for certain users on Play Store

For some users in the US, my play store reviews are not visible. I've reached out to Google directly and am out of options for support, so I've come here.
Here's the official response from Google:
Please note, since it's based on Google play algorithms, we are not
able to modify in the rating&review section's result manually. Also
please understand that, since we don't have any information about
algorithms, we are not able to further investigate and provide any
information about your question at this time. I apologize for any
inconvenience this may cause.
If you have any other Console related question, please let us know.
We'll be happy to help.
Thanks for supporting Goolge Play.
Very sadly they've given me a generic response about some "algorithm" and are refusing to look into the issue further.
Again, I know this isn't a "standard" question, but I'm not sure where else to go at this point. I feel like I'm at the end of my wits. Any help is appreciated!
What are some reasons why certain users in the US wouldn't be able to see any app reviews, but other users in the US can view these reviews? And is there any reasonable way to "debug" this issue?
Edit: at least one user reports that they are using a Samsung Galaxy phone
Sometimes it takes time for new reviews to show up on google. They also have an algo to check for reviews that might be from "fake users" similar to reddit it may take a while for it to show up entirely and pass their checks.
You have no control on what they show on their App Store reviews section.
One idea to debug is by checking via different android phones using different networks. You can also check the web version App Store link to see if it shows.

How to automatically download all new images appearing on a newsfeed on Facebook

I am attempting to write a script or make a FB App to automatically download images from profiles on Facebook at a designated time during the day, and have it repeat each day. After this is accomplished I aim to implement the reverse of this to upload images within an album to a profile, but that will be for another day. These are going to be profiles that I am friends with, or public profiles.
Having some issues determining where to start as it seems this isn't done on a regular. Can anyone provide a direction for me to head in? I have looked into the Facebook Developers website, as well as on stack overflow and haven't seem to find any solution that is close. I have stumbled upon examples on how to autodownload from Reddit, but Facebook is another beast entirely it seems.
Is this something that can be accomplished via Java or Python, or should I actually go through the Facebook API? At a bit of a loss as to how to proceed.
ANY help would be appreciated as I am not a web developer. I mostly dabble with MATLAB and Java so this is a bit outside of my expertise.
Once again to summarize, I am seeking to auto download images from Facebook profiles either as they are posted or at selected times. Also this idea could be changed to download from Instagram if that is somehow easier.

Control used in people hub app

I want to implement some thing like in people hub native app. I want to open some pop same like they using to select contact alphabetically. can some one tell me how should i start for that.
Try the long list selector from http://silverlight.codeplex.com/
In depth here - http://www.windowsphonegeek.com/articles/wp7-longlistselector-in-depth--part1-visual-structure-and-api
First question, why build an app that already exist nativly? Secondly your question is far too broad to answer properly, we cant tell you how to build an app.
I recomend going through the tutorials on the app hub to get you started. Here is also a free book that might help http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx

Can I use "presentor mode" on my Windows Phone 7 like Joe Belfiore to give app demos?

I would like to be able to show whats happening on my phone, on a computer screen or projector.
This seems like it must be possible since Microsoft does it in all of their demos, but I can't seem to figure out how.
For example, I've build an app, and I want to demo it to a room of prospective clients. I can't really use the emulator very well during a presentation. I'd like the room to be able to see what I'm doing on a big screen instead of all huddling around my phone.
I've asked various people at Microsoft about this and, unfortunately, the response I always get is that Microsoft is not able to load to load the necessary "VGA Patch" externally.
Unless you can do your demo in the emulator, cameras are the only way to go at this point.
What you've seen was done with internal hardware. Perhaps you could approach Microsoft to see if they are willing to assist in any way.

Remote Wipe application in android

Is there any Remote wipe application which will be working on deleting the data in Emulator by sending an SMS from other emulator?? I found some of the free applications in android market on Remote Wipe.. But they are not working..
Please let me know if any of the application is working on Emulator
Thanks in advance
Uday
There is just one remote wipe application I have come across.
I have been trying to write one such application myself but I believe the permissions required are 2nd level and 3rd level permissions (check this link and this link). Thats is the reason I am unsuccessful as yet. I believe that you basically need to sign the package with the same signature as the OEM manufacturer to be able to grant those packages to your device.
If by an stroke of luck you do happen to make one successfully, please let us know the permission you have used to make such a thing possible! =)
Regards
Shouvik
EDIT: Okay I supposed I am wrong. I believe in android 2.2 it is possible to remote wipe your. I have not completely understood how to implement the function or the class yet, I plan to work on it as soon as I can spare some time. :)
Reply:
Well I have been looking at the SDK for some time now, and I can confidently tell you below 2.2, I am pretty sure there is no way I know of to remote wipe your data. I have although read on the mailers list that there is a function that enables a third party client to create a remote wipe application as you may have seen in my post above. I have actually use my own port of android on a device and have just used the brick, but if I do come across any reference that can show how you could achieve what you desire, I would be happy to leave a post here. Regards Shouvik.
Links
http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#wipeData%28int%
also for formatting the SD card I came across a permission that you can request, I guess you follow that you end up at the method.
http://developer.android.com/reference/android/Manifest.permission.html#MOUNT_FORMAT_FILESYSTEMS

Resources