PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-05-2011, 03:43 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: Alternatives to current development

Quote:
Originally Posted by AmeiseMike View Post
If you cannot duplicate a single basic interface per day, then you aren't very good at what you do. pthreads itself has already been ported to the Windows API in the past, as have several other APIs. To be fair, however, that is not an API, it is a single API procedure, though the other pthread functions would be trivial to implement as well.

As per the 3-year concept... how long have you been trying to port Android onto the TP2, so far? A successful wrapping of the Android system around CE would allow any WinCE device to have 'droid, not just TP2.

arrrghhh - they don't need more programmers, they need people who can reverse engineer things. As per BT, GPS, Proximity, Ambient, etc, that would have been handled by the CE drivers. You'd need to implement the JNI wrappers in Android for them, though.
I know, I was teasing.

Indeed, people who are skilled at REing are always needed with this type of project - and hard to come by.

I guess I'll go back to what vinceweis said. Put up or shut up - either you help out, actually implement what you're talking about, or lurk and enjoy what the other developers are working very hard on. Your choice, I'm certainly not trying to discourage you from what you're doing - but from this angle and this stage in the game, it frankly seems counter-productive. If you think you can do it, then do it and prove us all wrong .
Reply With Quote
This post has been thanked 2 times.
  #12 (permalink)  
Old 05-05-2011, 08:15 PM
highlandsun's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC G1, TP2
Carrier: T-Mobile
 
Join Date: Jan 2011
Posts: 86
Reputation: 240
highlandsun is keeping up the good workhighlandsun is keeping up the good workhighlandsun is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Alternatives to current development

Quote:
Originally Posted by AmeiseMike View Post
If you cannot duplicate a single basic interface per day, then you aren't very good at what you do. pthreads itself has already been ported to the Windows API in the past, as have several other APIs. To be fair, however, that is not an API, it is a single API procedure, though the other pthread functions would be trivial to implement as well.
It's trivial to port pthreads for the trivial cases. There are no guarantees that the Android userland is only a trivial threads consumer though. (I don't know if it uses more exotic features or not, haven't looked.) And yes, I know the POSIX APIs have been ported, I've done it myself at least twice. (E.g. OpenLDAP Source Repository - openldap.git/tree - libraries/libldap_r/ I'm also a MinGW/MSYS developer, and the guy who figured out how to implement signals in Win32 without all the crap the Cygwin guys do. Re: Ctrl-Break handler? - ReadList.com )

Quote:
As per the 3-year concept... how long have you been trying to port Android onto the TP2, so far? A successful wrapping of the Android system around CE would allow any WinCE device to have 'droid, not just TP2.
That's not a fair question, I've only started working on the TP2 port since middle of March. I'm pretty sure I could port most of Android to WinCE in a few months, but I have no desire to use Windows, and the parts that are undocumented would still be missing and require reverse-engineering. In the meantime, I've fixed quite a few years-outstanding bugs in just a matter of weeks here.

Quote:
arrrghhh - they don't need more programmers, they need people who can reverse engineer things. As per BT, GPS, Proximity, Ambient, etc, that would have been handled by the CE drivers. You'd need to implement the JNI wrappers in Android for them, though.
You'd need documentation for them, otherwise you'd still just be reverse-engineering, on an even more hostile environment. At least on the Android/Linux side of things, you have the majority of the source code available so you can see where the gaps are.
Reply With Quote
This post has been thanked 1 times.
  #13 (permalink)  
Old 05-05-2011, 08:59 PM
vinceweis's Avatar
Lurker
Offline
Pocket PC: AT&T Tilt
Carrier: AT&T
Location: Arizona
 
Join Date: Feb 2010
Posts: 6
Reputation: 35
vinceweis is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Alternatives to current development

Quote:
Originally Posted by arrrghhh View Post
I guess I'll go back to what vinceweis said. Put up or shut up -
I am more diplomatic or subtle, but it was exactly what I was thinking.
Reply With Quote
  #14 (permalink)  
Old 05-06-2011, 12:30 PM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Alternatives to current development

I think AmeiseMike's idea is not so bad but it is so much hard to make it reality. The abstract layer is really flexible to make it usable most cross platform API like use .dll on Linux or .so on Windows but we can not implement all the JNI wrapper for each device, it is a very very big job and who know what's happen with them. Also Windows & Linux kernel is 2 kind of kernel and it all difference. AFAK, Android use Linux as a based but it also use emulator and native linux binary format, and many system process made to interactive directly with kernel signal and many other things like access /proc, /dev, /sys ... everything are related to Linux stuff, I think we can not handle it all.

There are simpler & easier way is use Ndiswrapper method to load WinCE's driver and call it's API, it is use in many Linux distro to reuse Windows's drivers such as closed source driver....
You all can read more about it in Wiki's page: NDISwrapper - Wikipedia, the free encyclopedia

Good luck!
__________________
Reply With Quote
  #15 (permalink)  
Old 05-07-2011, 03:54 PM
oisact's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: None
 
Join Date: Jan 2011
Posts: 52
Reputation: 40
oisact is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Alternatives to current development

I think the primary problem with this is that it would not bypass the very issues with WM6.5 that push me to Android on this phone. For example, sending and receiving texts. Would that just thunk calls down to MAPI under WM6.5, or is it possible to access lower-level radio functions and process all of that directly within Android? If it relies on MAPI then so much additional overhead will be incurred that there will be significant performance penalties. Further, the amount of RAM that WM can make available may not be enough for Android in the first place. I had this problem when I ported Quake 2 to Pocket PC. Some device models simply could not allocate enough contiguous memory for the game to run (20-30 MB). The hardware had enough physical memory, but because of OEM implementation issues it could not allocate such large blocks. These are the sorts of problems that would be encountered running one entire OS on top of another on hardware that is already resource-limited to begin with.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:05 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com