yashsingh1/xdaforums huggingface dataset:
[IDEs, Libraries, & Programming Tools] fraiddo:
Hello, I have installed android studio on ubuntu 13.10 and i have 101 errors when i try to test my html5 app on usb (see attachment)

what's wrong ? cordova is installed with npm and ant is installed too.
[IDEs, Libraries, & Programming Tools] fraiddo:
I do the command export PATH=${PATH}:"/home/fred/appli/android-studio/sdk/tools",

and I checked the file local.properties

# This file is automatically generated by Android Tools.

# Do not modify this file -- YOUR CHANGES WILL BE ERASED!

#

# This file must *NOT* be checked into Version Control Systems,

# as it contains information specific to your local configuration.

# location of the SDK. This is only used by Ant

# For customization when using a Version Control System, please read the

# header note.

sdk.dir=/home/fred/appli/android-studio/sdk

and he is correctly added, so i don't now what i can check fort search a solution...
[IDEs, Libraries, & Programming Tools] fraiddo:
2 more screenshots
[Java for Android App Development] PGiorgos:
Good evening guys i m new on android development and i am making a car mode app. simply 4 buttons to open 4 most common apps you use. I have calls contacts music and gps. But in every phone the package has different package name in exmple in google is com.google.music but in htc is different so the app crashes. i need the code when i click the button to give me all the apps and then choose the app i want to open.
[Java for Android App Development] mohamedrashad:
you can use intents, gallery intent, camera intent, music intent, they are global and work on any device
[Java for Android App Development] PGiorgos:
thank you!
[Java for Android App Development] PGiorgos:
Well i ve found the intent for music

Intent intent = new Intent(MediaStore.INTENT_ACTION_MUSIC_PLAYER);

startActivity(intent);

But i have problem finding the same for contacts any suggestion?
[Java for Android App Development] mohamedrashad:
Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);

startActivityForResult(intent, PICK_CONTACT);

here we go ;)

press thanks if i helped you
[G2 General] Cst79:
http://www.gsmarena.com/is_this_the_japanese_market_version_of_the_upcoming_lg_g3-news-8298.php

Looks good to me.
[G2 General] Logix:
unless they brought back the side buttons no.... which quite frankly is one of the only reasons why i have the g2 i hate buttons
[G2 General] AyDee:
Says it's Isai in the article. Already released AFAIK... Buttons are still on the back.
[G2 General] Simonna:
Even beside that probably a lot of people won't agree with my opinion I don't like this design...
[G2 General] omen-am:
Looks ugly and cheap for me:)
[G2 General] serious96:
that's look like a bit forced imo...
[G2 General] Cst79:
Isai is a brand name specific to a country, like Nokia Lumia Icon is the same as Nokia Lumia 930. The current Isai does not look like that.
[G2 General] xgman:
It looks more like the Nexus version.
[G2 General] Billy Madison:
Why so double threads of that one?

Should we have 12 more "Expected LG G3" threads?
[G2 General] Saqib Nazm:
Thread Closed, there is a similar thread, kindly discuss on that

I have also changed the name of that thread to [Discussion] for better understanding
[AT&T Samsung Galaxy Note II] figyu:
I am using AT&T i317 with dn3 v.3.2 now.

I flashed Agni kernel into my gn2, but I can't change screen mode.

Actually I prefer movie mode to standard or dynamic.

How can I use movie mode in my gn2?

Please tell me how to do in detail.

Thanks.....
[AT&T Samsung Galaxy Note II] DoogyRev:
Set MDNIE hijack mode to off in the AGNi control app. Then you can use the screen mode settings again.
[MDA II, XDA II, 2060 General] petteroe:
Hi,

I am thinking of creating an application for my XDA II, and I would like to go down the route of sending and receiving encrypted SMS messages. Is there an api somewhere that allows me to send and receive SMS messages in my WM5 XDA II?

Thanks,

Morten
[Windows Phone 8 Development and Hacking] snickler:
Hi all,

If you've read the text that USED to exist here before, scratch that. Big Thanks to [MENTION=5386621]Sunius1[/MENTION] for clarifying what I thought was a win. Due to this, I DID find something interesting in regards to the ExtensibilityApp class (Windows.Phone.System.LockscreenExtensibility.ExtensibilityApp). I happened to also find a hidden capability "ID_CAP_SHELL_DEVICE_LOCK_UI_API" (Seems to be a locked CAP because it only works on Emulator. I get a deployment error on my if I try including this capability). I suspected that these two worked together, but I wanted to make sure of this.

Before we get started, read through the documentation from this site: http://msdn.microsoft.com/en-us/lib...lockscreenextensibility.extensibilityapp.aspx.

We have the following methods:

BeginUnlock

EndUnlock

GetLockPinpadHeight

IsLockScreenApplicationRegistered

IsSystemOverlayApplicationRegistered

RaiseToastNotifications

RegisterLockScreenApplication

RegisterSystemOverlayApplication

UnregisterLockScreenApplication

UnregisterSystemOverlayApplication

EDIT: After the release of the Live Lock Screen app, my speculations about the ID_SHELL_CAP_DEVICE_UI_API capability and the ExtensibilityApp object were correct. Thanks to [MENTION=2936958]jessenic[/MENTION] for finding out a good bit of info on this with me.

It seems that in order to get this working, we have to add an Extension to the WMAppManifest.xml

<Extension ExtensionName="LockScreen_Application" ConsumerID="XXXXX" TaskID="_default" ExtraFile="Extensions\\LockAppExtension.xml" />

In the LockAppExtension.xml:

<?xml version="1.0"?>

<x:Extension xmlns:x="urn:LockApp">

<AppID>AppNameForLockScreen</AppID>

</x:Extension>

As usual, Microsoft doesn't really give us much in terms of documentation.. Probably because it isn't meant to be used by the normal developer Confirmed: For now we have to actually ask for permission in order to use the cap. As to whether we'll get that granted? Who knows....

All of these methods have no parameters at all, but I can almost guarantee this has to do with having an application that can control the lock screen.

This thread will be for efforts in breaking this open and seeing whether we can create lockscreen applications..

Homebrew Lockscreen Apps:

Lockscreen App by [MENTION=2734362]-W_O_L_F-[/MENTION]
[Windows Phone 8 Development and Hacking] Sunius1:
There are actually two Windows.winmd files in Windows Phone SDK, one for Silverlight 8.1 apps and one for Jupiter 8.1 phone apps (located in C:\Program Files (x86)\Windows Phone Silverlight Kits\8.1\ and C:\Program Files (x86)\Windows Phone Kits\8.1\). There's only one the phone. And some APIs support only one app type (it's phone limitation it seems: faking .winmd file results in Platform::InvalidOperationException, saying you cannot use that API from this app type). That explains why the one on the phone has more APIs available than either of for single app type.

As for LockscreenExtensibility - it's documented, just not available for Jupiter apps:

http://msdn.microsoft.com/en-us/lib...ows.phone.system.lockscreenextensibility.aspx
[Windows Phone 8 Development and Hacking] snickler:
Well that is very good to know! Thanks for the clarification. The best part is that I was actually able to compile without receiving an error (somehow).
[Windows Phone 8 Development and Hacking] snickler:
I found something that may be of use in order to get the LockscreenExtensibility working (I just tried on a Silverlight 8.1 app and got access denied).

<Capability Name= "ID_CAP_SHELL_DEVICE_LOCK_UI_API"/> <----. Can't be used OOTB

EDIT: I just tested this in the Emulator and it really IS the capability that the LockscreenExtensibility needs in order for it to work.
[Windows Phone 8 Development and Hacking] TheInterframe:
I assume this is the thing Rudy Hyun used to create the lockscreen app at Build?
[Windows Phone 8 Development and Hacking] snickler:
I speculate that this is what he's using. I bet there's more going on that we have yet to figure out. It also could be that the base class EXISTS, but the full implementation isn't available yet. Who knows.
[Windows Phone 8 Development and Hacking] TheInterframe:
Ah, Yes that makes sense. I wonder if there are any other "half-baked" API's in the SDK?

Edit: I Know it sounds stupid but honestly I think we should have a thread dedicated to finding odd API's (Just found one: Windows.Phone.System.SystemProtection, nothing terribly useful though)
[Windows Phone 8 Development and Hacking] compu829:
there are also some hidden APIs in the current SDK for 3D Touch-enabled Apps!

From WP Central:

source: http://www.wpcentral.com/microsofts-next-flagship-windows-phone-november-3d-touch
[Windows Phone 8 Development and Hacking] Sunius1:
Yea, even though those 3D touch APIs may be available, they're not particularly useful, as they require special hardware to work.
[Windows Phone 8 Development and Hacking] TheInterframe:
That is true. Sort of of a side question though, has anyone made a OEM account and looked over the API documentation there? There maybe some useful things we could learn about WP and maybe further a jailbreak for all WP devices....
[Windows Phone 8 Development and Hacking] ultrashot:
API isn't much useful as long as you cant really use most of functions due to policies.
[Windows Phone 8 Development and Hacking] TheInterframe:
Ah, Yes that makes sense....
[Windows Phone 8 Development and Hacking] TheInterframe:
http://www.wpcentral.com/joe-belfiore-announces-new-updates-sheds-details-lock-screen-app

Sounds like there will be a dev preview update to enable lockscreen functionality quite soon. Joe also mentioned keeping the lock screen in memory. So 512 MB devices won't get the functionality soon....
[Windows Phone 8 Development and Hacking] Marocco2:
Good stuff. Another question: can apps show the action center? Because I want code an app to show notifications on lockscreen. Thanks :)
[Windows Phone 8 Development and Hacking] matgras:
something to force the volume/music control on the lock screen to automatically open would be really useful as well
[Windows Phone 8 Development and Hacking] snickler:
Updated first post with some more data since the Live Lockscreen App debuted yesterday. There's more I didn't get into, but I want others to dig in and find out :)
[Windows Phone 8 Development and Hacking] Sunius1:
I suppose we can only speculate how it works at this point, but if I had to guess, it goes like this:

1. You have 2 projects in your LockScreenApp solution, one for the application to register the lockscreen, and the second one for the actual lock screen application.

2. The former would use ExtensibilityApp APIs to register the the second one, coupled with the manifests so it's all "valid".

3. The second application is just a another app that is able to process input and draw whatever it wants on the screen. That would explain why there's a delay at it starting when you press lock screen button while the phone is sleeping (probably it's a time for .NET to startup? Direct3D app should be able to start much faster).

Although this is only speculation, I think this makes sense, because that's how background tasks work on Windows, at least. I wonder though, why Microsoft is not releasing the APIs to be used in public - are they afraid somebody will make a lockscreen application that will drain the battery fast or something?
[Windows Phone 8 Development and Hacking] TheInterframe:
I don't think its that but most likely the fact that the API is un-optimized, some of the facts you stated (i.e. Slow start up, documentation is lacking) etc... The fact the OS needs to be updated to show a section telling the user what lock screen app has taken over (since the setting page doesn't now)

Edit: Remember what Joe said about keeping the lockscreen in memory and 512MB devices might not be supported for that reason? Yeah seems like they aren't doing that since you can see the resume time for the lo screen is wayyy to much
[Windows Phone 8 Development and Hacking] snickler:
You are correct. Two projects: One is the settings page, which is the main entrypoint of the app when it's opened from the start menu and the second one is the actual lockscreen app.

The settings page uses the ExtensibilityApp APIs to register the second one as a lock screen application. That second application is another 8.1 Silverlight app that uses a LockScreen_Bridge WinRT component that has native access to read what is shown on the lockscreen from the WP Settings item.

It then uses some storyboards to make it do different things as you're swiping up and down on the LayoutRoot grid. It does use a timer so that's where that little lag comes from.

The only background stuff it's doing is latching on to system events ("Start button being touched for example").

I can see where MS would be protective of this. They DID say that they would be releasing a public version of the API at some point. I'm hoping it's not one of the situations that leaves it public only when they've approved you to be able to use it.

It does suck that it's restricted to 8.1 Silverlight though. I could see some Music Apps wanting to take advantage of the lockscreen like this.
[Windows Phone 8 Development and Hacking] TheInterframe:
Quite interesting...!

The API in itself is quite powerful, custom lockscreens with weather animations are possible! http://wmpoweruser.com/wp8-1-live-l...amazing-lock-screen-weather-animations-video/
[Windows Phone 8 Development and Hacking] snickler:
Added [MENTION=2734362]-W_O_L_F-[/MENTION] 's Lockscreen App to the first post.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
There were some questions from developers, why they only see screenshot, and not their lockscreen.

Without

CacheMode="BitmapCache"

controls are NOT visible!
[AT&T Samsung Galaxy Note I717] shoopadoowop:
I have the first Galaxy Note (Canadian version) that I got from Bell, with the model number SGH-i717M. I've been looking to get KitKat or Jellybean on it but from what ive researched I haven't had any luck. I heard that Samsung had a Jellybean update for the Galaxy Note but I'm not a huge fan of Touchwiz, I really like stock android or something close to stock android like Cyanogenmod. So does anyone know of any KitKat or Jelly Bean ROMS for the SGH-i717M? Any help is much appreciated!
[AT&T Samsung Galaxy Note I717] Stryke_the_Orc:
Thread moved. Please post questions in the Q&A forums.

Thank you.
[AT&T Samsung Galaxy Note I717] captemo:
In case you havent helped yourself by this point, there is a CM11 weekly build in the General forums, or you can look in the Super Everything Thread. Some links are down in the Super thread, but folk are here to help and may have the file for you. However, only you can decide what you want. Roms are a give and take. Its not Burger King. Take some for a test drive and f8nd what suuts your needs.

Let us know
[AT&T Samsung Galaxy Note I717] shoopadoowop:
Ok thanks, I do like CM11 and went and got that. I didnt know there was a CM11 for quincyatt because there isnt one over at the official download page (unless im making a stupid mistake). Thanks for your help!
[Moto G Q&A, Help & Troubleshooting] twist3d0n3:
Hi all,

my G got a pint of water spilt over it, and whilst it was still working fine after it happened, i turned it off and put it in some rice to dry it out for 48 hours. after that i plugged it in to charge and the led comes on, but that's it.

it's been charging for a day so far, but still can't turn it on. is it likely dead or could this be related to the battery issues that i've seen a lot of recently?

thanks in advance.
[Moto G Q&A, Help & Troubleshooting] liveroy:
It's dead, get a new one. Your nerves are not worth it bothering to fix it if that's even possible.
[Moto G Q&A, Help & Troubleshooting] twist3d0n3:
seems so. still no signs of life so buying a new one. such a pain in the ass considering the nano coating is supposed to protect it... guess mine just had a ****ty coating.
[Moto G Q&A, Help & Troubleshooting] padhu1989:
You should have warranty right.. Go the service center. They might replace a new phone
[Moto G Q&A, Help & Troubleshooting] twist3d0n3:
bootloader unlocked so that idea is down the drain unfortunately :(
[Moto G Q&A, Help & Troubleshooting] unrafa:
If it doesnt boot it may be too hard for them to bother checking bootloader so you migh get lucky. Try a wall charger sometimes when battery is 0% it wont charge on USB

Enviado desde mi GT-P3110 mediante Tapatalk
[Moto G Q&A, Help & Troubleshooting] twist3d0n3:
according to the little booklet that comes with it they don't offer anything with water damage. the phone is sold as it being water resistant, but not waterproof and thus it's not covered.

i've given up and bought a new one.
[Galaxy S 5 General] nintendolinky:
I probably didn't give the phone much of a chance I only had it for 48 hours, but the lag and the fact I got offered a iPhone 5S, Galaxy Note 3 and a Nexus 7 (2013) for it, made the decision easy.

What phones have people decided to move too, either by trading or returning there Galaxy S5?
[Galaxy S 5 General] radicalisto:
You got offered all three? or chose one of the three? - 48 hours isn't much of a test I gotta say, I'm actually toying moving to it myself (M7>Note 3> Nexus 5). I ordered an M8 but.. problems with delivery + CPW being idiots I cancelled it.. however I'm in two minds still as to switch to the S5 or the M8.
[Galaxy S 5 General] nintendolinky:
I got offered all three for the S5, so it was kind of a no brainer. I'm now toying with the idea of trading the iPhone for another S5, and trading the Note 3 for an iPhone, seems long winded but that's the only option. I need an android phone and a phone with iOS.
[Galaxy S 5 General] radicalisto:
Regarding the lag, I've read a few places (reviews also) that it can be pretty bad, how true is it? - surely a phone with such a high spec shouldn't lag even with TW bloat?
[Galaxy S 5 General] D33KK:
Where did you get this offer? I'd happily part with my s5 for those 3!
[Galaxy S 5 General] bry21317:
I got the S5 Yesterday, and it FLIES! This is my First Samsung phone, not a fan of the UI really, but came from HTC, figured I would go this way and I am happy so far. The Phone is super fast, though, but then again coming from an Evo LTE is a huge jump, even though that phone I LOVED!
[Galaxy S 5 General] WizeGuyDezignz:
Where is this "a lot of lag" coming from? I just don't have it and am curious where it's coming from.
[Galaxy S 5 General] radicalisto:
That's what I am trying to decipher before I get one lol
[Galaxy S 5 General] pnr2020:
No lag here fastest phone I have ever owned
[Galaxy S 5 General] WizeGuyDezignz:
Well, I've owned one for about a week now and I don't have all this lag that some people are talking about. Sure there might be a tiny hiccup here and there and some of the native apps take a second or two to open up from a cold start, but I don't have any major issues.

It is nothing out of the ordinary and it's an overall fast and smooth device.
[Galaxy S 5 General] DrexelDragon:
It's all simulated lag. Turn off double click to start S-Voice. Disable My Magazine. Turn all animations down to 0.5x and BOOM, "lag" gone.

I actually did this side by side with the M8. I noticed the M8 was ridiculously fast at opening and switching between apps and the S5 was always slightly behind. After changing the animations on the S5 to 0.5x, BAM same speed.
[Galaxy S 5 General] longjohnsteve:
I went to the s5 from the s3, as I skip every other galaxy. (s1-s3-s5). I have to say, what a difference between this and the s3. Dont get me wrong, they are both similar. But a 1080p amoled is stunning, the phone also feels great and is a beast. Also, not sure why so many people are complaining about the finger scanner, I can easily unlock using one hand and my thumb. Great phone !
[Galaxy S 5 General] xaznxplaya:
I'm trying your tip. There's some lag in the s5, I can't deny it. I didn't have that with my n5. TW probably doesn't help here, although this is an awesome phone.

Sent from my s5, you Mirin?
[Galaxy S 5 General] amsguitarist:
Make sure to reboot your phone too. Phone was laggy as hell when first booted. The only thing that is a little slow for my taste is opening the multitasking list.
[Galaxy S 5 General] xaznxplaya:
I can't wait for the customs ROMS, I'm not used to TW really, When opening phone it's not that smooth and some little stuff.
[Galaxy S 5 General] amsguitarist:
Personally I think it's a fair trade off. I had the M7 and it has bare bones software features. If they would have added more software functions like multi window I probably would have got the M8. Realistically the M8 is the M7 with a depth sensor. They didn't really need to upgrade the processor because it ran fine on the 600 chipset. At least I know Samsung is trying to utilize the power of the 801 chipset.
[Galaxy S 5 General] D33KK:
If I use apex launcher I take it I don't need to bother going into touchwiz and disabling My Magazine?
[Galaxy S 5 General] fade2black101:
I'm still curious where and how the OP got offered such a ridiculously good trade...
[Galaxy S 5 General] ShadowLea:
I own a Note 3, was given the S5, prefer my Note 3.
[Galaxy S 5 General] radicalisto:
When people see new devices it's like an ora of "I want" - you'd be surprised what some people would offer for something so that they can get their hands on it straight away. Crazy offers aren't that uncommon tbh.

Sent from my ZX Spectrum +2 magically via an app.
[Galaxy S 5 General] apprentice:
Keep the Note 3 mate! I am in the fortunate situation of owning the S5 and a Note 3. Once you get a big screen device like the Note there's no going back. I still prefer it over any other phone I have ever had (including the HTC One M8 which I had for a few days)
[Galaxy S 5 General] nintendolinky:
Someone I know, he regrets it now lol, but I'm in no rush to trade back.
[Galaxy S 5 General] nintendolinky:
True and that's what he did. He wanted the newest phone out, I.e the Galaxy S5 and I had the opportunity of getting a 2013, 32GB Nexus 7, iPhone 5S, Gold, Unlocked and a Black Galaxy Note 3. WHO WOULDN'T TRADE THAT.
[Galaxy S 5 General] DoUevenRoot:
I've had mine since Saturday and haven't noticed any lag at all... I also did the update right away and removed lookout though. Also, once you root, you'll see the stock cache size is 128k on the cfq scheduler. I set it to 4096 and test-iosched and, well, you be the judge...
[Galaxy S 5 General] apprentice:
I 100% agree, I still prefer the Note 3 and really looking forward to seeing what the Note 4 has to offer!
[Galaxy S 5 General] ShadowLea:
I just hope those hideous artist renders Sammobile keeps using aren't the real deal.... It looks like something a roadworker dropped and the tarmac machine consequently ran over twice ...
[Galaxy S 5 General] Ave666:
I've got s5 and my wife Note3. I'm thinking of getting white s5 instead of black
[Galaxy S 5 General] hemander:
I couldn't agree more. Prefer a bigger screen, Note 3.
[Galaxy S 5 General] juntjoo:
What's with all these size freaks. Are you all smaller down there also hence the preference on the note 3? Should be an interesting poll. just came from an s2 so this is great but I can't imagine why you would want anything bigger than this wonderfully sized s5. If it were any bigger my pinky would pass out or cramp up or something bad. And if it were any faster it would be pulling up apps as I thought of them.
[Galaxy S 5 General] fineazbro:
If you think the S5 is fast i dare you try the M8, it flies and look at the the M8 tread here on xda its like 20 custom roms already.Loving it .

unlock boat loader> S-off >super CID>sim unlocked>GPE >viper rom.....best of both world i'm loving it :laugh:

oh hold on let me rephrase that i meant to say the best of all world
[Galaxy S 5 General] brazcub:
Too bad there's nothing you can do about that horrible camera. No software can fix that...