According to engadget (citing TouchPal as well as an internal source), HTC aims to replace Swype with TouchPal as the default input method in upcoming devices, including the new HTC One M9. The official TouchPal Twitter account also tweeted the engadget article about this, further confirming the move. What prompted this move? The CEO of CooTek, the company behind TouchPal, says it's because of their better contextual prediction and language support. If you actually look at the supported languages, you'll...
Windows Phone 7 Facts: Maybe Much Better and Rich Apps!
This is part 3 of the Windows Phone 7 Facts series. In the following weeks, we will be covering the more technical side of the currently unreleased Windows Phone 7 OS by Microsoft. In the previous article, we talked about how the new OS will affect us ROM cookers, and how ROMs are being deployed.
All information is based on exclusive information from XDA-Developers.com member and moderator Da_G. There will be some more changes to the way we were working with Windows Mobile. In this article, we will dive deeper into how the hardware collaborates with the software. We will compare the CE5 kernel (used on WM6.X platforms) to the CE7 kernel which will be used on the new WP7 devices. Both kernels are 32 bit, and both use a 4GB Virtual Address Space, which is split into 2GB reserved for the kernel and 2GB for user space, but that’s where it’s going to differ:
The running application shows up in red.
The CE5 kernel handles the 2GB of User Space differently from the way CE7 does. The 2GB space is split into 2 parts:
- User Space.
- Memory mapped files, Modules, etc.
The User Space is where it’s going to differ. In CE5, it’s divided into 32 slots of each 32MB (together 1024MB). A process, such as a program, is loaded into a slot when it’s running in background. During execution, so when the application is running, it’s swapped into Slot 0. This means that every program can only use 32 of Virtual Memory (VM). CE7 however will handle that differently:
The running application shows up in red.
The User Space in CE7 will not be divided any further, you get 1GB of VM. The huge advantage of this is that an application can use the full 1GB of VM to run.
Originally posted by Da_G
Each running process is mapped to the entire 1GB space, allowing the full 1GB of VM available for use without the trickery needed to accomplish using more than 32MB of VM in CE5.
This means that CE7, and thus Windows Phone 7, should allow much more rich programs to be developed. Requirement for this however is Microsoft’s allowance to us to write Native Code. According to Da_G, this will be coming at some point.
Other inter-process memory sharing, needed for Multitasking, will be done in the other 1GB of user space. This user space will be divided into 256 ‘priority levels’, for each individual thread within an application:
Scheduling is handled on a round-robin basis for threads sharing the same priority level. Priority level 0 functions as a “real time” priority level and any thread running at this level will run through til completion before the scheduler runs another thread. True multitasking will not be accessible to programmers initially, though Microsoft intends to unlock that later down the line (presumably around the time native code is allowed). There is no hard limit to the number of threads a program can utilize, it is only limited by the system resources available.
This means that there will be multitasking, but it could take some time.
In short: I think and hope that there will be much more rich apps, because of the huge size of Virtual Memory available. However this won’t be accessible until Microsoft supports Native Code for third parties.
We hope you found this informative, I think it’s pretty interesting how everything works. It also shows how difficult it is to create a new fresh kernel.
View the original thread for additional information, you can also ask questions to Da_G in that thread.
Want something on the XDA Portal? Send us a tip!
Many people are under the impression that once Apple finally launches its smartwatch, the market for wearables will suddenly become mainstream and be taken to the next level. Taking an idea that already exists and making it incredibly successful isn't something new to Apple, but does the Apple Watch have what it takes? The wearable hasn't even shipped yet, but has already won multiple awards and has been featured on numerous fashion magazine covers. Do you think the Apple Watch will be a huge success? Let us know your thoughts.
The smartphone landscape is drastically changing its focus. What was once a North-America-centric monopoly of high-specification phones is now merely an afterimage of the past. The meat of the game is elsewhere now; emerging markets looking for good bang-for-buck are what OEMs are increasingly aiming towards, and in this new game the old players must adapt-or-die. Xiaomi has grown at one of the most notable rates in the industry, leading it to become the world's most valuable start-up; and its...