How to go about building a app that searches for and displays pages from Google.

I was wondering how i would go about building an app that takes a users input such as a sentence (not a URL) and then searches  for their input on Google. This app would then have to display a selected page automatically on the UIWebView.
My existing code in my viewcontroller.m is as follows:
- (void)viewDidLoad
[super viewDidLoad]; [webView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
I now want my app to use a users input (a word or a sentence) and search Google with that input but do it in the background then display the first search result in the UIWebView, what code would i need?
Thanks

Sorry, I cant view the App Store Review Guidelines
https://developer.apple.com/appstore/resources/approval/guidelines.htmllink, maybe its because i dont have a developers account yet i will be getting one when i am ready to launch my app on the app store.

Similar Messages

  • How to Bind a Combo Box so that it retrieves and display content corresponding to the Id in a link table and populates itself with the data in the main table?

    I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
    1. Party (PartyId, Name)
    2. Case (CaseId, CaseNo)
    3. Petitioner (CaseId, PartyId) ............. Link Table
    I am completely new to .Net and to begin with I download Microsoft's sample application and
    following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
    with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
    And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
    users can choose one from the dropdown list to add or edit the petitioner.

    Hello Barry,
    Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
    the sample available at the link you supplied.
    To get the idea of the thing here is my code behind of a view vBoxPetitioner:
    <UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:v="clr-namespace:CCIS.View.Case"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    d:DesignWidth="300"
    d:DesignHeight="200">
    <UserControl.Resources>
    <DataTemplate DataType="{x:Type vm:vmPetitioner}">
    <v:vPetitioner Margin="0,2,0,0" />
    </DataTemplate>
    </UserControl.Resources>
    <Grid>
    <HeaderedContentControl>
    <HeaderedContentControl.Header>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <TextBlock Margin="2">
    <Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
    | <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
    </TextBlock>
    </StackPanel>
    </HeaderedContentControl.Header>
    <ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
    </HeaderedContentControl>
    </Grid>
    </UserControl>
    This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
    Here is the code of vmPetitioner, a ViewModel:
    Imports Microsoft.VisualBasic
    Imports System.Collections.ObjectModel
    Imports System
    Imports CCIS.Model.Party
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' ViewModel of an individual Email
    ''' </summary>
    Public Class vmPetitioner
    Inherits vmParty
    ''' <summary>
    ''' The Email object backing this ViewModel
    ''' </summary>
    Private petitioner As tblParty
    ''' <summary>
    ''' Initializes a new instance of the EmailViewModel class.
    ''' </summary>
    ''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
    Public Sub New(ByVal detail As tblParty)
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Me.petitioner = detail
    End Sub
    ''' <summary>
    ''' Gets the underlying Email this ViewModel is based on
    ''' </summary>
    Public Overrides ReadOnly Property Model() As tblParty
    Get
    Return Me.petitioner
    End Get
    End Property
    ''' <summary>
    ''' Gets or sets the actual email address
    ''' </summary>
    Public Property fldPartyId() As String
    Get
    Return Me.petitioner.fldPartyId
    End Get
    Set(ByVal value As String)
    Me.petitioner.fldPartyId = value
    Me.OnPropertyChanged("fldPartyId")
    End Set
    End Property
    End Class
    End Namespace
    And below is the ViewMode vmParty which vmPetitioner Inherits:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections.Generic
    Imports CCIS.Model.Case
    Imports CCIS.Model.Party
    Imports CCIS.ViewModel.Helpers
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' Common functionality for ViewModels of an individual ContactDetail
    ''' </summary>
    Public MustInherit Class vmParty
    Inherits ViewModelBase
    ''' <summary>
    ''' Gets the underlying ContactDetail this ViewModel is based on
    ''' </summary>
    Public MustOverride ReadOnly Property Model() As tblParty
    '''' <summary>
    '''' Gets the underlying ContactDetail this ViewModel is based on
    '''' </summary>
    'Public MustOverride ReadOnly Property Model() As tblAdvocate
    ''' <summary>
    ''' Gets or sets the name of this department
    ''' </summary>
    Public Property fldName() As String
    Get
    Return Me.Model.fldName
    End Get
    Set(ByVal value As String)
    Me.Model.fldName = value
    Me.OnPropertyChanged("fldName")
    End Set
    End Property
    ''' <summary>
    ''' Constructs a view model to represent the supplied ContactDetail
    ''' </summary>
    ''' <param name="detail">The detail to build a ViewModel for</param>
    ''' <returns>The constructed ViewModel, null if one can't be built</returns>
    Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Dim e As tblParty = TryCast(detail, tblParty)
    If e IsNot Nothing Then
    Return New vmPetitioner(e)
    End If
    Return Nothing
    End Function
    End Class
    End Namespace
    And final the code behind of the view vPetitioner:
    <UserControl x:Class="CCIS.View.Case.vPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    Width="300">
    <UserControl.Resources>
    <ResourceDictionary Source=".\CompactFormStyles.xaml" />
    </UserControl.Resources>
    <Grid>
    <Border Style="{StaticResource DetailBorder}">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="Petitioner:" />
    <ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
    </Grid>
    </Border>
    </Grid>
    </UserControl>
    The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
    what I need to Know is how to route the binding path if it exists in a different ViewModel?
    Sir, I look forward to your early reply bringing a workable solution to the problem I face. 
    Warm Regards,
    Arun

  • How do I change my search engine and home page to google?

    Hello the search engine drop down arrow has no search engines attached to it so i can't pick a default engine from there and when i go to "Manage Search Engines" the restore default button if shaded and inaccessible. Google also isn't an option when you click "Get more search engines" either, But i can manage to add some websites like You Tube to the search engine list. I also cant search anything on the Firefox homepage bar because there is no search engine connected to it. I can switch the homepage by going to options and typing in Google, but then the Firefox logo goes away and its still no in sync to the search engine bar. I have no recollection of how it disappeared, but Ive been using Firefox for a few years now on various computers and never had an issue I could fix. I'm hoping i don't have to uninstall Firefox and reinstall it because ill have to open internet explore which still gives me Toshiba adds and surveys from my previous computer and has a "22find search engine"... what ever that is?... and I slow internet (130Kbs PEAK!) at the moment so its just all going to be a hassle.
    SOS... Shawn

    So, all the xml files are still there in the browser\searchplugins folder?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems with preferences.
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • I am building an app that has hundreds of pages, is there a limit?

    I am building an app that has hundreds of pages, is there a limit? I think i could have about 400-500 pages. i have heard that if it resembles a book it will get rejected, does anyone know about this?
    thanks

    It will get rejected if it is a book. If what you are doing is impossible in iBooks Author (HTML and Javascript), then you are fine.

  • Building an app that interacts with a pc game

    Hi
    I am wanting to build an app for a racing sim game.
    I have no experience or knowledge of how to even start something like this.
    So I would like to ask if it is possible to use adobe software to build an app that can take a stream from a game and display it as an additional screen on a tablet "Blackberry Playbook, is what I am wanting to use".
    For example...
    In the racing sim, I am wanting to use the rear view feed from the cockpit of the car and link it to a tablet to use as an additional screen.  This would give the user the ability to move the rear view of the screen to where ever is comfortable to view.
    I know that in the blackberry playbook, I can stream videos and music from my desktop pc to my tablet through splashtop HD.
    All or any help would be appreciated.
    Thanks
    Adrian

    If you look at Squared5's website, you'll see that it does, in fact, offer a Windows version - here:
    MPEG Streamclip PC
    Also, you can always get QuickTime Player for Windows too...
    Patrick

  • How to get a list of Apps that can not be recovered?

    After restoring a backup (iCloud), about 5% of my 225 were not restored because they did not appear over the Apple Store. How to get a list of Apps that can not be recovered?

    You should be able to download any apps that are missing at no extra cost. Just go to the App Store and download them again.

  • Hello sorry but im having a problem with my apple id it appears that i cant download nothing i dont know why but when im going to download something example facebook it appears de app that is charging and then desapere how can i fix that?

    Hello sorry but im having a problem with my apple id it appears that i cant download nothing i dont know why but when im going to download something example facebook it appears de app that is charging and then desapere how can i fix that?

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    -Griff W.

  • How can I remove apps that I downloaded and removed from "purchased" at App Store?

    How can I remove some apps that I downloaded and removed from "purchased" list at App Store??
    Thanks Vic

    You can't remove apps from the purchased list. It's impossible. You can hide them but not delete them from the purchased list.
    Tap and hold down on the app icon until it wiggles then tap the X on the icon to delete it, tap the home button to stop apps from wiggling.

  • How do i get all the apps that i had before upgrading my ipad

    how do i get all the apps that i had before upgrading my ipad

    Normally they're restored to your iPad right after the upgrade.
    If that didn't happen, you should find them in the App Store under Purchases.  Restore them, but do that one at a time.
    Or you can sync with iTunes on your computer, and they should be there.

  • How do I close all the apps that are still open?

    How do I close all the apps that are still open?

    You don't need to.
    The "task bar" that Demo mentions above is not, in fact, a task bar at all - it is the Recently Used Apps list. Not all of the apps in this list are open, running or in memory.
    iOS automatically handles closing apps that are not in use, so you don't have to manually manage them.
    Read this article from Apple for more information: http://support.apple.com/kb/HT4211

  • How to uninstall a build-in App?

    How to uninstall a build-in App?
    Solved!
    Go to Solution.

    If you change the Date +100years, you will be able to uninstall build-in App. (ok not all of them)
    Thanks.
    Attachments:
    GetAttachment.jpg ‏3 KB
    GetAttachment (1).jpg ‏4 KB
    GetAttachment (2).jpg ‏4 KB

  • HT4461 how do i install a purchased app that says installed but it's not on mac or iPad?

    how do i install a purchased app that says installed but it's not on mac or iPad?

    An app is considered to be installed if it shows up in a Spotlight search of local volumes. Bring up a search window in the Finder by pressing the key combination command-F. Search This Mac for the name of the application. Delete all copies that are found.

  • HT1222 How do I turn of my apps that are running in the background in the new 7ios

    How do I turn of my apps that are running in the background in the new IO7 operating system on my Iphone????

    Double tap on the home button, when the apps show up, swipe up on the thumbnail of the app just above the icon.

  • Is there a app that will tell all apps that are running and possibly how much battery power they use?

    Is there a app that will tell all apps that are running and possibly how much battery power they use?

    You don't need an app to do this.  Here's how you get the battery info.  Go to Settings>More>Battery. This will show you all the active apps and their individual battery usage.

  • N8: How to see services/processes (not Apps) that ...

    How to see services/processes (not Apps) that are currently running?
    For those unfamiliar with the terminology, a service is the same as an application,
    only it doesn't have a user interface. Process, the same.
    Even when you kill all your applications, many processes are necessarily kept
    running, such as those for the phone UI or telephony. I want to see which.
    For example, I am suspecting that Battery Monitor application installs a service
    to log usage data and that this service runs constantly.
    I'd like to see some advanced task manager or something similar, that would
    allow me to see all running processes.
    I had such apps on Android. Are they available fro Symbian?
    N8 / RM-596

    This is the first fully compatible one that springs to my mind:
    http://www.smartphoneware.com/taskman-for-symbian3-product.php
    Y tasks may also work:
    http://www.drjukka.com/YTasks.html

Maybe you are looking for

  • Looking for a Splash screen for desktop login

    Thats it, I have been looking for a splash screen application that can make a splash appear since my login begins with SLIM and that disappears once all startup applications have been loaded. I tried plymouth, but I think it cannot be used for this p

  • Error while migrating from ms access 2003 db to oracle 10g in sqldeveloper

    Hello, i am working on migration project from MS access 2003 to Oracle 10g on windows XP sp2 plateform using SQL developer. it went quit smoothly till the "capture microsoft access" .so in this step the sql developer opens the access db in background

  • Throttling a file adapter to consume a max number of files per minute

    Is there a way to design a file adapter to throttle its processing bandwidth. A simple use case scenario is describes as follows; A File Adapter can only consumes a max of 5 files per minute. The producer average throughput is 3 files per minute but

  • TextFlow XML export issue with missing whitespaces

    If I export a TextFlow into XML (with either TextFlowUtil or TextConverter) it will lose white spaces where they occur between elements, so that a subsequence import will yield different content from the original. A simple example being: "Where is my

  • ABAP/4 certification

    Hi all I want to know about ABAP/4 certification. I am fresher . Please give me info about the certification procedure & centers and cost. Also help me on material. And how to check about geniune authorization centers ? Thanks