[android-developers] Re: soundpool looping problem

2012-06-10 Thread newbyca
FYI ... MediaPlayer looping isn't entirely 'stable'. See: http://code.google.com/p/android/issues/detail?id=18756 On Monday, June 11, 2012 2:35:14 AM UTC-4, Tamás Kovács wrote: > > Sorry I don't have time to read your code. But in the past, I also had > issues, when I needed to loop soundpool s

[android-developers] Re: soundpool looping problem

2012-06-10 Thread Tamás Kovács
Sorry I don't have time to read your code. But in the past, I also had issues, when I needed to loop soundpool sounds that were stopped() before they needed to play again (in looped mode). If you can't find a solution, I can think of two alternatives: 1. Implement manual looping: not too elegant a

[android-developers] VM aborting while running on Google nexus

2012-06-10 Thread Sohil
Hi I have google nexus ICS running and its rooted. Now i am trying to run a java program after pushing to sdcard. and getting VM aborting error while same program running on some of ICS phone like its running on HTC sensation with ICS. Only exception nexus have Tegra-3 processor. Is there any

[android-developers] Re: Concatenating two or more audio files in single audio file.

2012-06-10 Thread Rathish
Hi, Do you got the solution for your query. If so plz tell me how to do that. I am running out of tym -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscri

Re: [android-developers] Google auth with getAuthToken: what authTokenType string to use?

2012-06-10 Thread Nikolay Elenkov
On Mon, Jun 11, 2012 at 12:27 PM, Goat666 wrote: > For example, this webpage explains how to authenticate using OAuth2. > http://developer.android.com/training/id-auth/authenticate.html > > However, they use "Manage Your Tasks" as the auth scope.  I don't need to > manage any tasks.  I don't need

[android-developers] soundpool looping problem

2012-06-10 Thread krishna kumar
package my.app.exp5; import java.util.HashMap; import android.content.Context; import android.media.AudioManager; import android.media.SoundPool; import android.util.Log; public class SoundEffects { public boolean released=false; protected Context context; private SoundPool soundPool

Re: [android-developers] Google auth with getAuthToken: what authTokenType string to use?

2012-06-10 Thread Goat666
For example, this webpage explains how to authenticate using OAuth2. http://developer.android.com/training/id-auth/authenticate.html However, they use "Manage Your Tasks" as the auth scope. I don't need to manage any tasks. I don't need to view Google Tasks. I don't need Google calendar or Go

Re: [android-developers] take a sreenshot without rootpremission

2012-06-10 Thread Kristopher Micinski
The typical motivating counterexample is: consider the app which spawns a background service on boot, silently captures all your device's activity, and sends it over the internet... kris On Sun, Jun 10, 2012 at 10:54 PM, JK Park wrote: > Oh, I see... thanks to reply. > > 2012년 6월 11일 월요일 오전 11시

Re: [android-developers] Google auth with getAuthToken: what authTokenType string to use?

2012-06-10 Thread Goat666
Hi Nicolay, Thank you so much for your quick response. I think I was not very clear in my explanation. Just to clarify, earlier I was having the user input their email address and password manually into a form and then verify it with a link sent to their email address. I am trying to avoid t

Re: [android-developers] take a sreenshot without rootpremission

2012-06-10 Thread JK Park
Oh, I see... thanks to reply. 2012년 6월 11일 월요일 오전 11시 45분 32초 UTC+9, Kristopher Micinski 님의 말: > > No. If you find a way to do it, report it immediately as a security > bug. A device without root should not allow this, as doing so would > indicate a major security flaw. > > On Sun, Jun 10, 20

Re: [android-developers] take a sreenshot without rootpremission

2012-06-10 Thread Kristopher Micinski
No. If you find a way to do it, report it immediately as a security bug. A device without root should not allow this, as doing so would indicate a major security flaw. On Sun, Jun 10, 2012 at 10:42 PM, JK Park wrote: > Hi all, > I am trying to build up a screenshot app without root permission.

[android-developers] take a sreenshot without rootpremission

2012-06-10 Thread JK Park
Hi all, I am trying to build up a screenshot app without root permission. I am wondering whether that I can get a current screen. I found this, view.setDrawingCacheEnabled(true); Bitmap screenshot = Bitmap.createBitmap(view.getDrawingCache()); view.setDrawingCacheEnabled(false); but, It works

Re: [android-developers] Google auth with getAuthToken: what authTokenType string to use?

2012-06-10 Thread Nikolay Elenkov
On Mon, Jun 11, 2012 at 11:28 AM, Goat666 wrote: > > I am working on an Android application which allows you to use your email > account as a user id and any password for authentication. It also requires a > verification step where you have to verify that the email address belongs to > you. What

[android-developers] Changing LinearLayout width in an appwidget

2012-06-10 Thread Jose_GD
(This was posted in Stack Overflow, with 0 answers so far. Perhaps I have more luck here) In an appwidget I have a somewhat complex layout with nested LinearLayouts that serve as vertical columns. I want to add a setting that would allow the user to choose a fixed or flexible widht for the colu

[android-developers] Google auth with getAuthToken: what authTokenType string to use?

2012-06-10 Thread Goat666
I am working on an Android application which allows you to use your email account as a user id and any password for authentication. It also requires a verification step where you have to verify that the email address belongs to you. To do away with this painful process and make it easy for use

Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread Kristopher Micinski
then you haven't appropriately set your path to point to platform-tools/ in your SDK... On Sun, Jun 10, 2012 at 10:13 PM, CaRRtel Industres wrote: > It told me the adb command is not found. I am using a Mac, if that makes a > difference. > > > On Sunday, June 10, 2012 9:03:21 PM UTC-5, Kristopher

Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread CaRRtel Industres
It told me the adb command is not found. I am using a Mac, if that makes a difference. On Sunday, June 10, 2012 9:03:21 PM UTC-5, Kristopher Micinski wrote: > > try typing in 'adb logcat' at a terminal window... > > > On Sun, Jun 10, 2012 at 9:36 PM, CaRRtel Industres > wrote: > > Okay I went

[android-developers] XML vs. setImageDrawable after setContentView()

2012-06-10 Thread Tamás Kovács
Hello, If I set the src attribute of an ImageView in the layout XML, it will know the image *before* setContentView(R.layout.main) is called. If I omit the src attribute, because the image is preloaded programmatically, then I can only call mImageViewDrawable.setImageDrawable or setImageBitmap *a

Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread Kristopher Micinski
try typing in 'adb logcat' at a terminal window... On Sun, Jun 10, 2012 at 9:36 PM, CaRRtel Industres wrote: > Okay I went to look at the Logcat window and it is blank. Do I need to do > something special for it to start monitoring my device? > > > On Sunday, June 10, 2012 7:10:19 PM UTC-5, Mark

Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread CaRRtel Industres
Okay I went to look at the Logcat window and it is blank. Do I need to do something special for it to start monitoring my device? On Sunday, June 10, 2012 7:10:19 PM UTC-5, Mark Murphy (a Commons Guy) wrote: > > On Sun, Jun 10, 2012 at 7:57 PM, CaRRtel Industres > wrote: > > I have written my

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-10 Thread João Rossa
Hi! Sorry for the late reply, so i created call backs, the DialogFragment receives an interface type that the fragment that calls the dialog must implement, this works well if setRetainInstance is set to true, but what if i dont want to use this property? regards, On Thu, Jun 7, 2012 at 9:06 AM,

Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread Mark Murphy
On Sun, Jun 10, 2012 at 7:57 PM, CaRRtel Industres wrote: > I have written my app to be able to receive shared text and then list them > using list view. But whenever I try to send shared text to my app it stops, > saying "Unfortunately {my app} has stopped." Use adb logcat, DDMS, or the DDMS per

[android-developers] Simple App Has Stopped Error

2012-06-10 Thread CaRRtel Industres
I have written my app to be able to receive shared text and then list them using list view. But whenever I try to send shared text to my app it stops, saying "Unfortunately {my app} has stopped." Does anyone know a simple fix for this? Also, I am using my EVO LTE for testing instead of a virtual

Re: [android-developers] Reg: Replacing the inbuilt application by our own application.

2012-06-10 Thread TreKing
On Wed, Jun 6, 2012 at 4:14 AM, chandur mani wrote: > > Now i am trying to replace the native application to my own application > which i developed . > Kindly guide me , how to approach it. > Step 1: Build your own application. Step 2: Use your own application instead of the "inbuilt" one. Step

[android-developers] Menu Widget

2012-06-10 Thread zachariahyoung
Can some one help me with the name or example of the menu widget that the Facebook app is using. It is the widget what appears when you click the three bars on the upper right hand corner. Thanks Zach -- You received this message because you are subscribed to the Google Groups "Android Deve

Re: [android-developers] java.lang.UnsatisfiedLinkError: Couldn't load xxxxx: findLibrary returned null

2012-06-10 Thread Harri Smått
On Jun 5, 2012, at 3:07 AM, Snicket wrote: > 2. Created a /lib folder and copied in the xxx.jar file Apparently it seems "libs" folder is included automatically into your .apk (not "lib"); http://stackoverflow.com/a/6859020/680519 -- H -- You received this message because you are subscribed to

[android-developers] error focus

2012-06-10 Thread 尚绍山
I want to fliding view use gallery,in my view have two edittext,but when i click the second edittext,The first edittext always get focus. this is my xml this is my Gallery, public class MyGallery extends Gallery { public MyGallery(Context context, AttributeSet attrs, int d

[android-developers] Why edittext get error focus when gallery item has more edittext?

2012-06-10 Thread 尚绍山
I want to user gallery to slide view.It was work well.But when Gallery item has two EditText View,When I click the second EditText ,The first Edittext always get focus.why? The follow is my gallery xml http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" androi

RE: [android-developers]

2012-06-10 Thread adamas_105 phoenix
Date: Fri, 8 Jun 2012 18:52:55 +0530 Subject: [android-developers] From: vijay.vijay...@gmail.com To: android-developers@googlegroups.com Hi all, Could anyone tell me the way to extract text from image in android. Thanks,vijay.k -- You received this message because you are subscrib

Re: [android-developers] Reg: Replacing the inbuilt application by our own application.

2012-06-10 Thread Kristopher Micinski
You cannot do this without firmware modifications. So essentially, the answer to your question is: no. kris On Wed, Jun 6, 2012 at 5:14 AM, chandur mani wrote: > Hi All, > >  Is there any possibility for replacing inbuilt application by our own > application? > > Eg: > > In android phone has ow

Re: [android-developers] How to use API's in our app?

2012-06-10 Thread Kristopher Micinski
Which APIs? kris On Thu, Jun 7, 2012 at 10:20 PM, chandur mani wrote: > Dear All, > > >  how to integrate API's to android app? > > Kindly any one gudie me.. > > regards, > Mani. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To

Re: [android-developers] Re: simple video sample

2012-06-10 Thread hung pham duy
videos for beginner http://androidtutorials4beginners.blogspot.com/ 2012/6/4 asheesh arya > just go through this link might be it helpful for you!! > http://eagle.phys.utk.edu/guidry/android/playingVideo.html > > -- > You received this message because you are subscribed to the Google > Groups

Re: [android-developers] Re: How to retrieve Intents used by installed apps on the phone

2012-06-10 Thread chandur mani
Hi micheal, Here i attache the code for accessing for inbuilt camer and gallery. Take a look .. package com.cool.coolapp; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import android.app.A

[android-developers] Reg: Replacing the inbuilt application by our own application.

2012-06-10 Thread chandur mani
Hi All, Is there any possibility for replacing inbuilt application by our own application? Eg: In android phone has own contact application , Now i am trying to replace the native application to my own application which i developed . Kindly guide me , how to approach it. regards, Mani --

[android-developers] Re: Find path between 2 pairs of lat and long

2012-06-10 Thread bjv
Sigh. It is in the google results just below all of the references to your post/question. http://mirnauman.wordpress.com/2012/04/26/android-google-maps-tutorial-part-7-drawing-a-path-or-line-between-two-locations/ On Monday, June 4, 2012 6:45:41 AM UTC-5, Mini agrawal wrote: > > HI, > > I have

[android-developers] Andrei ViewPager layout_height

2012-06-10 Thread Andrei Stalbe
Hi there, I have implemented the ViewPager in my application. Each page of my ViewPager has a separate layout.xml file that get's inflated each time the user changes the page. The problem is that the first layout has a fixed height of 200dp when the second changes the height dynamically as the

[android-developers] My bitmap doesn't draw on the canvas when a ColorMatrixColorFilter is used during onDraw()

2012-06-10 Thread bjv
I am trying to use the ColorMatrixColorFilter to swap the red and blue colors in a bitmap before drawing it into the Canvas. Unfortunately, it doesn't seem to work when I use a Bitmap object I create using a Buffer. It works fine if the Bitmap is loaded from a jpg file but when I use my Bitmap

[android-developers] Re: License Verification Library: getting error NOT_MARKET_MANAGED

2012-06-10 Thread gadget
i seem to be getting either "ERROR_NOT_MARKET_MANAGED" if i just uploaded a new apk or "NOT_LICENSED" if I publish/unpublish do you have to wait for some amount of time after uploading a new apk before the check succeeds (using a test-account)? -- You received this message because you are subs

[android-developers] understanding webview# addjavascriptinterface working

2012-06-10 Thread Akshat Jain
Hello Android Developers. I have a question and would like to understand it in depth. I know that to interact from Javascript to Java you have to inject a Java object using the addjavascriptInterface method in webview. Here is the problem I am facing. 1. I register a java object using AddJavasc

Re: [android-developers] Re: LVL returns LICENSED with anonymous accounts...

2012-06-10 Thread gadget
is 'draft' the same as activated/not published (since last apk upload)? If so, is there a delay between when it is counted as a draft and when it is uploaded? I have a draft (at least I believe I do), but I still get ERROR_NOT_MARKET_MANAGED on a test-account On Friday, August 6, 2010 4:26:28 PM

[android-developers] OpenMax IL layer changes for video Decoding on TI chipset

2012-06-10 Thread Vinit Adkar
HI, I have an application streaming video using Omx on Android on gingerbread (2.3) However it only works on qcom chipset . I get OMX_EventError in Event Handler callback when i try to run the application on TI chip Component name is OMX.TI.DUCATI1.VIDEO.DECODER on qcom i use onMessage() to pr

[android-developers] Re: Data from Bluetooth Device to Android Phone to Online Server

2012-06-10 Thread alex116
Hi Akeem, You have given the basic frame of what you want to do but the specifics are elusive. There are many possibilities to achieve what you want. I will assume you want to open a URL and send data because it would be the easiest. For that I would look into the HttpURLConnection in Android.

[android-developers] Issue updating ListFragment inside ViewPager

2012-06-10 Thread NAndDev
I have a ListFragment with a custom Layout inside of a ViewPager. This ListFragment and the custom layout performs a ListView and a Button which calls an AsyncTask. After work is done, this AsyncTask calls in onPostExecute the refresh method (created inside ListFragment) in order to update the ada

[android-developers] Re: Native Code Coverage using gcov

2012-06-10 Thread Ash
I have also seen the same issue. I have not been able to retrieve any gcda file on my device either. Somebody knows how to get this thing working? Rgds Ashish On Thursday, November 10, 2011 9:12:15 PM UTC-8, AngelMex wrote: > > I've been trying to get Native Code coverage following the intructio

[android-developers] [USB Host - API12 ] ClaimInterface returns false. (authorization granted, and device detected)

2012-06-10 Thread Latoof
Abstract : How to diagnostic "claimInterface" results ? (returns "false" for me) (or how to detach kernel usb driver manually ?) Hello. That's a vague question : I have a custom USB device (class 0xff) and I want to communicate with it using my Android phone. I'm on ICS "stock" (original), and of

[android-developers] How to use API's in our app?

2012-06-10 Thread chandur mani
Dear All, how to integrate API's to android app? Kindly any one gudie me.. regards, Mani. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] java.lang.UnsatisfiedLinkError: Couldn't load xxxxx: findLibrary returned null

2012-06-10 Thread Snicket
Hi All, I've seen the error below in many forums but todate I cannot solve it to get my android app to work: 06-05 09:38:52.665: W/System.err(1480): java.lang.UnsatisfiedLinkError: Couldn't load x: findLibrary returned null I'm using Eclipse So far I tried the following: 1. Added the xx.jar f

[android-developers] understanding WebView#addjavascriptInterface

2012-06-10 Thread Akshat Jain
I am facing some issues while interacting with Javascript code from Java. the workflow we have is: 1. Add a JavascriptInterface object in my JS. 2. Add a few more Javascripts using webview.loadUrl("javascript:XXX"); 3. Firing an event to inform that our Javascript has been loaded and is ready

[android-developers] video layering issue on samsung galaxy S, note, S2

2012-06-10 Thread eestachat arvertise
hi every one i have a strange issue with my app. i am overlaying a video on a camera view , very simple app. works seamless on all lg, and htc devices. but not on samsung galaxy S note, s2. expect galaxy young. galaxy S show only camera preview. not video galaxy note and s2- green tint on came

[android-developers] error netd unable to bind netlink socket: No such file or directory

2012-06-10 Thread ig
Please let me know if I should direct this query elsewhere. I looked for the android-beginner group mentioned in the Community documentation but didn't find it. This group seemed the best match of what I could see. I am a beginner with the Android SDK. I am running Eclipse Indigo and Android 4.0.3

Re: [android-developers] how to set the size of tab in tabHost?

2012-06-10 Thread igor ganapolsky
I don't see how this changes the size of individual tabs. Have you tested it? On Friday, May 29, 2009 12:00:33 AM UTC-4, Rockingteam wrote: > > Try this. > > tabHost.getTabWidget().getChildAt(0).setLayoutParams(new > LinearLayout.LayoutParams(width,height)); > -- You received this message bec

[android-developers] Multi touch keyboard

2012-06-10 Thread Uri Goren
Hi, I'm experimenting with keyboard development, and I'm trying to use the benefits of my multi-touch screen. Is it possible to get an array of x-y coordinates of all of the touch points instead of the "onKey" event ? If someone could refer me to a tutorial on handling custom multi-touch behavior,

[android-developers] Re: need to remove contact from group ..

2012-06-10 Thread ala hammad
for learning and to increase your information, this is code to delete contact from group : public static int removeFromGroup(Context ctx, String contactId, String groupId) { ContentValues values = new ContentValues(); values.put(ContactsContract.CommonDataKinds.GroupMembersh

[android-developers] Client authentication in chromium network stack

2012-06-10 Thread Moshe Kravchik
Hi, Can anyone tell if client authentication is working on Android in the Chromium network stack, at least in ICS? From what I see in the sources, looks like not, but I'm not sure whether I look at the latest code. If it indeed not supported - are there plans to do it? Can we influence this so