Unrestricted Touchpad Support [Tutorial / Source / Apps] - Xperia Play Android Development

Now that framework modifications are no longer working in newer Android versions, a lot of the research I have over the past few months may be of use in maintaining touchpad support.
The Sony example apps use NativeActivity and the event ID from the native side separates the event (since touchscreen events use the same handler). The trick for an app dev getting it to work was just a matter of returning a false motion event to Java and handling the input natively with a second interface set up for touchpad events. This did not change in later versions of Android. The only real change was the key layouts. In later versions of Android, they added a separate key layout for the gamepad instead of appending the default one. That is why the circle button is no longer alt + back. Instead, you have to check the device name for zeus-gamepad and then handle it as the standard back KeyCode.
You can see the code to handle touchpads in a standalone library I put together to add to reicast. This library is built independent of the emulator and allows handling the touchpads through a secondary NativeActivity that has the methods OnNativeMotion and OnNativeKeyPress handling input identified as coming from an Xperia Play.
https://github.com/reicast/reicast-emulator/blob/master/shell/android/jni/src/XperiaPlay.c
The touchpads no longer dispatch a TouchEvent because a TouchEvent was the catch all for touchscreen, touchpad, mouse interaction. When GenericMotionEvent was added, it allowed better classification of touch and move without all the extra checks and conditions.
Trying to find a workaround from the user end instead of getting the developers to use the proper code is why older apps end up broken in newer versions of Android. A lot of the developers have since moved on to other things and left the app with the hack code. Now that it is no longer possible, it may be too late to get an update with the code that works.
GameKeyboard uses the touchpad support methods and acts as a middleman to convert the interaction into something the app can handle using standard methods. A system modification would be something like that merged with something like tasker to detect when the gamepad was opened. Until that modification exists, GameKeyboard and Tasker are a fully-functional alternative.
https://play.google.com/store/apps/details?id=com.locnet.gamekeyboard2&hl=en
Here is the full source on the various supported ways to handle the touchpads in Android:
https://github.com/AbandonedCart/XperiaPlayNative
And for Unity developers, here is an extension to support touchpads from within a game:
https://www.assetstore.unity3d.com/en/#!/content/18853
And here is a demonstration of an Android app with touchpad support from within Unity:
https://www.dropbox.com/s/lw7lebx4piizw4v/SwordArtUnity.apk?dl=0

hi,thank you for starting this thread, it's nice to se that someone is still interested in the xplay, it's still perfect for my use. i do heavy retrogaming with retroarch, plus all the new game, the walking dead,gta sa nova modern combat ecc. i'm on super jelly bean 8 with lupus 13, oc to1.4ghz for gaming with the touchpad fix,and touch pads lag as hell and make any game unplayable..
unfortunately i'm not a developer, but i will be testing of corse if you need..

This isn't really one of the threads where there will be a build or mod to download and then post error reports about. This is one of those threads (like xda used to be flooded with) meant to show people how to do things so they can add them to something or gather all the parts and build something else. It's source, instructions, and good ol' fashioned information. It's a little late, but it's all the stuff that should have been here when the games were being developed to prevent the support situation currently being faced.
Sent from my iPad using Tapatalk

twistedumbrella said:
This isn't really one of the threads where there will be a build or mod to download and then post error reports about. This is one of those threads (like xda used to be flooded with) meant to show people how to do things so they can add them to something or gather all the parts and build something else. It's source, instructions, and good ol' fashioned information. It's a little late, but it's all the stuff that should have been here when the games were being developed to prevent the support situation currently being faced.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Thank you as soon as I get another Xperia play I'll definitely be trying this
Sent from my VS980 4G using XDA Free mobile app

twistedumbrella said:
This isn't really one of the threads where there will be a build or mod to download and then post error reports about. This is one of those threads (like xda used to be flooded with) meant to show people how to do things so they can add them to something or gather all the parts and build something else. It's source, instructions, and good ol' fashioned information. It's a little late, but it's all the stuff that should have been here when the games were being developed to prevent the support situation currently being faced.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
thank you again for your support, by not being a developer i've no idea on how to use your files, not understandable for me. i'm shure it will be useful to developers for eventual new projects

Related

[Q] IE required web pages

Just a question, not really to the Vibrant but it's the phone I have.
Anyways, at school (tech dept) we use a program that we use for job requests. We can use the client or a web based version. but the Web Based requires IE to work properly. I tried loading it on the Dolphin but it doesn't seem to work on that or the Default browser. Is there anyway to get this to work on Andy?
We are looking to get Android Tablets for the techs and would like to use it.
Really biggest question is... is the site coded in asp (.Net derivative or otherwise)...
Second would be, are you ALLOWED to edit the source to comment out the IE requirement. (Assuming the site does browser detection).
Honestly, doubt you could make it work easily.... Unless the webclient doesnt do browser detection and its just on paper "IE only".
I'm in the same boat, IE only webapp (.net and ajax). I use PocketCloud vnc app to remote into a windows box and run it that way. Works well for me.
Sent from my SGH-T959 using XDA App
Haxel said:
Really biggest question is... is the site coded in asp (.Net derivative or otherwise)...
Click to expand...
Click to collapse
How is that a factor?
ASP, ASP.NET, et. al .NET back-end frameworks, don't require IE.
lol
Teamviewer is another app that works awesome as well. Just install Teamveiwer android app and teamviewer on your computer and you will be able to remote in without much difficulty.
Basically what we want to do is have the tablets and be able to use the web based version of the app to push things out to comptuers/look up work orders. The program is called Altiris. So third party apps like Teamviewer wouldn't be needed.
From Altiris we can push updates, programs via scripts to all computers on the domain, and apparently the app requires IE.. I don't have the exact details. I have emailed our lead guy working with Altiris to see if we can edit the tag for IE requirement or changing the browser check, havent' heard anything yet.
EDIT: Sorry for being kind of vague and short on the OP.
We use Alteris at my company as well and from a user perspective it is one painful app to have to deal with. When it scans the computer it slows down the user computer like nothing else.
presence06 said:
Basically what we want to do is have the tablets and be able to use the web based version of the app to push things out to comptuers/look up work orders. The program is called Altiris. So third party apps like Teamviewer wouldn't be needed.
From Altiris we can push updates, programs via scripts to all computers on the domain, and apparently the app requires IE.. I don't have the exact details. I have emailed our lead guy working with Altiris to see if we can edit the tag for IE requirement or changing the browser check, havent' heard anything yet.
EDIT: Sorry for being kind of vague and short on the OP.
Click to expand...
Click to collapse
Sounds like it's using active directory roles to do various things via built-in windows mechanisms.
A start would be to authenticate your device on the domain. No idea where to begin with that, though.
What mrxela was probably trying to say is that it could be using ActiveX. Do you know if this is the case?
Ian
It's kind a pain, esepeically when it goes down. But it is useful.
ipugh said:
How is that a factor?
ASP, ASP.NET, et. al .NET back-end frameworks, don't require IE.
lol
Click to expand...
Click to collapse
... oh lol your telling me a joke right? Your giving me a question then guessing answer to it... that must be your intent.
Based on coding, Firefox for various reasons does not acknowledge the "shortcuts" in code (usually the main reason asp sites do not work in FF, or "undocumented" microsoft api calls). Other browsers have similar issues, or may have a different issue with the same piece of code. Any more detail than that serves no purpose. So yes, ASP, ASP.NET and the framework can REQUIRE/ONLY work in IE. Thats why it is a factor.
I'll report back with hopefully some answers to these questions
Haxel said:
... oh lol your telling me a joke right? Your giving me a question then guessing answer to it... that must be your intent.
Based on coding, Firefox for various reasons does not acknowledge the "shortcuts" in code (usually the main reason asp sites do not work in FF, or "undocumented" microsoft api calls). Other browsers have similar issues, or may have a different issue with the same piece of code. Any more detail than that serves no purpose. So yes, ASP, ASP.NET and the framework can REQUIRE/ONLY work in IE. Thats why it is a factor.
Click to expand...
Click to collapse
You are unequivocally incorrect.
To say that IE is more lenient on various standards is one thing, but to describe it in such a fashion that you have is completely wrong.
A browser is not making "api" calls to "undocumented" Microsoft libraries. lol.. Further, a browser is interpreting markup that is controlled by the developer. As far as I know, there are no back-end frameworks that limit or control what markup you generate.
This has zero to do with Microsoft, and a lot to do with browser-specific javascript or markup, etc.
But really, you're incorrect and to purport your answer as being a solution or a reason is not only wrong, but could potentially derail his efforts.
Ian
I wish I had more info on altiris, we reviewed it about 2 years ago and went with Landesk and SCCM combo. I dont remember much about it, if its AD integrated you may have other issues to add on to your plate along with the browser detection.
I might be able to find the old install CD on our share and see, but wouldnt be until Monday that I could go to the office to find it.
ipugh said:
You are unequivocally incorrect.
To say that IE is more lenient on various standards is one thing, but to describe it in such a fashion that you have is completely wrong.
A browser is not making "api" calls to "undocumented" Microsoft libraries. lol
This has zero to do with Microsoft, and a lot to do with browser-specific javascript or markup, etc.
But really, you're incorrect and to purport your answer as being a solution or a reason is not only wrong, but could potentially derail his efforts.
Ian
Click to expand...
Click to collapse
oooh you must be a programmer, thats great. Over thinking is a programmers strong point. I have to fix that kind of stuff all the time. Up until later in the posting you didnt even know the software he was using.
As far as "undocumented api", you can embed .NET applications into the site (as you should know)... along with vbscript ect ect. Which with proprietary software they can/have added such in and gone OOPSIE DONT APPLY PATCH X OR IT WILL BREAK. (Which BTW is why some calls remain "undocumented" as microsoft is not sure they wish to keep it in the current form for whatever reason.) This can and does involve microsoft, or am I mistaken C# and the like is microsoft engineered and is using their own proprietary interpreter (.NET). Even if it is server side, the client side matters. Not to mention if it uses ActiveX...
I was giving the poor soul warning on speed bumps he MAY run across. Take it as you will. This wasnt an epeen contest.
Haxel said:
oooh you must be a programmer, thats great. Over thinking is a programmers strong point. I have to fix that kind of stuff all the time.
Click to expand...
Click to collapse
Engineer. And I correct people who are incorrect on a regular basis.
Ian
Just to clarify, I have the pleasure of having to use a web based in-house app built in CF, app was coded with to specifically check for firefox client and disallow any other clients. Yes, it can be changed fairly easy to work with other browsers, but that's on infinite back-burner...
Another set of web apps is built in .NET with third party ajax modules. It does not run a client check, but no browser except IE6 and above is able to even load these applications. .vb code behind does not exist so no one can even begin to touch anything without messing up another process.
VNC and desktop clients are your ray of hope when you are knee deep in doo doo!
The Web Address/website needs Active X and has a .cab file that gets installed to use the Altiris web client..
Bump.
So if this site requires Active X to run properly is there a way to run it on a different browser or in Stock Android Browser?
presence06 said:
Bump.
So if this site requires Active X to run properly is there a way to run it on a different browser or in Stock Android Browser?
Click to expand...
Click to collapse
Active X is a Microsoft only technology and IE is the only browser that supports it. There are ways to do most things that can be done with Active X using other client side technologies and in some cases plug-ins, but it requires more work and a larger support footprint on the part of the developer. If the developer does not support or provide a plug-in for your browser or have an alternate page that will do the same thing in javascript then you are going to be stuck with IE.
On the Android mobile platform having add-on or plug-in ability means either using Dophin HD, or Firefox Mobile (used to be Fennec). However, this is a moot point since it sounds like the developers have chosen not to support the platform.
This is where pressure from clients that have purchased their software comes in. With the right pressure they may add the ability or at least put it in the roadmap for a future version, but for right now you are most likely stuck with Internet Exploder.

[Q] is there an app that checks all installed or purchased apps for ICS compatibilty?

maybe either through API level, or by querying market info
Reason: i want to check on GB before I upgrade to ICS, which apps will not work.
don't know if relevant but it is for SGS II
Thx in advance
repost from here as nobody could really answer my question
can't believe I'm the only one with that issue
maybe an idea for a dev? would be willing to pay for that ;-)
I don't see why this can't be done:
-http://stackoverflow.com/questions/2695746/how-to-get-a-list-of-installed-android-applications-and-pick-one-to-run
-http://developer.android.com/reference/android/content/pm/PackageManager.html
-http://developer.android.com/reference/android/content/Context.html#getApplicationInfo()
I haven't thought through the problem just yet, but its seems to be doable. If you don't find an app soon, I will start working on a script that does it and, if successful, a proper, free software app. I am hoping the available methods won't require something as stupid as launching each app fully. But again, I haven't thought it through. Thanks for the idea btw.
EDIT:
Made a little more effort
https://groups.google.com/forum/?hl=en&fromgroups#!topic/android-developers/dXLACRIizKc
I will work on something this weekend and get back with y'all.
EDIT 2:
So it looks like I would need maxSdkVersion which I don't find in the API. Furthermore, it is strongly suggested that one not use maxSdkVersion when building an app so that doesn't sound all that useful. I have received another, much more complicated suggestion that may do what I want, but I will have to look hard at it. Looks like I'm going nowhere in my effort. Always open to suggestions. More to come later this weekend.
I'm not the sharpest tool in the shed, but I thought this was mostly a straightforward task using the API's exposure to AndroidManifest.xml. As per my previously posted link to an Android Developers discussion on the topic, my approach is dead in the water as far as I can see. I did try to find an answer though to the best of my limited ability. If anyone has or ever solves this problem (I consider it a problem) I would hope they find the this thread.
Thanks for the learning experience. I give up.
Most older apps will work fine on ICS, its pretty backwards compatible. If the app uses legacy menus the button will appear in the old lower left hand corner location instead of the upper right hand corner like apps written for ICS.
i'm no dev so bear with me if i write stupid stuff
one likely but not very promising sounding way might be to use android:targetSdkVersion as "As Android evolves with each new version, some behaviors and even appearances might change. However, if the API level of the platform is higher than the version declared by your app's targetSdkVersion, the system may enable compatibility behaviors to ensure that your app continues to work the way you expect. You can disable such compatibility behaviors by specifying targetSdkVersion to match the API level of the platform on which it's running. For example, setting this value to "11" or higher allows the system to apply a new default theme (Holo) to your app when running on Android 3.0 or higher and also disables screen compatibility mode when running on larger screens (because support for API level 11 implicitly supports larger screens)."
question though is how many apps actually use this?
However after having read this re android:maxSdkVersion "Warning: Declaring this attribute is not recommended. First, there is no need to set the attribute as means of blocking deployment of your application onto new versions of the Android platform as they are released. By design, new versions of the platform are fully backward-compatible. Your application should work properly on new versions, provided it uses only standard APIs and follows development best practices. Second, note that in some cases, declaring the attribute can result in your application being removed from users' devices after a system update to a higher API Level. Most devices on which your application is likely to be installed will receive periodic system updates over the air, so you should consider their effect on your application before setting this attribute." (taking from here) i now don't know how important my op is, but then why do all app devs release new versions "fixing things" for ICS?
One pretty significant example which actually currently will prevent my phone from getting ICS for now is that the subsonic app in the current version produces stuttering when playing audio while downloading (problem description here).
Isn't there any way to instead of searching the phone searching google play/android market instead?
Randi said:
maybe either through API level, or by querying market info
Reason: i want to check on GB before I upgrade to ICS, which apps will not work.
don't know if relevant but it is for SGS II
Thx in advance
repost from here as nobody could really answer my question
Click to expand...
Click to collapse
Here's a list of some working games/apps for ICS
Theoretically an Android app (or a combo of say App Engine and Android) could find your installed apps, seacrh Play for said apps and then scrape the page for relevant information. Doesn't sound to hard, but I didn't think about too hard either. Perhaps I will check out what useful info is on Play and how feasible scraping its markup will be. I will get back at y'all if I do.

[ROM][DISCUSSION] CM10----DisarmedToaster by AGRABREN [PERMISSION GRANTED]

Download Link:
http://goo.im/devs/agrabren/cm10/shooter/cm-10-DisarmedToaster-0.1-shooter.zip
GAPPS:http://goo.im/gapps/gapps-jb-20120726-signed.zip
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 2 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
Toolchain: GCC ARM version 4.4.3
Kernel Source: https://github.com/agrabren/android_kernel_htc_shooter
This is a Discussion thread for the rom and is only to be used for that purpose.
This ROM Thread is posted with Permission of Agrabren
WORKING:
SOUND
WI-FI
CALLING
DATA
You Tell Me!
Note I AM NOT the creator of this rom. IT IS AGRABREN
He gave me permission to post a discussion thread
I will keep this open until he feels like the build is alpha quality
I will then close this thread
I'm posting a thread as he has not.
Also If you phone explodes or you create a black hole I Take NO RESPONSIBILITY
I'm fine with the thread, at least until the ROM is stable enough to meet my standards to be posted as an alpha. People in the CM9 thread wanted to see it, since I had posted a build for the GSM phones (to test if I had the basic infrastructure working) and they were thrilled. So I posted for CDMA after the last builds came out.
Now everyone, settle down. You're all more than welcome to use this thread to discuss what works, doesn't work, and how to help each other make the most out of it.
This forum is supposed to be about helping each other. Is the ROM in development? Yes. Does it work up to my requirements for alpha quality? No. Why? Because the microphone doesn't work right. If that were fixed, I'd likely switch to developing for CM10 instead of CM9, because the camera won't kill me to get working and everything else is trivial between the two for me to not lose any time or features.
Thread moved to GENERAL - it will stay here as a discussion thread.
Edited OP and thread title to reflect that, also left a couple posts from agrabren so people know he's ok with this thread.
Any and all flames or name calling will get you an immediate infraction and likely a ban if you cross the line too much.
Keep XDA what it shold be, open and a place to learn.
Have a nice day.
im still confused why the dictionary exists in the OP? - why not just link to where that was copied and pasted from? its pretty distracting from the actual OP
Xda is the best...
Sent from my GT-XPERIA S using xda app-developers app
Can't wait to install this once I get home.
Thank you il Duce! I'm excited to see CM10 on the Shooter, and can't wait to see how far Agrabren and others take this rom!!
minieod said:
im still confused why the dictionary exists in the OP? - why not just link to where that was copied and pasted from? its pretty distracting from the actual OP
Click to expand...
Click to collapse
It's the op decision to put what they want there. You'll live.
jasonvanfebr said:
Xda is the best...
Sent from my GT-XPERIA S using xda app-developers app
Click to expand...
Click to collapse
I agree.
I've been running this for a little over 12 hours now. It's very nice and makes me very excited to see where we can see Jellybean in the future.
Not Working:
4G will not enable
3D
Camera
Google Now/Search FCs
Headphones are not detected - sound continues to play through external speaker
Potential battery drain - BetterBatteryStats shows phone as awake 100% of the time, though I had an app running that may have been the cause of it
Watching Youtube can cause a reboot after 20-30 seconds
I also was unable to boot with the stock kernel, and if I had the newer ICS firmware it refused to boot at all with any combination I tried.
It's incredibly fast though, you can definitely feel the Butter in play. I'm very impressed with the ROM and will continue to run it until I go back to the USA, at the very least.
Hi.
I've been out for a bit, glad to see much hasn't changed (sarcasm).
One troll has already been banned from the mess that had to be deleted. Please behave yourselves, I really don't like spending my free time deleting drivel and banning people. The op has permission to post this, it's compliant, just discuss away. Don't be rude to each other.
Thanks and have a pleasant evening
Can't Wait
wwjoshdew said:
Thank you il Duce! I'm excited to see CM10 on the Shooter, and can't wait to see how far Agrabren and others take this rom!!
Click to expand...
Click to collapse
I feel the same way.
I would feel better when an official RUU is available then I would start ROM'ing all crazy lol.
FusionNeo said:
I've been running this for a little over 12 hours now. It's very nice and makes me very excited to see where we can see Jellybean in the future.
Bugs:
4G will not enable
3D
Camera
Google Now/Search FCs
Headphones are not detected - sound continues to play through external speaker
Potential battery drain - BetterBatteryStats shows phone as awake 100% of the time, though I had an app running that may have been the cause of it
I also was unable to boot with the stock kernel, and if I had the newer ICS firmware it refused to boot at all with any combination I tried.
It's incredibly fast though, you can definitely feel the Butter in play. I'm very impressed with the ROM and will continue to run it until I go back to the USA, at the very least.
Click to expand...
Click to collapse
4g is not integrated into this build , neither is camera , neither is 3d , neither is voice search - that is why those are bugs
Love the idea here, just dropped in to see only shooter, not shooteru.
Perhaps a CDMA thread title, or people posting whether they are gsm or cdma.
We all want to ditch sense after all.
scariola said:
Love the idea here, just dropped in to see only shooter, not shooteru.
Perhaps a CDMA thread title, or people posting whether they are gsm or cdma.
We all want to ditch sense after all.
Click to expand...
Click to collapse
you can get a fully functioning cm9 rom (no sense) for gsm in the gsm developers section
minieod said:
4g is not integrated into this build , neither is camera , neither is 3d , neither is voice search - that is why those are bugs
Click to expand...
Click to collapse
Oh I know, I wasn't expecting them to work. I just wanted people to be aware of what isn't working, even if it's things people shouldn't expect to work.
FusionNeo said:
Oh I know, I wasn't expecting them to work. I just wanted people to be aware of what isn't working, even if it's things people shouldn't expect to work.
Click to expand...
Click to collapse
:good: - OP should be updated reflecting a "not working" feature set
Found another bug - attempting to watch Youtube for more than 30 seconds or so causes a reboot. Will update my post to reflect this (in 5 minutes, due to my lack of user permissions). I agree that these bugs should be listed in the OP, to make them easier for people to find as well as remove all the posts like "DOES FOUR GEEZ WORK" from people who only choose to read the OP.
minieod said:
you can get a fully functioning cm9 rom (no sense) for gsm in the gsm developers section
Click to expand...
Click to collapse
yes, a cm9 and cm10 Rom if you know where, the thread hasn't been created for 10 yet.
Was just hoping someone could find out why audio goes out after phone connects call through SIP(Internet calling) ?
Problem with all cm9+ roms, by 3 different gsm devs.
Titanium backup won't restore Facebook.
It's not critical, but it is a problem I've been having. Unchecking Facebook fixes it.
It hung on something else too - had to force close TB a couple times, but I got most of my stuff back.
Over all, very fast, and the phone (the old neglected bit some people actually use to talk with other people verbally, rather than via txt) works well.
I've also had issues downloading paid apps from the market - and TB warned me that my device ID had changed. It offered to change it back, which also crashed TB.
After restoring accounts from TB (and possibly the device ID as well - not sure if that completed or not), the market issues have gone away.

[Q] Choosing an engine for a game

So, probably asked hundreds of times before, I already searched for it and know some candidates, but since the oppinions I have found could be outdated, I'll ask again:
I want to jump to game development as a hobbie. I already have a job programming, and know C++ and Java very well (not a guru...yet! ). But when I search for game engines there are SO many to choose from.
I'd like to pick one which:
has a big community of users (for example, PlayN looks nice, but I think lacks of this. just try to google "PlayN push notifications" and nothing will appear)
is free (since it's just a hobby)
and would be nice (not mandatory) if it was possible to port to other non-Android devices (iOS, Windows8...). AndEngine looks great, but it is only for Android, and I don't know if Cocos2Dx is reliable.
extra points if the engine includes multiplayer capabilities or push notifications. I have not found information about this for PlayN, AndEngine or Cocos2Dx, so I guess they don't have these features and aim only for graphics. Moai looks promising here, but I don't want to learn to use it and then discover than the free edition is too limited.
So, I'd love to hear oppinions from game developers around here: please tell me your experiences.
BTW, I'd love to create a Civilization-like game, that's why I'm interested in push notifications and multiplayer. But I'll start with a card game, because I'm just not that mad (yet).
PS: After reading forum rules, I guess this question goes here, in Q&A, but feel free to move it to Android Game development subforum if you think it is misplaced.
I don't know about push notifications, but I think you'll have to code the multiplayer part yourself using sockets because multiplayer is different from game to game.
there is already a thread created on teaching how to create android games. here is the link
http://forum.xda-developers.com/showthread.php?t=1753131
Sent from my Desire S using Tapatalk 2

[Q] Tablet ubuntu able to run edubuntu (kde etc)?

Hi all
Does anyone know if I can run kde-based software on the developer alpha of Ubuntu for tablets yet please? Not expecting reliability, just want to do some child user testing of the edubuntu suite on tablets.
Thanks
Chris
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Huge thanks, that is really useful
Hempe said:
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Click to expand...
Click to collapse
After some research on your reply I've a couple questions. Does it mean the Unity interface doesn't need X-server? Or are they just using a temporary workaround until X-server is implemented?
And does this apply to both Ubuntu for Android, and Ubuntu for tablets?
Huge thanks
Having done some further research I've made my decision - thanks hugely for providing the missing link in my knowledge. What follows is my best interpretation of the rumours.
Currently in place of X-server is SurfaceFlinger, ("because X-server uses 30 yr old code" - Canonical). Canonical publicly dabbled with using Wayland until mid-Feb, then decided to create their own revamped display server from scratch, called Mir, which they seem to have been working on since mid last year, and are trying to get GPU vendors to support, written to run across all devices and to meet the needs of the Unity interface, and written in Qt/QML which is what they want native apps written in.
Bottom line for me, is that the technology is still right up there in the clouds and nowhere near decided enough to base my business strategy on. Also, Ubuntu for tablets seems a pretty thin version of Ubuntu anyway, so Edubuntu was never an option and I'm unlikely to be able to leverage much from Ubuntu's Open Source libraries anyway.
Like others, (see the comment on jonobacon.org below), I find it frustrating that the wealth of code written for Ubuntu is no longer usable, but I reckon this is probably necessary to squeeze the most out of every single CPU cycle and milliamp. Ubuntu for tablet is dead in the water if it kills the battery and performs worse than the established competitors.
Therefore all indications are I need to write for Android, keeping my options as open as possible to migrate. So it is now Titanium/UnityIDE versus HTML5, particularly assessing relative performance.
http://www.omgubuntu.co.uk/2013/03/canonical-announce-custom-display-server-mir-not-wayland-not-x
http://www.jonobacon.org/2013/02/21/five-ubuntu-touch-facts/ -- not the article but the comment starting "In that case, wouldn't it be better to port existing apps instead of...."
http://www.omgubuntu.co.uk/2013/02/canonical-working-on-new-display-server
http://www.phoronix.com/scan.php?page=news_item&px=MTMwOTM
Just to clarify.
1. There are plans to make a X-Mir compatibility layer that will allow you to run programs that require an X-Server to work with mir.
2. Not all is lost at the moment it just looks that way.
Only Graphical Userinterfaces are affected. Your commandline tools and libraries don't need to be changed.
3. If you are looking for platform to write apps for, well there is worke being done to let you run your QML apps (intended for ubuntu touch) on android.
So if you choose to make QML apps they can be or will be able to run on linux, mac, windows and android
Wow, huge thanks, I missed that.
Does this mean EVERYTHING Ubuntu without a GUI will work? I want to run a NodeJS server. How likely is it that it will work perfectly now? How likely is it that it will work perfectly in the (nominally October 2013) release? (Sorry, just give me a keyword and I'll go off and do my research.)
Is Canonical planning to get X-Mir into the next ~Oct release?
My other query was whether QML on Android would perform as well. For others interested, it looks like it works directly with the Android SurfaceFlinger, bypassing the Dalvik VM, so performance should compare with native Java code.
Huge thanks once again
Chris
Sources:
http://www.youtube.com/watch?v=TEkubKZaUt8
http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/

Categories

Resources