DIMW

Do It My Way or die trying!

Follow me on TwitterRSS Feeds

  • Home
  • Programming
  • Web Development
  • Network
  • Misc
  • Download
  • Contact Us

SMSLib throws Exception at readMessagesPDU

May 28th

Posted by AL YAMANI in Programming

No comments

Tweet

Hi all,

while working on a simple SMS receiver project using Huawei modem, i got this Errors:

Exception in thread "SMSLib-AsyncMessageProcessor : " java.lang.StringIndexOutOfBoundsException: String index out of range: -12
at java.lang.String.substring(String.java:1937)
at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:546)
at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:208)
at org.smslib.modem.AModemDriver$AsyncMessageProcessor.run(AModemDriver.java:878)

i tried my best to get rid of it, but the luck was not with More >

SMSLib INSTALLER (.Net/Java)

May 14th

Posted by AL YAMANI in Programming

3 comments

Tweet

Hi there,

I started to work on some SMS related projects. SMSLib is the library that i am using for sending and receiving SMS messages via my Huawei GSM modem. time goes and i realized that the process of installing SMSLib is a bit long, so i decided to build a More >

Read feedburner awareness api using php simplexml_load_file()

Apr 4th

Posted by AL YAMANI in Web Development

No comments

Tweet

hi all,

this is a simple php script to retrieve and read feedburner awareness xml file.

it is based on simplexml_load_file() function.

all what you need to do is changing the $title variable. all the best.

< ?php
$title="Dimw";
$apicall="https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=".$title;
$xml = simplexml_load_file($apicall);
echo "URI: ".$xml->feed['uri'];
echo "DATE: ".$xml->feed->entry['date'];
echo "CIRCULATION: ".$xml->feed->entry['circulation'];
echo "HITS: ".$xml->feed->entry['hits'];
echo "REACH: ".$xml->feed->entry['reach'];
?>
More >

fedora 12: Yum Cannot retrieve repomd.xml

Apr 3rd

Posted by AL YAMANI in Misc

1 comment

Tweet

it seems that some fedora 12 users are facing an error regarding fedora repository. possible alert is:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

i tried my best to find a solution, and i modified .repo files for many times. finally i got the More >

My methods to boost up my programming speed (implementation level)

Mar 11th

Posted by AL YAMANI in Misc

2 comments

Tweet

As the time goes, programmers learn new methods and tricks to reduce time needed for starting new projects. Such thing makes programmers focus on problems instead of codes.

Today I am going to share with you some of the methods I am using to reduce time required to build new projects:

  • Practice More >

Web page invoker using java

Mar 11th

Posted by AL YAMANI in Programming

No comments

Tweet

Hi,

as a programmer there are a lot of problems to face. Fortunately, solutions exist no matter how big is the problem. In my case efficiency is not that big deal, so please ignore the algorithms complexity and other geekly stuff

The problem that made me write this article is: We More >

Binary, Octal, Decimal and Hexadecimal converter(Java)

Feb 22nd

Posted by AL YAMANI in Programming

No comments

Tweet

I was working on a simple project that simulate CPU registers, where users can use an assembly-like commands to issue some process while watching changes on the virtual CPU registers.

you may visit it using this link: http://www.doitmyway.net/2010/02/21/cpu-registers-simulator-educational-project/

In fact CPU data are in binary, although users may want to read those More >

cpu Registrt Simulator

CPU registers simulator (educational project)

Feb 21st

Posted by AL YAMANI in Programming

3 comments

Tweet

Computer organization and assembly course was one of the best courses I took. As a computer scientist it opens the world of imagination in my mind so I started to see bits dancing in front of my eyes

3 years passed since that day, I still can remember how our More >

Windows 7: Copy list of files using clip

Dec 21st

Posted by ali110 in Misc

No comments

Tweet

This is a very simple easy and small thing to explain, but in certain situations it can help a lot. sinceĀ  many of my articles here are simple and small PC tips i would like to add this too, although it is much more simple than the others.

Well if you More >

pligg, stories with no comments

Aug 22nd

Posted by AL YAMANI in Web Development

17 comments

Tweet

Pligg is an open source digg clone. in addition to that, it is flexible and very easy to modify.

Pligg shows published stories in the front page, and it has a link to show the queued stories.

Today I am going to teach you the way to show both commented and More >

12345»...Last »
  • Translate

      Translate to:

      Powered by Google Translate.
      translation services
  • Archives

  • User Login






    • Register
    • Lost your password?
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
    • Recent Posts

      • SMSLib throws Exception at readMessagesPDU
      • SMSLib INSTALLER (.Net/Java)
      • Read feedburner awareness api using php simplexml_load_file()
      • fedora 12: Yum Cannot retrieve repomd.xml
      • My methods to boost up my programming speed (implementation level)
      • Web page invoker using java
      • Binary, Octal, Decimal and Hexadecimal converter(Java)
      • CPU registers simulator (educational project)
    • Recent Comments

      • Mazin on CPU registers simulator (educational project)
      • Rakesh on easy way to pass odesk reading test
      • robiul on easy way to pass odesk reading test
      • Beright on easy way to pass odesk reading test
      • AL YAMANI on easy way to pass odesk reading test
      • Mich on easy way to pass odesk reading test
      • AL YAMANI on get your computer name using c++, windows only
      • AL YAMANI on pligg rtl pagination
    • Tags

      anti antivirus based box c++ change Client Computer create Easy email file free get gif html image imagebox install isp java lan linux make Microsoft Windows my net Network online operating system pass php pligg Send Server simple SMS system time to unix using virus windows your

      WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Copyright © 2010 DIMW
Mystique theme by digitalnature | Powered by WordPress