Why QuickContact Dialog Not Working on Xperia Devices - Xperia Arc Q&A, Help & Troubleshooting

Hi Folks:
I am a developer and developed a contact widget that could put all your contacts on your homescreen, and bring up the QuickContact dialog when user click a contact. The app has a free already available on the Goolge Play Store for a long time. The source code is availalbe on Github.
My widget is welcomed by most of users, however got some serious problems on Sony Xperia devices. The QuickContact dialog seems not poping up and freezes user's homescreen untill they hit the Back button.This is the line for bringining up the Quick Contact dialog for a particular contact:
QuickContact.showQuickContact(context, intent.getSourceBounds(), uri, ContactsContract.QuickContact.MODE_SMALL, null);
I noticed that Sony UI does have a similar QuickContact dialog and wondering how I could use that?

http://forum.xda-developers.com/forumdisplay.php?f=1182
do u see that section?
/and about xperia's problem : add new widget to homescreen and then choose contact, select which contact u want to see in the homescreen
and done!

hungragezone said:
http://forum.xda-developers.com/forumdisplay.php?f=1182
do u see that section?
/and about xperia's problem : add new widget to homescreen and then choose contact, select which contact u want to see in the homescreen
and done!
Click to expand...
Click to collapse
wrong thread dude

Moved to Q&A

I will really appreciate if anyone could provide some help here

Hey, I found the solution.
you get the contactUri wrong in your ContactAccessor.java, you use: Uri contactUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
what works for me: Uri contactUri = ContactsContract.Contacts.getLookupUri(context.getContentResolver(), ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId));
Btw, your code was great help for me, thank you for that!

2ma said:
Hey, I found the solution.
you get the contactUri wrong in your ContactAccessor.java, you use: Uri contactUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
what works for me: Uri contactUri = ContactsContract.Contacts.getLookupUri(context.getContentResolver(), ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId));
Btw, your code was great help for me, thank you for that!
Click to expand...
Click to collapse
Thanks so much for the help! I have made the changes according to your suggestion: https://github.com/yuyang226/ContactsWidgetICS/commit/40820b9d49eff16b06050f3c1614c2911f429dbf.
I have also build a binary apk for anyone to try it out: https://dl.dropboxusercontent.com/u/6712710/ContactsWidgetICS.apk.
Finally, may I know which Xperia device you are using and which Android version are you using? I will publish this build to Play store if it works.

Looks like the previous change not working for Samsung Touchwiz, and I have made further changes to fix that problem: https://github.com/yuyang226/ContactsWidgetICS/commit/822127ccf504b397fb747faedbac92a0ce42a5d6
Please try this build instead: https://dl.dropboxusercontent.com/u/6712710/ContactsWidgetICS.apk

yuyang226 said:
Looks like the previous change not working for Samsung Touchwiz, and I have made further changes to fix that problem: https://github.com/yuyang226/ContactsWidgetICS/commit/700b5ed0e271b0ca1f5307c83d2f29e0c636e3a3
Please try this build instead: https://dl.dropboxusercontent.com/u/6712710/ContactsWidgetICS.apk
Click to expand...
Click to collapse
Hey I haven't tested your app, I'm just using the same approach The original code worked on nexus7,nexus S, sony tipo, but it wasn't working on the sony sola.
The one I wrote worked on all four, I only have these devices right now. I'll test this, because my app uses the quickcontact too, and I would like it work on all the devices.
It seems to me, problem is, that non-stock devices use the contactUri somehow differently. Will test it, and report back!

2ma said:
Hey I haven't tested your app, I'm just using the same approach The original code worked on nexus7,nexus S, sony tipo, but it wasn't working on the sony sola.
The one I wrote worked on all four, I only have these devices right now. I'll test this, because my app uses the quickcontact too, and I would like it work on all the devices.
It seems to me, problem is, that non-stock devices use the contactUri somehow differently. Will test it, and report back!
Click to expand...
Click to collapse
Thank you buddy! Just let me know after you test my build. It is a shame for Sony that they changed the way how QuickContact dialog works.

yuyang226 said:
Thank you buddy! Just let me know after you test my build. It is a shame for Sony that they changed the way how QuickContact dialog works.
Click to expand...
Click to collapse
Your version works on the sony sola, tipo, nexus7 and nexus S. So, touch wiz needs some extra love too...that's just great...
I don't know why they are doing this, but it's a pain in the a$$. Anyway, I hope this works now on all the rest of the devices!
Thx for making your code available!! As I said, it was a great starting point
edit: forget to say the android version: sola and tipo run on 4.04, nexus 7 on the latest 4.2, and nexus s on 4.1

2ma said:
Your version works on the sony sola, tipo, nexus7 and nexus S. So, touch wiz needs some extra love too...that's just great...
I don't know why they are doing this, but it's a pain in the a$$. Anyway, I hope this works now on all the rest of the devices!
Thx for making your code available!! As I said, it was a great starting point
Click to expand...
Click to collapse
thanks for the test report, and my app can finally support Sony devices!

Related

[MOD]Reg Hack SOLUTION on Window 8 App Swype Dock for Lower Resolution PC screen

I have an Asus Pc slate with a MAXIMUM resolution of 1280 by 800 and as you all aware that, in order to get the App on window 8 dev build to swype or dock, you're required to have a system with a screen resolution minimum requirement of 1360 by 768, and anything lower the apps would work BUT NOT the swype docking system.
Be doing some serious searching on the web and stumble across this website with straight forward SOLUTION .
It's NOT my work nor am I a messenger, just wana help out, i tryed it and its working on my Asus Pc Slate that has only 1280 by 800 Screen Resolution, there are two ways of going about it so just visit the site http://www.addictivetips.com/window...ap-feature-and-how-to-snap-metro-application/ and choose which option is easier for you.
Am just excited that its that simple and it work and i have tried it using the tweeter and reed app and works, try it out and leave feedback both here and the website if you can, am sure everyone on here would appreciate it.
Excuse any grammatical & spelling errors.
Thank you 10000x times! It works!
matejdro said:
Thank you 10000x times! It works!
Click to expand...
Click to collapse
Am pleased you found it helpful & useful, can't take the credit for the work but appreciation is acknowledged & well received.
Please leave any feed back on your experience & product device your using if you can.
I'll keep on scouting for more & new treats for window 8 & wp7.5 apps compatibility.
two words
blue poison...
although the hack is helpful I must say some apps won't work due to resolution
Yes, BluePoison 2.1 is the way... ;-)
Sent from my Samsung Omnia 7 using XDA Windows Phone 7 App
Hey guys,
I have a Tablet (AT Tablet)
When i use the register hack, everything works perfect BUT when i use IE10 the keyboard wont show up when i click the input bar..
Any ideas?
Nevermind, it decided to show up
Mjuksel said:
Hey guys,
I have a Tablet (AT Tablet)
When i use the register hack, everything works perfect BUT when i use IE10 the keyboard wont show up when i click the input bar..
Any ideas?
Nevermind, it decided to show up
Click to expand...
Click to collapse
Good 4 U Dude....

eBookLauncher (new homescreen)

I have finally got a nook
so, I have started porting my Sony homescreen replacement to work on the nook
so far it can get the list of books and shelves (collections), but not much else.
http://code.google.com/p/sonyprst1home/
I'll try to keep this thread updated with how it's going
please let me know if you would like to test this out (I can send you an apk to install)
All new releases will now be made on the google code page above.
it would be grat to have the apk and some screenshot
i would be interested to see a screen shot...
Awesome! Time to test it! I'm at school right now, so this is probably a terrible idea, but I might as well have something to do, right?
Edit: Have some screen shots. Ignore the 10:16 in corner of all the screen shots, I have an app that does that. (Sorry for the massive post)
Mini-Library / Homescreen
Pressing Menu on the Homescreen
Pressing "My Home Settings" here brings you to this screen
Library
Apps Page 1
Apps Page 2
It still seems to have various elements in color besides the app icons and the book covers.
Googie2149 said:
Awesome! Time to test it! I'm at school right now, so this is probably a terrible idea, but I might as well have something to do, right?
Edit: Have some screen shots. Ignore the 10:16 in corner of all the screen shots, I have an app that does that. (Sorry for the massive post)
Mini-Library / Homescreen
It still seems to have various elements in color besides the app icons and the book covers.
Click to expand...
Click to collapse
How does Cover flow work??
persichini said:
How does Cover flow work??
Click to expand...
Click to collapse
The screen flickers and does nothing when I click it :/
I`m trying t use your launcher, but got this:
pilson66 said:
I`m trying t use your launcher, but got this:
Click to expand...
Click to collapse
And you are running the apk you downloaded from this thread?
I'll have a look, but I thought I had taken out the code trying to open the database directly.
Googie2149 said:
The screen flickers and does nothing when I click it :/
Click to expand...
Click to collapse
Only the main page, books and collections screen have been worked on so far.
I haven't even opened the other screens yet, so opening them could do anything (including crash)
It is worked ! , thank you
aspellclark said:
And you are running the apk you downloaded from this thread?
I'll have a look, but I thought I had taken out the code trying to open the database directly.
Click to expand...
Click to collapse
i`m use apk from http://code.google.com/p/sonyprst1home/downloads/detail?name=SonyPrsT1Home-0.0.4.14.apk&can=2&q=
At now, i solved this issue by editing permissions of file from screenshoot path "chmod 666".
pilson66 said:
i`m use apk from http://code.google.com/p/sonyprst1home/downloads/detail?name=SonyPrsT1Home-0.0.4.14.apk&can=2&q=
At now, i solved this issue by editing permissions of file from screenshoot path "chmod 666".
Click to expand...
Click to collapse
if you use the apk from this thread, it uses a different method of accessing the database, and doesn't need permissions changed on the database file.
Wow, I love this forum!!
From what Googie posted, I can see this is another cool thing to try out.
Now to get an SD card.
Screensaver
aspellclark said:
if you use the apk from this thread, it uses a different method of accessing the database, and doesn't need permissions changed on the database file.
Click to expand...
Click to collapse
Wow, thanks for the great work. Really nice application for too many books and collections.
However, as the project was opensource, are you going to release the modified source somewhere? in a branch or tag or something?
I would like to see the screensaver feature working for last launched book, would try myself if the code was available.
the code is already available at the google code site in the first post
aspellclark said:
the code is already available at the google code site in the first post
Click to expand...
Click to collapse
As you mentioned the APK here has a different way of accessing some file, and I don't see a tag or branch for the nook, I understand that the code is the one for the PRS-T1, correct me if I am wrong.
It's the same code. I am making a single apk that will run on a Sony and a nook (and other devices in future)
First general release (0.1.0.00) which runs on both the Nook and Sony is now available on my google code page.
aspellclark said:
First general release (0.1.0.00) which runs on both the Nook and Sony is now available on my google code page.
Click to expand...
Click to collapse
THANKS, great work! Watching for code check-in
I can't check in the code until I get home tonight, sorry.

[Mozilla OS] Boot2Gecko(B2G) for Galaxy Nexus

Sorry for the lack of English proficiency.
Hello, I'm using GalaxyNexus(maguro) in Korea.
Boot2Gecko (B2G) has been trying to run the build.
working
SMS is available in English.
voice call
3G
Problem
Softkey is not
wifi does not sing
Press the Lock button freezeing
screen shot :
HOME
http://pic.twitter.com/NabqfHiz
Browser
http://pic.twitter.com/xDkTZ4AR
Voicecall
http://www.youtube.com/embed/3yz_74Uigbo
download :
https://hotfile.com/dl/153648290/1f53619/Mozilla.zip.html
I find the concept very interesting as once it loaded to the phone anyone with ok HTML knowledge would be able to change and tweek bits.
however i think the ui is always going to be limited, and is aimed at very basic phones at the moment (although the demoed an s2 running it) and is due to be launched in south america first.
Hi 지존혀니
Nexus cafe에서 원정왔습니다 ㅎㅎ
Sent from my MB525 using Tapatalk 2 Beta-5
GR36, Thank you. Comment
After you've checked this one ported to nexusS.
Said hardware key, so a bit more usable
cool
Looks promissing, hope some dev will look into it. I'd like to see b2g fully working on my GN.
@Jijonhyuni where did you find the source? because my quick googling session linked me to mozilla's b2g site, but they have said: "you dont have permissions to see source ". HELP plz.
This looks promising, any guides for starters out there on how to get on this?
MrBIMC & simarpreet007,
Writes to replace it with Google Translate. We are sorry.
I am the source from github was obtained.
The address is https://github.com/andreasgal/B2G
Https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/Building_B2G_for_Samsung_Nexus_S made ​​reference to the build.
make config-nexuss-ics >>
make config-galaxy-nexus has been changed to use.
Hi,
there is an other dev already working on B2G for Galaxy Nexus.
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=1805282&page=1
Perhaps you can work together to get everything up and running ?
Greetings.
ancdix

[APP] SD-Booster 2.0: Public beta test (Tester wanted)

Hello,
I'm searching for beta testers fort my little App SD-Booster.
App description:
SD-Booster speeds up your internal and external SD-Card
(memory-card) up to 40 times! Enjoy a new feeling of
speed on your Android smartphone anytime and everywhere
you are. Starting apps, listing to your favorite music or
just swapping data with your PC ? Whatever you do, the
SD-Booster improve your phone speed!
Click to expand...
Click to collapse
SD-Booster needs root permission to run, otherwhise SD-Booster
can't do anything!
For experts only: App works with read_ahead_kb value
Thread link: http://forum.xda-developers.com/showthread.php?t=2244139
Thanks anyway!
Regards,
Akusari
Is there any danger of using this app?
I mean about 40 times faster... Looks like it gets 40 times faster broken, you know?
Works really good, like the previous (1.5) version of the app. I like the new design, the design of the buttons is a thing of taste, personally I think they are okay
Superuser says that android.permission.ACCESS_SUPERUSER wasn't declared in manifest.
Maybe you could do this so, people can see then that this permission is required when they install it
Androidmarketuser said:
Works really good, like the previous (1.5) version of the app. I like the new design, the design of the buttons is a thing of taste, personally I think they are okay
Superuser says that android.permission.ACCESS_SUPERUSER wasn't declared in manifest.
Maybe you could do this so, people can see then that this permission is required when they install it
Click to expand...
Click to collapse
Thanks for the hint !
Hey dude, I uploaded the 512x512 icon for you earlier today. I hope it's the one you were looking for. Man it's been a long time since we were working on this.
Doktaphex said:
Hey dude, I uploaded the 512x512 icon for you earlier today. I hope it's the one you were looking for. Man it's been a long time since we were working on this.
Click to expand...
Click to collapse
That's it ! You make my day
Regards
Akusari
Hey dude, I realise that you have given me pride of place in the app for the design work credit, but I would really appreciate a credit in the app description on the play store, simply for CV purposes.
I'm glad I was able to help you with the design and if you ever need anything for this app or for another, gimme a shout.
Dok
EDIT: Just spotted that you have added an "A" in my surname. Sort it out brother.
Doktaphex said:
Hey dude, I realise that you have given me pride of place in the app for the design work credit, but I would really appreciate a credit in the app description on the play store, simply for CV purposes.
I'm glad I was able to help you with the design and if you ever need anything for this app or for another, gimme a shout.
Dok
EDIT: Just spotted that you have added an "A" in my surname. Sort it out brother.
Click to expand...
Click to collapse
I'll send you an e-mail

theme creator beta from Sony

Hi.sony is working on a theme creator program.making themes will get alot easier hopefully.get it from here
http://developer.sonymobile.com/201...devices-with-the-new-theme-creator-beta-tool/
Great minds think alike!
Sent from my D6603 using XDA Free mobile app
josephnero said:
Hi.sony is working on a theme creator program.making themes will get alot easier hopefully.get it from here
http://developer.sonymobile.com/201...devices-with-the-new-theme-creator-beta-tool/
Click to expand...
Click to collapse
There is zip file but How to install it,i mean startup
TIA
It is a Java-app and i just had to double click to start it.
Sent from my D6603 using XDA Free mobile app
I have problem with this program, can't export any images to theme this option is off, some1 now how turn on?
josephnero said:
Hi.sony is working on a theme creator program.making themes will get alot easier hopefully.get it from here
http://developer.sonymobile.com/201...devices-with-the-new-theme-creator-beta-tool/
Click to expand...
Click to collapse
Don't have Xperia device but I'll check that as soon as I can...
If we could add our own assets and program will build 9.png that will be great...
This program could be awesome in a future if Sony continue improving and working on it...
funky0308 said:
Don't have Xperia device but I'll check that as soon as I can...
If we could add our own assets and program will build 9.png that will be great...
This program could be awesome in a future if Sony continue improving and working on it...
Click to expand...
Click to collapse
we might see some awesome themes flowing around soon.maybe some of your awesome works too
josephnero said:
we might see some awesome themes flowing around soon.maybe some of your awesome works too
Click to expand...
Click to collapse
Thank you for your kind words...
You can put your money in that statement
See ya guys soon
funky0308 said:
Don't have Xperia device but I'll check that as soon as I can...
If we could add our own assets and program will build 9.png that will be great...
This program could be awesome in a future if Sony continue improving and working on it...
Click to expand...
Click to collapse
Right now theme creator it's kinda slow, buggy and not friendly to use, theme creator does not offer much customization, otherwise you can do magic through photoshop, but they did not offer any template other then stock one. I would like to see templates with examples of which part is used for which asset, they made one huge file (over 120 mb) and put every system part that could be themed, if they separate every different part that would be really awesome, now you got to edit everything inside one file, it's not that hard to do that, but its really confusing, you need to visit their tutorial for every part, i don't really like that, it would took me ages to make one theme that i really like. It's good to see that Sony actually cares about users of their smartphones and i really really hope they will make more improvements while it's still in beta phase. Or they should make theme creator as standard application not completely java based with more options inside app or make more templates with less content, just to be easier to overview, edit and generally clearly.
CroNoob said:
Right now theme creator it's kinda slow, buggy and not friendly to use, theme creator does not offer much customization, otherwise you can do magic through photoshop, but they did not offer any template other then stock one. I would like to see templates with examples of which part is used for which asset, they made one huge file (over 120 mb) and put every system part that could be themed, if they separate every different part that would be really awesome, now you got to edit everything inside one file, it's not that hard to do that, but its really confusing, you need to visit their tutorial for every part, i don't really like that, it would took me ages to make one theme that i really like. It's good to see that Sony actually cares about users of their smartphones and i really really hope they will make more improvements while it's still in beta phase. Or they should make theme creator as standard application not completely java based with more options inside app or make more templates with less content, just to be easier to overview, edit and generally clearly.
Click to expand...
Click to collapse
Actually, I planned to use it one as a converter and compiler... nothing more.
I built many themes and I don't need program for theming...
But...
It could make themers life little easier...
Actually, I wrote first tutorial "how to built themes and theme Sony UI" when Sony released their first theme engine...so I really believe we'll find our way to get maximum from this program.
We know which asset is for what and I'm sure this program could only save few min or hour of boring merging and compiling...
Sony will continue to polish this app, I'm sure...
I'm also sure we'll have great app/program soon...
One awesome thing that I would like to see in the future is implementation of this app into ROM and theming OS in a real time..
I own E3, and I replaced nav buttons , but they stays the same old... There's no way to change some bckgrnds, too...
Xperia Theme Creator
I don't know if everyone is understanding the nature of the Xperia Theme Creator, ADOBE PHOTOSHOP CS6 IS REQUIRED. Without Adobe Photoshop CS6 this application will not work - period. I have earlier versions of Adobe Creative Suite and I can confirm 100% that XTC v0.0.1 BETA will NOT function at all.
I stand corrected in advance if you have Adobe Photoshop CS6 which in turn would allow XTC v0.0.1 BETA to properly function.
Just my 2 cents!
TheFamilyMan said:
I don't know if everyone is understanding the nature of the Xperia Theme Creator, ADOBE PHOTOSHOP CS6 IS REQUIRED. Without Adobe Photoshop CS6 this application will not work - period. I have earlier versions of Adobe Creative Suite and I can confirm 100% that XTC v0.0.1 BETA will NOT function at all.
I stand corrected in advance if you have Adobe Photoshop CS6 which in turn would allow XTC v0.0.1 BETA to properly function.
Just my 2 cents!
Click to expand...
Click to collapse
yeah.i tried with my old photoshop CS3 and as you said it requires cs6
josephnero said:
yeah.i tried with my old photoshop CS3 and as you said it requires cs6
Click to expand...
Click to collapse
Just take a look at my tutorial, you have there resources package for theme creator, just unpack to theme folder and edit with GIMP
Krustnesis said:
Just take a look at my tutorial, you have there resources package for theme creator, just unpack to theme folder and edit with GIMP
Click to expand...
Click to collapse
thank you.i just downloaded gimp
Hi,
I'm glad to have found this discussion forum.
I'm using a MacBook 10.9. I find that, every time I add a new image, it'll take ages to load the preview. If I click on other sections, it'll again take ages to load. Anyone else having this problem? In the end, I had to quit the Creator and launch it again. It's so much faster this way.
Thanks for any help rendered!
josephnero said:
yeah.i tried with my old photoshop CS3 and as you said it requires cs6
Click to expand...
Click to collapse
beta 2 is out and its working fine with S5 tho.the main question is does it support lollipop ??? i dont think so .
Arrowblue said:
beta 2 is out and its working fine with S5 tho.the main question is does it support lollipop ??? i dont think so .
Click to expand...
Click to collapse
hey, what does it mean by "support lollipop"? my phone is using 5.0.2. I had the back/home/overview buttons images in the theme creator, however, they don't show up when I installed it on my phone. Is that related to "support lollipop"?
CONFUSED
ive use sony themes creator but when i create some navigation bar. i change back button, home , and overview but the back button got zoom idk why. i insert the same resolution image but only the back button got zoom. and another problem that i ve is in background. its said we should insert 2 image 1 for landscape and 1 for port but when i rotate my phone the image still on the same position but got zoom again. idk why so many bug.

Categories

Resources