<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5039990921941905499</id><updated>2011-07-29T00:03:28.993-07:00</updated><category term='J2ME'/><category term='FUNNY'/><category term='display gif image using j2me'/><title type='text'>Muhammad Allam's Blog</title><subtitle type='html'>To succeed it's necessary to accept the world as it is and raise above it</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-8170814450816533125</id><published>2010-03-15T05:09:00.000-07:00</published><updated>2010-03-15T05:18:29.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='display gif image using j2me'/><title type='text'>Display GIF image using J2me</title><content type='html'>Peace upon you,&lt;br /&gt;displaying gif is a common problem  in j2me if u search about it in google u will find many classes used to encode gif but it's simply as shown in this code:&lt;br /&gt;&lt;br /&gt; player = Manager.createPlayer(getClass().getResourceAsStream("/Image path"),&lt;br /&gt;             "image/gif");&lt;br /&gt;     player.realize();&lt;br /&gt;&lt;br /&gt;     if ((vidc = (VideoControl) player.getControl("VideoControl")) != null) {&lt;br /&gt;         videoItem = (Item) vidc.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);&lt;br /&gt;         //vidc.setDisplaySize(240, 140);&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;     append(videoItem);&lt;br /&gt;midlet.getDisplay().setCurrent(this);&lt;br /&gt;     while (true) {&lt;br /&gt;         player.start();&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;Enjoy&lt;br /&gt;Happy coding;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-8170814450816533125?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/8170814450816533125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=8170814450816533125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/8170814450816533125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/8170814450816533125'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2010/03/display-gif-image-using-j2me.html' title='Display GIF image using J2me'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-3768147195003462050</id><published>2007-08-02T03:06:00.000-07:00</published><updated>2007-08-02T03:14:48.731-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>Connecting mobile to PC</title><content type='html'>&lt;span style="font-family:times new roman;font-size:78%;"&gt;Peace upon you&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;There are many ways to establish connection between mobile and Personal computer. First you can use AT commands but my essay focus on using Bluetooth to establishing the connection. J2SE used in personal computers does not support the JSR-82 API by default. There are many frameworks that allow you to work with BlueTooth with J2SE. Framewoks such as :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.rococosoft.com/"&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;ROCOCO Software's &lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Bluetooth development tools and technology licensing kit use standard Java application programming interfaces (APIs) for Bluetooth wireless technology (JABWT or JSR82). I think it isn't free but you can download non-commerical use demo.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.avetana-gmbh.de/"&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;avetanaBluetooth &lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;is a JSR-82 implementation provides Bluetooth functionalities to Java software in a standardized way. avetanaBluetooth is available for Windows (98SE - XP SP2), MacOS X, Linux and WM&lt;br /&gt;2003SE - WM5 plattforms. but it is'nt free you can download demo that will expire after 14 days, it Force you to connect to limited number of PC because you must specify the BT addresses of PC that you want to connect to. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;br /&gt;BlueCove is a LGPL licensed JSR-82 implementation on Java Standard Edition (J2SE) that currently interfaces with the Microsoft Bluetooth stack. Originally developed by Intel Research and currently maintained by volunteers . you can download src code from &lt;/span&gt;&lt;a href="http://bluecove.sourceforge.net/"&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;http://bluecove.sourceforge.net/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt; . I used before at &lt;/span&gt;&lt;a href="http://sourceforge.net/projects/videta"&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;VIDETA&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;. it's based on Microsoft Bluetooth stack, To know is your BT supported by windows bluetooth stack check this list &lt;/span&gt;&lt;a href="http://support.microsoft.com/default.aspx?kbid=841803"&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;http://support.microsoft.com/default.aspx?kbid=841803&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;If you found your BT in the list, Congratulation you are lucky so consult the BT vendor's website to know how to configure your BT to be adapted by windows BT stack. In my VIDETA case I use Toshiba Corporation bluetooth specification 2.0, 1.2, 1.1 but I must configure it to be supported by windows bluetooth stack because the default is Widcomm stack and BlueCove didn't support it. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;hopefully I cleared something to you.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Salam&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-3768147195003462050?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/3768147195003462050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=3768147195003462050' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/3768147195003462050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/3768147195003462050'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/08/connecting-mobile-to-pc.html' title='Connecting mobile to PC'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-7981784423690201099</id><published>2007-07-31T14:03:00.000-07:00</published><updated>2007-07-31T14:38:39.533-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FUNNY'/><title type='text'>dialogue 2ejabshan guy hehe :D‎</title><content type='html'>&lt;span style="font-family:times new roman;font-size:78%;"&gt;Peace upon you&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Since three weeks Amr Eissa was send me cool message, When I read it -every time- I laugh a lot and a lot and still read this when I open my inbox. so I presenting this message that perhaps make you happy.This message contain a conversation between female reporter (who work at foreign Newspaper) and egyptian guy(mowatin ma67ooon).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;A foreign Newspaper wants to publish a report about the life inEgypt,So they send a female reporter to interview the commoncitizen in Egypt..when she arrives at Cairo..she picks a randomguy, and starts her interview.&lt;br /&gt;Reporter: Hi &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Egyptian: We 3alkom el salam ya 2otta&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Do you speak English?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Egyptian: Berfect&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Do you mind if i interview u?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Egyptian: No, i dont have a mind&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: What's your name?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Egyptian: Taha&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Sex?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: I love it&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Oh no, i meant male or female?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha (yelling): what do you sink?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: It's just for the sake of the report..never mind...male....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: yas male..and i can brove it any time you want &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: No,thanks,I'll take you for your word...so..how do you find life here in Egypt?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Egybt..very nice cantry..nice wezar..nice food..byramidz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: oh well..beside the weather and the pyramids..what else do you like in your country?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Byramids,nice wezar,nice food&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Ok..let's move on..what do you do?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: I am very well, sank you&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: No, I mean do you have a job?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha (looking around him and whispering): Jobat?..no i dont have any(jobat)..lessa mastaba7nash..do you have a (job) with you?..we can esmoke it in my car..dont warry about bolice&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Oh my god, DO YOU WORK?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Yas yas..Taxi drivar&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: What do you think about the traffic problem in egypt?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Very big broblem..very much cars..you see?..but za guvurment is trying to make it bettar..zey did za circle street and za me7war street..and zey make all streets one way so if you go..you cant comeback..niahahaha3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: What about the economic problems in Egypt?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: I do not undurstand what u say&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: I mean..how do u deal with money problems in Egypt?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: No NO NO..Egybt very rich cantry...we have alot of cotton..alot of water..and we have byramidz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: So do you make a lot of money?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: No no.. it is not legal to make money..one frend i know make money at home..and he go to brizon..if you make money at home..you can only give it to za banzeena man..zey take any money&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: let me rephrase..since Egypt is a rich country.. do you have a lot of money?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: me?! ..Not alot..but I eat and drink Al7amdulelah?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Then where does all the money go?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Guvurment&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: And what does the government do with the money?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Zey Build circle street,me7war street and make all streets one way &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: well, Ok...Do you vote?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: What duz zat mean?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Do you choose your president&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Mubarak?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha(nervously): i didnt give my voice..but if i was..i will give him my voice &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Why him?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Because he was an airoblane in za war..he waz za leadar airoblane Reporter: But there are no wars right now&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: But if we have war..you see?...we know we will have a very good airoblane in it&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: what about the last 26 years ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: I got marry..and have 3ala2 and Amira..and drive taxi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: No, i meant what did Mubarak do for Egypt in the last 26 years&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: He build circle street, me7war street and make all streets one way&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Thank you very much for your time Mr. Taha&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: No broblem,only 10 bound&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: I never said i will pay you for this&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: Ok..just give me the (job) then..we smoke, and make head&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Reporter: Grrrrrrrr&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;Taha: ok ok..need a Taxi?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt;copied,,&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-7981784423690201099?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/7981784423690201099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=7981784423690201099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7981784423690201099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7981784423690201099'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/07/2ejabshan-hehe-d.html' title='dialogue 2ejabshan guy hehe :D‎'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-6125559701522865481</id><published>2007-07-25T12:39:00.000-07:00</published><updated>2007-07-25T13:04:40.401-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FUNNY'/><title type='text'>Are you Addicted to Blogging ?</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;peace upon you&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;This cool test that test your addiction to Blogging.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;My result is:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5091222078299656418" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_d6mEFZjrVNE/RqengXmtUOI/AAAAAAAAABw/5V2FhaAsRqo/s320/untitled.bmp" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;Do you think i'm Addicted?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;Any way try it,  &lt;a href="http://mingle2.com/"&gt;http://mingle2.com/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;salam&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-6125559701522865481?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/6125559701522865481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=6125559701522865481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/6125559701522865481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/6125559701522865481'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/07/are-you-addicted-to-blogging.html' title='Are you Addicted to Blogging ?'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_d6mEFZjrVNE/RqengXmtUOI/AAAAAAAAABw/5V2FhaAsRqo/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-7805871800381202579</id><published>2007-06-29T07:17:00.000-07:00</published><updated>2007-07-22T10:59:00.062-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>J2ME BlueTooth programming(Episode 2)</title><content type='html'>Peace upon you,&lt;br /&gt;I apology about delaying but I'm sure you forgive me this delay because you know I'm really so busy. In first episode we got introduction about BT and also knew BT Features.Ok let's dig into more details. In this episode after reading it, you should knew terminology of Bluetooth Network Topology , Bluetooth Communication Types , Java BlueTooth API (JABWT)  and The Bluetooth protocol stack. &lt;p&gt;&lt;br /&gt;Bluetooth Network Topology&lt;br /&gt;When two or more Bluetooth-enabled devices come within range and establish a connection, a personal area network is formed. A personal area network can either be a piconet or a scatternet.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Piconet: Is a single master and up to seven slaves. No matter what kind Bluetooth devices are involved (whether they are phones, access points, PDAs,laptops, headsets, etc.) The master of the piconet is the one that initiates the connection. The device that accepts the connection automatically becomes the slave. Master/slave roles are not predefined; so if a piconet exists between a laptop and a PDA, either device could be the master or the slave. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Scatternet: Is a scatternet is essentially a chain of piconets. A scatternet is formed when the sla&lt;a href="http://3.bp.blogspot.com/_d6mEFZjrVNE/RoUVTQ4iViI/AAAAAAAAAA8/nMN6Tc43oEU/s1600-h/untitled.bmp"&gt;&lt;/a&gt;ve of a piconet also become the master of its own piconet.&lt;a href="http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUUBA4iVeI/AAAAAAAAAAc/l6WE5fcT4wo/s1600-h/Piconet+VS++Scatternet.PNG"&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUUBA4iVeI/AAAAAAAAAAc/l6WE5fcT4wo/s1600-h/Piconet+VS++Scatternet.PNG"&gt;&lt;/a&gt; Figure 1.0 show the Piconet and Scatternet.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5081491892510807634" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUV9A4iVlI/AAAAAAAAABU/WIIAUd9u8Tk/s320/Hello.GIF" border="0" /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Bluetooth Communication Types &lt;/p&gt;&lt;p&gt;There are three types of communication protocols defined inside Bluetooth technology:&lt;/p&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;OBEX: The "&lt;span style="color: rgb(102, 0, 0);"&gt;Ob&lt;/span&gt;ject &lt;span style="color: rgb(102, 0, 0);"&gt;Ex&lt;/span&gt;change" communication Protocol is used to Exchange Physical data such as Files, images, and so on in binary Format.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;L2CAP: The "&lt;span style="color: rgb(102, 0, 0);"&gt;L&lt;/span&gt;ogical &lt;span style="color: rgb(102, 0, 0);"&gt;L&lt;/span&gt;ink &lt;span style="color: rgb(102, 0, 0);"&gt;C&lt;/span&gt;ontrol and &lt;span style="color: rgb(102, 0, 0);"&gt;A&lt;/span&gt;daptation &lt;span style="color: rgb(102, 0, 0);"&gt;P&lt;/span&gt;rotocol" used to send Packets between host and client.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;RFCOM: The "&lt;span style="color: rgb(102, 0, 0);"&gt;R&lt;/span&gt;adio &lt;span style="color: rgb(102, 0, 0);"&gt;F&lt;/span&gt;requency &lt;span style="color: rgb(102, 0, 0);"&gt;COM&lt;/span&gt;Munication" is very easy and not Complicated .it is used to stream simple data.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;Java Bluetooth API (JABWT)&lt;/p&gt;&lt;p&gt;Sun Java has introduced the Bluetooth JSR82 API package.&lt;br /&gt;http://jcp.org/aboutJava/communityprocess/final/jsr082/ The JSR82 API has capability to provide all three kinds of communications: Obex, L2CAP, or RFCOMM.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;javax.bluetooth The core Bluetooth API.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;javax.obex The Object Exchange (OBEX) API.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;*So what is the JSR-82?&lt;/p&gt;&lt;p&gt;The JSR-82 is the official Java Bluetooth API, which was standardized by Motorola and the following companies in the Java Community Process&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Sun Microsystems. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;IBM.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Nokia.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Sony Ericsson.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Symbian.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;You can find a list of commercially available JSR-82 device&lt;br /&gt;http://www.javabluetooth.com/jsr82devices.html on our JSR-82 Devices page.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;The Bluetooth protocol stack&lt;/p&gt;&lt;p&gt;What's the purpose of the Bluetooth stack? The stack is the piece of software (and firmware) that controls your Bluetooth device. Figure 2 details the protocol stack.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5081497067946399330" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://3.bp.blogspot.com/_d6mEFZjrVNE/RoUaqQ4iVmI/AAAAAAAAABc/ZeKyWE9pKxY/s320/BT+protocol.GIF" border="0" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;The bottom layer of the stack is the &lt;strong&gt;HCI&lt;/strong&gt;, the &lt;em&gt;Host Controller Interface&lt;/em&gt;. This layer is literally the interface between the host (your computer or Hardware) and the controller (the Bluetooth device). As you can see, all other layers go through the HCI.&lt;/li&gt;&lt;li&gt;The layer above the HCI is &lt;strong&gt;L2CAP&lt;/strong&gt;, the &lt;em&gt;Logical Link Controller Adaptation&lt;/em&gt; Protocol. This layer acts as the data multiplexer for all other layers.&lt;/li&gt;&lt;li&gt;The next layer is &lt;strong&gt;BNEP&lt;/strong&gt;, the &lt;em&gt;Bluetooth Network Encapsulation Protocol&lt;/em&gt;. Using BNEP, you can run other networking protocols, such as IP, TCP, and UDP, over Bluetooth.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;RFCOMM&lt;/strong&gt; is known as the &lt;em&gt;virtual serial port protocol&lt;/em&gt; because it allows a Bluetooth device to simulate the functions of a serial port.&lt;/li&gt;&lt;li&gt;The &lt;strong&gt;OBEX&lt;/strong&gt; protocol layer is implemented above the RFCOMM layer and is useful when you want to transfer data as an object, such as files.&lt;/li&gt;&lt;li&gt;SDP is the &lt;em&gt;Service Discovery Protocol&lt;/em&gt; layer, which is used whenever you want to find services on a remote Bluetooth device.&lt;/li&gt;&lt;li&gt;The final two layers, &lt;strong&gt;AVCTP&lt;/strong&gt; and &lt;strong&gt;AVDTP&lt;/strong&gt; are used for the control and distribution of audio and video over Bluetooth. AVCTP and AVDTP are relatively new additions to the Bluetooth protocol; they are used when you want to control the functions of a media player or if you want stream audio in stereo.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;In the next episode I will expose to you simple chat program between two mobiles.Be wiz us&lt;/p&gt;&lt;p&gt;salam&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-7805871800381202579?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/7805871800381202579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=7805871800381202579' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7805871800381202579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7805871800381202579'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/peace-upon-you-i-apology-about-delaying.html' title='J2ME BlueTooth programming(Episode 2)'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUV9A4iVlI/AAAAAAAAABU/WIIAUd9u8Tk/s72-c/Hello.GIF' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-6791961086064894890</id><published>2007-06-29T06:37:00.000-07:00</published><updated>2007-07-22T11:02:26.376-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>J2ME Bluetooth programming (Episode 2)</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;Peace upon you,&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;I apology about delaying but I'm sure you forgive me this delay because you know I'm really so busy. In first episode we got introduction about BT and also knew BT Features.Ok let's dig into more details. In this episode after reading it, you should knew terminology of Bluetooth Network Topology , Bluetooth Communication Types and Java BlueTooth API (JABWT)&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Bluetooth Network Topology&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;When two or more Bluetooth-enabled devices come within range and establish a connection, a personal area network is formed. A personal area network can either be a piconet or a scatternet.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Piconet: Is a single master and up to seven slaves. No matter what kind Bluetooth devices are involved (whether they are phones, access points, PDAs,laptops, headsets, etc.) The master of the piconet is the one that initiates the connection. The device that accepts the connection automatically becomes the slave. Master/slave roles are not predefined; so if a piconet exists between a laptop and a PDA, either device could be the master or the slave.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Scatternet: Is a scatternet is essentially a chain of piconets. A scatternet is formed when the slave of a piconet also become the master of its own piconet.&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUUBA4iVeI/AAAAAAAAAAc/l6WE5fcT4wo/s1600-h/Piconet+VS++Scatternet.PNG"&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_d6mEFZjrVNE/RoUUBA4iVeI/AAAAAAAAAAc/l6WE5fcT4wo/s1600-h/Piconet+VS++Scatternet.PNG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-6791961086064894890?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/6791961086064894890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=6791961086064894890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/6791961086064894890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/6791961086064894890'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/j2me-bluetooth-programming-episode-2.html' title='J2ME Bluetooth programming (Episode 2)'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-7985648429969675932</id><published>2007-06-21T23:46:00.000-07:00</published><updated>2007-07-22T11:07:06.428-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>J2ME BlueTooth programming(Episode 2)</title><content type='html'>&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-7985648429969675932?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/7985648429969675932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=7985648429969675932' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7985648429969675932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7985648429969675932'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/j2me-bluetooth-programmingepisode-2.html' title='J2ME BlueTooth programming(Episode 2)'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-7123672943264691359</id><published>2007-06-19T10:55:00.000-07:00</published><updated>2007-07-22T11:09:00.102-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>Getting phone number , IMEI and handle incoming calling</title><content type='html'>&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;Peace upon you&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;Why I wrote this post? because many friends asked me about these following question to use them at GPand also I faced the same problems when I worked at BlueCom project(aimed to extends the original Bluetooth range from 10 meters to virtually unlimited range throw in system access points). I decided to send a message to receiver using mobile number so my first step access contact list using PIM API'S then display it(Contact list) to user when user choose specific person by his name the message will send to him but in vicinity there are many peoples opened BlueTooth, are able to receive any message so we encrypted the message and send with the packet the receiver phone number, any one in my vicinity(Scatternet) will receive it but the message will not displayed to him because it' was not relate to him As when he receive it we check the phone number of this person with the phone number attached to message if not the program will not notify him that he recive message. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;let's see the common questions&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;em style="font-family: times new roman;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Q1: How to get my own phone number ?&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;To get phone number using J2ME IS NOT POSSIBLE but there is tender solution:DJUST ASK USER ABOUT IT. yeah it's simple solution that we used in BlueCom but I think it's impractical, there is great solution for it using C++see this link &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a style="font-family: times new roman;" href="http://wiki.forum.nokia.com/index.php/How_to_get_my_own_phone_number"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;http://wiki.forum.nokia.com/index.php/How_to_get_my_own_phone_number&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;Q2: how I can retrieve incoming call with j2me?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;I think the incoming call handling differs from whether it is a MIDP1.0 phone or MIDP2.0 phone. As far as I know this is not possible in J2ME nowadays, but it's going to be changed shortly by the MTA - JSR 253: Mobile Telephony API.&lt;br /&gt;Check the links below:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a style="font-family: times new roman;" href="http://developers.sun.com/learning/j...ty/TS-7634.pdf"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;http://developers.sun.com/learning/j...ty/TS-7634.pdf&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt; &amp; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a style="font-family: times new roman;" href="http://www.jcp.org/en/jsr/detail?id=253"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;http://www.jcp.org/en/jsr/detail?id=253&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;To retrive icomming call use C++ at symbian OS&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:Courier New;font-size:100%;"  &gt;[code]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;RMobileCall m_currentCall;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;m_currentCall.OpenExistingCall(iLine, iIncomingCallName);&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;RMobileCall::TMobileCallInfoV1 callInfo;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo);&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;m_currentCall.GetMobileCallInfo(callInfoPckg);&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;TBuf&lt;50&gt; aCallNumber;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;aCallNumber.Copy(callInfo.iRemoteParty.iRemoteNumber.iTelNumber);&lt;br /&gt;[/code]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;Q3: how to get IMEI (International Mobile Equipment Identity)?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;All mobile phones have their own unique IMEI number (can be shown by dialing *#06# on phone). use this method to get IMEI System.getProperty(parameter).;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;This parameter depends on phone vendors In Siemens parameter will be com.siemens.IMEI In Nokia parameter is com.nokia.mid.imei , In Nokia, you must sign midlet to get IMEI Code( it's another story I will talk about it in more details) &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;hopefully this will help you:) &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: times new roman;font-family:courier new;font-size:100%;"  &gt;Salam&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-7123672943264691359?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/7123672943264691359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=7123672943264691359' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7123672943264691359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/7123672943264691359'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/peace-upon-you-why-i-wrote-this-post.html' title='Getting phone number , IMEI and handle incoming calling'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-982719269732549233</id><published>2007-06-17T07:54:00.000-07:00</published><updated>2007-07-22T11:09:45.234-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2ME'/><title type='text'>Getting started with J2ME BlueTooth programming(Episode 1)</title><content type='html'>&lt;span style="font-family:lucida grande;font-size:100%;"&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;Abstract&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style=";font-family:lucida grande;" &gt;Electronic devices connect to one another in a variety of ways where the most famous wireless technologies are infraree and Bluetooth. Infrared is the technology that you can see in TV remote controls or air conditioner remotes where the communication should be pointed to the target device. WiFi technology is used for strong and wide area communication where wireless communication can be made. A cable connects a computer's processing unit to a display, a data cable and a docking cradle connect a personal digital assistant (PDA) or a cellular phone to a computer, radio&lt;br /&gt;waves connect a cordless phone to its base unit, and an infrared beam connects a remote control to a television. That's where Bluetooth comes in.Bluetooth technology is the most used temporary communication technology, Especially inside mobile devices, palm tops, pocket PCs, and so forth. It can be used to exchange objects, packets, or a simple stream&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Content of this tutorial&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;What is Bluetooth? , Bluetooth Network Topology , Bluetooth Communication Types , What's JABWT &amp; JSR82Bluetooth stack layer , &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Code and Explanation and finally The last word. &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Let's get started!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;What's Bluetooth?&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Bluetooth is a wireless communication protocol that Ericsson Mobile Communications started developing the Bluetooth system in 1994, looking for a replacement to the cables connecting cellphones and their accessories. It's supports distances equal up to 30 feet, or to 10 meters but consumes less power, and transmits at lower speeds. Bluetooth is very attractive to phone and PDA manufacturers due to its low power consumption rate. The Bluetooth system is named after a tenth-century Danish Viking king, Harald Bltand, who united and controlled Norway and Denmark. The first Bluetooth devices hit the market around 1999.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;&lt;span style="color: rgb(102, 51, 51);"&gt;Bluetooth&lt;/span&gt; vs. Infrared&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Home electronics devices like TVs and VCRs communicate using beams of light in the infrared spectrum. Infrared is fairly reliable and doesn't cost much to build into devices. It does have drawbacks &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;1-Its line of sight, so sender must align with its receiver.&lt;br /&gt;2- Its one to one, so a device can't send to multiple receivers at the same time.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;Bluetooth vs. 802.11b&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;IEEE 802.11b connects devices in a wireless local area network (LAN), while Bluetooth&lt;br /&gt;connects devices in a Personal Area Network (PAN).&lt;br /&gt;To know about it visit &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://wifinetnews.com/archives/001166.html"&gt;&lt;span style=";font-family:lucida grande;" &gt;http://wifinetnews.com/archives/001166.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);font-family:lucida grande;" &gt;Bluetooth Features&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;The major features of Bluetooth are:&lt;br /&gt;1-Bluetooth is wireless and automatic. You don't have to keep track of cables, connectors,and connections, and you don't need to do anything special to initiate communications.Devices find each other automatically and start conversing without user input, expect where authentication is required; for example, users must log in to use their email accounts.&lt;br /&gt;2-Bluetooth is inexpensive. Market analysts peg the cost to incorporate Bluetooth technology into a PDA, cell phone, or other product at around $20 now, and say that it could fall to as little as $5 per unit.&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;3-Bluetooth handles both data and voice. Its ability to handle both kinds of transmissions simultaneously makes possible such innovations as a mobile hands-free headset for voice with applications that print to fax, and that synchronize the address books on your PDA, your laptop, and your cell phone. Signals are omni-directional and can pass through walls and briefcases. Communicating devices don't need to be aligned and don't need an unobstructed line of sight.&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;Conclusion&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;In this episode I show to you basics of BT.In the next episode ISA I will discuss BT topology , types of communication protocols defined inside Bluetooth technology and what's JABWT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-982719269732549233?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/982719269732549233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=982719269732549233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/982719269732549233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/982719269732549233'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/getting-started-with-j2me-bluetooth.html' title='Getting started with J2ME BlueTooth programming(Episode 1)'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5039990921941905499.post-2435461585737008487</id><published>2007-06-17T01:03:00.000-07:00</published><updated>2007-06-17T02:16:56.422-07:00</updated><title type='text'>Hello blogging world..!</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;color:#333333;"&gt;Peace upon you, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#333333;"&gt;MMMM Where should I start? let's see, my name is Muhammad Allam I have..., NO.. NO it's traditional beginning let's see again. Since three years ago, Every day I decided to create Blog but I'm lazy ,the time has come I took a decision to create Blog. This is my first blog-entry so I thought I’d introduce myself and what I’ll be doing here. My name is Muhammad Elsayed Allam.student at FCI Menoufia university (Rabena yostor elnatiga enharda ) ,My age is 20 I think I still young man:D. My Hobbies are Reading especially in Programming, psychology and parapsychology,Writing articles at Programming in my spare time, Listening Music, Playing football and ping pong.Play computer games and developing simple games such as HITS simple game at mobile using J2ME .In this Blog you will find all things about me, my sakes , my thoughts , my articles in programming. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#333333;"&gt;Any way if you have a question regarding any posts , always feel free to reply to a post here that relates to your query or email me directly @ &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="mailto:Eng_3llam@hotmail.com"&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#333333;"&gt;Eng_3llam@hotmail.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#333333;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039990921941905499-2435461585737008487?l=muhammadallam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://muhammadallam.blogspot.com/feeds/2435461585737008487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5039990921941905499&amp;postID=2435461585737008487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/2435461585737008487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039990921941905499/posts/default/2435461585737008487'/><link rel='alternate' type='text/html' href='http://muhammadallam.blogspot.com/2007/06/hello-blogging-world.html' title='Hello blogging world..!'/><author><name>Muhammad Allam</name><uri>http://www.blogger.com/profile/10501272881267831883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
