porting

Effort due to Android fragmentation

With Android platform fragmentation, what changes in different OEM handset attributes force developers to port from one platform to another? ...

Porting windows code, what to use instead of __int64 _tmain and _TCHAR* ?

I'm currently porting some windows code and trying to make it available for use in Ubuntu. The project was originally compiled in VC++ without any issues. Also I should note that this only needs to work in Ubuntu, but more platform independent ideas are certainly welcome. Most of the code is easy to port as it is mostly a numerical simu...

g++ template problem

Hello everybody. I'm porting my c++ windows code (msvc & intel) to Linux (g++). The code uses lots of templates (I like metaprogramming ;-). But I can't compile this code: template <class TA> struct A { template <class TAB> struct B; }; template <class TC> struct C {}; template <class TD> struct D { template <class TTD> clas...

C/C++ equivalent to java Integer.toHexString

C/C++ equivalent to java Integer.toHexString. Porting some code from java to C/C++, does C have a build in function to Integer.toHexString in java? UPDATE: Heres is the exact code i'm trying to port: String downsize = Integer.toHexString(decimal); ...

Porting iphone app. If you were to start your app again from scratch what would you do differently?

If you were to start your app again from scratch what would you do differently, knowing the platforms you were going to port to? This questions comes as my team is about to under-go development for a mobile app targeting iphone, android and qt. We aim to complete the iphone version first, and then port to android and qt, and it would be ...

Iphone to Ipad porting-only top left usable

So I'm trying to port an existing iphone application to the ipad. When I run the targeted device set to ipad, only the top left corner of the screen is usable, (the size of the iphone). However, all table cells, objects and buttons exted out to the width of the ipad. But that area is not responsive. What am I doing wrong? I also tried a...

How easy is it to port ASP.NET MVC to Silverlight application and vice versa?

I was thinking of writing a client application in ASP.NET MVC first to make it available over the net to everyone. In the near future I'd like to port it to Windows Phone 7 using Silverlight. How much of the code can I re-use from ASP.NET? Would I have to completely rewrite it? Thanks in advance! ...

how to display CCITT Group 4 tiff files in silverlight?

According to "How to Convert TIFF to JPG Inside Silverlight, client side, using a control or a class/function?"(sorry cannot post links here yet) trying to port LibTiff.NET library to Silverlight, but failed. Will be very grateful if someone explain me how to remove unsupported by silverlight without losing opportunity decompress CCITT...

Should I carry on porting FPDF to .NET?

I've started to port FPDF to .NET, however I was wondering if its worth the effort. Has it already been done? I'm aware of ASP FPDF, but I'm talking about creating a native .NET dll so that any .NET language can use it. I plan to make it public for any one to use. Further I'm not familiar with PHP, what tips/advice can you give (in t...

How do I use MethodInvoker in C++ ?

I've got a C++/CLI application which has a background thread. Every so often I'd like it to post it's results to the main GUI. I've read elsewhere on SO that MethodInvoker could work for this, but I'm struggling to convert the syntax from C# to C++: void UpdateProcessorTemperatures(array<float>^ temperatures) { MethodInv...

Does developing applications for SPARC, IBM power CPU require separate compliers, other than x86, x86-64 targets?

Does developing applications for SPARC, IBM PowerPC require separate compliers, other than x86 and x86-64 targets? If true, how easliy could x86, x64 binaries in Linux be ported to SPARC and PowerPC? Is there a way to simulate these environments using virtualization? ...

Porting C++ code to Silverlight

I have C++ application which has UI developed using MFC, does some networking using sockets (using boost libraries) and some image processing. I want to move this application into Silvelight framework (I can use 4.0 if required) so that it can be used over the internet easily. Here I want to move all parts (UI + networking etc) in to C# ...

Py3k libraries porting

I don't really know if this is a StackOverflow-type question or a Python-dev question. I'd like to host sprints at my place for converting python2.0 libraries to Python3 ; currently I am working on porting Distutils2. Is there any place I could find a graph/log of the libraries(dependencies) which need to be ported to Python3 ranked b...

.NET equivalents of Some Python Functions

I am trying to port some Python code to .NET, and I was wondering if there were equivalents of the following Python functions in .NET, or some code snippets that have the same functionality. os.path.split() os.path.basename() Edit os.path.basename() in Python returns the tail of os.path.split, not the result of System.IO.Path.GetPath...

Custom Heap Size in Android Platform?

The software team in our graduation project asked for increasing the heap size per process in Android. They said that the default is "16MB" which isn't sufficient for them. How could I custom the size? I found a commented line in the file: /acme/my_board/BoardConfig.mk in my android source code: # USE_CUSTOM_RUNTIME_HEAP_MAX := "64M" ...

Are there any huge differences between objective-c and Java, or iPhone and Android?

Edit: My bad, I meant objective-c, not c#. Some reason I got it into my head it was c# the iphone used. So the answers for c# were great, thanks, but theyre a bit irrelevant, sorry about that. I've had a look but can't find anything that answers this, though a few have shortened the question by answering parts of it. Between a small gro...

How to port Away3d scene with animation into PV3d?

How to port Away3d scene with animation into PV3d? Are there any tutorials on how to do that? ...

Problem porting sudoku solver from C to Python

I recently wrote a sudoku solver in C to practice programming. After completing it I decided to write an equivalent program in Python for a comparison between the languages and more practice and this is where the problem is. It seems to be that a global variable (sudokupossibilities[][][]) I declared outside the while loop isn't availabl...

Debian/Ubuntu r-base-*, r-cran-*, revolution-r packages: porting to ArchLinux

Recently I've migrated to Arch Linux, after ~4 years being loyal to Ubuntu. Everything works like a charm, it's noticeably faster than Ubuntu, IMHO it's easier to customise, but when it is to do with support for R, well, Ubuntu takes a medal. I'm not willing to do another distro-shuffle and switch back to Ubuntu, while Debian is just "to...

How can I figure out what functionality is being used from what header?

I am porting a large project to Windows, and I'm stuck on unistd.h. I doubt this code is using a great deal of unistd's functionality, so I think I could be able to provide some sort of replacements for it. Meanwhile, I need to figure out what features of the header the code is using. Is there any tool that will tell you what features ...