[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread David Karr
On Monday, December 21, 2015 at 12:08:57 AM UTC-8, gjs wrote: > > Hi, > > If your phone is not a Google Nexus variety then that's not surprising, but > Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) > is what's recommended. > > In some respects it does not really

[android-developers] Re: Best strategy for emitting countdown tones for shutter delay like stock camera app

2015-12-21 Thread David Karr
On Sunday, December 20, 2015 at 11:27:14 PM UTC-8, gjs wrote: > > Hi, > > Here's some examples of using AudioTrack > http://www.programcreek.com/java-api-examples/index.php?api=android.media.AudioTrack > > Just be sure to run in a separate thread. > > Regards > Note that I did already say that

[android-developers] Re: WebView Slow Page Load

2015-12-21 Thread Jonathan S
Are you going to just view web page or modified a page content? On Monday, December 21, 2015 at 2:09:28 AM UTC-5, Parimal Muli wrote: > > Hi, > I am using a webview in my app. The problem is that it takes a lot of time > (10-25 > secs) for the sites to render in the webview. Can you please

[android-developers] Checking out and building a custom kernel for shamu (Nexus 6) ROM

2015-12-21 Thread Yile Ku
Hi, I am currently building the aosp_shamu-userdebug ROM image. The setup is working. I now want to build a kernel. I am following the instructions on: http://source.android.com/source/building-kernels.html. I checkout the msm source tree using git: git clone https:

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
Hi again, Actually ../DCIM/Camera is the expected sub folder for the default Camera app, my apologies. What I've seen on some devices is that different apps will create additional subfolders beneath ../DCIM for example the Google Cardboard Camera app creates ../DCIM/CardboardCamera On a Non

[android-developers] Relative accelerometer reading.

2015-12-21 Thread Tobiah
Given that I can read the effects of gravity on my device on three axes, I'm looking for some math that will get me a more logical view of what's happening to the device in my hands. I want to create a two dimensional control based on tilting the device forward and back, and tilting the device

[android-developers] How to get Android default application package names, also in custom android operating system to open ( like call logs, sms, contacts). please suggest me ?

2015-12-21 Thread Lalit Goswami
How to get Android default application package names, also in custom android operating system to open ( like call logs, sms, contacts). please suggest me ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group

Re: [android-developers] Re: WebView Slow Page Load

2015-12-21 Thread Parimal Muli
Hi, No, I am not modifying the page content. I am simply loading a site eg. news article in my app in a webview. THanks, Parimal. On 22 December 2015 at 01:18, Jonathan S wrote: > Are you going to just view web page or modified a page content? > > On Monday, December 21,

[android-developers] NEED HELP!!! How can I get history from Android browser in Android M without READ_HISTORY_BOOKMARKS permission?

2015-12-21 Thread Lân Lê Quang Bảo
As we know the READ_HISTORY_BOOKMARKS permission has been removed in Android M, so how to get histories from Android browser without it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving

[android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-21 Thread VISHAL TIKKU
Hi Is it throwing any exception firstly please trace that and can you please elaborate a little about your problem. On Monday, December 21, 2015 at 4:08:28 PM UTC+5:30, Cihan KALOĞLU wrote: > > Hi, > > I tried all ways how many i know. > > That is my code block for test.

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
Hi, If your phone is not a Google Nexus variety then that's not surprising, but Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) is what's recommended. In some respects it does not really matter which folder you use to store media generated by your app (*), provided

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
(That's http://developer.android.com/reference/android/media/MediaScannerConnection.html in case of a broken link...) On Monday, December 21, 2015 at 7:08:57 PM UTC+11, gjs wrote: > > Hi, > > If your phone is not a Google Nexus variety then that's not surprising, but >

Re: [android-developers] i have problem, in android studio "Cannot resolve symbol 'SetOnClickListener' ".how to handle. thanks

2015-12-21 Thread Mangesh Sambare
Hi aang, AdapterView does not support onClickListener. You should use OntemClickListener instead of onclickListener. go through this link. And see nested class documentation. On Mon, Dec 21, 2015 at 12:30 PM, Aang Sanjaya

[android-developers] Re: MSSQL Connection error after downloading the app from google play

2015-12-21 Thread gjs
What the error in the log ? On Sunday, December 20, 2015 at 7:46:04 PM UTC+11, Paresh Gandhi wrote: > > Hi, > > I desperately need a help. > > we recently developed an app for a client for their B2B needs. instead of > using web services we used jtds plugin to connect directly to our remote >

[android-developers] SharedPreferences doesn't work for my app but other apps is ok.

2015-12-21 Thread Cihan KALOĞLU
Hi, I tried all ways how many i know. That is my code block for test. (MainActivity.onCreate()) String REMEMBERME_PREF_NAME = "rememberme"; SharedPreferences sharedpreferences = this.getSharedPreferences(REMEMBERME_PREF_NAME, Context.MODE_PRIVATE); if (sharedpreferences.getString("email",

[android-developers] Re: WebView Slow Page Load

2015-12-21 Thread VISHAL TIKKU
Hi Parimal Please try this webview.getSettings().setRenderPriority(RenderPriority.HIGH); On Monday, December 21, 2015 at 12:39:28 PM UTC+5:30, Parimal Muli wrote: > > Hi, > I am using a webview in my app. The problem is that it takes a lot of time > (10-25 > secs) for the sites to render in

Re: [android-developers] i have problem, in android studio "Cannot resolve symbol 'SetOnClickListener' ".how to handle. thanks

2015-12-21 Thread Aang Sanjaya
ok thank Mangesh Sambare for information. On Mon, Dec 21, 2015 at 4:24 PM, Mangesh Sambare wrote: > Hi aang, > > > AdapterView does not support onClickListener. You should use > OntemClickListener instead of onclickListener. go through this link. >