Showing posts with label and. Show all posts
Showing posts with label and. Show all posts

Thursday, March 12, 2015

Enhanced object properties in the PHP and Ruby libraries

The newest versions of the Google Calendar API and Google Tasks API use JSON as their data format. In languages like PHP and Ruby, it’s simple to turn a JSON object into something that can be easily read and modified, like an associative array or hash.

While creating and modifying hashes is straightforward, sometimes you want a true object and the benefits that come with using one, such as type checking or introspection. To enable this, the PHP and Ruby client libraries can now provide objects as the results of API calls, in addition to supporting hash responses.

Ruby gets this for free with the latest version of the gem. For PHP, you have to enable support in the client instance:
$apiClient = new apiClient();
$apiClient->setUseObjects(true);
The following examples for PHP and Ruby retrieve an event via the Calendar API, and use data from the new resulting object:

PHP:
$event = $service->events->get("primary", "eventId");
echo $event->getSummary();
Ruby:
result = client.execute(
:api_method => service.events.get,
:parameters => {calendarId => primary,
eventId => eventId})
print result.data.summary
If you have general questions about the client libraries, be sure to check out the client library forums (PHP and Ruby). For questions on specific Apps APIs come find us in the respective Apps API forum.

Dan Holevoet   profile

Dan joined the Google Developer Relations team in 2007. When not playing Starcraft, he works on Google Apps, with a focus on the Calendar and Contacts APIs. Hes previously worked on iGoogle, OpenSocial, Gmail contextual gadgets, and the Google Apps Marketplace.

Read more »

Saturday, February 28, 2015

Thwarted Innovation What Happened to E learning and Why

Link to Report (By Robert Zemsky & William F Massy)
Abstract: "The Thwarted Innovation report suggests that educational technology and e-learning have not delivered on the promise of revolutionizing the classroom and making higher education more profitable. It suggests that, despite the rapid growth in the US of online education, many teaching staff at colleges do not use innovative technology on their courses, and that not much benefit has been gained from the investment in educational technology. E-learning was studied at six institutions: Foothill College, Hamilton College in New York, Michigan State University, Northwest Missouri State University, the University of Pennsylvania, and the University of Texas at Austin over a 15-month period for the report.
The Learning Alliance includes higher education research centers at Stanford University, the University of Michigan, and the University of Pennsylvania. The report is 61 pages long (excluding title pages and appendices)."

Read more »

Friday, February 27, 2015

Creating and Testing T L Strategies for the Virtual Classroom

Link to article (By Nancy E. Thompson)
Full Title: Creating and Testing Teaching/Learning Strategies for the Virtual Classroom "...the purpose of this study is to define and describe teaching/learning strategies for use in distance education, use those strategies in designing distance education instruction, and test their effectiveness. Three theoretical frames were used in the creation of the strategies: adult educational theory; brain-based educational theory; and the Effective Distance Education Model."

Findings:
  • Teaching/learning strategies developed within a theoretical frame of adult education, brain-based education and the Effective Distance Education Model can be effective when used in the virtual, graduate classroom.
  • Inexperienced instructors need additional help to succeed, and therefore should go through induction programs, which consists of training, support, and sustained feedback in a collaborative environment.
  • Training sessions should be designed to acquaint the teacher with distance education teaching strategies.
  • It is recommended to pair the new teacher with an experienced teacher to provide the new teacher with a role model, friend, advisor, and confidante (mentor).
  • Encourage the role of reflection in the development of teaching skills as teachers learn to know themselves and view themselves through the eyes of their students, their colleagues, and the professional literature (e.g. video tape the instructor and review, periodic assessments of the teacher by students, participation in informal professional-development groups, and study professional literature.)
Yes, there is a lot to learn from this article! Induction programs, mentoring, and continuous support to new and inexperienced teachers in any educational institution could covert them into great virtual teachers (within a very short time. Say, two (2) months! Trust me!).


Read more »

Sunday, February 15, 2015

Inter panel communication in pentaho CDE ClickAction and Listeners usage in pentaho CDE

Hello guys,
This post will teach you how to communicate the panels in pentaho CDE dashboard.

Example Scenario :
Panel 1 : BarChart is placed in panel-1
Panel 2: Table data displayed in panel-2
Functionality : When you click on any of the bars, then the corresponding data should be displayed in 2nd panel. i.e., Make use of parameters, clickAction property, Listeners.

Example Developed on :
Pentaho 5.0 CE server
Pentaho C-Tools version : 13.09
Database : postgresql-foodmart( jasper food mart database)

Steps:
 1) Create parameter (Lets say : param1_position_title)
2) Add it to listeners & parameters in your table component.
3) Add it to parameters in your data source for table query
    Example:
   SELECT
        employee_id,
        full_name,
        position_id,
        department_id
  FROM
        employee
  WHERE
        position_title=${param1_position_title}


4) Add to parameters in your chart(bar chart).

5)  BarChart query example:

SELECT DISTINCT
    position_title AS position,
    sum(salary) AS salary
FROM employee
GROUP BY position_title


6) In the chart properties
clickable = True
clickAction
 function fun()
 {
     Dashboards.fireChange(param1_position_title, this.scene.atoms.category.value);
 }

 NOTE:
It is like drill down with in the same dashboard, but here we make use of  Dashboards.fireChange function. 

OUT Images:

Image-1

Image -2 

Source code of this example is available here  Click here

Reference :
http://forums.pentaho.com/showthread.php?155487-Inter-Panel-Communication-in-Pentaho-CDE
http://forums.pentaho.com/archive/index.php/t-144148.html

:D :) :P
Read more »

Tuesday, February 10, 2015

C program to add subtract multiply and divide two complex numbers using structures

C++ program to add, subtract, multiply and divide two complex numbers using structures

#include<iostream.h>
#include<conio.h>
#include<math.h>

struct complex
{
float rel;
float img;
}s1,s2;

void main()
{
clrscr();
float a,b;
cout<<"Enter real and imaginary part of 1st complex number:";
cin>>s1.rel>>s1.img;
cout<<"Enter real and imaginary part of 2nd complex number:";
cin>>s2.rel>>s2.img;

//Addition
a=(s1.rel)+(s2.rel);
b=(s1.img)+(s2.img);
cout<<"
Addition: "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";


//Subtraction
a=(s1.rel)-(s2.rel);
b=(s1.img)-(s2.img);
cout<<"
Subtraction: "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";


//Multiplication
a=((s1.rel)*(s2.rel))-((s1.img)*(s2.img));
b=((s1.rel)*(s2.img))+((s2.rel)*(s1.img));
cout<<"
Multiplication: "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";


//Division
a=(((s1.rel)*(s2.rel))+((s1.img)*(s2.img)))/(pow(s2.rel,2)+pow(s2.img,2));
b=(((s2.rel)*(s1.img))-((s1.rel)*(s2.img)))/(pow(s2.rel,2)+pow(s2.img,2));
cout<<"
Division: "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";


getch();
}
Read more »

Wednesday, February 4, 2015

Free Learn Complete Adobe Photoshop 7 0 in Urdu and Hindi Language

Free Learn Complete Adobe Photoshop 7.0 in Urdu and Hindi Language


Adobe Photoshop 7.0 software is the expert render modifying standardized, allows you fulfil statesman effectively, discover new proud options, and create the finest top quality pictures for the Web, and anywhere added. Head remarkable visuals with easier attain to line information; organic Web organisation; FASTER, professional-quality icon retouching; and writer. Brick distiller 7.0 Brick Adobe Photoshop 7.0 allows you edict capitalist with astounding resources that birth new ways to present your ability and execute effectively. With Adobe Photoshop 7.0, you can author quickly generate important visuals for make, the Web, wireless devices, and new media. Adobe Photoshop 7.0 units out its general modifying projects in the most underspent way. With built Web features, you can instantly work Website elements bright just by thumping out one or many flag; create dithered transparencies; deal Website rollovers and animations; and chassis more fulgurous Web rollovers. Omnipotent new resources serve you discover your creativeness without boundaries so you can statesman quick fulfil the Multi-media requirements of the tell mart. Imitate tralatitious artwork techniques (including pastels and grayness) with dry and wet running personalty and much statesman.

In This Course you can Free Learn Complete Adobe Photoshop 7.0 in Urdu and Hindi Language (Basic to advanced Level) with Video Tutorial. You can also learn to Work on Default Tools, Text Effect, Default Filter and Blending.Following are the topics you just click on the topic and Learn Adobe Photoshop easily through Videos.



Complete Tutorials ( 20 Videos)







Note: All videos are hosted on YouTube.com, so if you are in Pakistan then first open YouTube and then watch these videos.



Read more »

Tuesday, February 3, 2015

Archos 70 Titanium Custom Rom Flashing Tips and Tools

Archos 70 Titanium 

Rockchip Rk3066

Flashing Tools , Tutorials and Custom Rom




tabletrom.blogspot.com
Logo is property of  Respective Owners. 


Wiki

Read article about Rockchip CPU on Wikipedia 


Knowledge base :

What board ID , Tablet CPU Chip ,Firmware Number does my Tablet have ? 
Frequently Asked Question about Android Tablets 

When I need to Restore or Reset  my Android Tablet Pc?


1. Forgotten Pattern Lock . 
2.Too many pattern attempts / Reset user lock.
3.  Tablets PC stuck on Gmail account.
4. Android Tablets PC stuck on Android logo.
5. Tablet Android  hang on start up / Multiple errors generating by OS. 
6. Android Market  having problems or generating errors. 
7.Upgrading to new Android OS.
Instructions: 

you can use this Android Tablet firmware,  Stock ROM to restore your Android China tablets to generic firmwares or upgrades . Make sure to charge battery . Power failure during flashing may result dead or broken tablets.
.
Note : Flashing generic tablet firmware should be last option.

Flashing Tutorials :


Read Before : Flashing Tutorial for Rockchip 
Download Flashing Instructions : PDF


Drivers for Rockchip:


Download Drivers for Rockchip tablets


Flashing Tools:

Download: RKbatch Tool

Recommended  Tools:

you can also use:Android Tools for Rockchip Tablets

you can download custom firmware by the developer web visit http://www.rockchipfirmware.com/ .
Rooted Firmware.Jellybean 4.1
Author: Arctablet.
CWM Recovery:  Not built in 




Read more »

Sunday, February 1, 2015

PHP MySQL and Web Development in Urdu



Download Free PDF Book or read online Urdu tutorial book "PHP, MySQL Aur Web development" by Shakeel Mohammad Khan. If you want to become a web developer than you must learn PHP as PHP is a part of web development course and through this Free PDF Book you can easily learn PHP, MySQL in Urdu language very easily. The author of this Free PDF Book "PHP, MySQL aur Web Development", Mr. Shakil Mohammad Khan has tried his best to teach you the concept of PHP and MySQL in Urdu language. This Free PDF Book is a class wise book and there are 22 classes in this book, if you are hardworking then you can easily learn PHP in 22 to 30 days. If you want to learn PHP then you should learn Html first becuase Html is necessary for PHP course. You can easily learn Html course in maximum 10 days. If you want to learn Html first then download Html Urdu course book from HTML and XML in Urdu.
 Download Link

Read more »

Thursday, January 22, 2015

Hard Reset your Samsung Galaxy S4 mini i9190 and remove password pattern lock gmail account

Check out this tutorial for Samsung Galaxy S4 mini i9190 to hard reset your phone. You can try this tutorial with other Samsung Galaxy S4 mini. But I cannot guarantee that If this procedure will work.



Hard resetting / factory resetting your phone will solve the following issues:
1. If you forgot your pattern lock
2. If you forgot your gmail account
3. If you forgot your password
4. Apps that automatically force closing
5. Stuck in Logo (sometimes does not work if the firmware is totally damage)

NOTE: Performing hard reset will erase your data.

To hard reset:

1. Turn off your phone
2. Press and Hold VOLUME UP + Home Button +Power Button simultaneously. Do not release until you see "RECOVERY BOOTING" in the screen.
3. Just wait until you see the Android System Recovery
4. Select wipe / factory reset, press Volume rocker to navigate and press the POWER Button to confirm your selection.
5. Reboot your phone.

Note: Some variant of Samsung Galaxy S4 Mini does not show recovery booting. So if you see the Samsung Galaxy S4 Mini Release the buttons

Note: If performing hard reset did not succeed, you need to wipe the cache first in the android system recovery before performing wipe / factory reset.

I hope this tutorial helps you.. If you have any question just drop a comment.
Read more »

Monday, January 19, 2015

Android beginner tutorial Part 4 Running and debugging applications

Today well learn how to run and debug our application.

There are two ways to run our Android application - using an emulator, and using a real Android device that is connected to the computer.

First Ill explain how to install and run the application on a real Android device. Connect your device to the computer using a USB cable. You might need to install proper device drivers to do this correctly. Take your phone/tablet, launch Settings > Applications > Deevlopment, then make sure USB debugging item is checked.

Open your project in Eclipse, then in the menu select Run > Run. A window will pop up asking you to select a device or an emulator. Select your device, and click OK. Your application will be installed and launched on the device! By default its a simple screen with "Hello World" written on it.

Youll also find your application in the menu of your device, with the icon and title youve set. You can launch it from there as well.

The second way to run an application is using an emulator. Go to Window > Android Virtual Device Manager in Eclipse. Hit New, set the name and settings for your virtual device. Youre free to play around with the settings, if something is entered incorrectly - you will be informed of the error. When youre done, click OK.

You can now see your device in the list of the Android Virutal Devices tab in the dialog window. You can start it now by selecting it and hitting "Start". Youll have to wait for the system to boot on the virtual device before you can use it. Then you can look around the phone/tablet almost like its real.

Then go to Run > Run, and select the virtual device you have to launch your application there. If you didnt start your emulator before, you can do it here by ticking "Launch a new Android Virtual Device" radio button and then selecting the AVD.

And thats all you need to do to launch your application!

However, when developing programs, you might need more advanced debugging tools than just an error console.

There are 2 ways to debug Android applications in Eclipse - one is using the java debugger, the other one is using the DDMS (Dalvik Debug Monitor Server).

To use the java debugger, open Eclipse and go to Window > Open Perspective > Debug. Youll find a new button in the top right sector of the Eclipse IDE window labeled "Debug", located near Java button.

Launch your application if it isnt already launched on either your real device or an emulator, and youll see some activity taking place in the left section of the debug screen. You can select items there and manipulate things like Variables on the right side of the screen. If its just a simple application like our Hello World, there wont be much to do (or there wont be anything at all to debug).

The Debug feature includes Variables, Breakpoints and LogCat, which are tools that you can use to see values of variables, breakpoints, as well as system log messages in real time.

The Dalvik Debug Monitor Service is a tool that is included with Android SDK and is not present in Eclipse by default.

It can be launched the same way - Window > Open Perspective > DDMS. Youll quickly see that its more advanced than the standard Debug tool and includes more features. It gives you control of many Android-related objects and processes. You can even explore the files of the device. Its rather complex for me to explain all of its features, I suggest you head over to the official documentation page for DDMS if you want to explore all of its features.

And thats it for this tutorial!

Thanks for reading!
Read more »