In 28th April 2011, Cairo Startup weekend took place in AUC, I participated with a project called "Balooshy", I didn't win any cash but I won "GEP Entrepreneurship master class", for me it was much better.
Search This Blog
Thursday, June 02, 2011
Me, Cairo Startup weekend and Balooshy.
In 28th April 2011, Cairo Startup weekend took place in AUC, I participated with a project called "Balooshy", I didn't win any cash but I won "GEP Entrepreneurship master class", for me it was much better.
Friday, November 19, 2010
iOS SDK Text To Speech in one line
[[[NSClassFromString(@"VSSpeechSynthesizer") new]autorelease] startSpeakingString:@"I like to speak everywhere"];
As you can see, with this line u can make the iOS speak whatever to you, just find useful use for it, something to read the twits or RSS feeds.
Enjoy :)
BR
Ahmed Essam
Friday, August 06, 2010
Right To Left iPhone UI

UIViewController* cont1 = [[UIViewController alloc]init];
UIViewController* cont2 = [[UIViewController alloc]init];
UIViewController* cont3 = [[UIViewController alloc]init];
UIViewController* cont4 = [[UIViewController alloc]init];
UIViewController* cont5 = [[UIViewController alloc]init];
UIViewController* cont6 = [[UIViewController alloc]init];
UINavigationController* contBar = [[UINavigationController alloc] initWithRootViewController:cont1];
contBar.tabBarItem.title = @"واحد";
cont2.tabBarItem.title = @"أثنين";
cont3.tabBarItem.title = @"ثلاث";
cont4.tabBarItem.title = @"أربع";
cont5.tabBarItem.title = @"خمس";
cont6.tabBarItem.title = @"سته";
cont1.view.backgroundColor = [UIColor redColor];
cont2.view.backgroundColor = [UIColor blueColor];
cont3.view.backgroundColor = [UIColor grayColor];
cont4.view.backgroundColor = [UIColor purpleColor];
cont5.view.backgroundColor = [UIColor yellowColor];
const id objs[6] = { contBar,cont2,cont3,cont4,cont5,cont6};
NSArray* vuCont = [NSArray arrayWithObjects:objs count:6];
tabBarController.viewControllers = vuCont;
tabBarController.tabBar.transform = CGAffineTransformMakeRotation(3.142857142857143);
for (id d in tabBarController.tabBar.items) {
UIView* vu = [d valueForKey:@"_view"];
vu.transform = CGAffineTransformMakeRotation(3.142857142857143);
}
UITableView* tbl = [tabBarController.moreNavigationController.topViewController view];
tbl.separatorColor = [UIColor clearColor];
for (UITableViewCell* cl in [[tabBarController.moreNavigationController.topViewController view] visibleCells]) {
cl.transform = CGAffineTransformMakeRotation(180*0.0174532925);
cl.textLabel.transform = CGAffineTransformMakeRotation(180*0.0174532925);
cl.textLabel.textAlignment = UITextAlignmentRight;
}
[window addSubview:tabBarController.view];
[window makeKeyAndVisible];
return YES;
Thanks for your time :)
Ahmed Essam
Wednesday, March 03, 2010
VB script that speak ( something to read for you )
Option Explicit
Const SVSFlagsAsync = 1
const SVSFPurgeBeforeSpeak = 2
Dim Speech
Dim FSO
CreateObjects
Main
DestroyObjects
Quit
Sub Main
Dim sText
Dim oIE
Set oIE = WScript.CreateObject("InternetExplorer.Application")
oIE.navigate "about:blank"
sText = oIE.document.parentWindow.clipboarddata.getData("text")
Set oIE = Nothing
'sText = InputBox("text", "Text2Speech")
sText = Trim(sText)
If sText <> "" Then
SpeakText sText
End If
End Sub
Sub SpeakText(sText)
On Error Resume Next
Speech.Speak sText, SVSFlagsAsync + SVSFPurgeBeforeSpeak
Do
Sleep 100
Loop Until Speech.WaitUntilDone(10)
End Sub
Sub StopSpeaking()
On Error Resume Next
Speech.Speak vbNullString, SVSFPurgeBeforeSpeak
Set Speech = Nothing
End Sub
Sub CreateObjects
Set Speech = CreateObject("SAPI.SpVoice")
Set FSO = CreateObject("Scripting.FileSystemObject")
End Sub
Sub DestroyObjects
Set Speech = Nothing
Set FSO = Nothing
End Sub
Sub Sleep(nTimeout)
WScript.Sleep nTimeout
End Sub
Sub Quit
WScript.Quit
End Sub
thanks for your time and I hope this trick is useful to you
Monday, December 07, 2009
Calling all innovators, The story of Nokia in Middle East
How are you guys? Today is not going to be a technical post.
Me and couple of people I consider to be Geniuses made 2 applications and submitted it to Nokia Bel3rabi competition.
I would like to congratulate the First winner "Enpronomics" I know their Marketing Manager, Hany Waziri, and I wish them best of luck
The point today is I want to demonstrate what we have done
1- We did 2 Application Mixing 2 Technologies which is S60 platform and Flash lite
2- Few people dare to take such a step because it takes hell of time to do it
To be able to maintain powerful flash lite application for Symbian it need lots of system services to be able to do what it should do. Based on that we have built a HTTP Server competitive to Kunneri Lite and Janus in Symbian C++ as a way of inter-process communication. The idea was to develop two killer applications and end up with a server API that can be used by the community to enable Flash Lite applications.
Some (not all) things we loaded that server with
1- ADVANCED way to get the location without GPS, We managed to do amazing server that uses cell information and signal strength while you are on the go to get accurate location, this server runs on Symbian device collects information about the Cell towers and Signal strength, using the vector maps, we draw the way that user is taking, after that we can with only, cell tower info + signal strength we can EXACTLY resolve where the user is without GPS. Why we did that because the Location APIs in Symbian used to take so long to get us a location.
2- We did a proxy server, because in certain cases, security restrictions my prevent HTTP request local and to the internet in same time, we beat that by a proxy server that routes the requests from the flash to the internet and returns the response to Flash
3- Sending MMS in the background
4- Record Video
5- Record Audio
6- Advanced web server that do lots of math, Media server (Something like youtube)
But what is our applications about?
1- Ol2ot, this Arabic and English application is a social based application, u can snap photo, video, Audio and send it to our server, SEAMLESSLY in 3 clicks, u can publish a photo with very minimal delay, and it geo tags it for you.
2- Wassal, it is service directory application, this application work in very seamless way, you open the application, select what you want ( food, entertainment, etc ) based on your location you will get results near to you, showed in a map, also there is free text search
Guess what is in the free text search, it is WHOLE new technology, I wish I can talk about but we are working on patenting it, believe me it is something that no one ever done before, reach accurate results
I don't mean anything negative by the next phrase, but the wining app is "Here I Am", send the GPS location using (SMS or Web). It is like one feature of our application. I think that it also sends the message that we live in dangerous country and need a "help button"
From Nokia wiki there is sample for how to get the location using the LBS APIs (it is easy), for the SMS there is sample too, and guess what there is sample to send data over the web. mmm, it has decent interface, it is normal lists and buttons, so almost I can't see anything new. This application can be made by anyone in a few hours and I can extract its functionality from our applications.
For the 2nd place application, I have no comment, it is application that uses lookup tables for calculate the intake calories per day, I can do that in almost week or so
The competition was about Innovation, they calm that they are looking for something new, we have made "new media based social network (ol2ot)", if I knew that they where looking for things like the 1th and 2nd place application, I would do 15 Application like that and post them :D and of course I would get the first and 2nd places :D . But as far as I can tell, Nokia didnt even test our application
At the end, although I am dissapointed, 1st and 2nd place guys did a great job by just submitting, my only problem is, when will we start supporting the things that take vision to see, the things that i really related to innovation. Integration of many complex technologies into usable service that can generate both revenue and valuable data.
Monday, April 28, 2008
Smart Sniffing on Windows Mobile
how are you Guys? sorry for the long absence, today I am getting a very "Evil" thing, actually I will not use it in evil, I will just demonstrate how this thing works and how it can be harmful, What I am talking about is something I named "Smart Sniffing",
What does "Smart Sniffing" means?
It means when the "Hacker" or "Intruder" sniff s/he will not sniff everything, why s/he would do that, for many reason, in our case, the Intruder will need to have just a few pieces of information, not all of it, let us have more details, our sample will be on windows mobile.
First of all you will need to have some tools to start in this operation,
- WinPCap for Windows CE.
- Windows mobile device to start your development and tests.
- Hotmail account.
You will start looking in the packets for anything related to the password and user name, in the requests that go out from the device to certain server, there is Post requests, that what you are going to rip, if this trick didn't work for many reason on of them, the site uses some kind of SSL (Secure Socket Layer) so you can do something better than ripping the User name and password, you can rip the Session ID, there is too many ways to get what you want, after you have done with this step, the intruder notification step comes.
After you have done extracting the data you want from the packets and it is ready to be used by the Intruder, it will be sent simply and smooth by many ways, it can be sent through SMS, why I said that because may be the user uses some kind of "Firewall" and it will be easily to detect the what the application trying to send,of course the user will know that mobile sent SMS from the bill but the issue here is that the intruder get the piece of information as fast as possible, you can try to dig more and send what you want in sneaky way, like forcing the Internet Explorer to send it as encoded Query String.
What I have just said may seem to be evil but it is just Proof of concept that what ever "Smart Guys"say about mobile and its security, you have to be careful for the application you install on your device, also you have to be careful and try to notice everything on your screen, because there is always eye on you, may be you can't see it but be sure that this eye exist,all you have to do just be careful and try to keep your data as much as you can.
I have seen that before that some kind of Trojan was installed in X company PCs, the Trojan was working like virus, it wasn't detected by the anti-virus, the Trojan was so simple it was just graping the file names and send it to some e-mail Address, of course the Administrator was useless he didn't do anything to protect his company, anyways, don't rely that someone will protect you from any kind of attacks, also rememebr you may ask the wrong person for help so you have to do "Security" related things by your self.
Message to Developers, as you can see nothing is protected by default you have to protect your client as much as you can, it is your client, it is the reason of you raising, so try to keep your client safe, even after your death your work should be protected as much as possible, so you have to read about Encryption, Secure Systems, have certificate, learn the penetration test requirement and do it your self, read about secure code, ... etc
this topic is endless, all you have to do is just sake and be honest because such thing is really need very deep honesty, I am saying that because some how I am client and I hope to be protected.
I forgot to put some links :)
writing secure code
Secure Socket Layer
MSDN Writing Secure Code
WinPcap for Windows CE
I am sorry for the long post, may be I am over reacting but in the matter of fact and as I can see everything a round us is threated and we should be careful, that's all what I meant by this post, I put the idea, it is very simple but it can be used, also similar ideas used to have PC before and for sure there is people working on it now, as long as there is evil we should take care of our selves,
Thanks for your time.
BR
Ahmed Essam
Friday, February 15, 2008
My first open-source project
How are you guys? I hope that everything with everyone is going fine and OK, today I am going to show you something you will like.
today I have released my first Open-source project, finally after long time of thinking I decided to take that risk, this project will eat some of my time, but it's OK, I have to do something.
Let us talk about the project for while, the project is "WM_SupportArabic" I call it that for 2 reasons "WM = Windows Mobile" & "WM= Window Message" :D did u got it, anyways, The project aim to add Arabic support for Windows Mobile platform without need for third party application, currently the available Arabic solution are so limited(Imaginet Arabizer(Currently MOBiDIV), FJE (Informobility), and some free application I didn't get it until now )
for me, I am not satisfied at all for this solution, I am talking as user, there is many points they didn't see, I can't say anything about this guys, they are all doing great work, such thing may take life and it will never end, but sometimes simple idea can solve the problem without need for life to be gone in same thing, what I am doing by this project is looking for this thing, and I hope that I find it,
Also I want any one who have knowledge about this issue to join me, of course it is not allowed for people who work in companies that produce Arabic solution to join, because some how it is not ethical,
I was working at Imaginet, but I never touch the Arabizer, I swear that I know nothing about it or even it's project architect, some people may say that I was working there and it is violating what I am saying, as I explained, I never work in this project.
here is the link of the project
https://sourceforge.net/projects/wm-arabic/






