Friday, 20 November 2015

Custom message for Location permission alert in iOS




If you are using Location Manager to get user's current location then you have ask Location Permission first. iOS provides you access to user's location if user accepts it. Here is the code :-
Below code will return you location manager object.
-(CLLocationManager*)
getLocation{    CLLocationManager *locationManager =
[[CLLocationManager alloc] init];    locationManager.delegate = self;
   locationManager.desiredAccuracy = kCLLocationAccuracyBest;   
locationManager.distanceFilter = kCLDistanceFilterNone;   
[locationManager startUpdatingLocation];    if ([locationManager
respondsToSelector:@selector(requestWhenInUseAuthorization)]) {
Here is not the end. To view the full code about Custom message for Location Permission Alert visit the link mentioned.




Thursday, 19 November 2015

Facebook Tips for Managing Post, Audience and Results



This blog is the continuation series of my last blog posted on Facebook Marketing Tips for Your Business. In earlier blog I have explained in detail various tips and techniques required for promoting your business on Facebook social network.

How to create a successful post:

  • Posts between 100 & 250 characters & get about 60% more likes, comments & shares.
  • Try to post photo albums, pictures and videos to get 180%, 120%, and 100% more engagement respectively.
  • Posting quiz and questions always drive more visitors.



To Read full information about “Facebook Tips for Managing Post, Audience and Results ” Visit Findnerd. As it is an effective technology forum, so you can take part by asking questions and also increase your technical knowledge by giving the answers of the questions posted over Findnerd related to PHP,Android, HTML,iOS,Java, Javascript questions and Answers etc.

Wednesday, 18 November 2015

How to get SMS from an Android Device programatically




To get SMS conversation from an Android device we will use following code:
ContentResolver contentResolver = getActivity().getContentResolver();
  • Uri uri = Uri.parse("content://sms/conversations/");
  • Cursor cursor = contentResolver.query(uri, null, null, null, "date" + " COLLATE LOCALIZED DESC");
After getting SMS conversation, we can get sms snippets of a particular conversation by the following code:

To Read complete information about "How to get SMS from an android device programatically" visit FindNerd . As it is an effective technology forum, so here you can also post & look for various programming queries along with their solutions related to PHP Programming Questions and Answers,c,Andriod Javascript etc.

Tuesday, 17 November 2015

The Top Five Pros And Cons Of Odoo


Pros in Odoo

1- Odoo is based on python languages, and database is postgreSQL.
2- Search Functionality in Odoo- You can easily search across the screen, you can also create advance search as per your requirement.
3- Odoo helps you with easy and quick directions on what next steps needs to be followed.

Cons in Odoo

1- Odoo is not very idiomatic.
2- In Odoo XML file gets used for everything.
3- In Odoo inheritance system is painful and The module system can be unreliable.

Here is not the end...to know more about pros and Cons of Odoo visit Findnerd.

As it is an effective technology forum, so you can take part by asking questions and also increase your technical knowledge by giving the answers of the questions posted over Findnerd related to PHP,Android, HTML,iOS,Java, Javascript questions and Answers etc.

Monday, 16 November 2015

How to create email template in OpenERP


By creating an email template one can send emails very easily and quickly as you already design it, add reports, signature. You can use these templates for any document in the OpenERP to enhance your sales, marketing, and accounting tasks. With these templates you just need to create a one, and use for future very dynamically.
To create an email template in OpenERP, just follow these steps:
  1. Go to Settings->Configuration->Email->Templates or you can go to the module menu like
    Sales/Accounting->Configuration->Miscellaneous->Email Templates, and create.
  2. Give it a meaningful name that describes the template for eg: Send Sales Quotations, select the related model for eg: Sales Order.
  3. In Email Details tab, define the from and to fields:
    from: ${object.user_id.user_email or ''} to: ${object.order_partner_id.email}
  4. Add the subject for eg: Sales Quotation
To Read complete information about "How to create Email Template in Open ERP" visit FindNerd . As it is an effective technology forum, so here you can also post & look for various programming queries along with their solutions related to PHP Programming Questions and Answers,c,Andriod Javascript etc.

Thursday, 12 November 2015

How to Move Make Objects by Adding Force in Unity

There are two methods to make object move in unity:
  1. By changing its Transform (Position).
  2. By adding Force by using AddForce() method.
In this blog I have mentioned, how we can make object move by adding force.
Force and Velocity both are component of Physics.
Below is the script for your reference.
using UnityEngine; 
using
System.Collections;  
public class
BallScript : MonoBehaviour   
{      
void Update () 
.........
To view the full
code about How
to move make objects by adding force in unity visit FindNerd.
Being an effective forum, here you can also post & look for various programming queries along with their solutions including c, android, php, java questions and answers etc.

Tuesday, 10 November 2015

Using Javascript to access liferay services

The Below code will show you how you can create the service in Liferay and how you can call that services using javascript.
  1. For this, First you have to create service builder(service.xml) to build service using ant build-service command.
service.xml
<!DOCTYPE
service-builder PUBLIC "-//Liferay//DTD Service Builder
6.2.0//EN"         
"http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd"><service-builder
package-path="com.evon">    <author>manish</author>
   <namespace>JSONService</namespace>    <entity
name="Employee" local-service="true"
remote-service="true">        <!-- PK fields -->
For full Code about using Javascript to access Liferay Services visit Findnerd.
Being an effective forum, here you can also post & look for various programming queries along with their solutions including c, android, php, javascript questions and answers etc.