Is it possible to build a library or an application with Rhodes that connects to an iPhone's/Android's native address book and uses those address books natively (e.g. still has the available API for creating groups, retrieving, updating, deleting contacts etc.)?
Accessing the iPhone/Android address book through Rhodes
164 Views Asked by Alex At
2
There are 2 best solutions below
0
Alexey
On
Add 'pim' capability to app's build.yml
capabilities:
- pim
Then it is possible to work with contacts from ruby:
contact = {'first_name' => 'Alexey', 'email_address' => '[email protected]'}
contact = Rho::RhoContact.create!(contact)
contacts = Rho:RhoContact.find(:all)
See more details at official Rhodes docs.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in RHOMOBILE
- Crashing Issue On IOS 8.X And Android 5 Using Rhodes
- Retain signature files and db images while migrating in rhodes rhomobile
- rhosync not starting!
- MC40 Application UI changing when Scanner Enabled (Android OS)
- How to show loading message when making a ajax call in controller
- Can we use native code as plugin in Rhomobile?
- How can i set the default menus for Rhomobile Application?
- How to define User defined buttons in alert for Rhomobile Application
- Convert a Rhodes PropertyBag Model to JSON
- Mobile app using Rhodes Framework
- How can I unzip a local data file using RhoMobile
- jqGrid alternate for Mobile apps
- What has been your experience with RhoMobile + JqueryMobile + KnockoutJS?
- Accessing the iPhone/Android address book through Rhodes
- Phonegap vs Rhomobile
Related Questions in RHODES
- Crashing Issue On IOS 8.X And Android 5 Using Rhodes
- Retain signature files and db images while migrating in rhodes rhomobile
- How can I parse string(ruby hash) to JSON or Array in Rhodes?
- 500 error when calling webservice through rhosync/rhodes
- rhosync not starting!
- Rhodes v/s Titanium
- MC40 Application UI changing when Scanner Enabled (Android OS)
- How to show loading message when making a ajax call in controller
- How can i set the default menus for Rhomobile Application?
- How to define User defined buttons in alert for Rhomobile Application
- Transaction for database query
- Convert a Rhodes PropertyBag Model to JSON
- How can I unzip a local data file using RhoMobile
- jqGrid alternate for Mobile apps
- Accessing the iPhone/Android address book through Rhodes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can see all available PIM API interaction in the Rho documentation here. If what you want to do (e.g. groups) is not yet available, consider contacting the developers with an enhancement request, which you can track on their Pivotal Tracker project.