yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Q&A, Help & Troubleshooting] marcelloLins:
I just played for a while with a Samsung Galaxy S3 smartphone, which is awesome.

A friend of mine, showed me all its "Motions" features, which i've found preety awesome, and right away this question came into my mind :

Is is possible to write an app to reproduce those motions in every phone that has the needed sensors and providers ?

For those who don't know which are the motions in play, here are some examples :

1 - Swype hand on screen to take a screenshot

2 - Face the phone down to silence call or music

3 - Put the phone on the "ear" to call the "focused" contact on the contacts list, or, call it if you have a sms of the contact opened by the time you put it in your ear

Those are some of the features that are "motion-triggered".

Is there any way to write an simple app that runs in background and "intercept" those tasks in every aplication possible, or this is only possible because of the integration between all the "Touchwizz framework" and their components ?

Thanks in advance

Link to my Stack Overflow Question
[Xperia Arc Q&A, Help & Troubleshooting] pvyParts:
short answer yes

http://developer.android.com/reference/android/hardware/Sensor.html

a service that runs in the background could "MAYBE" do this :P

Pvy.
[Xperia Arc Q&A, Help & Troubleshooting] marcelloLins:
I am looking for a answer on it, i am waiting for this answer to start developing it.
[Xperia Arc Q&A, Help & Troubleshooting] pvyParts:
I gave you the answer. Lol.

Pvy

sent from xda app
[Xperia Arc Q&A, Help & Troubleshooting] marcelloLins:
All right, so teorically it is possible to develop a bg service that polls for those events and handles them, ok.

But, what about the second part :

Once those events are intercepted by the bg service, is there any way i can achieve this feature : (?)

1. Service checks if the contact app is in foreground

2. If it is, service checks if there is any contact picked on the contacts app

3. If there is a "focused/picked" contact, service get's its number and starts a call to this contact

Same features should work for SMS app for example.

Is this achievable without such integration as there is on the whole "Touchwizz" framework for example ?

I mean, can my "third party" app fetch this kind of information of the contacts app for instance ?

Thanks mate
[Xperia Arc Q&A, Help & Troubleshooting] soumya_digi:
An app like like this might help you!?

https://play.google.com/store/apps/details?id=com.insadco.proximitytalk
[Xperia Arc Q&A, Help & Troubleshooting] marcelloLins:
This seems to be a Stand alone app.

I am not willing to write a "Caller" app, i want to be able send those "stocks apps", signals based on the sensor events.

E.g : Once i turn the face the phone down, it hangs the call. (But this would be done by a background service, not by the "App that was selected as default, and is receiving the calls". Got it ?)
[Xperia Arc Q&A, Help & Troubleshooting] soumya_digi:
That app runs as a background service.. Use the trial version of it for free..
[Nexus 7 Q&A, Help & Troubleshooting] Shaquiel Harris:
Anyone have any luck picking this thing up in store so far thats non preordered? cant seem to find anywhere out here in cali.
[Nexus 7 Q&A, Help & Troubleshooting] Character Zero:
Sam's Club.
[Nexus 7 Q&A, Help & Troubleshooting] Censura_Umbra:
Just picked up the last one in Staples a few minutes ago.

They received their shipment around noon, only got 4, and sold out by 2:30.

I called the same store on Saturday and they said they would not receive them for a month so no one knows for sure.

So Call every store every hour or 2. You may get lucky and they will get a random shipment.
[Nexus 7 Q&A, Help & Troubleshooting] andrewhansen86:
Got mine at Sam's Club on Friday.
[Nexus 7 Q&A, Help & Troubleshooting] bongostl:
Sam's
[Nexus 7 Q&A, Help & Troubleshooting] NeoMagus:
Got mine at Gamestop Saturday but people are talking on the other places for sale thread you can search on staples.com store locator see if they have any
[HTC Sensation] Avengeme:
I make no claims to be any good at this but I was searching around for a fix to the contacts not displaying in 3rd party apps issue and came across a user named erishasnobattery on teambamf.net that had come up with a solution in addition to the zerg rush temp root script and incorporated the two for the HTC rezound. So I took a look at it and figured that it could be applied to my Sensation, didn't have a usb cable at work with me so I just did it manually but I've modified the batch file that he was using to push via adb from a PC and I've attached it.

I saw when I posted this that there is an app that does it but I also saw that some people don't like installing 3rd party apps for small little issues like this so I figured I'd put it up anyways, mods can determine whether it should stay up or not.

Like I said I'm no expert and I didn't use the batch file, I modified the permissions with root explorer and downloaded the files to the appropriate directories and ran the script, rebooted the phone and bam all contact pics in handcent so it works. I did notice when I went to move the sqlite3 file to /system/xbin it was already there so I just changed the permissions on the existing file instead of overwriting with the one included.

Contents of the batch file are as follows:

:cd %:h

@echo off

echo Waiting for Device....

adb wait-for-device > NUL 2>&1

echo Pushing Files...

adb push sqlite3 /system/xbin/sqlite3 > NUL 2>&1

adb shell chmod 777 /system/xbin/sqlite3 > NUL 2>&1

adb push fix_contacts.sh /system/etc/fix_contacts.sh > NUL 2>&1

adb shell chmod 777 /system/etc/fix_contacts.sh > NUL 2>&1

adb shell /system/etc/fix_contacts.sh > NUL 2>&1

echo Fix Complete, Hit Enter to reboot.

pause

adb reboot > NUL 2>&1

contents of the fix_contacts.sh file are as follows:

#!/system/bin/sh/system/xbin/sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db "UPDATE raw_contacts SET is_restricted=0 WHERE is_restricted!=0"

You can determine for yourself if you want to use it, obviously not responsible for any problems it may cause and as always do a backup first.

Thanks,

Court
[HTC Sensation] kgs1992:
Thanks for sharing the fix, it works.

This just changes one of the attributes for the raw_contact entity, which I suppose is quite safe if you don't install untrustworthy apps.

(Any application that has been granted permission to access your contacts during install will now have access to your facebook contacts & possibly other restricted contacts too.)

If you are already running a custom ROM, then I recommend you follow these instructions:

Download Terminal Emulator from Google Play

Open Terminal Emulator

Type

su

and hit enter

Type

cp /data/data/com.android.providers.contacts/databases/contacts2.db /sdcard/contacts2.db

and hit enter

Type

/data/data/com.android.providers.contacts/databases/contacts2.db "UPDATE raw_contacts SET is_restricted=0 WHERE is_restricted!=0"

and hit enter.

Type

exit

and hit enter.

Reboot the phone.

Done. That's all you need.

You may need to repeat this everytime a new contact is added.
[Samsung Galaxy Nexus] mArCo1928:
I don't know what i'm wrong but when i try to install USB driver with GNex TOOLKIT i can't, at end of the procedure, my serial number. The software returns "...doesn't have loaded mui entry"

I don't know what can i do...

Thanks

P.S. I'm unable to post in dedicated section/topic because of my post counter is under 10

Sry for bad english
[Samsung Galaxy Nexus] moeahmad1995:
Install drivers manually
[Samsung Galaxy Nexus] mArCo1928:
kgreemi stric

thanks, it was very simple! the pdanet returned an error but at the end all work right. i think.. now i can try "camera enhancements".

can you say me if i have to reset the phone/lose all my data/have to format or something like this, for obtain the "camera enhancements"?

i've this phone from 4 days and i've spent all my free time to set it properly. i don't want lose all my progress, it was a waste of time
[Samsung Galaxy Nexus] stinky73:
As with all programs such as the toolkit and playing with system files Mike the developer of the program recommends a full backup before you start playing - just in case. (So do I, always) That way you don't lose your setup that you have worked on so hard...

The camera mods do not wipe or affect the phone in any way, at least not when I applied them, but things can go wrong, so that's why you back up ;)
[Samsung Galaxy Nexus] mArCo1928:
Thanks, for a full backup of my system, application, settings, launcher settings, messages and so on, what i have to do exactly? Also partition and other important stuff if i don't remind/know now. Partition, SD Card, things like that, a complete backup of device i intend.

There's no need to this? I don't want to risk anything :)
[Samsung Galaxy Nexus] stinky73:
Nandroid backup is included in the Galaxy Nexus Toolkit so use that. Everything is backed up by that - you can even get really clever and extract sms mms etc. from the nandroid (for example here http://xdaforums.com/showthread.php?t=1370349) if that is what you mean by messages. Surely your emails will be on your email server, contacts in your google account as extra backup even though the nandroid will contain them? Unless you do something really radical, like fully wipe the SOC, partition etc doesn't enter into it...
[Samsung Galaxy Nexus] mArCo1928:
hi, i unlocked my phone, but... where i can find what it was of my interests? camera enhancements. Where i can find it, in the toolkit 7.4?

ok, it was on mods section of the toolkit
[Galaxy S III Q&A, (US Carriers)] s60convert:
I am not sure if pressing the home key and waking the fone to the lock screen is a feature of the OS or an app? Only app it could be is the Apex launcher but I cannot find a setting to change this (if even possible) anywhere. Many times when I pull the phone out of my pocket it is awake already.
[Galaxy S III Q&A, (US Carriers)] hitekdroid:
This! Please! Im using Adw and there is no option to disable it either. Who knows how much battery I'm wasting @ work.
[Motorola Atrix 2] RAD7:
Hi Guys,

I am totally hassled no end due to endless reboot of my phone due to using an Transcend 32gb class 10 card. I need some inputs to resolve this if anyone can advise of.

Mine is an sys version. 55.28.37.MB865.AsiaRetail.en.03 with 2.3.6 with baseband version 2012-03-28 off.Bld UnRoooted.

The issue is the phone works fine with this card in all respects until in case phone is restarted or powered off & on.

What follows next is the phone starts up normally & then after a while it restarts again & this goes on and on. I have tried all methods, pulling out the battery and waiting & then starting off, starting the phone without the card wherein phone remains stable & normal & then inserting the card & the same issue of restarting happens after a while, putting the phone to sleep & then inserting the card, pulling out the card without unmounting etc etc. Also I have observed by pulling out the card & then putting it back in, storage setting shows the card as total space as 29.23gb but when I click unmount, it shows in progress but then again shows option for unmount but at the same time card apps are not available.

Finally, I cannot recall at which point of time & due to which action the phone accepts the card and functions normally. Is there a fix from Transcend for this 32gb microSDHC class 10 card in terms of formatting the card with their software or would there be a fix from Motorola in the upcoming ICS update?? More importantly, does anybody know any trick of getting the card to be accepted by the phone because as I mentioned once the phone normally accepts it, it works without a hitch.

Thanks.
[Motorola Atrix 2] techsavvy.jaz:
The Atrix 2 HAS ISSUES WITH CLASS 10 MEMORY CARDS. Class 6 or less works fine. There are plethora of threads on this topic, please search before posting.

Sent from my MB865, still running on GB :(
[Motorola Atrix 2] kousik:
It is a known issue. But still there's hope, you can try selecting a higher vsel to see if that helps driving the card. Higher capacity, higher class demands higher voltage. But no guarantee it'll work, rather you may end up charging more often. An app like "SetVsel" may be able to do this, but you'll have to root your phone first.
[Motorola Atrix 2] RAD7:
@.jaz... I am well aware of the 32gb class 10 issues & one of them on which I had posted much earlier was "Known working SD cards" & my quote as below from the earlier thread atop the original post

Quote

Transcend 32gb Class 10 works fine. Moto support chat told me up to 32gb is supported but class 10 is not recommended & class 6 is fine but I believe 32gb class 6 is not available at all & hence I purchased 32gb class 10 and with so many apps, music, 1080p vids & 8megs pics I think 32gb is essential to keep it all together. Just keep backups at all times!

Unquote

As I stated the card works fine endlessly unless if due to battery complete discharge phone is switched off or if user restarts the phone then the issue of booting normally occurs and thereon after a while phone reboots and this is endless. Here my query was I am unable to pinpoint by which action or at what point of time the phone reaccepts the card working normally again & if any user has any helpful inputs worth a shot like what Kousik suggested. Also if anybody knows if Transcend or Motorola have some patches for this as it is already proven the card words fine.
[Motorola Atrix 2] RAD7:
@Kousik.. Thanks but I prefer being unrooted until Motorola releases the official ICS update then I will join the bandwagon. Thanks for the suggestion though.
[Motorola Atrix 2] Apex:
+1
[Motorola Atrix 2] Apex:
Why do we have to keep seeing threads like this pop up? Its a known issue, its BEEN a known issue, and the solution to your "reboot woes" regarding your class 10 SD card is, are you ready...?

Don't use a class 10 SD card!
[Motorola Atrix 2] RAD7:
@ Apex... Nobody is forcing threads upon "You"..if you view & feel, "not again", then you can just skip it.

As I already clarified, I have looked up this issue much before even buying the card directly checking with Moto directly wherein they did confirm 32 gb is compatible but at no point they advised me categorically to desist buying Class 10. The only reason as I once again state since I believe you are taking a view that an old issue is being revisited, is that for almost three months now the card has been functioning fine. I am just trying to get an handle on what particular action or point of time causes the phone to accept the card & function normally. I repeat, as far as phone does not get switched off, this card works without any glitches and then even after the constant rebooting at one point it does reaccept & functions normally. Kousik had one suggestion, could there be any other like, formatting a card from the pc or from the phone itself, not very sure of "NTFS" or "FAT" formats, Transcend has a special format program as well. If any senior members know that if this could be addressed in ICS. It is very generalised view Class 10 - end of story. Let's have some fresh inputs like how I have explained my experience.
[Motorola Atrix 2] jimbridgman:
What you are failing to see here, is that some of us have now had this phone for over 10 months now and seen it all. I can tell you this is not a new issue at all. Try formatting your card from within the phone itself under setting--> storage. It will function just fine for a period of time, and then at some point it will stop functioning again. This is completely normal behavior. Go buy a class 6 32GB card and you will NOT have this issue. Motorola is a bunch of morons, and I would not trust one thing they tell you.
[Motorola Atrix 2] goodgulf:
The SDHC class 10 problem is not limited to the Atrix 2 or motorola. It is a generic problem with google/android and class 10. Unless rooted, hemorrhoid has a nervous breakdown with NFTS, forcing the use of FAT32 or exFat.

Don't want to repeat myself or continually repeat the same post from Patriot but they provided some very useful information acknowledging a problem with hemorrhoid OS and 32GB class 10 cards and suggested a temporary fix of performing a full format on a Windows PC in FAT32 with a 32kb allocation size.

A copy of the Patriot reply can be found on the April 11, 2011 review currently on this page: http://www.newegg.com/Product/Produ...IsFeedbackTab=true&Keywords=(keywords)&Page=6
[Motorola Atrix 2] jimbridgman:
You sound like an immature child calling Android "hemorrhoid OS".

Please stop doing that, and call it Android as is should be.

Thank you!
[Motorola Atrix 2] techsavvy.jaz:
I know you from previous posts.. thats exactly why i was more surprised to see this post from you. And from the same thread that you've mentioned, there's post that kingmax class 10 is working fine.. i wonder it was you who posted it :D

Sent from my MB865, still running on GB :(
[Motorola Atrix 2] prasannapmv:
Try increasing the sd cache to 3 or 4 mb

Get a scripter from market and schedule this to run on startup you can also use terminal emulator.

echo "3072" > /sys/devices/virtual/bdi/179:0/read_ahead_kb

Also sometimes even a brand new momory cards are corrupted so connect it to a pc and perform full format.
[Motorola Atrix 2] RAD7:
At least it is good to see unlike some fellow members who resort to Caps,bold (which is a no brainer -bad etiquette) have a way of putting things across. Moto personnel yes, learnt it the hard way & the whole idea before purchase was to confirm. I never said this was a new issue and fully agree and aware of reams of info on this topic but if you yet see, still many users are yet coming up with suggestions,tips within this thread itself (thank you all :) Getting a 32gb Class 4 (now here I have never seen a class 6 32GB, would like to see a link for one though) & moving on is simplest solution. But I pumped in good money besides the phone on this card and if there is no other way, then would like to know for info's sake on a technical front what causes this issue. No one yet answered my question if they are aware of if upcoming ICS can resolve this. Anyways, appreciate your thoughts.

Now if I buy a 32gb class 4 card what would be the ideal way I can have a exact replica of my existing card?

1) Would I need to just Copy the whole card as is in to a pc folder the paste the same on to the new card??

2) or is it a better idea to redownload all apps once again? I have back up on the card for all my apps from "Apps2SD" but then I believe it's backs up all version of any single app then how should I go about it restoring apps on to the new card?

3) Before using the card for the first time for optimum performance is it required to format the card from within the phone or from PC using a tool like "Autoformat".exe (also what's the deal on NTFS,FAT formats, which one is better and how to go about it?)

Thanks
[Motorola Atrix 2] techsavvy.jaz:
What bugged me the most and prompted me to use the caps lock was, a relatively known member posted this thing, and besides, if you asked about the work arounds or technical things, me being a not-so-tech-guy wouldn't have jumped on to this, would have left it to the more senior members. It was plain "why isnt' a class 10 mem card working with A2?" thread.

and hey I too get a lot of stick, and i completely understand, it's just to keep the forums clean.
[Motorola Atrix 2] Apex:
Precisely why I posted to this. Point being: its been previously posted, discussed (at length) and known for quite some time that this is a problem with the ATRIX 2. We don't need one or three or twelve threads on the same topic. No one will regard your credibility highly (but rather your lack thereof) if you don't follow forum rules and have respect for keeping it clean and organized. So, again, a class 10 SD card may work for a given time, but you WILL have issues with it sooner or later. There's no "ifs", "ands" or "buts" about it, so come to terms with it. Your questions and/or concerns on this topic could have -and should have- been posted in the other topic-related thread.

The reason behind my "bad etiquette" as you say (passive aggressively, I might add -real mature) was to get it through your head that the class 10's will not work with this phone. This is why other members chimed in with some frustration, because we know it won't work with these phones. Do I know exactly why it doesn't work? No, and quite frankly I don't care. The SD card problems found over class 6 is completely innocuous when knowing the solution: don't buy one! :banghead: If you feel like you just have to determine the reason it won't work, ask in the already existing thread(s). Hell, just Google it or find out on your own the answers, maybe then you'll get some credibility.

And just a little reminder: http://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Motorola Atrix 2] jimbridgman:
I noticed you mention apps 2 sd, you can not install and run apps on the sdcard with this phone, that is the reason you are having this issue, again that has been pointed out all over this forum.

There is a bug in motorolas implementation of android that causes this. So your best bet is to get that 32Gb class 4 card you mentioned and NOT install ANY apps to it. Infact you MUST disable that in settings.

So far with the ICS leaks we have not seen a fix for this. I am sure moto does not care much about fixing the issue because there is 4GB of internal app storage on the A2.

Also, for future reference do a search and post in an already established thread no matter how old it is. The reason you got such a bad reception is due to the fact that this issue gets coverd weekly around here.

Get a card reader for your pc and copy the data ONLY, not the apps. Using a usb cardreader you should be able to get one that will hold 2 cards and just copy from one to the other.
[Motorola Atrix 2] RAD7:
On the youtube video, that was the first thing I watched when I joined XDA so I guess might come in handy for noobs who might have missed that & who are reading this now. In case if you missed it, I have been repeatedly acknowledging the fact that I completely realize this is a much talked about topic but I had some other relative add on's in here on which I was expecting some help and you can see members still have some suggestions to offer as varied as changing cache size to some other options, so uh, some people yet opine of some workarounds. In any case, I moved on asking for tips for setting up a new card so I would think it is pretty evident that I am completely in terms of acceptance of the fact that class 10 has an issue. I also mentioned no one is infallible & I am sure you would have had your days too. I don't think any forum encourages caps,bold except for emphasizing something technical & as such it is better best avoided by the senior-est of members I'd say. When you say, you wanted to "get it through my head", I'd have worded it, "I am trying to explain to you here that.." so I guess it's evident who is getting aggressive here & hey like you say "hell" if i wanted to know the reason why it wont work & as you suggest to go google it..yeah then I wouldn't be here in the first place. I'm not sure why you are still subscribed to this thread still though since you feel it's such a no brainer? Cheers!
[Xperia Arc Q&A, Help & Troubleshooting] Deleted member 3979716:
Is there any Xperia Pro ROM that works with stock ics 4.0.4 kernel?

Or an Xperia Neo ROM tested to be working on Pro too?

Thank you!
[Xperia Arc Q&A, Help & Troubleshooting] popthosegaskets:
Should'nt you search for it in the PRO forums?
[Xperia Arc Q&A, Help & Troubleshooting] wiidbzxt:
There are no Xperia Pro forums.

However, you should try to look here: http://xdaforums.com/showthread.php?t=1642480

And I know how frustrating it is that the Xperia Pro doesn't has its own forum, so give it a vote here: http://xdaforums.com/showthread.php?t=1660354
[Xperia Arc Q&A, Help & Troubleshooting] heinrichkaiser:
Making one for you mate.. :)
[Xperia Arc Q&A, Help & Troubleshooting] Deleted member 3979716:
Really? No kidding? Thanks!