[Completed] How to enable multi user feature to operate concurrently - XDA Assist

How to run an android apps (side-by-side concurrently) with independent inputs (eg. gestures, keyboard typing, touch events).
I mean to enable multi user feature to operate concurrently.

If i had to guess (which I do!) I would think you're asking about multi-window functionality? If so you either need to be using a device with that feature available in stock rom ie: galaxy note 3. Or you need a custom rom that has that built into it.
If this is not what you're asking for please provide more information so we can help you

Split screen as User-wise in Android
markbencze said:
If i had to guess (which I do!) I would think you're asking about multi-window functionality? If so you either need to be using a device with that feature available in stock rom ie: galaxy note 3. Or you need a custom rom that has that built into it.
If this is not what you're asking for please provide more information so we can help you
Click to expand...
Click to collapse
Thank you for the response.
We would like to split the android screen as user-wise, an facilitate the user to operate the features concurrently (i.e. to allow all the users to play their desired games) in the allocated part of the screen for the user.

[email protected] said:
Thank you for the response.
We would like to split the android screen as user-wise, an facilitate the user to operate the features concurrently (i.e. to allow all the users to play their desired games) in the allocated part of the screen for the user.
Click to expand...
Click to collapse
well that is not something you will find anywhere. That's likely something down the road.

Related

Comparing Rooted Android against Jailbroken iPhone

Hi all,
In the past three years, we've witnessed greatly increased competition among smartphones. Android and iPhone are considered by some to be the two most serious contenders, and both have attracted many new users who migrated from the other platform. I myself was a devoted winmo user, and had used every generation of winmo phones/PDA since the late 90's. When iPhone was first released, I did not take it seriously at all, because there were so many limitations and the initial phone did not support third party applications. I made the change from winmo to iPhone only in 2009 after a rather detailed comparison exercise between winmo and iPhone. I've been more than happy with my decision and the jailbroken phone. However, technology does not stay still, and there has been lots of changes especially in the hardware end and the entry of Google into the smartphone business. Personally, I'm greately tempted by the potential of hugh screen size offered by handsets such as the HTC supersonic, and would like to understand if my smartphone experience could be enhanced even more by switching to Android. I also think that this topic area would appear on the forum for every single Android phone, and it might be good to centralise the discussion to get the maximum input possible. Hence this thread.
RULE FOR THID THREAD:
Rule 1: General Courtesy:
I would like to state that this is not a thread for any basher or haters of Google or Apple. If you're one of them, please leave and preach your anti-evil corporation philosophy elsewhere. This is also not meant to be a thread to try to convert any Google phone user to iPhone or vise versa, so while I recognise it's going to be hard, please try your best to stay objective and refrain from imposing your opinion as the only possible logical choice on others. I plead that all you all observe this, so as to get to the end of all the discussion and research as efficiently as possible.
Note: While it is not within my power to remove trouble makers, I will not be responding to any troll on this thread.
Rule 2: Discuss one area at a time, with suitable heading in the title of your post.
This thread may become very long, and people interested in finding out specific comparison should not be made to read through every word in every post. So, let's always describe in the title of your post what your points pertain to.
For now, the title descriptions to be used are: (If you feel the need to have additional topic area for comparision, please let me know so that it can be added here)
- Cut and paste design
- Multitasking design
- hardware button design
- multimedia capabilities
- Touchscreen technology
- Storage capability
- Processor and graphic capability
- Market place
- Application software
- Vendor support
- Firmware upgrade
- Battery life and design
- Camera and video
- Best GPS software (I feel that this is important enough to warrant distinct segregation)
- Theme and UI customization capabiilty
- User interface of applications
- User interface of desktop/sprinboard/program launcher/widget/task switcher
- Application defaults
- Notification handling
- Best web browsing application
- Global search
- Speech recognition
- Device management (backup, restore, syncing, etc)
- Side loading of applications
- File Management and Access
- Using it as a business phone
Rule 3: FULL potential of the phone. You can tweak, customize, as long as the procedure could reasonably be expected of an ordinary user.
Since this thread is mean to help END user choose the BEST phones in the market, the capability that you discuss must come from application programs that has already been made available to the public rather than something that can be done but requires programming knowledge to achieve it. Similar, it. A jailbroken/rooted phone's capability can be discussed as long as the jailbreak tool is available and could reasonably be performed by an average user without hacking skill to personally do the hacking themselves. Also, since my intention is mainly to find out which should be my next phone, we should base it on OS4.0 in iPhone, iPhone HD, and the best possible Android hardware likely to be available in the next few months, and I assume this is HTC Supersonic.
Therefore, no "the phone is crippled out of the box" type of debates please.
Rule 4: Focus on describing the capability rather then merely state your opinion on your preference without backing it up. (For this reason, I'll only draw up a comparision chart after giving everyone the chance to state all the known facts.). Try to state the name of the program/utility that you would use to achieve that capability. I think this would be highly educational.
Enough rules for now. Let's see how it goes.
Thank you for participating on this thread.
Cheers.
Summary post (reserved)
Summary post (reserved for future use)
Summary post 2(reserved)
Reserved for future use.
Summary post 3
Reserved for future use
Cut and Paste design
Android
-------
Please correct me if I'm wrong, my understanding is that the cut and paste design is a little inconsistent depending on the OEM. I've personally played with a Samsung Galaxy, and noted two different cut and paste design:
1) Press and hold. Unfortunately, there is no magnifying glass pop up to indicate the position of the cursor. You have then to use the joystick(not sure if this is what they call it) to position it.
2) I vaguely remember at other place, method 1 is not supported. You have to use the hardware button , and select an item there in order to do copy and paste.
Recently, I had a chance to look at a video showing the cut and paste in one of the HTC Android phones, and noted a third method, very similar to iPhone, but the magnifying glass is square rather than round.
I also got the impression that copy and paste is not supported on non-enterable field. I'm seeking users with expertise to correct/enhance this piece of information.
Edit: See post #71 for some more precise description on how cut and paste works in Android, described by dsymbol.
iPhone
------
Press and hold will provide the handle to select the text for copying. This pretty much work across all the places, including email, webpages, on both enterable and non-enterable fields.
Edit: However, there ARE also some rare exceptions where inconsistencies have been found, mainly arising from software created before iPhone introduced cut and paste in version 3.0 I think. An example that comes to my mind is an office document application called QuickOffice, which was around prior to OS3.0 I think. Here, to select text in the word document, instead of holding your finger down, you have to double tap to reveal the handle for text selection, you then press an icon at the bottom to copy or cut. This is quite different from the usual methods used by applications using the Apple's standard API. Most office documents applications including Office2 (It is actually Office square, with a little 2 at the top right of the word Office) and Document to Go are using the familiar cut and paste used everywhere else.
Multimedia capability
A. Using hardware button to start/pause/skip/repeat song and change volume without headset
- iPhone: Yes, using a Cydia application called VolumeButton Extender
- Android: hardware button can only control volume and not pause/play/skip/repeat.
B. Using supplied headset to start/pause/skip/repeat song and control volume
- iPhone: Yes.
- Android: It can start/pause/skip/repeat with the phone in the pocket, but any volume change must be done on the device itself.
C: Volume change increment:
- iPhone: 16 volume increment, allowing you have have the volume closest to your need, e.g, listening music while trying to get to sleep without being kept awake.
- Android: 8 only, therefore offering less precise volume level for the user. Not sure if this is device specific or generic across all Android phones.
D: Playlist combining audio and video files and playing video files with phone shut off.
- iPhone: Yes. In order to play video with screen completely shut off, switch off the phone, and on the lock screen start the music player, then switch off.
- Android: It is possible to play music video with the screen shut off, but you cannot combine video and audio in the playlist. In fact the default music player does not play video - only audio.
I invite Android users to help to beef up or correct information pertaining to rooted Android phone's capabilities.
Multitasking
A: Extend of multitasking for third party applications.
Android: All applications seems to be kept alive regardless of the situations.
iPhone: If you use the Backgrounder, all applications and processes could be kept alive. If you use the smart multitasking from Apple itself, only processes that needs to be kept alive are kept alive. Such processes include GPS function, audio streaming, file upload/download where the service must be completed without interuption. Apple believes that this smart multitasking is the key to battary life and performance, so have chosen this implementation instead of what Steve Job called an easy but wrong method of "full multitasking". Application's "state" is saved, so users need not exit an application when switching to another one.
B: Methods of task switching by showing active tasks and choosing it.
Android: Menu button to show the most recently used task, which could be different from active task. Hence a newly boot up Android might not show the phone application although it is already active. This is the only method for switching to other running application without going to the program launcher.
iPhone: Many options exist to show active tasks and choosing which to switch to. Method of invoking could be one of the 19 ways provided by the Activator(methods include single click of home key, double click of home key, press and hold the home key, shake the device, double press the sleep button quickly, press and hold the sleep button, slide into the screen from below, slide into the screen from bottom left, slide into the screen from bottom right, pinch the springboard, spread the springboard, double tap the status bar, tap and hold the status bar, swipe down the status bar, swipe left on the status bar, swipe right on the status bar, tap on volume heads up display, press volume down then up, press volume up then down.)
Kirikae: list the active task. You can kill the application or switch to it there.
Circuitous: List the icons of the active task. You can kill the application or switch to it there.
Multiflow: Display and switch to task Palm Pre style. You may close the application by swiping it off, among many available methods.
ProSwitcher: Display and switch to task Palm Pre style. You may close the application by swiping it off, among many available methods.
There are others doing more or less the same thing which I would not bother listing on. You just have to choose a method that suits your own preference and personality.
With OS4.0, double click of home button will show the most recent task on the dock and switch to the application there. You might close the application by holding the icon until it wobbles and press the deletion badge.
C: Going directly to the next and previous application without bringing up a list of task:
Android: You may use the back button to go the previous application. Going to the next application is not supported by one click/touch operation.
iPhone: Using Circuiutous, you may use any of the 19 methods mentioned above to go to the next and previous application. Some people find it extremely intuitive to swipe the taskbar left and right to go to next or previous application, similar to the way pictures are changed. You could of course also use hardware button if that's what you prefer.
I invite Android users to correct/beef up any unmentioned methods.
boi youre wastin your time,
pick up your iphone and go to hell with it...
steve,
It would be nice and easier to just have a comparison table like the one Sethos II made.
gogol said:
steve,
It would be nice and easier to just have a comparison table like the one Sethos II made.
Click to expand...
Click to collapse
Thanks for the suggestion. My intention was to draw that up only after all the facts are known, rather than making biased conclusion without the benefit of complete information. It will be included later. That's why I've reserved a few empty posts to do just that.
Battery life and design
A. Removable battary - This is something that I cherish quite a lot during my winmo days. I liked the ability to carry along spare battaries before I board the plane for a long trip for example, where power source is an issue.
Android - YES!
iPhone - No. There are alternative portable power packs but they tend to make the phone bulkier. There are also portable chargers, but these solution is just not as good as having user replaceable battaries.
File Manager and Access
A. File Manager
iPhone:
Using an application like iFile from Cydia, users could see all the directories and subdirectories, and files in all directories. It also allows the files to be copied, deleted, moved. Clicking on a picture would display the picture, clicking on a music file will play the music file.
However, if you're trying to do a file attachment on a forum like here, it cannot be done.
Android: Same weakness due to not having a native file manager???
B. Ability for all applications to use the same directory?
iPhone:
Generally there is no such capability, although there are exception (e.g. The music player dTune could play music files downloaded with the Music Meow application). Therefore, if I have more than one spreadsheet programs in an iPhone, these different applications could not update the same spreadsheet file because the file has to be stored in the application's own directory. iFile of course could access any directory and display files in any directory.
Android:
Any such limitation? Which are some of the popular spreadsheet applications for example? Could you specify the location of the saved files to be anywhere?
Side loading of applications
Sideloading allows users to install programs which were not from the officially sactioned market place:
Android: - Yes.
iPhone - Yes. Non-programmer type users could install applications from the Cydia store. These are often program that Apple won't approve, but could also contain applications removed from the App Store such as porn applications.
Multimedia capabilities
A. Video playback test.
I invite anyone to provide links of videos for testing purposes to compare the two phone's playback capability.
For now, I would like to get you guys to refer to this thread and see if the video play by just clicking on the link. If not, are you able to download it and play smoothly, without pause or frame loss? Without the audio/video going out of sync? Details about this video is in post #7. The file is made for the screen resolution of HD2.
http://forum.xda-developers.com/showthread.php?t=645610
iPhone:
Yes. Without conversion, it plays smoothly although the video is not made for the iPhone screen resolution.
See youtube videos
http://www.youtube.com/watch?v=kAGqKYlSnHA - this is playing after downloading the file
Here is the video test when played directly rather than downloded first.
http://www.youtube.com/watch?v=C39CHtqOAso
Android:
Does it play?
Did I miss something or there's nothing about, say, business capabilities - Exchange and Office support? Don't know how to label the post, but here's the question:
On the iPhone, I know there are office package(s) available, but here's what I want to know - how do you transfer files there? Do you get a documents folder or do you need to look for a directory with one of those cryptic names? Also, how does it handle email attachments? Can I save a ppt I receive for later use in the office program?
With regard to Exchange - can I have full support that will include push for Tasks, Email, Calendar and Contacts? Not push for the latter three and manual sync for Tasks?
Best GPS software
iPhone:
Probably no single vendor can justifiably claim that they have the best GPS in every country. TomTom is the best in Australia (I'll justify that assessment later), but it is probably not as good in say Navigon in US, if we base it on sales statistics. The major choices are:
TomTom
Navigon
iGO
NDrive
Sygic
M6 (which I understand is the best in Asean)
Copilot
Each user may have a different idea of what constitute the best. Some value live traffics, some speed warning, some completeness of road speed information for speed monitoring, some warning upon approaching schools, some the ability to perform google search in addition to POI search, some 3D realistic view, some music control within the application, some intelligent routing that considers traffic congestions among other things, some text to speech, some multitouch user interface for map zooming in and out, some completeness of safety camera database, some map currency.
In Australia, my own preference is TomTom. It has extremely nice user interface, google search , very complete speed information for all roads, map is quite up to date for most places, it incorporates pinch and zoom, warn you when appraoching safety camera and when you overspeed, allows easy control of music without leaving the application, has 3D realistic view for major highway exits and intersections, decent text to speech option. After receiving phone calls, it automatically resume with the most up-to-seconds GPS coordinate and location without waiting for signal. If the call is terminated by the other party there is no need to touch the phone for the resume to be completed.
Sygic also uses the same map, but the UI is bad and reminds me of the winmo style, although the UI is still way better than winmo type of GPS.
Navigon, Copilot, iGo, NDrive all uses maps with rather incomplete speed information in Australia.
Android GPS ??
Which is the best in Australia and what can it do?
Note: I use Android, so if it sounds like I am biased, it's because I am (Although I tried to stay unbias). I removed some categories because I felt that either I did not know the answer (Rare) or that I didn't feel like taking the time to write one up. These are NOT definitive answers based on potential, this is purely from stock functionality (With touches on their equivalent of being rooted sometimes). Why did I do a stock comparison? This because 1) That's what most people will use and 2) The limits of both OS' when rooted/jailbroken are almost non-existent
- Cut and paste design
iPhone: Hold over text, magnifying glass comes up, release to get the two bars then drag them to copy. This is pretty straight-forward.
Android: Method 1- Hold on text entry place, then choose "Select All" or "select Text"
Method 2- If your device has a keyboard, hold the shift button and select text (Works in most places)
Method 3 (Limited to 2.1 sense Users)- Same as iPhone, but it has a few more options than cut, copy, paste.
- Multitasking design
iPhone; Currently not available for stock and I have no experience of it with a kailbroken iPhone
Android: Android multi-tasks without tweaking. It can hold as many app in memory as RAM allows (It will only kill processes when the processes kill themselves or when it runs out of memory, in which case it kills the oldest ones). To see a list of RECENTLY running processes, hold the home button. This will bring up a list of the last 6 used (Obviously it's not practical to show the 50 or so the Nexus can have running at the same time).
- hardware button design
iPhone: Home button which is multi-functional (Home, Double tap will have different functions depending on users choice/firmware), (Camera Button?), Volume Rocker, and Sleep/Wake Button.
Android: All Android phones MUST include at least a Home Button (also multi-functional, but not as much so), a Menu Button, a Back Button, and as far as I know an End Call Button. They also usually include a camera button and a volume rocker.
- multimedia capabilities
Not quite sure what we want here, but if it is how the experience is, the iPhone wins pretty heavily. Android can do the same exact things, but it looks ugly while doing it. Sense Users have the best form of Music app in Htc Music, but I'll try to stick to stock for now.
- Storage capability
iPhone: Whichever size you buy is what you're stuck with for life (16 or 32gb in 3GS)
Android: Normally have limited internal memory (Action of phone manufacturer) which means many apps may not be installed (Not a problem as most Android apps are under 1mb). Sdcards are used, give an "unlimited" amount of external storage.
- Processor and graphic capability
iPhone: Pretty sure it's 600 mhz, correct me if wrong
Android: So far we're at 1ghz, need I say more?
- Market place
iPhone: Don't own one so someone else will need to cover this
Android: Mention what you need to know and one of us Android users will tell you.
- Application software
Not quite sure what we mean by this.
- Vendor support
Both operating systems is for as long as the hardware capabilities don't force them to stop supporting it.
- Firmware upgrade
iPhone: Upgrade through iTunes, you may not get all features in the firmware update.
Android: OTA updates, if you're getting the update you usually get everything in it.
- Battery life and design
iPhone: No removable battery, and from what I've heard, battery life sucks.
Android: Removable Batteries, from what I've heard, the Nexus can go a day and a half no problem. The Nexus is thinner than iPhone, has a bigger screen, looks sexy but the iPhone would win in this department (But the plastic backs kind of kill it on the iPhone for me)
- Best GPS software (I feel that this is important enough to warrant distinct segregation)
iPhone: Third-Party apps, not sure which is best
Android: The Google Navigation is by far the best I have ever used
- Theme and UI customization capabiilty
iPhone: Out of the box, you can change the lockscreen wallpaper and move icons around.
Android: Wallpaper, Homescreens, can replace anything if you don't like it (Most apps will allow you to use that instead of the stock app equivalent).
- User interface of applications:
iPhone: In my opinion, they are all a little stale because they use the SAME exact interface (But that's the point of a user interface).They use the bar at top, bar at bottom for navigation, it's all equivalent to the stock apps
Android: They vary a little more in UI but they all are the same on thie inside. Press Menu to view options, they all have the grey bar (Mostly because this is integrated into the Android framework)
- User interface of desktop/sprinboard/program launcher/widget/task switcher
iPhone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Android:
- Notification handling
iPhone: Annoying popups, 'nuf said
Android: Status bar, pull down to see all notifications
- Best web browsing application
Not really a fair comparison as iPhone has two (Opera or Safari)
- Global search
iPhone: Can search all device files from homescreen
Android: Same as iPhone but the web search is also integrated
- Speech recognition
iPhone: Voice Over, For Music and...? purposes
Android: Voice Search by holding the search button, Voice Dialer by holding send button, voice keyboard in all text entry fields
- Side loading of applications
Clarification?
- File Management and Access
iPhone: Not sure
Android: Have full access to the all partitions other than the system partition (AFAIK) without root.
Ok so here is my verdict on iPhone Vs ANDROID
When iPhone was release i was an Apple fanboy form that very time, i paid heavily for iPhones, they were like life to me, i have every iPhone to date and the first android i got was the G1, on using it i could only say one thing, it is the future and it is proved itself day by day
Experiences
1. Jailbroken iPhone
I love how u can do almost anything but nothing in the iPhone, only thing an iPhone drools over is apps and apps and nothing else. iPhone has an edge over android in just apps. For everything else u are crippled and for anything u want to do u ought to have a computer. Battery life is not what i would love and it has a boring interface good enough for 50 year old person who can just understand to dialer and dial
Android
Android is still immature, one thing u would hate about android is that it updates acc. to devices, it will add a feature only when a device is made to have the feature. other things Android is the most customizable OS ever made in the history of smartphones and mobiles. It has a clean interface if u understand it and by far the most efficient in everything it does. You shouldnt be surprised when it updates itself to become more efficient. iPhone revolutionized the designing but android revolutionized software. Android what i say is a complete OS, it just like a mini computer, to use it u dont need to have a computer, u can do everything on the phone itself, u want to add some music, videos anything do it on the phone itself, u want to update, download do it on the phone itself and it is robust enough to even create websites, i created my website using my android phone and nothing else, Android has endless possibilities.
Multimedia-
u dont have to be tied to computer to do anything on android. U can use anything 3rd party if u dont like stock, 3rd party has the ability to add more stuff which is not in stock. onlu con is that u have no equalizer.
It can play more formats than iPhone, u dont need to convert and sync music, u r not tied to use the default music player. The gallery is the best one around.
Android has the most user friendly interface, what u need most is on the desktop others in the drawer. In iPhone u have to arrange every app u install, u can just move in one way, what u have on front is the same old apps icons, android u have icons, widgets and more.
iPhone has one prop and that is app android has one con that is less apps thats it. everything is editable if u r rooted, u can edit anything u want, u have the source to the platform, u can build one urself, if u know coding u can add everything and anything to it
So Android is gonna have more apps in some time and iPhone will age sooner than intended. Comparing Rooted Android to iPhone is like comparing Gold to Brick. As i already told with ur android being rooted u can add any feature urself by editing directly in the source code, and iPhone u r stuck with Cydia developers who can change how the iPhone OS functions but can only add features
vangrieg said:
Did I miss something or there's nothing about, say, business capabilities - Exchange and Office support? Don't know how to label the post, but here's the question:
On the iPhone, I know there are office package(s) available, but here's what I want to know - how do you transfer files there? Do you get a documents folder or do you need to look for a directory with one of those cryptic names? Also, how does it handle email attachments? Can I save a ppt I receive for later use in the office program?
With regard to Exchange - can I have full support that will include push for Tasks, Email, Calendar and Contacts? Not push for the latter three and manual sync for Tasks?
Click to expand...
Click to collapse
Yes, good point. It must be considered.
What are "business capabilities" though? I think we need to have a good list of what these are. Let start with what you already got and add some to it myself:
- Exchange support (perhaps even MULTIPLE exchange support) for address, calendar, tasks, and email.
- Ability to edit and create office documents with reasonably complete functions in say excel spreadsheet.
- Saving attachments in email, editing them, and resending them out.
- Presence of client applications that works together with enterprise software such as SAP.
- Ability to remote wipe data from lost phones
- Ability to install corporate applications over the air
- Conference call or even video conferencing to substitute face to face meetings
- Printing of documents (e.g. customers require receipts, written quotation, etc)
- Ability to prevent data from physically removed from the phone via MicroSDHC card or alternatively ability to enforce highly reliable data encryption on data stored there.
- Ability to enforce use of password on phone?
- Ability to PREVENT it from becoming so much fun that employees spend all their time on facebook, chats, and games??? (Hence they would prefer RIM phones??)
Anyone else can think of what the corporate IT people might look for in choosing a corporate phone? Or is it more of matter of "the boss loves his iPhone, so we have no choice but to allow it?"
Thanks for this.
charnsingh_online said:
I love how u can do almost anything but nothing in the iPhone, only thing an iPhone drools over is apps and apps and nothing else. iPhone has an edge over android in just apps. For everything else u are crippled
Click to expand...
Click to collapse
Can you comprehensively list in which areas iPhone is crippled? Sometimes people think that a phone can't do certainly thing, but it could be due to lack of awareness and knowledge of the capability. Thats' one of the reason for having this thread - to learn from each other. To get maximum benefit from each other's experience, let's keep our mind open to new information.
charnsingh_online said:
and for anything u want to do u ought to have a computer.
Click to expand...
Click to collapse
Really? This is new to me. I would like to offer a different perspective on this.
I know iPhone lets you install new programs and updates , buy music/video/movies, edit photo taken, compile musics, and make songs of your own, send files to another phone without going through a computer.
There are only three things that strictly requires computer:
a. Install new firmware and perform restore, which is once in a while event that I would rather use my PC anyway in view of how large the file is and how expensive my 3G data quota would cost me.
b. Performing backup and restore. This would also include backing up application data such as that for eWallet, GolfCard, PocketMoney, etc.
c. Syncing to outlook
You may see the need for a computer to do this as a negative, but I personally see that as a positive. Because with this I have the ability to backup my entire device and if my phone requires a restore/hard reset/or replacement, I can recover every applications including the data quickly. It is not practical to do backup of such large amount of data over the air. It is also not assuring from security viewpoint to keep any of your phone data in the cloud. The only place to keep them is your own PC.
charnsingh_online said:
Battery life is not what i would love
Click to expand...
Click to collapse
In terms of length of a single battery, I really do not have any complaint against iPhone. It is more or less the same situation with the other HTC phones which I owned. It varies depending on usage pattern, brightness level, how tempted you are to look at the beautiful screen every 5 minutes, whether you leave location service/bluetooth/3G/wifi running, the strength of the cell signal, etc. Frankly, I think it's hard to say which battery is better due to the difficulties in measurement, different age of the batteries being compared, etc.
The only complain I had was the fact that it's non-replaceable.
charnsingh_online said:
it has a boring interface
Click to expand...
Click to collapse
I assume you're talking about the home page here?
Have you used home page replacement products such as Overboard or Pogoplank? Or themes.
charnsingh_online said:
Android is still immature, one thing u would hate about android is that it updates acc. to devices, it will add a feature only when a device is made to have the feature.
Click to expand...
Click to collapse
I don't quite understand what you mean by "it updates acc. to devices" or "will add a feature only when a device to made to have a feature"- would you mind clarify this point please? Has this got anything to do with the "fragmentation" problem that they talked about?
charnsingh_online said:
other things Android is the most customizable OS ever made in the history of smartphones and mobiles.
Click to expand...
Click to collapse
Would you mind explain in a little more details on what sorts of customization are possible?
charnsingh_online said:
It has a clean interface if u understand it and by far the most efficient in everything it does.
Click to expand...
Click to collapse
How so?
charnsingh_online said:
is a complete OS, it just like a mini computer, to use it u dont need to have a computer, u can do everything on the phone itself, u want to add some music, videos anything do it on the phone itself, u want to update, download do it on the phone itself and it is robust enough to even create websites, i created my website using my android phone and nothing else, Android has endless possibilities.
Click to expand...
Click to collapse
Are you of the impression that adding music, videos, updates, download are not possible on iPhone and that everything has to be done on the PC first?
charnsingh_online said:
u dont have to be tied to computer to do anything on android. U can use anything 3rd party if u dont like stock, 3rd party has the ability to add more stuff which is not in stock. onlu con is that u have no equalizer.
It can play more formats than iPhone, u dont need to convert and sync music, u r not tied to use the default music player. The gallery is the best one around.
Click to expand...
Click to collapse
How is this different from iPhone again?
charnsingh_online said:
Android has the most user friendly interface, what u need most is on the desktop others in the drawer. In iPhone u have to arrange every app u install, u can just move in one way, what u have on front is the same old apps icons, android u have icons, widgets and more.
Click to expand...
Click to collapse
Can you explain in what way it has the most user friendly interface? Here you're talking about the desktop/program launcher. So you said that the frequently used programs can be kept on the desktop along with widgets, etc, and then you can have "drawer" to contain the other programs, right?
Please tell me when you're in the middle of a program and wish to start a new program inside one of the drawers, what is the procedure to start that program. Is it 1)Menu to go to desktop 2) Swipe to the place where drawer is located 3) click on the drawer 4) touch the icon of the drawer?
charnsingh_online said:
iPhone has one prop and that is app android has one con that is less apps thats it. everything is editable if u r rooted, u can edit anything u want, u have the source to the platform, u can build one urself, if u know coding u can add everything and anything to it
Click to expand...
Click to collapse
charnsingh_online said:
As i already told with ur android being rooted u can add any feature urself by editing directly in the source code, and iPhone u r stuck with Cydia developers who can change how the iPhone OS functions but can only add features
Click to expand...
Click to collapse
You may or may not be right here. I don't know the technical aspect of the two platform to judge. However, for the purpose of this thread, as mentioned in post 1, we're only looking at the capability of the phone from the viewpoint of the masses of ordinary users out there, not the OS programmer. So, if you don't mind, I'd skip this. But just for curiosity, do you yourself modify the Android OS now by editing in the source code of Android OS?
charnsingh_online said:
So Android is gonna have more apps in some time and iPhone will age sooner than intended.
Click to expand...
Click to collapse
I hope so. I hope to see TomTom for Android ASAP.

Gesture Lock / smart Unlock Functionality [Vid Included]

Has anyone heard of this?
Samsung adapted “Gesture Lock” feature, which enables the users to unlock the phone and execute the menu directly as they draw a letter of the alphabet on the screen. Users can set which menu they want to correspond to each letter, from A to Z.
Click to expand...
Click to collapse
After reading and watching a preview of this technology, I would like this function in my Samsung Galaxy S too.
Even though SGS is the newest phone from Samsung, I heard that they wouldn't have this feature implemented.
Well my question is that is there any way possible to take out from any other Samsung Phones that features this technology and port it into my SGS?
Does anyone know where in the phone does Samsung integrate this feature? (maybe in some specific apk?)
[If we figure this out, we can probably make use to all android phones]
http://www.youtube.com/watch?v=6TPCJkxHPDE
As can be seen from this vid, this unlocking feature will take you straight to any applications that you would like.
Thank you.

[Info] For Newbie What It Is It Mean? Your Answare Are Here (Updated 24th January)

Newbie Quick Start​
UPDATES
[Info] For Newbie What It Is It Mean? All Your Answare Are Here Part I
[Info] For Newbie What It Is It Mean? All Your Answare Are Here Part II - 29th December 2011, 07:54 PM
[Info] What Is Odex And Deodex In Android - 24th January 2012, 03:07 PM
[Info] What Is Zipalign In Android And How To Make Apps Zipaligned - 24th January 2012, 03:18 PM
Click to expand...
Click to collapse
USER REVIEW'S ABOUT THIS THREAD IN JUST SOME MINUTES
m.kochan10
Really good idea! IT should be sticky!
-----------------------------------------------------------------------------
rajanprash
Hi Sbxlive,
Thanks for all the info on the Galaxy R.
I am getting the device today.
I wanted to know if thr GR has NFC and MHL. As far as I know no review states that these features are present on the Galaxy R.
Thanks.
Click to expand...
Click to collapse
I Created This New Thread Because Of When I Entered In XDA With My Galaxy R ,I Really Don't Know About Above This Things And I Thought Daily New Members Are Coming In XDA With Their Devices And Facing Thats Problems Also So I Help This Buddies As I Do. So Lets Go On The Worlds ​
ITS SIMPLE BASIC BUT IMP MY FRIENDS SO PLEASE READ IS CAREFULLY YOUR DEVICE IS YOUR PART OF YOUR LIFE I THINK SO ​
OTG USB On-The-Go
USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached.
Click to expand...
Click to collapse
NFC
Near field communication (NFC) is a set of standards for smartphones and similar devices to establish radio communication with each other by touching them together or bringing them into close proximity, usually no more than a few centimetres. Present and anticipated applications include contactless transactions, data exchange, and simplified setup of more complex communications such as Wi-Fi.Communication is also possible between an NFC device and an unpowered NFC chip
Click to expand...
Click to collapse
OC
Over Clock (more clock cycles per second)
Disadvantages
Many of the disadvantages of overclocking can be mitigated or reduced in severity by skilled overclockers. However, novice overclockers may make mistakes while overclocking which can introduce avoidable drawbacks and which are more likely to damage the overclocked components (as well as other components they might affect).
Click to expand...
Click to collapse
ROOT
Rooting is a process that allows you to access the workings of your phone that the phone provider does not want you to. It allows you to changed settings, functions, whole operating systems, make upgrades etc......
You can leave the "Stock" OS behind and get the most out of a phone. IT DOES VOID YOUR WARRANTY.
Click to expand...
Click to collapse
KERNEL
In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components). Usually as a basic component of an operating system, a kernel can provide the lowest-level abstraction layer for the resources (especially processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.
Click to expand...
Click to collapse
MHL
Mobile High-Definition Link (MHL) is a proposed industry standard for a mobile audio/video interface for directly connecting mobile phones and other portable consumer electronics (CE) devices to high-definition televisions (HDTVs) and displays. The MHL standard features a single cable with a low pin-count interface able to support up to 1080p high-definition (HD) video and digital audio while simultaneously charging the connected device.
Click to expand...
Click to collapse
CWM
ClockWorkMod - A utility for Android used to flash zip files containing Android ROM distributions on an Android mobile phone. It also allows the user to create or restore backup files containing a whole installation of a ROM, including system, application and user files.
Click to expand...
Click to collapse
ROM
Technical Definition of ROM
ROM stands for Read-Only Memory and technically speaking, it refers to the internal storage of a device, which is supposed to contain the operating system instructions that needn’t be modified at all during the device’s normal operation. For this reason, such instructions are stored in read-only memory – much like on a non-rewriteable CD or DVD – to make sure no changes are made to them that could possibly make the device malfunction. This is in contrast with hard disk drives, solid state drives or regular flash storage devices used by personal computers that allow full read/write access even to the storage area that contains the operating system files.
Click to expand...
Click to collapse
What is Firmware
The read-only operating systems that we just discussed above are also called ‘firmware’, as they stay firmly in place without modification access to the users of the device. Modification of firmware is still however possible, just not under normal usage. Many devices require specialized hardware to be used for the purpose while other devices have the storage set as read-only through software protection only, which can be removed or overridden without the need for any specialized hardware, just by using software written for the purpose, often but not always requiring connection to a computer.
Click to expand...
Click to collapse
Thus, the terms ‘operating system’ and ‘firmware’ both refer to the same thing and can be used interchangeably when applied to such devices.
Click to expand...
Click to collapse
Flashing
The ROM memory used in smartphones and tablets etc. is often same as flash memory found in SD cards and USB flash drives, simply optimized for better speed and performance while running the operating system. As explained above, it is read-only under normal usage and requires a special procedure for any modifications to be made to its contents. The procedure of modifying or replacing the contents of such flash memory is known as flashing. Thus, in layman’s terms, flashing is essentially the same as installing or modifying the firmware of a device that is stored on its protected flash memory.
Click to expand...
Click to collapse
ROM as the Operating System
When it comes to smartphones and tablets, the term ROM is used to refer to the firmware stored in the internal memory of the device, rather than the internal memory itself. It can also refer to a file prepared for the purpose of replacing this firmware with another version of using a special method.
Thus, when you are told by someone to download a ROM, they are referring to the file that contains the firmware in a format ready to be installed to your phone to replace it’s existing firmware. Similarly, when asked what ROM is your phone running or when told by someone their phone is running a particular ROM, they are again talking about the particular variant of the firmware.
Click to expand...
Click to collapse
Types of ROMs
Unlike most desktop operating systems, mobile operating systems can be found in installable format in multiple forms, which can be categorized as follows.
Truly Stock ROMs / firmware:
This is the operating system in its default form, without any modifications made to it except for any device-specific support required to run it on the particular device. Truly stock firmware provides the standard user experience of the operating system without any cosmetic or functional changes made. These days, truly stock firmware is primarily found in cases where both the device and the operating system is built by the same company. Amongst modern mobile devices, examples of truly stock firmware can be found on Apple’s iOS devices, Palm’s WebOS devices and some Android devices shipped without any modifications made to the operating system by their manufacturers.
Click to expand...
Click to collapse
Manufacturer or Carrier branded Stock ROM / Firmware:
This type of firmware has had enhancements added over the default operating system by the device manufacturer or the mobile service carrier. This often includes interface enhancements, proprietary applications and in most cases, restrictions intended to limit the use of the device with a specific carrier or region. There are often further restrictions preventing installation of firmware not released by the carrier or manufacturer.
Most Android and Symbian devices fall under this category, and so do most Windows Phone 7 devices but in their case, the changes made from the truly stock firmware are minimal and limited to the inclusion of additional apps only.
Click to expand...
Click to collapse
Custom ROM / firmware:
Almost all devices ship with either of the above two categories of firmware, though things don’t end there. Independent developers who like to customize their devices beyond the standard options provided often tend to release the fruits of their labor for the rest to enjoy, in form of custom ROMs. The more open the platform, the more independent development it attracts, a good example of which is the independent custom ROM development for Android.
Click to expand...
Click to collapse
In case of proprietary firmware such as iOS and Windows Phone 7, there is often little or no room for customization of the operating system itself but regardless of that, developers still tend to release custom ROMs bundled with useful tools and hacks applied to provide functionality beyond the stock features. In fact custom ROM development for the otherwise proprietary and closed-source Windows Mobile platform lead to the formation of the largest independent mobile development community – the XDA-Developers forum.
Click to expand...
Click to collapse
Stock Vs. Custom ROMs
Both stock and custom ROMs have their merits and demerits and choosing between the two requires careful consideration. In this section, we are going to make a comparison between the two types of ROMs to help you make the right choice. Let us begin by taking a look at their advantages and disadvantages.
Do note that this section is written with primarily Android (and now obsolete Windows Mobile) devices in mind. However, the many of these concepts will also apply to other smartphone platforms.
Click to expand...
Click to collapse
Advantages & Disadvantages of Stock ROMs
Stock firmware is the result of a lot of research and testing done by the operating system vendor, the device manufacturer and/or the mobile service carrier. Therefore, it carries several advantages:
It is usually quite stable upon release.
Almost all bugs are patched during the extensive beta testing before release.
It carries the official support by the firmware vendor, device manufacturer and the mobile service carrier.
Updates are pushed automatically to the device by the carrier.
Along with its advantages, stock firmware also carries its disadvantages and these include:
Updates aren’t frequent, as development is done mostly by corporations who have to follow a scheduled release cycle.
Providing feedback to the manufacturer in case of any issues is either impossible, unwelcome (often with Apple devices), or a long, tedious process.
Similarly, getting official support can be a hassle as well, involving a tedious process.
If the device manufacturer and operating system developer are different (as is the case with Android and Windows Phone 7), any updates released by the operating system vendor need to be edited by the device manufacturer or mobile carrier to add compatibility and additional software before release. Hence, some devices get updates delayed by months.
Updates are often released first in the United States, leaving the rest of the world waiting. (A world does happen to exist beyond the United States, we’ve confirmed it ourselves!)
Worse still, when manufacturers choose to no longer release official updates for their older devices in favor of newer ones, their users are essentially stuck with old versions of the operating system. This case is evident with many Android devices barely a year and a half old.
Several OS developers, device manufacturers or mobile service carriers add
restrictions in the stock firmware ranging from locking the use of the device with one network/region to disabling sideloading of apps (we’re talking about you, AT&T) not available in the official app market, to advanced restrictions removing any chance of getting root access, just to name a few.
Click to expand...
Click to collapse
Advantages & Disadvantages of Custom ROMs
Custom ROMs are as good or as bad as the effort put into them by their developers. Key advantages of custom ROMs are:
First and foremost, choice! There are thousands of custom ROMs out there for a range of devices, each offering a diverse set of features not found in the stock ROM.
Update frequency – custom ROMs are often under active development and newer releases of the core operating system are incorporated in them way before updated official ROMs are released. This is particularly true in case of Android devices, where developers start porting newer versions of Android to several devices as soon as they are released.
Providing feedback is as easy as leaving a message on the development forum for the ROM in question, resulting in highly efficient bug reporting.
Getting support with your issues at the forums is similarly easy, as not only the main developers themselves but also other experienced users of the ROM from the community are glad to help you with your issues and in the process, improve the ROM for everyone.
Custom ROMs usually have all the extra restrictions removed, enabling users to sideload apps, tether their mobile data connection to their computer without paying extra for it, gain root access, use their device in any region etc. without any need for circumventing the protection themselves.
Performance enhancements and optimizations found in many custom ROMs can make them much faster than stock ROMs, enabling users to get the most out of their devices.
Overclocking options are built into some custom ROMs, further speeding up the devices.
Undervolting options found in some ROMs on the other hand result in improved battery life.
Old phones with little internal memory can benefit most from custom ROMs that allow them to use the external SD card memory for the apps exactly the way they would use the internal memory.
So with all these advantages, there should be no reason to stick with the stock ROM, right? Not necessarily! Like all things in life, custom ROMs come with their disadvantages as well:
Due to the lack of extensive testing prior to release, many custom ROMs can be buggy in the beginning and installing a ROM with missing or corrupt critical files can even brick your phone.
Several custom ROMs that are ports of ROMs from other phones can have missing functionality that hasn’t been made to work on your phone with the ROM yet.
Installing a custom ROM usually involves wiping your phone to factory settings, so you lose your data and start from scratch. Fortunately, Android’s built-in contact syncing along with apps offering message, call log and app backup/restore make this process easier, letting you retain your data.
The installation process itself can be cumbersome and may require you to root your phone and often circumvent its security features to allow for custom ROM installation in the first place.
Installing a custom ROM will in most cases void your phone’s warranty, though often the process is reversible, meaning you can turn your phone back to stock as long as it isn’t bricked.
Installing a ROM to your phone requires you to root it first in most cases. While rooting most phones is easy, some phones require a complicated procedure to be followed before you can install a ROM to it and often, such procedures involve a risk of bricking your device if things go wrong.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
------------------------------------------------​
I THINK THIS THREAD HELPED YOU MUCH MORE AS YOU KNOW IT WILL KEEP UPDATING WITH NEW WORDS SO KEEP IN TOUCH AND DONT FORGET TO SAY THANKS OR REPLY
IF YOU HAVE SOME SUGGESTIONS OR ANY QUERY"S PM ME OF REPLY
Click to expand...
Click to collapse
DONT FORGET TO CLICK ON THANKS​
Really good idea! IT should be sticky!
Thanks for the Info.
Hi Sbxlive,
Thanks for all the info on the Galaxy R.
I am getting the device today.
I wanted to know if thr GR has NFC and MHL. As far as I know no review states that these features are present on the Galaxy R.
Thanks.
m.kochan10 said:
really good idea! It should be sticky!
Click to expand...
Click to collapse
t-t i can not understand my english very poor
Thank you.It makes a huge contribution to new users to understand Android.
No problem mys199156 Sticky thread means in this context "fixed", it remains always on the top, no matter if a new post has come or not.
great! post, sticky now!!
Thanks. This should be sticky !!
PS : ClockWorkMod should be CWM....Not CMW.
Cheers !
s4sixty said:
Thanks. This should be sticky !!
PS : ClockWorkMod should be CWM....Not CMW.
Cheers !
Click to expand...
Click to collapse
sry my mistek
somthing wrong here wait i will again edit this topic from first line coc i dare to edit this topic on my mobile thats why it happen sorry for that
Sent from my GT-I9103 using XDA App
[Info] For Newbie What It Is It Mean? All Your Answare Are Here Part II
BFQ - Budget Fair Queueing
BFQ (Budget Fair Queueing) is a Proportional Share, or equivalently Fair Queueing, disk scheduler that allows each process/thread to be assigned a fraction of the disk throughput. It has the following characteristics.
It distributes the disk throughput to disk-bound proceses as desired, even if it fluctuates, independently of the disk parameters and with any workload. Providing this sector-domain fairness to processes issuing random requests would easily cause the disk throughput to drop on one hand, and cause other processes to experience very high latencies on the other hand. To face this problem, for processes issuing random requests, BFQ switches to time-domain fairness, in which it is the disk time to be fairly distributed (basically the scheme of CFQ).
According to our results, BFQ achieves up to 30% higher aggregate disk throughput than CFQ with most of the workloads considered, or the same throughput with the others.
BFQ guarantees to each disk request a tight delay with respect to the completion time that the requests would enjoy in an ideal (unfeasible) perfectly-fair system.
BFQ exports a low_latency tunable. If enabled (currently the default), BFQ executes a special heuristics that automatically gives to interactive and soft real-time applications more than their fair share of the disk throughput, to reduce their latency. According to our results, for desktop or handheld usage, the system becomes virtually as responsive as if the disk was idle, whatever the actual disk load is. Soft real-time applications enjoy up to 3-time lower latencies than under CFQ.
Low-latency guarantees are preserved also in presence of NCQ.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
USB JIG
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This jig will allow you to get your phone into download mode when your phone is 3 button combo disabled or soft bricked. As long as there is something on the screen, the jig should work for you.
This JIG also works to RESET THE FLASHING COUNTER. You can flash custom ROMS and put the flash counter back to 0.
***WORKS ONLY AS RESETTER FOR ANDROID 2.3.4 AND EARLIER***
For More Info : http://usbjig.com/
Click to expand...
Click to collapse
SbXLivE said:
BFQ - Budget Fair Queueing
Click to expand...
Click to collapse
You should always update this article
Very good explanation of basics!
Would be nice to have similar intro explaining slightly more complex things seen during flashing a new firmware or somehow else modding a phone. Not everyone understands what is kernel, boot, recovery, system and data partitions.
Very interesting! You resolve some doubts, thank you!
Sent from my GT-I9103 using xda premium
SbXLivE said:
sry my mistek
somthing wrong here wait i will again edit this topic from first line coc i dare to edit this topic on my mobile thats why it happen sorry for that
Sent from my GT-I9103 using XDA App
Click to expand...
Click to collapse
what I've said is wrong. I always say CMW
Nice post for android beginners.
much useful info. thanks!
What Is Odex And Deodex In Android
What Is Odex And Deodex In Android
WHAT IS AN ODEX FILE?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
Click to expand...
Click to collapse
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
Click to expand...
Click to collapse
HOW THIS WORK
For the more geeky amongst us, Android OS uses a Java-based virtual machine for running applications, called the Dalvik Virtual Machine. A deodexed, or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK. An .odex file, on the other hand, is an optimized version of this same .dex file that is stored next to the APK as opposed to inside it. Android applies this technique by default to all the system applications.
Now, when an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages. Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
Click to expand...
Click to collapse
ADVANTAGES & DISADVANTAGES
The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
For a casual user, the main implication is in theming possibilities. Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
What Is Zipalign In Android And How To Make Apps Zipaligned
What Is Zipalign In Android And How To Make Apps Zipaligned
WHAT IS ZIPALIGN?
zipalign is an archive alignment tool introduced first time with 1.6 Android SDK (software development kit). It optimizes the way an Android application package (APK) is packaged. Doing so enables the Android operating system to interact with the application more efficiently, and hence has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting is lesser amount of RAM consumption when running the APK.
Click to expand...
Click to collapse
SO HOW DOES IT EXACTLY WORK?
In an Android operating environment, data files stored in each application package are accessed by multiple processes, for example, the installer will read the data manifest to determine the associated permissions; the system server can read these resources for multiple reasons, like displaying notifications; the Home application, for example, will read resources to get the application’s name and icon. Since Android is based on a a true multi-tasking operating infrastructure, these files are continually and repeatedly accessed. Finally, but not least, the application itself reads the manifest data.
As Android is Linux-based, memory-mapping plays a key role in efficient handling of processes. Essentially, the optimal alignment for the Android OS’ resource-handling code is 4-byte boundaries. What this means is that, if APKs are memory-mapped to 4-byte boundaries, and aligned accordingly, the OS will not need to ‘read through’ the whole application package to get to the desired data manifest. Every system process will know in advance where to look for it’s desired resources, and hence will execute much smoother and faster.
Summing it up, zipaligning an APK results in all uncompressed data within the package to be aligned on 4-byte boundaries, allowing all portions to be accessed directly with the memory-map. RAM consumption is lowered while execution because the querying code doesn’t have to read through the entire application package.
Click to expand...
Click to collapse
DISADVANTAGES OF UNALIGNED APKs
Quite understandably, situation would be reserved for unaligned application packages. Resource reading would be slow and memory usage would be on the higher end of the spectrum. It would also depend on how many unaligned applications are present. For example, if less number of applications with an unaligned home application, you’d see slower application launch times. This is the best case scenario. For a worst case scenario, having a number of unaligned applications will result in the system repeatedly starting and killing processes, struggling with lags and huge battery drain.
Click to expand...
Click to collapse
HOW DO YOU DO IT, THEN?
As mentioned earlier, the zipalign tool became a part of Android SDK from 1.6 onwards. It can be found under the ‘tools’ folder of the SDK. To use it, simply run the command:
Code:
zipalign [-f] [-v] <alignment> infile.apk outfile.apk
where infile.apk is the source file, and outfile.apk is the output file.
Furthermore, you can also verify the alignment of an APK file using the following command:
Code:
zipalign -c -v <alignment> existing.apk
where existing.apk can be any application package that you need to get verified. Also, the <alignment> tag in both the commands needs to be an integral value (otherwise the command will return invalid). This value, although can be any integer, MUST always be 4, which would provide 32-bit alignment. Any other value and it will effectively do nothing.
Finally, for the flags used in these commands,
-f : overwrites existing outfile.zip
-v : will give verbose output
-c : will confirm the alignment of a given file
WORD OF CAUTION: zipalign operation must only be performed after you have signed the APK file with your private key. If zipaligned before signing, the signing procedure will disturb the alignment. Same holds true for any other alteration, addition or removal to the APK file. Any change after running zipalign will undo the alignment.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
thanx dude, i am translating to my own language and will use at a forum with your permission?

[Q] Need an Android app to be developed for $

I need an Android app to be develpoed (for money, of course). Where should I post my request?
You could try freelancer.com, a quick search said "419 freelancers found in Android"
depending on how complicated it would need to be and how much free time you have you could try to build ti yourself, i think Google just released a new app building platform
Grosskum said:
depending on how complicated it would need to be...
Click to expand...
Click to collapse
I'm not sure how to rate it by complicity: I need an app which will let me work with an Android device via bluetooth mouse and emulate a pinch-to-zoom function with a mousewheel.
Requirements:
1. emulate pinch-to-zoom function with a mousewheel;
2. custom cursor (transparent circle) and, desirable, its custom animation (when doing pinch-to-zoom);
3. the above functions should work in all opened applications (e.g. Angry Birds).
Useful info: the latest Android versions already support HID-devices (checked on Samsung Galaxy Tab and a bluetooth mouse), but mouse can't do pinch-to-zoom (the mousewheel is used only for scrolling). Also, devices with an advanced docking station (like ASUS Transformer) have a touchpad with a multi-touch support (e.g. pinch-to-zoom). So, it is possible to send multi-touch commands to an Android device from another device.

[Q] Hook and substitute hardware keyboard events

Hi all,
Few days ago I'v repaired HTC Desire Z with Russian keyboard and installed CM10.2 onto it. And of course I want to have working Russian keyboard layout.
Unfortunately only official firmware support it, and problem cannot be solved by editing layout tables because for some buttons there is two Cyrillic letters on one button. There is ruKeyboard application to fix it, but it closed source, so it doesn't acceptable for me.
So, I'm going to develop my application for it (open source, of course) and want to ask some questions... I have a lot of development experience (especially low level, e.g. drivers, MCU's firmware and so on), but never programmed for Android (however I know Java to some degree).
Of course, I can patch android kernel/sources to get my task done, but I suppose that it's a bad idea, because I'll need to port changes to new versions and so on. So, I want to process keyboard events from userspace.
My question: Is it possible to hook all hardware keyboard events (i.e. scancodes, not characters) from userspace, remove them from message queue, and produce new events? I know that producing new events is possible, but what about hooking it (like MS Windows event hooks?). Can you give me a hint (maybe link to example or API, suitable for it)?
Thank you in advance.
FossaFX said:
My question: Is it possible to hook all hardware keyboard events (i.e. scancodes, not characters) from userspace, remove them from message queue, and produce new events? I know that producing new events is possible, but what about hooking it (like MS Windows event hooks?). Can you give me a hint (maybe link to example or API, suitable for it)?
Click to expand...
Click to collapse
I am not a programmer, but I would be interested in an app that could substitute key press events (on my Motorola Droid 4).
Have you heard of the Xposed framework? Maybe this would be a possibility to achieve your goal and Xposed might make things much easier for you.
daniel_m said:
I am not a programmer, but I would be interested in an app that could substitute key press events (on my Motorola Droid 4).
Have you heard of the Xposed framework? Maybe this would be a possibility to achieve your goal and Xposed might make things much easier for you.
Click to expand...
Click to collapse
Thank you, I'll read about it (and no, I didn't hear about it, I have never programmed for Android).
daniel_m said:
I am not a programmer, but I would be interested in an app that could substitute key press events (on my Motorola Droid 4).
Have you heard of the Xposed framework? Maybe this would be a possibility to achieve your goal and Xposed might make things much easier for you.
Click to expand...
Click to collapse
http://www.howtogeek.com/195476/7-t...ramework-on-a-rooted-android-phone-or-tablet/ looks like good thing. So I'll investigate sources of Xposed to look how do they did it.
Good luck!
Would be wonderful for yet another useful Xposed module to see the light of day

Categories

Resources