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. Nexus GPS antenna is always active when "Use GPS Satellites" is checked...

My company just got the Nexus last week to develop on.  It's a nice
phone, but something has me seriously concerned.

Whenever the "Use GPS Satellites" option is selected in the Settings
(Settings->Location & Security), the GPS antenna immediately starts
searching for a lock, and won't shut off until it has one.  What
application/phone subsystem is doing that?  How do I disable that
application without turning off the GPS antenna?  Is the GPS antenna
just getting ephemeris information?

Also, if I have the "Use wireless networks" option selected, the
Location Consent form pops up asking me to give Google permission to
collect my location information.  Can't use the network for a location
fix without agreeing to that.

The idea that I'm required to share location information with Google
to get my location off of the network is scary enough (and intrusive I
might add), but the constant use of the GPS antenna is really screwing
with my power consumption.


Richard Schilling
Mobile Operating Systems Engineer
Root Wireless, Inc.

2. File Dialog?

Is there something like a FileDialog available? From previous threads,
it appears there isn't one.

If not, has someone written one?

I want to allow a user to
a) Specify a folder/filename on storage for creating an SQLite
b) Specify an existing file/folder on storage card for opening as an
SQLite Database.



3. Iphone development versus Android

4. Can't see comments for Android 2.0 version of app

5. Compilation Error

6. Celebrating 10000+ downloads on Android Market!

7. Displaying TextFile