Tuesday 29 December 2015

How to send SMS via Asp.Net Application

sms2

 In this article I will explain how to send Free single/bulk SMS through Asp.Net Application.

   There are many websites that allow sending free messages such as Way2sms, FullOnSMS, 160by2, Site2SMS, IndyaRocks.com SMSAbc.com, Ultoo.com, SmsSpark.com SMSFI.com Freesms8, Sms440, BhokaliSMS, etc.

   I will explain it with the help of Site2SMS which uses the online API from Mashape.com.


Getting Started:
 
Step 1: You have to first register yourself on Site2SMS from where you will get the UserName & Password.

Step2: Now register at Mashape.com, you have to create a sample application at Mashape.com for which you will get an API key. For help go to following link, How-to-generate-Mashape-API-Key
 
Step 3: Now as you have the API key, lets create the application, write the following HTML to create the Form:
 
  1. <table>
  2. <tr>
  3. <td>
  4. Your Number:
  5. </td>
  6. <td>
  7. <asp:TextBox ID="txtNumber" runat="server"></asp:TextBox>
  8. </td>
  9. <td>
  10. <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

  11. ErrorMessage="Required"
  12. ControlToValidate="txtNumber" ForeColor="Red"></asp:RequiredFieldValidator>
  13. </td>
  14. ....
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, java questions and answers forum about the topic described above "How to send SMS via Asp.Net Application". You can also learn much more about different programming technologies and can enhance your tech skills.

Monday 28 December 2015

How to save data in SQLite in Unity3d

In this blog we have explained "How to save data in SQLite in Unity3d" step by step with images and complete source code. You can understand every step easily. To start up with CURD(Create,Update,Read,Delete) operations in unity3D using SQLite .

You need to follow few steps:
Steps for installing and use sqlite browser:
1.You need to have an SQLite Browser installed in your system: Which you can get from the zip folder attach with the post
2.Click on the sqlitebrowser.exe file It will not install but will be opened directly. Like This:

unity 3d

Read full blog at our highly specific C, android,iphone, Javascript,HTML, PHP developer forum about the topic described above "How to save data in SQLite in Unity3d". You can also learn much more about different programming technologies and can enhance your tech skills.

Why WordPress PHP Platform Best For Blogging Sites

WordPress, an open-source content management system(CMS), is the most popular platform among developers of blogging sites. More than 23.4% of top million websites were using WordPress PHP development as of January 2015. WordPress PHP development is now seen as the most reliable blogging platform, thanks to stability and options to customize through plugins and themes.
Why-WordPress-is-the-Best-Blogging-Platform

What Makes WordPress PHP Development the Best For Blogging Sites


WordPress is the best choice especially to those who are new to blogging as it provides full control over appearance and feel of a site. WordPress frees you from the hassles of coding and comes for free. Other virtues of WordPress PHP platform for blogging sites are:

  • Support for MySQL, SQLite, PostgreSQL (etc)
  • Automatic generation of RSS newsfeeds
  • Easy to trackback and pingback
  • Users can post comments
  • Options to enable or disable comments on a post by post basis
  • Spam protection
  • Requires user registration
  • You can protect private posts through password
  • Offers support for the XML-RPC interface, multiple authors, bookmarklets, etc

With WordPress, you can also publish content on multiple mobile platforms, like Android, iOS, Blackberry, Nokia, Windows Phone 7, WebOS etc. WordPress Theme is a robust feature of WordPress that allows you to make change in your site’s design with a single click of the mouse. There are no adverse impacts of WordPress Theme on your site’s content and you can make as many desirable changes as you want in your site’s design that too in quick time.

Organizing your site’s content was never so easy. WordPress comes with loaded features to help your site organize the content by day, month, year, author, blog, tag or category. Users don’t get a run around on your WordPress site when it comes to finding content they are looking for, thanks to flawless built-in search engine.

You can reach out to masses as WordPress gives you the brilliant option to translate into more than 70 languages. WordPress charges you nothing for code, meaning you can use its code for free to build new applications.

Extensive APIs of WordPress enables developers to customize their applications like the development of custom portal for news sites, some community forums for Php Questions and Answers and it also allows integration into other existing systems. WordPress gives you numerous free plugins to extend functionality and themes to make your WordPress site appear the way you want it to be.

As WordPress PHP development is highly cost-effective, flexible, scalable, secure and easier to use, it certainly becomes the best choice for blogging sites.

Read here similar type Web Mobile App Development Blog at our highly specific C, Java, PHP, Javascript, iPhone, android questions and answers forum about the topic described above “Why WordPress PHP Platform Best For Blogging Sites“. You can also learn much more about different programming technologies and can enhance your tech skills at FindNerd’s iOS Developer Forum.

Wednesday 23 December 2015

How to set the Advanced filters in OpenERP

oddon.png


Step-1 Install the web_advanced_filters module. Step-2 After that custmozie .py(Python file) file in web_advanced_filters module: In below example, I have custmozied .py file. You can directly copy the below python code in your .py file.
  1. class IrFilters(Model):
  2. _inherit = 'ir.filters'
  3. _evaluate_before_negate = ['one2many', 'many2many']
  4. def _is_frozen_get(self, cr, uid, ids, field_name, args, context=None):
  5. '''determine if this is fixed list of ids'''
  6. result = {}
  7. for this in self.browse(cr, uid, ids, context=context):
  8. try:
  9. domain = safe_eval(this.domain)
  10. except:
  11. domain = [expression.FALSE_LEAF]
  12. result[this.id] = (len(domain) == 1 and
  13. expression.is_leaf(domain[0]) and
  14. domain[0][0] == 'id')
  15. return result
  16. def _domain_get(self, cr, uid, ids, field_name, args, context=None):
  17. ...........
Read full blog at our highly specific C, android,iphone, Javascript,HTML, PHP developer forum about the topic described above How to set the Advanced filters in OpenERP. You can also learn much more about different programming technologies and can enhance your tech skills.

Grouping columns and rows in Excel and Open Office Calc

In this tutorial we will talk about Grouping Columns and Rows in MS EXCEL and Open Office Calc.

Grouping allows you to group a se of rows or columns which you can expand or hide for easy readability. According to me this is really helpful and useful for handling a large spreadsheets where you want to see your data in organized manner.  

To do This below are the steps-

Step 1- Select the cells you want to be able to group, first you have to select the row or Column you want to group or on which you want to applying grouping.  

Step 2- Go to Data → Group and Outline→Group or Press F+12. After this you will see a pop-up on your screen on which there will be 2 options (1. Row and 2. Column) Select any one of the option which you want to Group. In the below example I want to Group the Column C and D to Group both of them, I will select Column C and D, Go to Data and select Group and outline and then select group (for newer version Go to Data-->Group-->Group). And then I select Column as I already mentioned that I am grouping Column C and D.  

See the screen shot below-  

alt text   Step 3- Now You can clearly see the bar which is indicating the grouped data.....

Read full blog at our highly specific C, android,iphone, Javascript,HTML, PHP developer forum about the topic described above Grouping columns and rows in Excel and Open Office Calc . You can also learn much more about different programming technologies and can enhance your tech skills.  

Tuesday 22 December 2015

How to Built in Place Picker in Android

Android has now a built in Place picker, where user can pick the places. Developer can only send an intent and get result in OnActivityResult. In this blog we have explained evrything with complete source code. This is the best blog for android developers who are searching for "how to built in place picker in android".


 Android-PlacePicker
  1. public void onPickButtonClick(View v) {
  2. // Construct an intent for the place picker
  3. try {
  4. PlacePicker.IntentBuilder intentBuilder =
  5. new PlacePicker.IntentBuilder();
  6. Intent intent = intentBuilder.build(this);
  7. // Start the intent by requesting a result,
  8. // identified by a request code.
  9. startActivityForResult(intent, REQUEST_PLACE_PICKER);
  10. } catch (GooglePlayServicesRepairableException e) {
  11. // ...
  12. } catch (GooglePlayServicesNotAvailableException e) {
  13. // ...
  14. .........
Read full blog at our highly specific C, php,iphone, Javascript,HTML, android developer forum about the topic described above "How to Built in Place Picker in Android". You can also learn much more about different programming technologies and can enhance your tech skills.

Sunday 20 December 2015

selector-button.png


Incase we are using RadioButton inside a Repeater, one common problem which we face is that we are not able to select single RadioButton, i.e. If we select one RadioButton, and then click on the other the other also gets selected without unselecting the first one. Even the GroupName property of the RadioButton dosen't works for this.

 The solution I got is: 1. Set the AutoPostBack property of the RadioButton to "true".
2. Make OnCheckedChanged event for the RadioButton. Example:
  1. <asp:RadioButton ID="rbtnSelectEmp" runat="server" AutoPostBack="true"
  2. OnCheckedChanged="rbtnSelectEmp_OnCheckedChanged" />
3. Inside OnCheckedChanged event write the following code:
  1. protected void rbtnSelectEmp_OnCheckedChanged(object sender, EventArgs e)
  2. {
  3. foreach (RepeaterItem item in rptEmployee.Items)
  4. {
  5. RadioButton rbtn = (RadioButton)item.FindControl("rbtnSelectEmp");
  6. ...
Read full blog at our highly specific C, android,iphone, Javascript,HTML, PHP developer forum about the topic described above Problem in selecting Radio Button inside Repeater Control . You can also learn much more about different programming technologies and can enhance your tech skills.

Friday 18 December 2015

Cool Widgets in OpenERP

Widgets are the GUI elements that can perform some controlling tasks. In OpenERP, we can see a few of widgets that have significance in the views like statuses of the any process, seeing states of an object, or getting lists out of huge data, or splitting data.
Some interesting widgets I came across are:
selection: this widget adds a drop down list when we have many2one field, for example displaying only journal name where a journal_id is a many2one field.
 openerp.jpg
  1. <field name="journal_id" widget="selection"/>
progressbar: this widget is used to show the progress of a task in percentage, so we add a float field in the model and then use in the view.
 
  1. 'progress': fields.float('Progress', readonly=True, help='Shows you the progress made today on the reconciliation process')
 
  1. <field name="progress" widget="progressbar" colspan="4"/>
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above "Cool Widgets in OpenERP". You can also learn much more about different programming technologies and can enhance your tech skills.

Thursday 17 December 2015

How to hide/show Toolbar when list is scrolling?

demo_gif 



 This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when it’s scrolling up. In this tutorial we are using RecyclerView and Tollbar to achieve this effect as we see in Google play. We will add list header on top of the list. To complete this task follow below points. 1) - First of all we will create a new project in Android studio and add some necessary libraries.
  1. compile "com.android.support:recyclerview-v7:21.0.0"
  2. compile 'com.android.support:cardview-v7:21.0.3'
2)- We will define styles.xml so that our app can use Material Theme .
  1. <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
  2. <item name="colorPrimary">@color/colorPrimary</item>
  3. <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  4. </style>
3)- Next create a activity_main.xml for our MainActivity class.
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent">
  4. ....
 
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above How to hide/show Toolbar when list is scrolling?. You can also learn much more about different programming technologies and can enhance your tech skills.

Tuesday 15 December 2015

Code Analysis using FindBugs Plugin in Android Studio

android1
Android has Lint for checking errors in Java and XML code. Lint release with every new SDK. But Lint is not find most type of bugs,exceptions and performance issue. I found one plugin for static analysis tools to analysis android Java code. It helps to improve code quality and application performance.

FindBugs divided Issues into 9 categories that are:
  1. Dodgy code
  2. Malicious code vulnerability
  3. Bad practice
  4. Correctness
  5. Internationalization
  6. Security
  7. Performance
  8. ......
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above Code Analysis using FindBugs Plugin in Android Studio. You can also learn much more about different programming technologies and can enhance your tech skills.  

How to detect tapped word in UItextview


We might face a situation when we need to add action on tapping a particular word from a string on the iPhone screen like a link or a hashtag etc. Now though we can easily add a UITapGestureRecognizer on a UITextView or UILabel, finding the exact tapped word is tricky. Here is how to do this (using UITextView and UILongPressGestureRecognizer) :
 i) Add gesture recognizer to text view

  1. UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc]initWithTarget:self action:@selector(longPressResponse:)];
  2.     [textViewDescription addGestureRecognizer:longPress];
   ii) Handle gesture recognizer

  1. - (void)longPressResponse:(UILongPressGestureRecognizer *)recognizer {
  2.     if (recognizer.state == UIGestureRecognizerStateBegan) {
  3.         CGPoint location = [recognizer locationInView:textViewDescription];
  4.         NSString *tappedWord = [self wordAtPosition:CGPointMake(location.x, location.y)];
  5. .......

Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above How to detect tapped word in UItextview. You can also learn much more about different programming technologies and can enhance your tech skills.

Sunday 13 December 2015

Different Techniques Used for 3D Modeling

3494

The concept of 3D modeling is extensively used nowadays in movies, videogames, architecture, publishing, geology, medical science etc. 3D modeling in simple words can be described as creation of a 3D image of an object using specialized software, and the process involves development of a mathematical representation of an object in three dimensions.

If you want to become a 3D artist, it’s paramount for you to become familiar with the term polygon mesh, which is a collection of vertices, edges and faces. A wide range of 3D graphics software packages is available in tech market to create polygon meshes for constructing 3D models. Maya, 3Ds Max, Lightwave, Blender and Milkshape 3D are some popular 3D modeling software artists can use for creation of 3D models. 3D models are used in movies and games to enhance engagement and interaction, thereby making them enthralling. In this blog, I am shedding light on five top techniques used for creating 3D models.

  • Primitive Modeling: Primitive modeling involves use of geometric shapes like cylinders, cones, cubes and spheres for the purpose of creating 3D models. This technique is best used in architecture for creating 3D images of furniture, building etc. Artists should not try using it for organic models or human 3D models. Max, Maya and 3DS are some software you can use for primitive modeling as they offer you tools changing shapes of an image.
 
  • Polygonal Modeling: This technique involves use of triangles, cubes, hexagons and other shapes. Polygonal modeling is...
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above "Different Techniques Used for 3D Modeling". You can also learn much more about different programming technologies and can enhance your tech skills.  

Thursday 10 December 2015

SEO Steps to Follow When Domain Name is Changed

SEo_domain

Being an SEO professional, you must always be ready to follow the right steps during the different stage of web development along with the major changes that is happening with the domain name. There are some cases when a website owner wants to change the name of the domain from old to new due to the upgrade in the web services he is offering. It seems to be very simple for a web development team to change the name of domain from old to new domain by just putting a permanent 301 redirect in the htaccess file, however it is very critical as far as SEO is concerned associated with that domain name.

 SEO factors associated with domain name change

 If we are changing the name of domain which is running from last 2-3 years then you must consider some of the important SEO factors associated with the domain name change and these factors include:
  1. Preserving the current PR of domain.
  2. Preserving the authority of the domain.
  3. Preserving the current keyword rank.
Steps to follow for preserving SEO factors during domain change

In order to maintain the reputation of website in front of search....

Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above SEO Steps to Follow When Domain Name is Changed. You can also learn much more about different programming technologies and can enhance your tech skills.

How Web Developers Can Avoid Common SEO Errors During Development

3487


SEO process not only starts after the website is live by the SEO experts, however there are certain other parameter which every web developer should know to avoid some of the SEO errors during the time of development. If the web developers become unaware of these type of silly errors then there could be a serious problem to the website just after it's live and it will take more time and efforts from developers and SEO professional to recover from these effects.

Avoid Common SEO Mistakes

Developers should always put robots.txt file on the root folder at the header of the draft domain like http://draft.XYZ.com, otherwise Google will also crawl your draft site URL links on its database and will show them up on search engine result page too before your site live. If web developers are working on the revamp of an existing website then...

Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above How Web Developers Can Avoid Common SEO Errors During Development. You can also learn much more about different programming technologies and can enhance your tech skills.

Tuesday 8 December 2015

How to detect swipe left or right function on listview item in android

ANDROID (1)

If you want to detect swipe gesture from left to right or right to left on the list view item in android. than you just have to add this Class in your activity and perform any task by detecting any type of gesture in your list item in android. Follow the instruction given below to achieve this functionality in you listview.  

This is the Class which you have to add in your activity  
  1. public static enum Action {
  2. LR, // Left to right
  3. RL, // Right to left
  4. TB, // Top to bottom
  5. BT, // Bottom to top
  6. None // Action not found
  7. }
  8. public class SwipeDetector implements View.OnTouchListener {
  9. private static final int HORIZONTAL_MIN*DISTANCE = 30; // The minimum
  10. // distance for
  11. // horizontal swipe
  12. private static final int VERTICAL_MIN_DISTANCE = 80; // The minimum distance
  13. // for vertical
  14. // swipe
  15. ...
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above "How to detect swipe left or right function on listview item in android". You can also learn much more about different programming technologies and can enhance your tech skills.  

Monday 7 December 2015

How To create Custom Checkbox and Radio Button Using Pure CSS

In this blog we are going to explain how to create custom checkbox and radio button using CSS. I have write CSS and HTML code separately, You can easily understand complete code. This blog is very useful for developers.

radio-checkbox-button  

CSS :-
  1. **/*Radio button*/
  2. .radio, .checkbox{display: inline-block;}
  3. .radio { padding:5px; margin-left:40px; }
  4. .radio input[type="radio"] { opacity: 0; position: absolute; cursor:pointer;}
  5. .radio input[type="radio"] + label { color:#555; line-height:25px; display:inline-block; text-indent:-38px; }
  6. .radio input[type="radio"]:checked + label > mark:before { content:' '; background:#0d7fbe; width:12px; height:12px; display:inline-block; margin:4px; border-radius:20px;}
  7. ......
  HTML : -
  1. <div class="radio">
  2. <input type="radio" name="id" id="id_0" value="x">
  3. <label for="id_0"><mark></mark> Yes</label>
  4. </div>
  5. <div class="radio">
  6. ......
Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above How To create Custom Checkbox and Radio Button Using Pure CSS. You can also learn much more about different programming technologies and can enhance your tech skills.

Sunday 6 December 2015

All You Need to Know about iOS Development


iOS, a mobile operating system, has become very popular among app developers due to skyrocketing rise in the numbers of people using iOS devices - iPhone, iPad, iPod touch and Apple TV. Most clients want to join the bandwagon of iOS development as Apple acquires a big chunk of market shares in the mobile platform. For developers, there are many online forums available, where they can learn about iOS development. In this article, I am going to shed light on various platforms available for iOS development and what impact it has on the technology world. Objective-C is the programming language used for iPhone app development, though a modern programming language, called Swift, is now also available to make your life as a developer much easier.

ios-developer

iOS Development Cycle

There are many factors a client needs to take into consideration before starting the project of an iPhone app development. First, try finding answers to a set of questions, like what your app aims at, why people would embrace it, what all features must be there to swoon people, etc. Such a practice removes a lot of hurdles that crop up in coding phase. A plethora of options are available to decide the kind of iOS app you want to develop, such as entertainment, health care, travel, lifestyle, fun & games, etc. As an iOS developer you need to use Xcode, an integrated development environment (IDE) for iOS software. Once you download Xcode, you get a suite of software development tools, like IDE, simulators, a gamut of frameworks etc, to build apps for iOS devices.

UI for iOS app

User interface of a mobile application has to be very attractive to encourage user engagement. UIKit, Core Graphics(Quartz 2D), Core Animation, Core Image and OpenGL ES are some of iOS’s many drawing systems used for designing a beautiful UI. It’s also important to understand how Model, View, Controller (MVC) works with Xcode, as it paves the way for faster development of iOS apps with user interfaces. Apple has already made available numerous APIs to access app extensions, Photos, Healthkits, Touch ID and many more to empower your iOS app with integration of advanced features.

IOS app Outsourcing

Choosing right company for iOS app development project is the matter of paramount importance for any client to ensure the app exactly delivers what it was intended for in the very beginning. Clients can also outsource their iOS development projects as it not only saves a lot of cost for them, but ensures development of immaculate apps as well since the work is taken by developers who have a great passion for mobile apps development. Many online project and task management tools are a great resource for clients to hire freelance iOS app developers, ensuring timely completion of projects without any compromise with quality. Along with that various resources for iOS developers are also available in the form of iOS developer forum that help to learn and resolve app development queries and as a result finest product is delivered from the development end.


Read more technology blogs at our highly specific C, Java, PHP, Javascript, android, iPhone developer forum .You can also learn much more about different programming technologies and can enhance your tech skills.

Friday 4 December 2015

How to Enable New Location Dialog from Android Settings API

Enable a system location dialog ,asking user that app needs to find the current location This dialog is from Android Settings API. Check the source code below.


 YodmG


  1.  public class LocationData implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {
  2. Context _context;
  3. Location latKnowLocation;
  4. static GoogleApiClient mGoogleApiClient;
  5. LocationInterface loIn;
  6. StartAct startAct;
  7. PendingResult result;
  8. //Location requests
  9. LocationRequest locationRequest = LocationRequest.create()
  10. .setInterval(10 * 60 * 1000) // every 10 minutes
  11. .setExpirationDuration(10 * 1000) // After 10 seconds
  12. .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
  13. LocationSettingsRequest.Builder builder;
  14. public LocationData(Context con) {
  15. _context = con;
  16. mGoogleApiClient = new GoogleApiClient.Builder(con.getApplicationContext())
  17. .addConnectionCallbacks(this)
  18. .addOnConnectionFailedListener(this)
  19. .addApi(LocationServices.API)
  20. .build();
  21. mGoogleApiClient.connect();
  22. //initialize the builder and add location request paramenter like HIGH Aurracy
  23. builder = new LocationSettingsRequest.Builder()
  24. .addLocationRequest(locationRequest);
  25. // set builder to always true (Shows the dialog after never operation too)
  26. builder.setAlwaysShow(true);
  27. // Then check whether current location settings are satisfied:
  28. result =
  29. LocationServices.SettingsApi.checkLocationSettings(mGoogleApiClient, builder.build());
  30. }
  31. // call back for other class
  32. public void callbacksResults()
  33. {
  34. // call backs for lcoation status
  35. result.setResultCallback(new ResultCallback() {
  36. @Override
  37. public void onResult(LocationSettingsResult result) {
  38. final Status status = result.getStatus();
  39. final LocationSettingsStates state = result.getLocationSettingsStates();
  40. switch (status.getStatusCode()) {
  41. case LocationSettingsStatusCodes.SUCCESS:
  42. // All location settings are satisfied. The client can initialize location
  43. // requests here.
  44. if(mGoogleApiClient.isConnected())
  45. {
  46. latKnowLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);
  47. }
  48. break;
  49. case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:
  50. // Location settings are not satisfied. But could be fixed by showing the user
  51. // a dialog.
  52. try {
  53. status.startResolutionForResult((Activity) _context, Constants.REQUEST_CHECK_SETTINGS);
  54. } catch (IntentSender.SendIntentException e) {
  55. e.printStackTrace();
  56. }
  57. break;
  58. case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:
  59. // Location settings are not satisfied. However, we have no way to fix the
  60. // settings so we won't show the dialog.
  61. break;
  62. }
  63. }
  64. });
  65. }
  66. // call back for other class
  67. public void callbacksResultsSplash()
  68. {
  69. // call backs for lcoation status
  70. result.setResultCallback(new ResultCallback() {
  71. @Override
  72. public void onResult(LocationSettingsResult result) {
  73. final Status status = result.getStatus();
  74. final LocationSettingsStates state = result.getLocationSettingsStates();
  75. switch (status.getStatusCode()) {
  76. case LocationSettingsStatusCodes.SUCCESS:
  77. .......
  Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above "How to Enable New Location Dialog from Android Settings API". You can also learn much more about different programming technologies and can enhance your tech skills.

Thursday 26 November 2015

Floating Label in Edittext with TextInputLayout Android Material Design

From 5.0 Lollipop version Android add some designing functionality with Material design. The one is Floating Label on Edit Text.
Before Material design EditText will hide the hint text after the first character is typed. But with the help of TextInputLayout hint text will animate to top of EditText.
Lets start implementing Floating Label on EditText.
1.Create new Android project in Android Studio.
2. Open Module gradle file.
3. Add below dependencies.
floating_image
- See more at: Floating Label in Edittext with TextInputLayout Android Material Design
You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Wednesday 25 November 2015

How to Install Fedora 23 Workstation?

fedora-linux


In this tutorial I will guide you how you can install Fedora 23 workstation on your system. If you have any previous version installed in your system then you can check the upgrade guide else follow the below steps.

Upgrade Fedora 22 to Fedora 23? 

first download the latest fedora 23 workstation images from the official website, here you have to choose the package which matches your system architecture or configuration. Use the below link to download workstation images

Fedora 23 Workstation Live Image

https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/i386/iso/Fedora-Live-Workstation-i686-23-10.iso

 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-23-10.iso


 Fedora 23 Workstation Netinstall Image https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/i386/iso/Fedora-Workstation-netinst-i386-23.iso


 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso  

Installation Process

I hope you have bootable media – USB Flashdrive or CD/DVD ready.
  1. After that plug in it usb port and boot it, while booting you will see 23 fedora screen.
Here you will find the option to start fedora live without installation you can go for it to directly run the installation wizard, or choose to install it to your hard drive..... ....Read Full Blog at - How to Install Fedora 23 Workstation?

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Tuesday 24 November 2015

ASP.NET MVC Do's and Dont's or Best Practices

Hello Friends, Asp.net MVC is now getting more popular day by day, So before dealing with MVC we need to understand some Do's and Dont's of it. This blog will help you to understand Do's and Dont's of ASP.NET MVC.



mvc.net    


ASP.NET MVC Do's and Dont's / Best Practices
  1. Old Version of JQuery and Third party references. While adding any third party tool like KendoUI, Angular js or even simple JQuery files sometime we won’t add latest references for them which creates issues at later stage or somewhere having performance issues. Try using updated reference for these files.
  2. Bundling and Minification Bundling is a simple logical grouping of files that could be referenced by unique name and loaded with single http requestor, Basically it reduces the number of individual HTTP requests to server. Where as Minification is a process of removing unnecessary whitespace, line break,comments and other unnecessary characters including long variables name renaming to shorter like “EmployeeFirstName” to “e”, from code to reduce its size thereby improving load times.
  3. Don’t use “magic strings” Dont use ViewData[“key”], but always create a ViewModel per each View, and use strongly-typed views like:- ViewPage< ViewModel>.
  4. User Base Controller Enforce your own Base Controllers (having security and other settings) to inherit from all controllers.
  5. Delete the sample code which is not needed Most of the application still have these code file which we never use and it’s a bad practice to keep demo code in your applications.
  6. Put all validation logic in the model. In MVC we preferred DataAnnotations for validation. These annotations are added as attributes to the properties of....
See more at: ASP.NET MVC Do's and Dont's or Best Practices You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Monday 23 November 2015

Adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call

In this blog we are explaining how to adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call. We have explained with complete code and steps.


 jqtree-jquery-tree-plugin


There might be a case where user wants to add data to jqxtree on click of each individual node. Below is the code which help us to achieve the above functionality where user can get data from JSON file or database on click of each individual tree node , depending whether parent have child nodes or not. Check below code.
  1. <script type="text/javascript">
  2. $(document).ready(function () {
  3. var theme = "";
  4. // Create jqxTree
  5. var tree = $('#topictree');
  6. var source = null;
  7. $.ajax({
  8. async: false,
  9. url: "topic.php",
  10. success: function (data, status, xhr) {
  11. source = jQuery.parseJSON(data);
  12. }
  13. });
  14. tree.jqxTree({ source: source, theme: theme, height: 600, width: 400 });
  15. .....
Read full blog at- Adding data to jqxtree dynimacally on click of nodes of a tree using AJAX call .

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Thursday 19 November 2015

How to create reports using Base Report Designer and OpenOffice in OpenErp

openerp-logo

Creating reports in OpenErp using OpenOffice is the easiest way. Just need to follow simple steps:
  1. Download base_report_designer module from the web or https://www.openerp.com/apps.
  2. Add to the addons and install the module.
  3. Open OpenOffice 3 and create a text document. Go to the Tools menu when you first configure this module in the OpenOffice, and select Extension Manager. Check for openerp_report_designer.zip, if it is there it is okay, else click add and locate the path of the opener_report_designer.zip file, and OpenErp Report Designer Menu is added to OpenOffice.
  4. Select Server Paramenters from the OpenErp Report Designer menu. Fill in the details in the pop up box as follows:
Server: localhost
 Port: 8069
Protocol Connection: XML-RPC, and click Next.

Choose the database you wish to connect, enter the login name and the password of your database. Click Connect. You can start creating your report now.

 5. Read Full blog at How to create reports using Base Report Designer and OpenOffice in OpenErp

You can check more Open ERP blogs at FindNerd. Apart from that you can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development

Wednesday 18 November 2015

How to Import CSV File Data into Mysql

Hi, In my previous post I have explained about “How to Export MySQL table data to CSV File using PHP”. Now in this tutorial I am going to explain how to import CSV data file into mysql. Suppose that we have a CSV file with 3-4 entry, we can easily upload data into mysql manually, If we have a large CSV(Comma Separated Value) data file sheet and we want to upload CSV file data manually in the mysql table then it will be a very time consuming task.

import_csv_data

 I am going to explain in very easy way how to import CSV file data easily and without consuming time, You just need to follow all steps  

Step 1- (Connection.php) First of all we need to create database and connect . Below is PHP database connection file.
  1. <?php
  2. $db = mysql_connect("Database", "username", "password") or die("Could not connect.");
  3. if(!$db)
  4. ...
  Read Full Blog at : How to Import CSV File Data into Mysql

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Tuesday 17 November 2015

Form Validation Using PHP

PHP-Form_Validation  
What is form Validation ?

This is the process to validate web form according to our data format, when the user try to submit wrong data in the field, server will not submit wrong data because we have restricted(validate) the all field according to our required data format. The validation can be done in PHP where developers set some rules. For example: If the name field is blank, then the code will take the user back to the form and display an error message.

 HTML Form : This the HTML form, I have used in this form four field text box, radio button, textarea and Submit button. Please check below code.
  1. <html>
  2. <h2> PHP Form Validation Example </h2>
  3. <p><span class="error">* required field.</span></p>
  4. Name: <input type="text" name="name">
  5. <br><br>
  6. E-mail: <input type="text" name="email">
  7. <br><br>
  8. Website: <input type="text" name="website">
  9. <br><br>
  10. Comment: <textarea name="comment" rows="5" cols="40"></textarea>
  11. ....
Read Full Blog at: Form Validation Using PHP 

 You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.  

Monday 16 November 2015

C++ Interview Questions and Answers Part-1

C_plus_plus.svg

 In this tutorial, We are providing you C++ questions and answers. The content here will help all the Freshers as well as experienced people to get through with their interviews for software industry on campus or off campus. For any person who wants to get into an IT industry is expected to have the basic knowledge of these programming language ,i.e, C and C++ ,as most of the universities and colleges have C or C++ as a part of their curriculum. Whether a Fresher or an experienced, the interviewer hits atleast few questions based on C or C++ concepts to them. One common factor in the fresher interview is that there are few questions that has been repeatedly asked over years. Therefore, we have accumulated few questions and related answers based on C++ concepts and programming for freshers and experienced,both.Go through them,develop an understanding towards it.This will surely help you out during your placements and interviews.
  1. What is difference between C and C++ ?

[Usually this is the first question that people face in their interview rounds. When you answer this question,don't give the text-book explanations.Rather supplement your answer with real software related examples. Answer for this interview question can include below points.]
  1. C++ is a kind of superset of C, most of C programs except few exceptions work in C++ as well.
  2. C is a procedural programming language, while C++ supports both procedural and Object oriented programming.
  3. Since C++ supports object oriented programming, it supports features like function overloading, templates, inheritance, virtual functions, friend functions. These features are absent in C.
  4. C++ supports exception handling at language level,but in C exception handling is done in traditional if-else style.
  5. C++ supports references but C doesn’t.
  6. In C, scanf() and printf() are mainly used for input/output.While C++ mainly uses streams to perform input and output operations. 'cin' is standard input stream and 'cout' is standard output stream.
  1. What is a class?

[Probably this would be the first question for a Java/c++ technical interview for freshers and sometimes for experienced as well. Try to give examples when you answer this question.] When we define any class, we are not defining any data, we just define a structure or.. Read Full Blog at : C++ Interview Questions and Answers Part-1  

You can check more informative blogs and tutorials at android development blogs section and can also browse the android developer forum for posting and viewing latest questions on android development.

Sunday 15 November 2015

How to perform spring file upload using streaming API

Spring is a framework which provides almost all types of functionality. Spring has feature to stream based file upload. Spring file upload is very easy and maintainable. Spring provides the api to upload file streams. Like java IO spring has some classes to process file streams. To let the spring framework work for you, you need some jars in your lib, put following code in maven pom.xml to fetch dependencies :

  1. <!-- Apache Commons FileUpload -->
  2. <dependency>
  3. <groupId>commons-fileupload</groupId>
  4. <artifactId>commons-fileupload</artifactId>
  5. <version>1.3.1</version>
  6. </dependency>
  7. <!-- Apache Commons IO -->
  8. <dependency>
  9. ...
  10.  
See Full Blog at: How to perform spring file upload using streaming API


You can check more informative blogs and tutorials at iphone development blogs section and can also browse the iphone developer forum for posting and viewing latest questions on iphone development

Monday 9 November 2015

How to insert data Value from an HTML form into MySQL Database

php_database 

In this blog I am going to explain how to insert data from html form into mysql. We have three steps for completing this process.
  1. Create HTML Form
  2. Create MYSQL Database.
  3. Mysql Database Connection and retrieve HTML form data into database.
  1. Create HTML Form :- First of all we need a HTML form where the data enter and insert to database. I am creating some text field, Here's a simple HTML form that has three text <input> fields and a submit button. This HTML form page check below.
Record.html
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Add Records Form</title>
  6. </head>
  7. <body>
  8. ...
Read Full Blog: How to insert data Value from an HTML form into MySQL Database

Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Sunday 8 November 2015

Website Development: 10 PHP Programming Mistakes Web Developers Should Avoid

In this article I am discussing 10 common mistakes developers must avoid while creating a website to aggrandize it with fast functionality and easy multitasking. PHP as a scripting language has gained immense popularity among web developers who strive to ensure that their websites are attractive and have a great functionality. It’s because of PHP that developers are able to create dynamic web pages. However, no matter how good a developer is, chances to make some common mistakes during website development are always high.

 php_developer  

1. Trivializing single quotes: Web developers find it it easy with double quotes to parse everything neatly. They, without a doubt, do not have to face hassles of fixing the issue of escaping characters and dot values, but single quotes play a big role in enhancing performance due to minimal processing. Processing of double quoted strings takes longer than single one as it has to read the whole string in advance to perform the task of detecting any variable inside. Server also works faster on single quotes since PHP is not obligated to read the whole string in advance.  

2. Avoiding use of database caching: Database caching plays a crucial role in increasing loading speed and limiting the use of resources required to load a page. Developers must be careful while implementing it and must have a proper maintaining caching system for the website.

 3. Misplacing semicolon: Well, developers are very well aware of the fact that each statement in PHP ends with a semicolon, which means end to an instruction. If a semicolon is...

 Read Full Blog : - Website Development: 10 PHP Programming Mistakes Web Developers Should Avoid

You can check more PHP Questions and Answers blogs in FindNerd. Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Friday 6 November 2015

Digital Marketing And Traditional Marketing- The Difference

digital and traditional-marketing


For ages, marketing has been the most important cog in the wheel of brand establishment, and with technology advancement, it has only become easier and more effective to reach out masses to market a product.

Many big companies have become what they are today by banking upon traditional means of marketing. However, everything in our universe evolves for betterment and acclimatize to tougher surviving conditions. Perhaps, digital marketing is the evolution of traditional marketing, especially in the era where everything is becoming digital, from shopping to watching your favorite movie on your smartphone.

It’s not a secret anymore that digital marketing has emerged as the next frontier of marketing. I am not saying that traditional marketing has become obsolete and won’t be required in future at all - all that I am saying is it’s time for digital marketing to become predominant. This article will tell main differences between digital marketing and traditional marketing to ...

Read Full Blog - Digital Marketing and Traditional Marketing- The Difference 
 
You can check more Open Digital Marketing blogs in FindNerd. Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Wednesday 4 November 2015

Angularjs difference between routeprovider and stateprovider

angularjs 

In this blog we have described the main differences between routeprovider and stateprovider in angularJS. Here you can learn the reason why to use ui-router over ngRoute becuase ui-router is used to enhance and to improve the capabilities of routing  

$route: This is used for deep-linking URLs to controllers and views (HTML partials) and watches $location.url() in order to map the path from an existing definition of route. When we use ngRoute, the route is configured with $routeProvider and when we use ui-router, the route is configured with $stateProvider and $urlRouterProvider. ngRoute - It is a part of AngularJs and was developed by Angular.js team.

 Syntax:
  1. <div ng-view></div>
  2. $routeProvider
  3. .when('/contact/', {
  4. templateUrl: 'app/views/core/contact/contact.html',
  5. .....
Read Full Blog : Angularjs difference between routeprovider and stateprovider

You can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.  

Monday 2 November 2015

Why Mobile Commerce Is Rising In Popularity

m-commerce

 In this blog we have described "Why Mobile is Rising in Popularity"Smartphones and tablets are increasingly becoming the medium of entertainment, shopping, social media engagement, gaming and many more. As users can carry smartphones anywhere, they like the idea of buying an item on the go they come across as a good deal.They don’t want to wait to get home and get online on their PCs to place the order as their is no guarantee that the product would remain in stock by that time. Moreover, shopping apps and websites are also so well designed that smartphone users can have clear view of products available from various retailers online, making them rest assured that what they see is exactly what they will be delivered at their doorstep.

6FLj7

Another factor that has turned to be a boon to Mobile Commerce (M-Commerce) is growing trust of customers for online shopping - secured payment gateways, reliability over no sharing of ...

Read Full Blog - Why Mobile Commerce Is Rising In Popularity

Apart from this you can also post and view c, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Sunday 1 November 2015

Benefits of an Online Invoicing Program for a Freelancer

Technology advancement has made it possible for many talented people across the globe to work as freelancers sitting at any corner of the world. Being a freelancer is often thought of pursuing a more relaxed lifestyle, but there are harsh, stark realities attached to the tag of a freelancer too. In this blog we have explained importance and benefits of online invoicing program for a freelancer too.



 online-freelancer-program

Tracking outstanding payments contribute the most to the woes of freelancers, apart from finding work of course. Many freelancers who are not sufficiently versed in bookkeeping and accountancy face the brunt of ineptitude at generating correct invoices and keeping a track of due payments. Such payment-related issues have adverse effects on work quality and efficiency of freelancers. Payment related issues force many freelancers to spend most of the time worrying about status of their outstanding payments. However, with technology all is not lost, ever. There are a few tools to help a freelancer take care of their invoices and payments. And as happens in most cases, paperless invoicing is the best way to ensure faster invoice generation and faster payment. You also do not spend time in agony if you have lost previous invoices for which payments are still due, since online invoice software keeps the ...

 Read Full Blog- Benefits of an Online Invoicing Program for a Freelancer

 You can check more informative blogs and tutorials at iphone development blogs section and can also browse the iOS developer forum for posting and viewing latest questions on iphone development.

Friday 30 October 2015

Front-end Development With AngularJS

angularjs 

Front-end development is basically a mix of HTML, CSS and Javascript used to create websites or web apps that allow users to have direct interaction.In this blogs We have explained all about front-end development with angular JS. Users grasp more information when they do not face hassles of slow pages and poor interfaces. The aim of front-end developers is to create a website that loads in the blink of an eye after a user types in the URL and presses enter. The website should further impress the user with its brilliant layout, well-constructed pages and impressive visuals.


saJPBpu90D5H8_PqCxZMWDQ

Now arises a question which is the best, trouble-free framework among Backbone javascript, Angular.js and Ember javascript to develop a website that paves the way for users to clearly read and understand information on the web. Well, Angular.js, since it came into existence, has gained immense popularity over other frameworks due to its unique and innovative features.

 Read Full Blog : Front-end Development With AngularJS

 You can check more Open ERP blogs in FindNerd. Apart from this you can also post and view C, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.  

Wednesday 28 October 2015

How to make the sale Order Double Validation in OpenERP/Odoo ?

In this blog we have explained about "How to make the sale Order Double Validation in OpenERP/Odoo" and how to install module in OpenERP.This blog is very helpful for developer you should read this. Create a Dynamic View in OpenERP/ ODOO
Sales module OpenERP is utilized to manage Sales from OpenERP. In OpenEPR v7, when a sale is engendered, Utilizer have the option to attest the sale to engendered invoice and/or distribution order predicated on the configuration take in the sale order.

 In some rigid, we have an intermediate stage of Approbation in sale order. Ahead the sale order is corroborated, it should be approved by another higher ascendancy. In most of the cases the approbation power depends on the approbation limit set for each utilizer. This facility is currently available in purchase by installing purchase_double_validation module. In purchase..

Read Full Blog :How to make the sale Order Double Validation in OpenERP/Odoo ?

You can check more Open ERP blogs in FindNerd. Apart from this you can also post and view c, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd’s community forum.

Add/Delete group price in magento pro-grammatically

In this blog we have explained how to Add/Delete group price in magneto pro-grammatically. We have described in this blog step by step process with complete programming(code). You can easily understand how to use in magneto. Please follow all steps. add-delete 1- Load product by Sku or Id -
  1. $u_product = Mage::getModel('catalog/product')->loadByAttribute('sku', $sku);
2 - Delete group price
  1. $u_product->setData('group_price',array());
  2. $u_product->save();
  3. ....
Read Full Blog : Add/Delete group price in magento pro-grammaticall Apart from this you can also post and view c, PHP, JAVA, HTML, iOS and Android questions and answers at FindNerd's community forum.  

Tuesday 27 October 2015

Tutorial to build a website in Odoo

In this blog we have described step by step process how to build a website in Odoo. You can check related blogs on website development in odoo at http://findnerd.com/NerdDigest/OpenERP.  

Step-1 Go to Settings->Modules->install Website Builder Module.

website1  


Step-2 Go to website Menu -> Click on Content button.


website2  

Step 3 Read Full Blog : Tutorial to build a website in Odoo

Apart from that you can check more informatics and technology blogs related C, PHP,Java, Android, HTML and android , also you can ask questions at android developer forum and get answers instantly from the experienced community members.

Wednesday 21 October 2015

XMPP Integration Using iOS SDKS

If you want to add chat functionality in your iOS app . Then this blog can help you to do some basic chat functionality. Such as creating xmpp session , login on sever, creating room, getting list of login buddies and chatting.
First step download the XMPP framework from the following link :
https://github.com/robbiehanson/XMPPFramework
call this function to start and setup xmpp stream
 
  1. -(void)startXMPP:(id)viewController{
  2. [DDLog addLogger:[DDTTYLogger sharedInstance]];

  3. // Setup the XMPP stream
  4. NSLog(@"XMPP new method called");
  5. self.delegate=viewController;
  6. [self setupStream];
  7. if (![self connect])
  8. {
  9. dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 0.0 * NSEC_PER_SEC);
  10. dispatch_after(popTime, dispatch_get_main_queue(), ^(void){

  11. });
  12. }

  13. }
- Read the full Blog at : XMPP Integration Using iOS SDKS
Our Java developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.
Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s  Php questions and answers forum.

Tuesday 13 October 2015

How to Add and Remove items in array using AngularJS

With the help of Angularjs, We can dynamically add or remove list items in an array. It is shown In the example given below. Addition of the list items is done using 'push' method and removal of the item is done using “splice” method. Controller-

<div><input type="text" value="ItemName" placeholder="name of new item..." />
<button>Add Me</button>
<ul class="nav">
    <li id="item{{item.id}}"><a href="#">{{item.title}}</a> <a class="delete-item">x</a></li>
</ul>
</div>

'push' Method-

- Read the full Blog at: How to Add and Remove items in array using AngularJS.

Our Php developer forum forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers.