Call history, SMS history, Email history in iOS [duplicate] - iphone

This question already has answers here:
iPhone call log / history
(3 answers)
Closed 8 years ago.
I have one requirement to fetch all the call logs, SMS logs and Email logs in iOS. So, if anyone have any idea about how to fetch call or sms or email logs (history) in iOS, please help me or suggest me the solution or whether it is feasible or not.
But one app is also available in app store.
App name is calLog.
Some website like "Accessing iPhone Call History" also says, it's possible, how's it true?
Thanks in advance to all. :)

No, its not possible to fetch Call/SMS/Email logs in iOS.
You can do this in jailbroken device.

http://iosstuff.wordpress.com/2011/08/19/accessing-iphone-call-history/ shows you how to access the call history. It is possible but Apple may not accept your App into their Store if they discover it. Sometimes Apps slip thru the cracks and get published even if they are against Apple's guidelines. Remember Tether? It was available for a day before Apple pulled it. Path was uploading your contacts before getting caught and then they updated their App.

its not possible to fetch the call or sms history in iOS device..but it is possible in older iOS version by using call_history.db file which contains all call history of iOS device

Hi,friends.
Do you have backup files in your PC?
If you have installed iTunes on your computer, then you can run it and sync it with your iPhone, after that, all of your iphone data can be backed-up in your iTunes. If you want to fetch all of them, then you jsut need to open the folders of the targeted files containing your messages ,contacts, call logs, and then drag them to your computer! Done!.
If you can not find those messages or call logs or contacts you want, that maybe results from these reasons: you did not backed up successfully or those information lost because of some physical problem. Then you can have a try on some recovery software to search the lost data. If you install the recovery program onto your PC ,you can preview all of your phone data, including the deleted ones!.
Hope this method help you all !

Call log is possible since this app does that: https://itunes.apple.com/us/app/navita-t.e.m.-personal/id590228620?mt=8 application does that. The question is, how?
Btw, SMS log and Email history I don't think it's possible.

Related

How to get inbox all SMS on iphonse sdk? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
read iphone sms messages?
I have following question related to get sms.
I want to get All SMS Text, sender number, date.
How can i send sms through my app?
Afterward i want to upload app on app store, so will apple allow me to upload app for doing above tasks?
Kindly help me on these issues and also share with me helping materiel or tutorial relevant to this tasks. Thanks in Advance :).
Not possible.
Check this
For SMS sending through application allowed but for accessing inbox for sms/email not allowed.
As of iOS 4, you can't get access to SMS data for reading, as there are serious privacy concerns.
And Apple wouldn't allow an app onto the store that does this.
Here's a related question & answer with more detail.
It is possible if you have a jailbroken device.
You may use jailcoder to fake code signing and then move your app to /Applications folder.
This way you can access to any database in your iOS device jailbroken.
Obviously Apple deny you app but not in Cydia.

How to notify a user when new updates / version is released on the App Store? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
When my iPhone application start, I want to notify the user if there is a new updates / version released on App store.
Does anybody have any ideas or has anybody else achieved anything similar?
Thanks
Use Nick Lockwood's iVersion library. It's whole purpose is to notify the user when new updates are available.
iVersion is a library for dynamically checking for updates to Mac/iPhone App Store apps from within the application and notifying users about the new release. It can also notify users about new features in the app the first time they launch after an upgrade.
Purpose:
The Mac and iOS App Store update mechanism is somewhat cumbersome and disconnected from the apps themselves. Users often fail to notice when new versions of an app are released, and if they do notice, the App Store's "download all" option means that users often won't see the release notes for the new versions of each of their apps.
Whilst it is not permitted to update an App Store app from within the app itself, there is no reason why an app should not inform the user that the new release is ready, and direct them to the App Store to download the update.
And if your app is not on the App Store, either because it's an in-house/enterprise iOS app, or a Mac app delivered to customers outside of the store, you can't use the App Store update mechanism anyway.
iVersion is a simple, zero-config class to allow iPhone and Mac App Store apps to automatically check for updates and inform the user about new features.
iVersion automatically detects when the new version of an app is released on the App Store and informs the user with a helpful alert that links them directly to the app download page.
Or if your app is not on the store, iVersion lets you specify a remote plist file to check for new releases, and a download URL where users can get the latest release.
iVersion has an additional function, which is to tell users about important new features when they first run an app after downloading a new version.
These excerpts were taken from the Github page here, where you can download it. There is also a comprehensive tutorial on installing and configuring iVersion, so I recommend that you check it out.
Hope this helps!
To give a comprehensive answer. There are basically two ways you can go here. Depends on where you want to put the responsibility.
App checks for new versions on server
Using this approach, you would add a method to your app that is being called on every launch to compare the current version of the app (wherever you want to save that) with the version stored on the server. To achieve this, the server must implement a small web service that returns the latest version as a string or something else very simple. No rocket science there.
Server pushes new version information to app
This way you implement more code on the server-side to do a Push Notification to your app which informs the app about the new version. Advantage here is: Less client-side code and less effort to check, because the version check does not happen every time the app is started but instead only once the new version is actually released.
you can do a call to your server when the app starts.
and that way check for a news item in your database, for example.
When the server gives you something. show it in an alert.
On the other hand, when there is an update in the appstore, doesn't the iphone give a warning?
APNS - Apple Push Notification System
Try it and google for ready server solutions.
Update: Okay, lets get it longer -
APNS is the best way to inform user about something new. It works with every state of the app - even when app closed - and it helps to avoid unnecessary requests to server.
But you will need server to send pushes - if you can write it by yourself - it's nice, but the are some services to create backend for your app (no links - no ads, just google it).
To find out how to start with APNS on the client side and how to create all needed certificates and keys read this one
Just check the latest version by communicating with your server and compare with the current version of app when the app starts up, if there is a newer version, notify the user.
Apologies in advance for the plug - but I think a service I built extending the concept from my experience building many apps solves this problem. Look at CleverStork - an Update Manager for Apps
There is something known as Silent notifications from iOS 7 and above, you can use that for
this

Can we get the iPhone crash logs thro app?

Can we get the crsah logs thro app ?
Will NSFileManager/NSData help us to accesss .crash files from iphone ?
Is there any way to get it, except the well-known iTunes sync method...??
Thanks in advance.
Gopi.
There are also other ways: my company just released a service for just that purpose: http://apphance.com . You add a simple framework project to your app, integrate it (takes about 5 minutes) and you can see all the logs and crashes from your application in a web panel, where the logs, crashes, memory exceptions etc. are all available. It's automagically available from a web panel, without telling the tester whet should be sent where. The tester can also report issues directly from the application including screenshots.
The service is currently in closed beta stage and you can request beta access to it.
No, apps can not access their crash logs programatically. Apps can't access the file system outside of their sandbox (i.e. your application's directory).
Yes. Thanks Shaggy Frog.
To get the crash reports , I thought that I need to communicate with an user, and help them find the logs, they can email to me.
But later( after posting this question) I found that, we can get logs from iTunes Connect.
Apple allows us to see the some crash logs ,where developers can manage applications they have on the App Store, check their sales, and get promotional codes for their apps.
http://www.tuaw.com/2009/05/02/itunes-connect-now-lets-developers-see-crash-reports/
Thank you all!!
Have a great day!!

Send SMS from iPhone app [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to programmatically send SMS on the iPhone?
I wanted to design an app that would send SMS messages to your contacts from within the app in the background. However, I cannot seem to find any tutorials on it and the Apple Docs arent anyhelp. I have also read somewhere that it is outright impossible.
But if so, how does the app, iDistress manage to do it? It send text messages from preselected contacts with a custom message : http://www.buzapp.com/idistress.html
Check out the screencast.
Thanks.
Are you a registered Apple Developer? If so, you can use the 4.0 framework to show the composer window and set some of the values programatically inside of your app, without having to ever exit the app. However, you will have to wait until the new iPhone and OS4.0 comes out, roughly about June/July, to release the application.
Remember: you are not allowed to discuss details of iPhone OS 4.0 anywhere else than Apple's official Developer Forums, which you need to be a registered Apple Developer to access.
http://developer.apple.com/iphone/prerelease/library/documentation/MessageUI/Reference/MessageUI_Framework_Reference/index.html#//apple_ref/doc/uid/TP40008274
Direct access to the SMS and Email features aren't available in the official SDK. iDistress sends a request to a web service that they host (which sends out emails and text messages from their server)
I've been looking for how to do this and was told it couldn't be done. Then today, I try this new app called Highlight, and sure enough, it does it. When you sign up, you pick contacts from your list and then the app goes straight to SMS and pastes in its own text as an invite message. What do they know that we don't know?

Is it possible to make your uploaded iphone application auto-update? [duplicate]

This question already has answers here:
Can I force an iPhone user to upgrade an application?
(16 answers)
Closed 5 years ago.
I am about to upload my Iphone application to the apple store, however I intend to release more versions in the near future. Is there anyway to make my application auto update once I upload a new version to the apple store?. That is as I am about to upload version 1.0, once i upload version 1.x, can the user be notified of this or can the application be auto-updated?. Can anyone point me in the right direction?. Any help will be greatly appreciated. Thank you.
-Oscar
No, this functionality is not available on the iPhone. The AppStore provides updates through the store only, and Cydia provides updates through Cydia only.
The direction i've seen many applications take is at start, check an XML file that you host for information on newer versions, and typically display a message to the user (preferably in a news ticker or non-obstructive manor) about a new version being released, and why they should upgrade.
You can't auto-update, however as far as I'm aware nothing prevents you from notifying the user that a new version is available, within your app. For example you could contact a web server to find out what the latest version is, and compare that to a build number in your app bundle, then display an appropriate alert/notification to the user. Or, you could get fancy and use the 3.0 push notifications for this.
In theory the appstore app/itunes will do this anyway, but it's clear that a lot of users don't see that.
Another thing you can do using the method I outlined (that the app store won't do) is tell the users that a new version is available, what it does, and that it's waiting for apple.
Even simpler is just to embed an 'announcements' channel in your app somewhere. That lets you talk to your users without waiting for apple - you can tell them there is a new version on the way, etc. I do this with an app I'm beta testing - a button on the main screen shows announcements, which I pull from my server.
Maybe if enough app developers did this, apple would start turning the approvals around quicker. Or change the legalese to prevent it [assuming it doesn't already] :-)
This is functionality provided by the app store. When you submit new versions, after apple has approved them, they will become available through the app store as updates to users that already have the app installed.
User will see new available updates to apps he owns in iTunes. User can then choose to get the update.
I'm not sure about updates via iPhone but if you pay for data downloads you would prefer to download apps/updates over iTunes on your Mac and then sync to iPhone. It's cheaper that way.
My guess is automatic version updating is intentionally left out. Think about it: what kind of strain will they have on their server if everyone on the planet with an iPhone downloaded An update to Fruit Ninja at the same time? I think their passive notification to the users via the red circle and white number allows them to spread out/stagger the update downloads and reduce server load.