Tag Archives: Windows 7

Android geo google maps .

You need to take a look under this Google Maps Intents .
Start your project under Androi Studio or AIDE.
The source code will need to know come into this two files :
The AndroidManifest.XML file:
<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mycompany.myapp” >

android:theme=”@style/AppTheme” >
android:label=”@string/app_name” >
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />

The MainActivity.JAVA file:
package com.mycompany.myapp;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;

public class MainActivity extends Activity
protected void onCreate(Bundle savedInstanceState)
Intent i = new Intent(android.content.Intent.ACTION_VIEW);
The result it’s this screenshoot.

Posted in All, Android, Programming. Tagged with , , , , , , .

Android send mail with android mail setup.

I used AIDE development tool under my phone.
The main reason was : this IDE come with a simple default project.
The Android Studio can you give yourself a headache…
The AIDE will make all your files under your project.
I named my project MyAppMailSend with MainActivity.
So the java class will be MainActivity – public class MainActivity extends Activity.
Also I used Intent named ig .
Under XML files I need to put intent-filter and all @string , @drawable and @style.
The AndroidManifest.XML file :

<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mycompany.myapp” >

android:theme=”@style/AppTheme” >
android:label=”@string/app_name” >
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />


Under this path MyAppMailSend\app\src\main\java\com\mycompany\myapp you wil have this file MainActivity.JAVA:

The \MyAppMailSend\app\src\main\res\layout\main.XML file:

<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”

android:layout_height=”wrap_content” />


Posted in All, Android, Programming. Tagged with , , , , , , .

Make low poly fir tree with Blender 3D.

This will be the final result of this tutorial, I hope you will find this helpful.
First, open and save the scene with the name fir-tree or named it with your file name project.
The next step is to remove the default cube with Delete key or X key and press Enter key to remove it.
Press Shift + A keys and select from Mesh – Cylinder.
The see if you have the this Panel in the left of the screen. If is not just press T key to make it visible ( working like on / off swich). Change the number of the vertices to 8, see the next image:
Now will need to have a Front Orto view, so press key 1 and 5 from Numpad ( you need to have Num Lk on).
Press G+Z keys and move the cylinder up to red line ( this means the cylinder it’s under x-y 0,0 horizontal plane).
Press Tab key – this will allow you to edit this object. Press A to deselect the vertices and Z – this allow you to select the back size with vertices.
Select with B key the bottom of this cylinder and press G + Z . Move this selection to make the height of leaf litter.
Press S and scale this selection to make the top of the tree.
Press Ctr+R and after press 5 to make 5 sections – press Enter key or left mouse button. Then press A key to deselect this.
For each section of the tree will make same changes.
First , move the mouse on the first area of the top selection and press Ctr+R – will see another color line , move this to the bottom and press Enter key – the limit will be the top of the next section. Press S key and scale this selection.
See the next screenshot:
After we make this changes for all sections will go to the next step.
This is a bit difficult. You need to select with Alt key and right mouse button and then with Shift key – this will make the old selection – all this rings , see the next image:
With this selections press G and Z key and move to the bottom like in the next image:
Press Z key and Tab key to go to the Object Mode. Click on the material and press New button.
Press on Diffuse material , and select green color and darkness like this:
The last step is to make the the tree’s trunk.
Add one new cylinder , scale it , move it under the first cylinder. Make one brown material for tree’s trunk.
Select Camera position to see the tree when press the 0 key from NumPad and press F12 key to render it.
You can also try to change the subject. You will gain the skill and accuracy with time.

Posted in 3D, All, Blender 3D. Tagged with , , , , , , , , , .

LINQ and LinkPad – part 001.

LINQ stands for Language Integrated Query and enadbles us to query any type of data store, like SQL Server , XML documents, Objects in memory etc.
You don’t need to know the syntax specific to data source because LINQ enables us to work with different data source.
The great goal is that it provides intellisense and compile time error checking.
If we development one application and this working with databases , xml documents and / or in memory objects then we can use LINQ.
LINQ query can be using any .NET supported programmiing language, because LINQ component between the LINQ query and the data source.
LinqPad tool can be downloaded for free from here.Now I help you to learn , write and test LINQ.
Today I will try to use C# with LinqPad.
LinqPad help you to under C# to make it converted to Intermediate Language (IL) which is also known as Microsoft Intermediate Language or Common Intermediate Language.
If you try to use LinqPad without source code then the oonly error under C# will come into C#Statement : ; expected
Press F4 button then press Add button (Query Properties ) and type WindowsBase.dll (Add Custom Assembly References – window) then press Ok button.
Let’s test all. Wrote this example and under Results tab click under IL.

Example 1
C# Expression

Result IL

Example 2
C# Statement

Result IL:

this can a little dizzy for you but will come with future details.

Example 3
C# Program

Results IL :

This examples will show us the results over IL.
Using LinqPad with assemblies .NET .
Under C# the most simple DLL example can be:

If we wrote into LinqPad under C# Statement and then run it.

Console.WriteLine(“tutorial LinqPad -001”);
… the result will be :

The next step is to create one new file into our C# project named Test.dll with this source code:

If you parse this code you will see under call I need to add this :

This is just one simple example about LinqPad.This software it’s very good when working with SQL , ASP , data , arrays.
To make the DLL file you need this : ilasm.exe
Run the command under cmd.exe:

The result will be: Test.dll .
Let test it:
Make another file with notepad , named DllTest.cs and put this source code:

Use cmd.exe to complile this into exe file format :

If you run this using cmd.exe the the output will be:

Posted in All, C#, Programming, Windows 7, Windows 8. Tagged with , , , , , , .

News: Notepad++ 6.7.4 Je suis Charlie edition .

The Notepad++ team come with one new version named : Je suis Charlie.
The main reason : The Notepad++ official site was hacked on 12th January 2015, due to its controversial new version 6.7.4 “Je suis Charlie” edition, released on 10th January 2015. The site was restored on the same day.
This great editor can be test it now with this edition.
Some new features and bug fixes:

  1. Add ghost typing feature: launch Notepad++ with the auto-typing text from command line (via command line with argument -qn, -qt or -qf).
  2. Fix auto-insert bad behaviour : under some condition typing ” or ‘ makes erase the further ” or ‘.
  3. Fix the crash issue while user Ctrl + double click on an empty document.
  4. Fix crash bug on loading dropbox settings.
  5. Show progress window instead of a static window during FindInFiles and ReplaceInFiles.
  6. Filename rendered incorrectly on tab bar while it contains ‘&’ character.
  7. Make highlighting (if enabled) follow typing for Incremental search, and add several Incremental search enhancements.
  9. Make keystroke ENTER trigger the shortcut editor dialog in Shortcut Mapper.
  10. Allow drop files onto doc switcher and other side panels.
  11. Installer remembers user’s choices of last installation.
  12. Fix Auto-indent in new code block not respecting current EOL bug.
  13. Restore focus to editor when a panel is closed.

Freedom of expression is like the air we breathe, we don’t feel it, until people take it away from us.

For this reason, Je suis Charlie, not because I endorse everything they published, but because I cherish the right to speak out freely without risk even when it offends others.
And no, you cannot just take someone’s life for whatever he/she expressed.

Hence this “Je suis Charlie” edition.
You can download this from

Posted in news. Tagged with , , , , .