Friday, 8 November 2013

Set up 301 Redirects in Apache for SEO to redirect your web pages


If you have changed the domain of your website from www.xyz.com/seo to www.abc.org and you need that your visitors accessing anything in your website www.xyz.com/seo should be redirected to a new domain i.e. www.abc.org, you can do 301 Redirect in Apache to redirect your web pages to new domain.




Friday, 1 November 2013

Web Design & Mobile App Development Company - Call +65-65613900


Singsys is a leading Singapore based Mobile Application and Web Design Development Company.

We are dedicated and expert team of iOS (iPhone Apps and iPad Apps) developers, Android App developer also CMS based (Drupal, Joomla, Wordpress) Website Developers and E-commerce based (Magento,Virtuemart,Zen cart,Prestashop) Website Developer. We also expertise in custom PHP-MySQL & Microsoft Technologies C# (C Sharp) with ASP.NET, VBA (Visual Basic for Applications), SharePoint, ASP.NET MVC. We also provide Graphic Design, SEO,SMO,SEM Services.

Services we offered:
- Custom Website Design
- E-Commerce Website Development
- CMS Based Website Design
- Web Maintenance
- Microsoft Based Applications Development
- iPhone, iPad Application Development
- Android Application Development
- Enterprise Application Development
- Graphic Design Services
- SEO, SMO, PPC Services
- Internet Marketing Services

Tuesday, 22 October 2013

How to implement Getty Images api with Connect’s API solutions



Getty Images APIs enable seamless integration of Getty Images expansive content, powerful search and rich metadata directly into your internal workflows, products and services. With Connect’s API solutions, you can fully control, customize and scale as you grow. The Connect API uses JSON over HTTP POST to allow you to build applications capable of search and download on Getty Images using an active download agreement.

Tuesday, 15 October 2013

Use Mapkit framework to create a custom annotation view over map view



To create a custom annotation view over map view  using  Mapkit framework just follow these simple steps.


Step 1- While adding annotation don’t give its title and subtitle. Just add it with Latitude / Longitude and take an integer variable that starts with 100(so that its tag do not clash with others) and increases as per the loop for adding notation.

annotationTag = 100;

for(NSDictionary* postLocateDict in mapData ) {
       
        double lat = [[postLocateDict objectForKey:@"location_dx"] doubleValue];
        double longt = [[postLocateDict objectForKey:@"location_dy"] doubleValue];
       
CLLocationCoordinate2D loc;
        loc.longitude = longt;
        loc.latitude = lat;
       
        MKPointAnnotation *annotationPoint = [[MKPointAnnotation alloc] init];
       
       
        annotationPoint.coordinate = loc;
        [mapViewHuanBao addAnnotation:annotationPoint];
        annotationTag++;
    }


Step 2- When you add a notation this will call an MKMapViewDelegate function, just set a tag of that notation.

- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation {
   
    if([annotation isKindOfClass:[MKUserLocation class]]) {
        return nil;
    }
    static NSString *identifier = @"myAnnotation";
    MKAnnotationView * annotationView = (MKAnnotationView *)[self.mapViewHuanBao dequeueReusableAnnotationViewWithIdentifier:identifier];
    if (!annotationView)
    {
        annotationView = [[MKAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:identifier];
       
        annotationView.image = [UIImage imageNamed:@"pin.png"];
    }else {
        annotationView.annotation = annotation;
    }
    annotationView.tag = annotationTag;
   
    return annotationView;
}


Step 3 – When you tap on notation, a delegate function will call where you can identify the notation by its tag.

(void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view

Here you will identify the notation by its tag using following code-

NSInteger indexOfTheObject = [mapView.annotations indexOfObject:view.annotation];

In indexOfTheObject you will get the notation tag.

Step 4- Now create a custom view as per your requirement, and give tag to every property you used in that view. We used callout view name as calloutView.

Set its file owner to your view controller.






Step 5- After finding the tag of selected notation, just use following method to create a custom call out view.

  [[NSBundle mainBundle] loadNibNamed:@"calloutView" owner:self options:nil];
       
        CGPoint hitPoint = [view convertPoint:CGPointZero toView:mapView];
        [annotationView2 setFrame:CGRectMake(hitPoint.x-94,hitPoint.y-73, 220, 73)];
        annotationView2.tag = selectedAnnotation;
       
        UILabel *nameLbl = (UILabel *)[annotationView2 viewWithTag:[here give ur tag which u set in custom view]];

And so on....

Step 6- Finally just add it to the view.


[view addSubview:annotationView2];




You can also navigate it to its detail but for that you have to add it on map view, because when you are adding it on view it will remove it from view, so the object  is DE allocated.

We are working on its navigation on click while moving ,  comment here if you found any problem.
 

Monday, 14 October 2013

Dussehra Celebration @Singsys Lucknow Office

Dussehra (Vijaya Dashami, Dasara, or Dashain) is a Hindu festival that celebrates the victory of good over evil.


Team Singsys celebrated Dussehra this year in unique way with a theme "AAJ KAA RAVAN" to symbolic burning of all the evils and victory of truth over evil.