Archive

Archive for the ‘Developing’ Category

Android AVD not started, Wrong path

September 7th, 2012 No comments

I installed Android SDK in Windows and added new Virtual Device, but when i run that image i get this error

Starting emulator for AVD ‘ATOM’
PANIC: Could not open: C:\Documents and Settings\Zaher\.android/avd/ATOM.ini

I looked up to my images i found it in

D:\users\zaher\.android

After searching on internet i found the solution

http://code.google.com/p/android/issues/detail?id=19084#c14

Add new envirement  ANDROID_SDK_HOME and set it to your real path that include .android like this

D:\users\zaher\

And have fun.

Lazarus 1.0 Release

August 29th, 2012 No comments

The Lazarus team is glad to announce the release of:
Lazarus 1.0

The release is available for download at the SourceForge download page:
http://sourceforge.net/projects/lazarus/files/

This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0

The list of changes:
http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes

For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at:
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization)
http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
and
http://mirrors.iwi.me/lazarus/

Categories: Developing Tags: , , ,

Messages MsgBox in MiniLib

October 17th, 2011 No comments

We finished adding MsgBox.pp and GUIMsgBox.pp in minilib

Both units for Pascal language, FreePascal and Lazaurs, but not worked for Delphi (sorry :P ).

Only you need to add MsgBox to your uses in the unit to use it, but you need to add GUIMsgBox once in the whale project, or it will work as console application.

Useing by call Msg.Yes or Msg.OK for example, there is many other calls, like Msg.Input or Msg.Password to ask for password.

If  you not use GUIMsgBox for Lazarus, it will work as console or you can switch to console even if GUIMsgBox is used, by calling Msg.Switch(‘CONSOLE’);

Msg.Yes(‘Do you want to save?’)
Mean Yes/No but the default button is Yes

 

Msg.No(‘Do you want to save?’)
Mean Yes/No but the default button is No

 

Windows users, do not use AutoCrlf in git

September 20th, 2011 No comments

If you are using git to fetch or modify your codes on Windows, do not enable this feature.
If it is enabled, the source code fetched as CRLF and commited as LF, that was good, but most of editors handle (Unix EOL) LF, so you not need to fetch it as (Window EOL) CRLF.

If you are like to use LF in your PHP code in windows and keep it as it in the original code repo, do not enable it.

If you already enabled it, do not change before commit your work and push it, after that, change it to false, then revert all your code, git now fetch the files as LF.

EOL = End of Line.

Categories: Developing, General Tags: , , ,

We started new project MiniEdit

March 31st, 2011 3 comments

We started the new project MiniEdit based on old one LightPHPEdit but on Lazarus/FreePascal to make it work on Linux.
MiniEdit is open source editor, simple and fast one work as portable application.
It is editor with code highlighter made for PHP but i work on it to use Pascal projects, so it need time to make it.
Now i am working on addons for it (internal addons) to integrate Debug and SCM(SVN and GIT) tools.

you can download the source from github.com

https://github.com/parmaja/miniedit

ANN: minibidi.c was ported to minibidi.pp

December 20th, 2010 No comments

We have ported the minibidi.c to FreePascal minibidi.pp with some modifications to be workable with Pascal, in minilib project.

This file process the Unicode Arabic characters to make Joining/Shaping and make it Right To Left readable, in another hand it is prepare the string variable (widestring) to be printed in Right To Left, it is like FriBidi but more simple and in Pascal.

The original file written by Ahmad Khalifa from arabeyes.org, i published it with same license.

Also we port cp864 CodePage and added to unicodes directory, it is useful to convert a Unicode string (widestring) to that old code page cp864.

cp864 used by most POS printers (thermal) and Customer Display, now with minibidi.pp you can proceess the string to be printed in Right To Left order and then convert it to cp864 codepage then print it to ESCPOS printers.

This an example how to print to ESCPOS printer

The code still need more work, but until now it is usable for me :)

Categories: Developing Tags: , , , ,

Build of SQLite3 for WINCE ARM4

August 25th, 2010 7 comments

We uploaded a Dll build of SQLite3 for WINCE ARM4

You can download and test it for ARM4 and ARM4i

sqlite3-arm-wince-download directory

Please rename the dll to sqlite3.dll before use it, It is more safe to use arm4 instead of arm4i for old version of WinCE.

If any question ask me here in the comments.

Categories: Developing, Projects Tags:

cssFlip for make Right to left css files

December 4th, 2005 No comments

Used to flip css files to Right to Left,  any css file or folder, or ou can use it to flip css file at run time

USAGE

php cssFlip.php yourcss.css
php cssFlip.php yourcss.css yourcss_rtl.css
php cssFlip.php style style_rtl

Example:

php cssflip.php D:Workphppunbbarabicstyle D:Workphppunbbarabicstyle_rtl

Download

Categories: Developing, Projects Tags:

خوارزمية تفقيط الأرقام Arabic Figure Numbers

July 1st, 2005 No comments

خوارزمية تفقيط الأرقام وحدتي Units دلفي Delphi واحدة عادية تحتاج إلى اسم المعدود فقط و الأخرى معقدة تحتاج لمعلومات التذكير و التأنيث و المثنى و الجمع
الوحدتين مكتوبة للدلفي الإصدار 7

[تنصل من المسؤولية]
البرامج التي يتم تنزيلها من الموقع تستخدم كما هي و على مسؤوليتك الخاصة، بدون ضمانات أو كفالة بأي شكل من الأشكال و لسنا مسؤولين عن أية تعديلات أو أخطاء ناجمة عن استعمالها، ولسنا ملزمين عن تطوير و أضافات على أي من مكونات البرنامج، إذا كنت غير موافق فلا تنزل البرنامج أو المصدر، و بمجرد تنزيلك إياها يعني موافقتك.

يحوي المجلد demos أمثلة عن كيفية استعمالها في VB6 و الـ Excel و PHP
في المجلد bin قم بتسجيل المكتبة ArFigures.dll لكي تعمل أمثلة الفيجوال بيسك و الاكسل بتشغيل الملف register.bat

الملف يحتوي على المثال و نسخة exe منه للتجريب، التنزيل

tafkit-1.1.0.zip

لقطة

screenshot1.png.

screenshot2.png.

Categories: Developing, Projects Tags:

Firebird SQL Service monitor

September 29th, 2004 2 comments

FBServiceMonitor

Firebird SQL Service monitor

Application Tray can Monitoring, Start, Stop, Restart Firebird SQL 1.5 Services over network.
Like as apache monitor

Download it from, EXE file included

fbServiceMonitor-1.0.1.zip

Screenshots

fbservicemonitor-screenshot1.png.

 

 

Categories: Developing, Projects Tags: