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. Eclipse not installing Android Application on Emulator

Been looking around the internet for some time for a solution, but
still can't get it to work. Hence I am posting my problem here.

I recently started learning Android, and have set up the development
environment. I've created a HelloWorld like application. Basically I
did nothing then create a project, and change the default display
string. When I try to run the application on the emulator, it does not
install the application on the Emulator.

This is my Eclipse Console output:

[2010-09-16 12:06:01 - DroidTest] Android Launch!
[2010-09-16 12:06:01 - DroidTest] adb is running normally.
[2010-09-16 12:06:01 - DroidTest] Performing
com.example.DroidTestActivity activity launch
[2010-09-16 12:06:01 - DroidTest] Automatic Target Mode: Preferred AVD
'VanillaAVD' is not available. Launching new emulator.
[2010-09-16 12:06:01 - DroidTest] Launching a new emulator with
Virtual Device 'VanillaAVD'

Ironically, doing the exact same thing on a other computer, does
result in the application being installed and runned successfully.

I've tried many things to fix this problem:
- Fresh Eclipse install
- Android SDK re-install
- Project recreation
- AVD re-creation
- Changed Eclipse workspace
- the kill-sever command line command.

Getting quite desperate here, after having tried for two days, so hope
someone has a clear solution for this.


2. Android Types

Generally there are five types of Android They are
Dual-core power
Elocity A7
Tweener of Samsung Galaxy
The Archos tablet
ViewSonic's ViewPad
For more details plz visit our link 


3. How Write a background service to get latitude and longitude

4. MyTouch 3G Slide test request

5. Scrollable tabs

6. Help for Android spiner data binding.

7. How can i save a data into the phone, and keep this data after uninstall?