1024x600 screen size in android 2.1

by ajay pandey » Fri, 28 May 2010 22:08:53 GMT

Sponsored Links
 I made the below changes in the android 2.0 source code and able to
create 1024x600 screen size on emulator..

when I download android-2.1_r2 source code, in that I could not find
kernel-headers folder, so not able to make the above changes.
I manually downloaded the kernel-headers using:
git clone git://android.git.kernel.org/platform/external/kernel-headers

and then made the changes but it did not worked.

Please help me as I need to create 1024x600 in android 2.1

project bionic/
diff --git a/libc/kernel/arch-arm/asm/memory.h b/libc/kernel/arch-arm/
index c1137a7..743b6ef 100644
--- a/libc/kernel/arch-arm/asm/memory.h
+++ b/libc/kernel/arch-arm/asm/memory.h
@@ -46,7 +46,7 @@


 #ifndef __virt_to_phys

project external/kernel-headers/
diff --git a/original/asm-arm/memory.h b/original/asm-arm/memory.h
index 91d536c..fcec3b1 100644
--- a/original/asm-arm/memory.h
+++ b/original/asm-arm/memory.h
@@ -114,7 +114,7 @@
  * between 2MB and 14MB inclusive.

diff --git a/original/linux/mmzone.h b/original/linux/mmzone.h
index f45163c..043a812 100644
--- a/original/linux/mmzone.h
+++ b/original/linux/mmzone.h
@@ -18,7 +18,7 @@

 /* Free memory management - zoned buddy allocator.  */
-#define MAX_ORDER 11
+#define MAX_ORDER 12

project external/qemu/
diff --git a/vl.c b/vl.c
index 3242c23..154f44f 100644
--- a/vl.c
+++ b/vl.c
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
 #  define LOG_IOPORT(...) do { } while (0)

-#define DEFAULT_RAM_SIZE 128
+#define DEFAULT_RAM_SIZE 512

 /* Max number of USB devices that can be specified on the
commandline.  */
 #define MAX_USB_CMDLINE 8


1024x600 screen size in android 2.1

by deepak singal » Mon, 07 Jun 2010 09:25:52 GMT

 Hi All,

1024x600 or 1024x768 or 1366x768 same screen size behaviour on android ?

Why this ok ?

Some side effect happen with several applications ?

Thanks & Regards

> website: 

Sponsored Links

Other Threads

1. Android on toshiba g810

Hi, I have a toshiba g810 with windows mobile 6.5 and I would like to
know if there is any posibility to instal android on my phone. Please
make me know if is posible, thanks. my email is jbosi...@gmail.com.


2. How to make existing app interfaces transparent?


I am trying to find out if there is a way to make interfaces of
existing apps transparent in an android phone. In my own apps, I can
make use of the alpha blending features and control transparency, but
is there a way to make already existing interfaces transparent? For
instance, the photo Gallery interface becomes partially transparent or
the pdfviewer app becomes partially transparent. In fact, more
generally, is there a way to change interface layouts of existing
apps? Thanks!


3. Question regarding usage of resources from third party jar

4. text hiding in text view

5. Regarding Sqlite Manager

6. Fade a video in/out while playing?

7. Is it possible to get Android Froyo 2.2 for xperia x8?