<?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-2472718060501171277</id><updated>2011-11-28T01:47:47.561+02:00</updated><category term='King of Lines'/><category term='android:orientation'/><category term='KeyboardView problem Activity vs application context  SDK bug'/><category term='king of lines halloween edition spooky pumpkin pumpkins haunted house collector android game'/><category term='android NDK instalation error arm-eabi-4.2.1 prebuilt binaries cygwin installation guide for windows error toolchain'/><category term='android platform SDK 2.0  multitouch support advanced features new release'/><category term='Smbian browser'/><category term='windows mobile browser'/><category term='android SDK Animation AnimationDrawable Drawable frame by frame not showing first frame blocked doesn&apos;t work  start() doesn&apos;t do anything'/><category term='new android phone Sony Ericsson Xperia X3 Rachel specs leaked  teaser  hardcore mobile  beautiful design'/><category term='java.lang.OutOfMemoryError'/><category term='mozilla mobile browser'/><category term='free andoid game'/><category term='logic game'/><category term='Android 2.0 SDK skin Sony Ericsson Xperia X10 emulator image download'/><category term='cool'/><category term='Firefox for mobile'/><category term='android market'/><category term='blocking the orientation'/><category term='orientation change'/><category term='android freeware'/><category term='android game'/><category term='halloween pumpkin trick or treat scary nice accelerometer android game bad mean cute'/><category term='orientation'/><category term='Fennec 3 alpha'/><category term='Maemo browser'/><title type='text'>My Mobile Apps</title><subtitle type='html'>- Programming mobile applications -</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2472718060501171277.post-7456442745892282398</id><published>2010-03-03T12:04:00.001+02:00</published><updated>2010-03-04T00:25:16.646+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android NDK instalation error arm-eabi-4.2.1 prebuilt binaries cygwin installation guide for windows error toolchain'/><title type='text'>Android NDK installation problem</title><content type='html'>Today I decided to install android NDK 1.6 . First of all I downloaded Cygwin and installed the Base package and Developer package (without the Developer package you can't use NDK). I recommend deeply the default instalation folder(C:\cygwin), but should you chose another instalation folder check if the path contains spaces. If it does you may experience some problems later. After I installed Cygwin, I opened a Cygwin terminal instance (cygwin_instalation_folder\cygwin\Cygwin.bat). From here I used cd and ls commands to navigate to the &lt;ndk&gt; folder. Then I typed "./build/host-setup.sh" and got this ugly error.&lt;br /&gt;&lt;br /&gt;CC         : compiler check ok (gcc) &lt;br /&gt;LD         : linker check ok (gcc) &lt;br /&gt;CXX        : C++ compiler check ok (g++) &lt;br /&gt;Generate   : out/host/config.mk &lt;br /&gt;Toolchain  : Checking for arm-eabi-4.2.1 prebuilt binaries &lt;br /&gt;ERROR: &lt;br /&gt;It seems you do not have the correct arm-eabi-4.2.1 toolchain &lt;br /&gt;binaries. &lt;br /&gt;Please go to the official Android NDK web site and download the &lt;br /&gt;appropriate NDK package for your platform (windows). &lt;br /&gt;See http://developer.android.com/sdk/index.html &lt;br /&gt;ABORTING. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I googled it and found basically nothing. The problem was the path where I extracted the NDK archive: "C:/Users/MyUser/My Documents" contains a space character. After I moved the &lt;ndk&gt; folder directly to C: the error was gone. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ ./build/host-setup.sh&lt;br /&gt;Checking host development environment.&lt;br /&gt;NDK Root   : /cygdrive/c/android-ndk-windows&lt;br /&gt;GNU Make   : make (version 3.81)&lt;br /&gt;Awk        : awk&lt;br /&gt;Platform   : windows&lt;br /&gt;Generate   : out/host/config.mk&lt;br /&gt;Toolchain  : Checking for arm-eabi-4.2.1 prebuilt binaries&lt;br /&gt;&lt;br /&gt;Host setup complete. Please read docs/OVERVIEW.TXT if you don't know what to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-7456442745892282398?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/7456442745892282398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2010/03/android-ndk-instalation-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/7456442745892282398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/7456442745892282398'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2010/03/android-ndk-instalation-problem.html' title='Android NDK installation problem'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-2722632241672356878</id><published>2009-11-06T16:43:00.000+02:00</published><updated>2009-11-06T16:43:16.394+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='KeyboardView problem Activity vs application context  SDK bug'/><title type='text'>KeyboardView problem</title><content type='html'>A few days ago I tried playing with KeyboardView to make my own virtual keyboard for a little application. I had a big surprise which cost me a couple of hours (around 4-5). I even posted an issue &lt;a href="http://groups.google.com/group/android-beginners/browse_thread/thread/48657f9499196a1e/4419216817faacf2?lnk=gst&amp;q=KeyboardView#4419216817faacf2"&gt;here&lt;/a&gt;. Nothing special happened and no one responded to my post. I took the matter into my own hands and tried again different ways. I managed to locate the bug: THE CONTEXT. You cannot create a KeyboardView using the application context. You HAVE to use the Activity context. The developers from Android SDK said "they HAD to make the application context, but it doesn't really do anything" !? Maybe they SHOULD have warned the developers about the RISKS of using it. And by the way, if you use the Activity context and manage the orientation change event you WILL experience the memory leaks and the application crash.&lt;br /&gt;So kids, do not play with Context at home. And if you do choose carefully whether to have memory leaks or to create your own KeyboardView (or maybe better, your own Android SDK).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-2722632241672356878?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/2722632241672356878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/keyboardview-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2722632241672356878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2722632241672356878'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/keyboardview-problem.html' title='KeyboardView problem'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-7621970852879151721</id><published>2009-11-06T16:09:00.003+02:00</published><updated>2009-11-06T16:18:08.610+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android 2.0 SDK skin Sony Ericsson Xperia X10 emulator image download'/><title type='text'>Sony Ericsson Xperia X10 skin</title><content type='html'>It seems that Xperia X3 from my previous post is actually called X10 and it's indeed a new Android phone. You can find all the details &lt;a href="http://www.sonyericsson.com/whatsnext"&gt;here&lt;/a&gt;. I don't know when we will be able to buy one but if you're an Android developer you can at least use Xperia X10 skin on your emulator. The skin supports Android SDK 2.0 and you can download it from by clicking &lt;a href="http://teavuihuang.com/android/WVGA854-XperiaX10.zip"&gt;here&lt;/a&gt;. If you don't like it, you can find out other skins &lt;a href="http://teavuihuang.com/android/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-7621970852879151721?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/7621970852879151721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/sony-ericsson-xperia-x10-skin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/7621970852879151721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/7621970852879151721'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/sony-ericsson-xperia-x10-skin.html' title='Sony Ericsson Xperia X10 skin'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-157136113627829121</id><published>2009-11-02T11:29:00.000+02:00</published><updated>2009-11-02T12:49:17.932+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='new android phone Sony Ericsson Xperia X3 Rachel specs leaked  teaser  hardcore mobile  beautiful design'/><title type='text'>Sony Ericsson Xperia X3 surprise</title><content type='html'>&lt;img height="315" src="http://xperia-x1.com/wp-content/uploads/2009/07/sony-ericsson-xperia-rachael-white.jpg" width="500" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="315" width="500"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Tj35WauEmMc&amp;hl=en&amp;fs=1&amp;color1=0x402061&amp;color2=0x9461ca&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Tj35WauEmMc&amp;hl=en&amp;fs=1&amp;color1=0x402061&amp;color2=0x9461ca&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="315"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;So there are about 24 hours left until Sony Ericsson comes up with news on Xperia X3 (also known as Rachael). There are some leaked pictures and technical specifications on the web but we can't get excited until tomorrow. But if the rumors will be confirmed this is going to be a hell o' a phone:&lt;br /&gt;- OS: Android&lt;br /&gt;- Processor: 1GHz Qualcomm Snapdragon&lt;br /&gt;- Camera: 8 mega-pixels&lt;br /&gt;- HSDPA (10Mbps)&lt;br /&gt;- HSUPA (2Mbps)&lt;br /&gt;- Navigation: AGPS&lt;br /&gt;- Audio connector: 3.5mm (which is pretty cool)&lt;br /&gt;&lt;br /&gt;With a little bit of luck in the near future we will be able to run Windows XP on a mobile phone using a virtual machine. All we need is a little bit of RAM and processor which supports visualization. Until then we, the mobile enthusiasts, will run XP on PCs and notebooks like normal people.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-157136113627829121?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/157136113627829121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/sony-ericsson-xperia-x3-surprise.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/157136113627829121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/157136113627829121'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/11/sony-ericsson-xperia-x3-surprise.html' title='Sony Ericsson Xperia X3 surprise'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-2026603689672538591</id><published>2009-11-01T06:23:00.000+02:00</published><updated>2009-11-01T06:23:19.151+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android SDK Animation AnimationDrawable Drawable frame by frame not showing first frame blocked doesn&apos;t work  start() doesn&apos;t do anything'/><title type='text'>AnimationDrawable problem</title><content type='html'>You may encounter a big problem when playing with an AnimationDrawable object in Android: it won't start! Actually it will remain blocked on the first frame and it will confuse you why it didn't start moving. So you may lose this way a couple of hours just trying to find where is the problem. The code seems to be okay, you did something like this:&lt;br /&gt;&lt;br /&gt;public class Present extends Activity{&lt;br /&gt;      @Override&lt;br /&gt;      public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;            super.onCreate(savedInstanceState);&lt;br /&gt;            setContentView(R.layout.main);&lt;br /&gt;            LinearLayout l = (LinearLayout) findViewById(R.id.main);&lt;br /&gt;            AnimationDrawable d = (AnimationDrawable) getResources().getDrawable(R.drawable.myanimation);&lt;br /&gt;            d.setBackgroundDrawable(d);&lt;br /&gt;            d.start();&lt;br /&gt;      }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I saw a couple of people complaining on forums but no one answered to their problem. &lt;br /&gt;Now the catch is that no UI object is created until the onCreate function call is terminated. I assume that android internal framework doesn't start rendering the UI after setContentView, but it waits for the onCreate to terminate then it starts showing all the graphic elements. So what you need to do is call "d.start()" after we get past onCreate. Though I'm not saying it's the best solution, here is a little workaround:&lt;br /&gt;&lt;br /&gt;public class Present extends Activity{&lt;br /&gt;      class AnimationStarterThread extends Thread{&lt;br /&gt;            private AnimationDrawable myAnimation;&lt;br /&gt;            public AnimationStarterThread(AnimationDrawable ad)&lt;br /&gt;            {&lt;br /&gt;                  myAnimation = ad;&lt;br /&gt;            }&lt;br /&gt;            public void run()&lt;br /&gt;            {&lt;br /&gt;                  ad.wait();&lt;br /&gt;                  try {&lt;br /&gt;   Thread.sleep(100);&lt;br /&gt;    } catch (InterruptedException e1) {&lt;br /&gt;   e1.printStackTrace();&lt;br /&gt;    }&lt;br /&gt;                  ad.start();&lt;br /&gt;            } &lt;br /&gt;      }&lt;br /&gt;      @Override&lt;br /&gt;      public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;            super.onCreate(savedInstanceState);&lt;br /&gt;            setContentView(R.layout.main);&lt;br /&gt;            LinearLayout l = (LinearLayout) findViewById(R.id.main);&lt;br /&gt;            AnimationDrawable d = (AnimationDrawable) getResources().getDrawable(R.drawable.myanimation);&lt;br /&gt;            d.setBackgroundDrawable(d);&lt;br /&gt;            AnimationStarterThread ast = new AnimationStarterThread();&lt;br /&gt;            ast.start();&lt;br /&gt;&lt;br /&gt;            //do other initialisations&lt;br /&gt;&lt;br /&gt;            ad.notify();&lt;br /&gt;      }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It's very far from an elegant solution. If I'll find a way to hook the event of UI post-initialization(this is the way to do it) I'll post an update.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-2026603689672538591?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/2026603689672538591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/animationdrawable-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2026603689672538591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2026603689672538591'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/animationdrawable-problem.html' title='AnimationDrawable problem'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-8299943111816165115</id><published>2009-10-30T21:17:00.000+02:00</published><updated>2009-10-30T21:18:39.293+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android platform SDK 2.0  multitouch support advanced features new release'/><title type='text'>Android 2.0</title><content type='html'>&lt;img src="http://developer.android.com/assets/images/home/eclair-android.png"/&gt;&lt;br /&gt;&lt;br /&gt;Android 2.0 is out! New features are available for developers and of course for the users. First of all let's start with the users news:&lt;br /&gt;&lt;br /&gt;- you can add multiple accounts on a device for email and contact sync&lt;br /&gt;- you can search for all SMS and MMS messages&lt;br /&gt;- you can set the device to auto delete the oldest messages when a defined limit is reached&lt;br /&gt;- built in flash support, digital zoom, scene mode, white balance, color effect, macro focus for the camera&lt;br /&gt;- the new virtual keyboard makes it easier to hit the correct characters and improves writing speed&lt;br /&gt;- double tap zoom, bookmarks with web page thumbnails, support for HTML5, database API, geolocation API inside the browser&lt;br /&gt;- Bluetooth 2.1 with Object Push Profile (OPP) and Phone Book Access Profile (PBAP)&lt;br /&gt;&lt;br /&gt;For the developers we have:&lt;br /&gt;- new emulator skins&lt;br /&gt;- debug/release application signing&lt;br /&gt;- Bluetooth on/off, device and service discovery, data exchange via RFCOMM&lt;br /&gt;- account manager for user/pass storing&lt;br /&gt;- new parameters for color effect, scene mode, flash mode, focus mode, white balance, rotation, and other settings and ZoomCallback interface for Camera&lt;br /&gt;- new API for retrieving image and video thumbnails on demand&lt;br /&gt;- new system themes in android.R.style&lt;br /&gt;- new WallpaperManager API&lt;br /&gt;- new Service API&lt;br /&gt;- advanced features for MotionEvent and KeyEvent&lt;br /&gt;&lt;br /&gt;I saved the best part for "le grande finale" : Android 2.0 has the long expected  multi-touch feature which will support up to three fingers touch simultaneously.&lt;br /&gt;&lt;br /&gt;You can find a diff report &lt;a href="http://developer.android.com/sdk/api_diff/5/changes.html"&gt;here&lt;/a&gt;. And for more information about the release try &lt;a href="http://developer.android.com/sdk/android-2.0.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-8299943111816165115?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/8299943111816165115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/android-20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/8299943111816165115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/8299943111816165115'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/android-20.html' title='Android 2.0'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-4269988070795969598</id><published>2009-10-30T18:44:00.000+02:00</published><updated>2009-10-30T18:50:02.525+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='king of lines halloween edition spooky pumpkin pumpkins haunted house collector android game'/><title type='text'>Halloween King of Lines</title><content type='html'>King of Lines is available now in "Halloween edition" on Android market. We will continue to make this game even better on future releases. If you want to propose new features please do so.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/qwxt.u.cs.png"/&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/qwxn.u.cs.png"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.androlib.com/android.application.com-inatech-lineshe-main-znip.aspx"&gt;King of Lines Halloween edition&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-4269988070795969598?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/4269988070795969598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/halloween-king-of-lines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/4269988070795969598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/4269988070795969598'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/halloween-king-of-lines.html' title='Halloween King of Lines'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-3542629216106418526</id><published>2009-10-29T12:27:00.000+02:00</published><updated>2009-10-30T18:57:00.464+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='halloween pumpkin trick or treat scary nice accelerometer android game bad mean cute'/><title type='text'>Little Halloween application</title><content type='html'>Today we released another small game called Halloween Pumpkin. Since the Halloween will be here in a few days, we help you bring you this holiday on your Android phone. Trick or treat?&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/qpCx.u.cs.png"/&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/qpCp.u.cs.png"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.androlib.com/android.application.com-inatech-halloweenpumpkin-znqC.aspx"&gt;Halloween Pumpkin&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-3542629216106418526?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/3542629216106418526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/little-halloween-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/3542629216106418526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/3542629216106418526'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/10/little-halloween-application.html' title='Little Halloween application'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-2601556730667509725</id><published>2009-09-25T01:46:00.000+03:00</published><updated>2009-10-30T18:58:42.244+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mozilla mobile browser'/><category scheme='http://www.blogger.com/atom/ns#' term='Maemo browser'/><category scheme='http://www.blogger.com/atom/ns#' term='Fennec 3 alpha'/><category scheme='http://www.blogger.com/atom/ns#' term='Smbian browser'/><category scheme='http://www.blogger.com/atom/ns#' term='windows mobile browser'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox for mobile'/><title type='text'>Fennec Alpha 3 for Windows Mobile</title><content type='html'>&lt;img src="http://people.mozilla.org/~blassey/fennec.png"&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fennec Alpha 3 for Windows Mobile is out and ready for download. For those of you who don't know what Fennec is I will say only three words "Mozilla mobile browser". Yeah, it's true and it will be available for multiple platforms like it's bigger brother(Firefox). Among those platforms there is Windows Mobile, Maemo, Symbian.&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; For those of you who tested the previous release I'll just cut to the news of this version:&lt;br /&gt;&lt;ul class="news"&gt;&lt;li&gt;Much improved panning/scrolling performance&lt;/li&gt;&lt;li&gt;Improved start-up time&lt;/li&gt;&lt;li&gt;Revised theme&lt;/li&gt;&lt;li&gt;Support for running in full screen&lt;/li&gt;&lt;li&gt;Numerous bug fixes&lt;/li&gt;&lt;li&gt;Improved painting performance&lt;/li&gt;&lt;li&gt;Improved UI polish&lt;/li&gt;&lt;li&gt;Support for touch sensitive directional pad on HTC devices&lt;/li&gt;&lt;li&gt;Improved kinetic panning with directional locking&lt;/li&gt;&lt;li&gt;Ability to scroll frames&lt;/li&gt;&lt;li&gt;Improved zooming support&lt;/li&gt;&lt;li&gt;Support for multiple screen sizes&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I know I'm a little late with the post but I know there's never too late. You can find &lt;a href="http://blog.mozilla.com/blassey/2009/09/04/fennec-alpha-3-for-windows-mobile/"&gt;here&lt;/a&gt; a link to the full article. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; With this said I'd like to thank again Brad Lassey, my mentor in GSoC 2009, for all the support on my project.&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Thumbs up for Mozilla! &lt;br /&gt;&lt;a href="http://blog.mozilla.com/blassey/2009/09/04/fennec-alpha-3-for-windows-mobile/"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-2601556730667509725?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/2601556730667509725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/fennec-alpha-3-for-windows-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2601556730667509725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2601556730667509725'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/fennec-alpha-3-for-windows-mobile.html' title='Fennec Alpha 3 for Windows Mobile'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-2740627333243006612</id><published>2009-09-25T01:20:00.000+03:00</published><updated>2009-10-30T19:00:35.906+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic game'/><category scheme='http://www.blogger.com/atom/ns#' term='cool'/><category scheme='http://www.blogger.com/atom/ns#' term='free andoid game'/><category scheme='http://www.blogger.com/atom/ns#' term='King of Lines'/><category scheme='http://www.blogger.com/atom/ns#' term='android market'/><category scheme='http://www.blogger.com/atom/ns#' term='android game'/><category scheme='http://www.blogger.com/atom/ns#' term='android freeware'/><title type='text'>King of Lines</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; King of Lines is a game I worked on and now is ready to download on Android Market(and it's free). It's a simple logic game: you have to make rows of five or more balls of the same color in every direction.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It has a little menu which lets you create a new game, save the game, load the game, and has even the undo option. Right now you can undo a maximum of three moves, but we may in further releases make a settings panel from which you can select how many moves should be memorized.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Another feature this game has is the automatically save that is triggered every time the application is closed.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the menu you can also find highscore and network highscore options. The first is functional but the second is "in developing" state and will be available in further releases.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the next version there is a possibility to let you chose the table size and the line size.&lt;br /&gt;&lt;br /&gt;We are open to suggestions!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/jxnB.u.cs.png"/&gt;&lt;br /&gt;&lt;img src="http://www.androlib.com/appscreenmax/jxnA.u.cs.png"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/www.simplegames.mobi"&gt;= Inatech team, simplegames.mobi project =&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.androlib.com/android.application.com-inatech-lines-main-qCtj.aspx"&gt;&lt;b&gt;King of Lines&lt;/b&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-2740627333243006612?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/2740627333243006612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/king-of-lines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2740627333243006612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2740627333243006612'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/king-of-lines.html' title='King of Lines'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-2604822751340008280</id><published>2009-09-24T01:48:00.000+03:00</published><updated>2009-09-24T01:58:57.571+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.lang.OutOfMemoryError'/><category scheme='http://www.blogger.com/atom/ns#' term='orientation'/><category scheme='http://www.blogger.com/atom/ns#' term='android:orientation'/><category scheme='http://www.blogger.com/atom/ns#' term='blocking the orientation'/><category scheme='http://www.blogger.com/atom/ns#' term='orientation change'/><title type='text'>Orientation change trick</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Today I was in need of stopping my application from resetting after the orientation change. What happens when the orientation change?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Well, first of all the orientation change is managed by the default activity handler. And the default handling for this event is to restart an activity.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What you need to do to stop the activity to be default handled is:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Go to the manifest XML file and in the activity tag add the following attribute:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;android:configChanges="orientation"&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now if you'll run the application an rotate the screen you will get the "java.lang.OutOfMemoryError: bitmap size exceeds VM budget" exception because the system runs out of memory since it still creates a new activity but the previous is not destroyed. So the solution is not solved yet.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. For the custom orientation change handling to actually take place you need also to override onConfigurationChanged method. &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; public void onConfigurationChanged(Configuration newConfig) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.onConfigurationChanged(newConfig);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right now the problem is solved and you can change the orientation as many times as you like without the activity to get restarted.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you still get the "java.lang.OutOfMemoryError: bitmap size exceeds VM budget" exception it means that you have a little memory leak. You can find some advices on how to solve memory leaks problems &lt;a href="http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you get to try this solution you may want to take a look on the documentation and find out which other&amp;nbsp; &lt;a href="http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html"&gt;config changes&lt;/a&gt;&amp;nbsp;&lt;b&gt; &lt;/b&gt;you may manage manually&lt;b&gt;.&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-2604822751340008280?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/2604822751340008280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/orientation-change-trick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2604822751340008280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/2604822751340008280'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/orientation-change-trick.html' title='Orientation change trick'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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-2472718060501171277.post-3557274901338150861</id><published>2009-09-12T20:34:00.000+03:00</published><updated>2009-09-12T21:00:10.247+03:00</updated><title type='text'>ERROR Error parsing XML file: Unbound prefix</title><content type='html'>In my last days I've been playing around with Android SDK making a little game. Found out the SDK is very poor in documentation and even some examples have errors.&lt;div&gt;I ran into the "Unbound prefix" error while trying to make a frame by frame animation. The example showed something like this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;blockquote&gt; &lt;pre&gt; &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/pre&gt;&lt;pre&gt; &amp;lt;animation-list   android:id="selected"  android:oneshot="false"&amp;gt;&lt;/pre&gt;&lt;pre&gt;     &amp;lt;item android:drawable="@drawable/ballmove" android:duration="150"/&amp;gt;&lt;/pre&gt;&lt;pre&gt;     &amp;lt;item android:drawable="@drawable/ballmove2" android:duration="150"/&amp;gt;    &lt;/pre&gt;&lt;pre&gt;     &amp;lt;item android:drawable="@drawable/ballmove3" android:duration="150"/&amp;gt; &lt;/pre&gt;&lt;pre&gt;&amp;lt;/animation-list&amp;gt;  &lt;/pre&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;but if you tryed it yourself you surely found out it isn't working.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The way to solve this stupid error is to add &lt;/div&gt;&lt;div&gt;xmlns:android="http://schemas.android.com/apk/res/android"&lt;/div&gt;&lt;div&gt;as the first attribute for the animation-list tag.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-3557274901338150861?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/3557274901338150861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/error-error-parsing-xml-file-unbound.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/3557274901338150861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/3557274901338150861'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/09/error-error-parsing-xml-file-unbound.html' title='ERROR Error parsing XML file: Unbound prefix'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2472718060501171277.post-1712145669200624166</id><published>2009-07-10T16:36:00.000+03:00</published><updated>2009-07-10T16:51:13.715+03:00</updated><title type='text'>Unresolved external NS_NewGenericModule2...resolved</title><content type='html'>&lt;div style="text-align: left;"&gt;Today I tryed to build my first XPCOM module using &lt;a href="http://www.iosart.com/firefox/xpcom/"&gt;this link&lt;/a&gt;. It's a great tutorial and you can make a XPCOM component in no time, but when I tryed to build it in windows I got this error:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Error&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;1&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;error LNK2001: unresolved external symbol "unsigned int __cdecl NS_NewGenericModule2(struct nsModuleInfo const *,class nsIModule * *)" (?NS_NewGenericModule2@@YAIPBUnsModuleInfo@@PAPAVnsIModule@@@Z)&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;I've searched and found out that I wasn't the only one having this issue. Some suggested you have to change the Gecko SDK version, but the real solution to the problem is &lt;a href="https://developer.mozilla.org/en/XPCOM_Glue"&gt; this&lt;/a&gt;. &lt;/div&gt;&lt;div style="text-align: left;"&gt;To solve the problem and set the flag in MVS you should go to Project &gt; Properties &gt; Configuration properties &gt; Linker &gt; Command line and then just paste "-LIBPATH:C:\...\gecko-sdk\lib xpcomglue_s.lib xpcom.lib nspr4.lib" in the Additional options textbox and voila!&lt;/div&gt;&lt;div style="text-align: left;"&gt;Hope this helps!&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;P.S. I did't came with a new solution to the problem, but made it clear how to add linker flags to your MVS project.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2472718060501171277-1712145669200624166?l=alexandrucristei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexandrucristei.blogspot.com/feeds/1712145669200624166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alexandrucristei.blogspot.com/2009/07/unresolved-external-nsnewgenericmodule2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/1712145669200624166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2472718060501171277/posts/default/1712145669200624166'/><link rel='alternate' type='text/html' href='http://alexandrucristei.blogspot.com/2009/07/unresolved-external-nsnewgenericmodule2.html' title='Unresolved external NS_NewGenericModule2...resolved'/><author><name>Alexandru Cristei</name><uri>http://www.blogger.com/profile/10844903387094272644</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>2</thr:total></entry></feed>
