[android-developers] Android Style BarButton

2012-01-13 Thread Robin Thapa
I am implementing the android style barButton on my listview on the footer part. My ListView has a checkbox and two item fields on it. When i check the checkbox i want to display the footer part. I am implementing on the BaseAdapter and when the checkbox is checked is use as: public View getView

[android-developers] Geo coder not provides exact location

2012-01-13 Thread Dhaval Varia
Plz let me know why this code is not giving exact location. Although,if i am sending obtained latitude and longitude on google map,then it provides exact location.. private void Find_Current_LatLong() { try { appendLog("\n Find_Current_LatLong(); Called \n "); txtstatus.setText("WaitLocating

[android-developers] threading : two independent events

2012-01-13 Thread vishal garg
Hi, I have an android app code where 1) 1st process : checks for user location constantly after every t minutes. 2) 2nd process : displays an image on the screen The processes are independent and but the code gets stuck in the first process as a result of which second process does not load. I am

Re: [android-developers] cannot install ADT Plugin

2012-01-13 Thread Robinns
I too had similar problem n then followed stackoverflow.com. Adt plugin rev 16 was complicated but solved it On Jan 14, 2012 12:27 AM, "Marcelo Henrique" wrote: > what ? > > 2012/1/13 TreKing > >> On Thu, Jan 5, 2012 at 8:47 PM, Corbin wrote: >> >>> Eclipse is saying the files cannot be found b

[android-developers] Re: Location extraction from cell ID returned

2012-01-13 Thread DTecMeister
I don't know of a way to do this with any accuracy. If (big if) you can get direction and/or distance to each tower, you would be on the right track. Subways are on a set track, so best way to get location would be to compute it based on path and distance travelled along the path. On Jan 13, 10:1

[android-developers] I want to judge wheather my free application was installed from Android market

2012-01-13 Thread haru158
I want to judge wheather my free application was installed from Android market. My SDK Level is 7. LVL is only applied charge apps, because case of free app is not clear. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: Call Class Function / Method when created by overriding a view in xlm layout file

2012-01-13 Thread JamesColeman
I tried MANY different places. For example I assigned it to a button and tried to get it onClick, I tried it when the class as created. OnCreate was the only spot that I found where it worked. Been having lots of fun coding now. Although I found a bug in Canvas.drawRoundRect(), but I was able to

Re: [android-developers] Re: gps waiting problem.

2012-01-13 Thread Dhaval Varia
Jst bcoz i m sending email from my mobile Thanks for reply. On Jan 14, 2012 12:38 AM, "Spiral123" wrote: > wh d u kp drppng ltrs? > > I thnk ths pst answrs ur que: > http://stackoverflow.com/questions/5895283/locationlistener-and-timers > > > > On Jan 13, 12:24 pm, Dhaval Varia wrote: > > my que

Re: [android-developers] Re: Adhoc support on Android

2012-01-13 Thread Kristopher Micinski
http://developer.android.com/resources/samples/WiFiDirectDemo/index.html kris On Fri, Jan 13, 2012 at 7:32 PM, Jim Graham wrote: >> On 12 January 2012 16:29, Vipul Somani wrote: >> On Fri, Jan 13, 2012 at 10:17:12PM +0530, Vipul Somani wrote: >> > >> > As part of my final year project i want to

Re: [android-developers] Button clicking colour change problem

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 1:41 AM, B.Arunkumar wrote: > The colouring of the 2 buttons should appear sequentially because button > clicking happens on the main thread, is it not? > A) There is nothing related to color in the code you posted. B) If you have a Thread.Sleep() in a function that is exe

Re: [android-developers] Re: Adhoc support on Android

2012-01-13 Thread Jim Graham
> On 12 January 2012 16:29, Vipul Somani wrote: > On Fri, Jan 13, 2012 at 10:17:12PM +0530, Vipul Somani wrote: > > > > As part of my final year project i want to connect instances of > > Android virtual devices in emulator in an Ad hoc fashion using wifi. I > > need to access the wifi adapter to

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Ah very useful thanks Kostya. -- 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 group, send email to android-developers+unsubscr...@googlegroups

Re: [android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread Kostya Vasilyev
Strict mode is a tool that detects various "bad" things in your application - cursors left open, activity memory leaks, performance issues, networking on the UI thread - and can log what happened and/or kill the process: http://developer.android.com/reference/android/os/StrictMode.html Some of th

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Yeah great info all around Kostya thanks :) By the way what is strict mode? I'm coming from a Java Swing environment and only very recently dived into the world of Android so still picking a lot of things up. Thanks Steve -- You received this message because you are subscribed to the Google Gr

Re: [android-developers] Re: Credit card swiper with API

2012-01-13 Thread Kristopher Micinski
I think the question is whether you're developing it as a production service (such as cube) or as something for internal use just for your organization. If this is the case, unfortunately there's already been quite a lot of work in the area, but if you just need it for internal use it might not be

[android-developers] Re: ISSUE

2012-01-13 Thread DTecMeister
You could distribute or provide installers for groups of files to suit individual's taste and write code within each package that creates each individual file and enters the name in the SQLite database for subsequent simple listing and retrieval. On Jan 13, 3:05 am, arun kumar wrote: > Hi > > I a

[android-developers] Strange behavior with Theme.DeviceDefault.Light

2012-01-13 Thread Ricardo Amaral
I've implemented the technique described in the recent article Holo Everywhereposted on Android Developers blog in my own app and I've noticed a strange behavior when using *Theme.DeviceDefault.Light* running Android 4.0.3 on

[android-developers] Re: My canvas is too slow when hardware acceleration is enabled.

2012-01-13 Thread sblantipodi
Yes I read it but can't understand why performance drop on my canvas when Hardware Acceleration is enabled and it seems that I'm not the only one. On 13 Gen, 23:13, String wrote: > Have you read   > http://android-developers.blogspot.com/2011/03/android-30-hardware-ac... > ? > > TL;DR: hardware a

[android-developers] Re: My canvas is too slow when hardware acceleration is enabled.

2012-01-13 Thread String
Have you read http://android-developers.blogspot.com/2011/03/android-30-hardware-acceleration.html ? TL;DR: hardware acceleration usually improves rendering speed, but not always. Looks like you've found one of the "not" cases. String -- You received this message because you are subscribed

Re: [android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread Kostya Vasilyev
Oh, so those are your own managed cursors. FWIW, I just tried this in my autocomplete view class: @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); CursorAdapter adapter = (CursorAdapter) getAdapter();

[android-developers] Re: Get current screen size?

2012-01-13 Thread JackN
capture the screen changed event. On Jan 3, 5:40 am, Satz Klauer wrote: > Hi all, > > what is the recommended way to evaluate the current screens width and > height? Currently I'm using the WindowManager class but it returns the > correct size only when display is in landscape mode. In case it is

Re: [android-developers] Re: Sony Ericsson Smart Extension SDK for SmartWatch and Smart Wireless Headset pro

2012-01-13 Thread Kostya Vasilyev
Well, as for me, my LiveView arrived in the mail today and I am going to support it for incoming message notifications. YMMV 14 января 2012 г. 1:53 пользователь JackN написал: > I don't think people are going to want anything for sony. -- You received this message because you are subscribed t

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Nice :) I did it slightly differently. I already had a standard top level Activity all my Activities inherit from so in there i defined: List managedCursorAdaptors = new ArrayList(); and added the following methods: protected void addManagedCursorAdapter(CursorAdapter adapter) {

[android-developers] Re: Sony Ericsson Smart Extension SDK for SmartWatch and Smart Wireless Headset pro

2012-01-13 Thread JackN
I don't think people are going to want anything for sony. On Jan 10, 2:47 pm, Kostya Vasilyev wrote: > Is SmartWatch this year's version of LiveView? > > They looks really similar (to my uneducated, as of yet, eyes). > > Can the Smart Extension SDK be used to talk to a LiveView device? > > What a

Re: [android-developers] intersection circles overlay on maps

2012-01-13 Thread TreKing
On Tue, Jan 10, 2012 at 12:14 PM, moriero wrote: > I think that a possible solution (in theoretical way) is to remove part of > overlay(circle) over map, in the position where must insert > the new circle and then redraw a new red circle (with alpha set to 30), > because i want to realize somethin

[android-developers] Re: Credit card swiper with API

2012-01-13 Thread JackN
It is simple enough. The hardest part is getting the reader to be recognized (if it is USB). For some, these solutions (Intuit, Square and VeriFone) are a no go because of high rates and/or they don't tie into existing infrastructures. There is nothing overly complex or challenging about a projec

[android-developers] Re: Help with AlertDialog Needed

2012-01-13 Thread Glenn
Hi TreKing, Thanks for your reply. Cheers. Glenn On Jan 14, 1:17 am, TreKing wrote: > On Fri, Jan 13, 2012 at 4:16 AM, Glenn wrote: > > How can I get the name? > > Use the integer to index into the very list you passed to the AlertDialog > to begin with. "dba.getAllPlayers()", I assume. > > --

Re: [android-developers] USB application development

2012-01-13 Thread TreKing
On Tue, Jan 10, 2012 at 5:06 AM, vins wrote: > Kindly help me for getting started with developemnt of USB monitoring and > handling of data transfer on USB port. > Kindly read the documentation. I don't know what you expect anyone here to tell you. --

Re: [android-developers] Animation in ExpandableListView

2012-01-13 Thread TreKing
On Tue, Jan 10, 2012 at 3:40 AM, dileep wrote: > How can i add animation effect in subitems of an ExpandableListView > RTFM, try something, read this http://www.catb.org/~esr/faqs/smart-questions.html, then ask again.

Re: [android-developers] Error while selecting an option in a dynamically generated, multiple RadioGroup Layout. Some of the radio buttons are automatically getting checked

2012-01-13 Thread TreKing
> > But when ever I'm selecting a option for a question, some of the question > are getting automagically selected. Add a selection changed / click listener on the radio buttons and use your debugger to see what's happening. ---

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-13 Thread Fernando Almeida
I have a littmann 3200 and i'm using android 4.0.3... I just want this to connect :( still can't do nothing about this... On 9 Jan, 07:35, Raul Ruiz wrote: > Hi Fernando, > > What shetoscope do you have? Android version? Logcat trace? > > Thanks! > > On 8 ene, 22:29, Fernando Almeida wrote: > >

Re: [android-developers] About The Power And Screen In Gingerbread

2012-01-13 Thread TreKing
On Mon, Jan 9, 2012 at 11:58 PM, xhy wrote: > I execute the command " cat /sys/power/state" in shell, but the output > always is "mem" even though when the screen is on.So why ? > I check the code in power.c, the func "set_screen_state()", I add some > log info,and find that the value had been w

Re: [android-developers] Display all SIM contacts in a activity

2012-01-13 Thread TreKing
On Sat, Jan 7, 2012 at 7:18 AM, Azhaguselvan SP wrote: > I have googled much and can't find a solution. Please help. What solution? There was no Activity to handle the Intent. - TreKing

Re: [android-developers] Android Application installed from Eclipse or adb

2012-01-13 Thread TreKing
On Sat, Jan 7, 2012 at 2:18 PM, Chris White wrote: > Any ideas? - Google the exact error message in quotes. - Reboot the device. - Install a release version of the app using ADB. - TreKing

Re: [android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread Kostya Vasilyev
13 января 2012 г. 23:54 пользователь swebb99 написал: > Kostya I think your right, even though the managedCursor mechanism > basically does what I want I don't like it. I think the mechanism you > mention in the destroy method is the way to go with this however I > really think the platform should

[android-developers] Re: Android source build on Gentoo Linux works

2012-01-13 Thread Jamel Toms
How long did it take? On Jan 12, 3:50 am, Adam wrote: > > TobuildtheAndroidsource under Linux, you will need Ubuntu. > > TheAndroidbuildis routinely tested on recent versions of Ubuntu (6.06 > > and later), but reports of successes or failures on other > > distributions are welcome. > > > To set

[android-developers] Re: Listview and expandablelistview

2012-01-13 Thread FiltrSoft
well the "profit" part may be a little tricky, with Android. ;) On Jan 13, 10:10 am, TreKing wrote: > On Fri, Jan 13, 2012 at 3:28 AM, Uday Gokhale wrote: > > > How can i achieve this. > > Learn to program, read the docs, read the samples, write some code, fail, > learn, debug, fix, ask a better

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Kostya I think your right, even though the managedCursor mechanism basically does what I want I don't like it. I think the mechanism you mention in the destroy method is the way to go with this however I really think the platform should be looking after all of this correctly. As you say all these

[android-developers] Re: Order numbering system changed in the market

2012-01-13 Thread John Coryat
Update... I replied to "Komal" the following: *Komal,* * * *P L E A S E R E A D M Y E N T I R E R E P O R T B E F O R E R E P L Y I N G !!!* * * ** * * *-John Coryat* * * I got a reply today: *Hello John, Thanks for reaching out to us. To ensure a faster resolution, I’ve forwarded

Re: [android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread Kostya Vasilyev
pskink: That's a farily boilerplate filter implementation, but -- -- it still leaves one (at most) cursor open at the very end. You can see it by enabling strict mode, and I saw it happenning on 4.0.2. Patching things up in application code is, of course, trivial, but... these trivial things re

Re: [android-developers] How does LiveKey work with the Microphone?

2012-01-13 Thread TreKing
On Fri, Jan 6, 2012 at 3:22 PM, David Larson wrote: > Can I talk through the micrphone, and have the audio recieved by the > phone, while holding the LiveKey down? > What is a "LiveKey"? - TreKing

Re: [android-developers] Testing android.media.ToneGenerator

2012-01-13 Thread TreKing
On Fri, Jan 6, 2012 at 5:33 AM, Ibrahim Awwal wrote: > Also, if this is not the appropriate mailing list, I would appreciate > being steered in the right direction. > http://developer.android.com/resources/community-groups.html#ApplicationDeveloperLists -

[android-developers] Re: Using an adapter from another class/activity

2012-01-13 Thread Jeremy Dagorn
Why you don't create an external adapter, saying that I mean, an adapter not created/instantiated as an inner adapter of your activity? On Jan 13, 1:55 am, galapogos wrote: > Thanks. How would I use this model for ArrayAdapters across several > activities? > > Currently, I define my ArrayAdapter

[android-developers] Re: gps waiting problem.

2012-01-13 Thread Spiral123
wh d u kp drppng ltrs? I thnk ths pst answrs ur que: http://stackoverflow.com/questions/5895283/locationlistener-and-timers On Jan 13, 12:24 pm, Dhaval Varia wrote: > my que is > > in this code locationmanager.removeupdate() Has called, but still > getaddress() is calling for few times. > > i

[android-developers] My canvas is too slow when hardware acceleration is enabled.

2012-01-13 Thread sblantipodi
Hi all. I have an apps that uses the Canvas to draw its UI. The apps use drawLine() drawRect and others methods to draw the UI. If I disable the hardware acceleration the UI is fluid and responsive, if I enable hardware acceleration I can see a disturbing lag. I'm testing it on Xoom and on Galax

Re: [android-developers] How to set my application available to searchable items on device.

2012-01-13 Thread TreKing
On Thu, Jan 5, 2012 at 8:29 AM, dinesh wrote: > How to make my application available to Goolge Quick Search > Application. > How to read the documentation. - TreKing

Re: [android-developers] cannot install ADT Plugin

2012-01-13 Thread Marcelo Henrique
what ? 2012/1/13 TreKing > On Thu, Jan 5, 2012 at 8:47 PM, Corbin wrote: > >> Eclipse is saying the files cannot be found because they cannot be found ? >> > > What? > > > - > TreKing

Re: [android-developers] cannot install ADT Plugin

2012-01-13 Thread TreKing
On Thu, Jan 5, 2012 at 8:47 PM, Corbin wrote: > Eclipse is saying the files cannot be found because they cannot be found ? > What? - TreKing - Chi

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
> what about this: > > http://stackoverflow.com/questions/6542745/whats-the-purpose-of-start... > > Interesting, thanks for the link. Not sure if I should introduce the v4 support into my app or not. I'm not far off releasing so maybe I'll get the first version out and then look at things like th

Re: [android-developers] Android 4.0 Encryption feature

2012-01-13 Thread Chander mourya
Thanks a lot Murphy, I have done it on my Emulator. I Telnet into the emulator and run the power capacity command as power capacity 100 then the battery power changed to 100% and now i am able to run "Encrypt Phone" Feature on my emulator. currently my Encryption is going on, i think it wi

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
I added the following to my adapter and that seems to have fixed the problem: @Override public void changeCursor(Cursor newCursor) { Cursor oldCursor = getCursor(); super.changeCursor(newCursor); if(oldCursor != null && oldCursor != newCursor) { // adapter has already dealt wi

Re: [android-developers] Re: Android fragmentation study

2012-01-13 Thread Dianne Hackborn
On Fri, Jan 13, 2012 at 5:13 AM, Dusk Jockeys Android Apps < duskjock...@gmail.com> wrote: > Thanks Dianne, for this infomation on Compatibility Testing. > > Couuld you clarify the exact scope? Is it the devices core API that > have to pass or their implementation of it? > It is everything covere

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread skink
swebb99 wrote: > Thanks for the reply skink. I've tried what you suggested and yes > changeCursor is getting called, now I look at the code again I can see > how. I can also now see what the cause of the memory leak it. > Basically when the activity is destroyed that contains views with > CursorA

[android-developers] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 11:58 am, Bruce Beare wrote: > That's covered in an earlier thread... but here's how: >   source build/envsetup.sh >   lunch full_x86-eng >   make -j$JF droid > log 2>&1 >   emulator > > Quite soon you will be able to download an SDK add-on with the IA > images for GB. > The ICS (and

[android-developers] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 11:58 am, Bruce Beare wrote: > That's covered in an earlier thread... but here's how: >   source build/envsetup.sh >   lunch full_x86-eng >   make -j$JF droid > log 2>&1 >   emulator > > Quite soon you will be able to download an SDK add-on with the IA > images for GB. > The ICS (and

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Thanks for the reply skink. I've tried what you suggested and yes changeCursor is getting called, now I look at the code again I can see how. I can also now see what the cause of the memory leak it. Basically when the activity is destroyed that contains views with CursorAdapters there appear to be

[android-developers] compress frame to QVGA from onPreviewFrame??

2012-01-13 Thread muhammad.ume...@hotmail.com
hi, I am getting the frames from onPreviewFrame method, and convert these frames to jpeg and send it on a network. but i want the size of each image to QVGA that is 320x240. Please tell me what is the right way to do this, but i am doing like this, Here is my code. Is this give me the result th

Re: [android-developers] Usage of startUsingNetworkFeature

2012-01-13 Thread TreKing
On Wed, Jan 11, 2012 at 3:14 AM, Suresh wrote: > what is the purpose of this API? how is it useful for 3rd party > applications.? http://bit.ly/AcMS2C - TreKing

Re: [android-developers] Android 4.0 Encryption feature

2012-01-13 Thread Mark Murphy
On Fri, Jan 13, 2012 at 10:55 AM, Chander mourya wrote: > Thanks Murphy, yes i have to run commands and run the charging to 100% > , i am trying to find out the details how it can be done. if you have > some links related to this please send it to me. It should be no different on the emulator tha

[android-developers] Re: Should I enable hardware acceleration?

2012-01-13 Thread sblantipodi
Another bump. On 7 Gen, 00:24, sblantipodi wrote: > bumping the question. > > On 5 Gen, 14:08, sblantipodi wrote: > > > > > > > > > Really thanks for the answer Romain, I appreciate it. > > To make a try I enabled the "Force GPU rendering" option in my Galaxy > > Nexus. > > > When this option is

Re: [android-developers] Re: gps waiting problem.

2012-01-13 Thread Dhaval Varia
my que is in this code locationmanager.removeupdate() Has called, but still getaddress() is calling for few times. i think after locatiomanager.removeupdate() , onlocationchange() should mot call.right? bt it is calling. inturn, getaddress() is calling for few time. I want that getaddress() sh

Re: [android-developers] Re: Draw on a WebView control.

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 10:58 AM, Hydro Misco wrote: > Yes, I think this would be the best solution for me - I take it the onDraw > will not cause any lag. > Try it? > Can you give me a quick demo snippet of this, i.e. by drawing a line from > (10,10) - (100, 150). > Can you pay me for my time

Re: [android-developers] Re: gps waiting problem.

2012-01-13 Thread Dhaval Varia
my que is in this code locationmanager.removeupdate Has called but getaddress is calling few time. i think after remove it, onlocationchange should mot call.right? bt it call. inturn,getaddress is calling for few time. I dnt want to call after having address from lat-long. What to do? On Jan

Re: [android-developers] Re: Anyone used performHapticFeedback()?

2012-01-13 Thread Eric
You might also want to try the "Universal Haptic Layer" provided by Immersion. Simple to use, and gives you a large number of haptic "effects" to pick from. http://www2.immersion.com/developers/index.php?option=com_content&view=category&layout=blog&id=119&Itemid=592 Eric -- You received this

[android-developers] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Bruce Beare
That's covered in an earlier thread... but here's how: source build/envsetup.sh lunch full_x86-eng make -j$JF droid > log 2>&1 emulator Quite soon you will be able to download an SDK add-on with the IA images for GB. The ICS (and master branch also) images may be built from source... I'm n

[android-developers] Re: Draw on a WebView control.

2012-01-13 Thread Hydro Misco
Hi, Yes, I think this would be the best solution for me - I take it the onDraw will not cause any lag. Can you give me a quick demo snippet of this, i.e. by drawing a line from (10,10) - (100, 150). Am I able to alter the draw mode as well ? e.g. XOR... Thanks so much. On Jan 12, 6:44 pm, TreK

[android-developers] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 9:52 am, Bruce Beare wrote: > It's actually far faster than an ARM emulation (provided that you are > running on Linux with kvm enabled). > Last I heard, there was a bug in the released SDK's version that was > causing the emulator to have a very slow > start-up time. If it isn't alre

[android-developers] Re: Adhoc support on Android

2012-01-13 Thread Vipul Somani
Please Help Me with my query...URGENT On 12 January 2012 16:29, Vipul Somani wrote: > Hello, > > As part of my final year project i want to connect instances of > Android virtual devices in emulator in an Ad hoc fashion using wifi. I > need to access the wifi adapter to run a series of low level

[android-developers] Re: gps waiting problem.

2012-01-13 Thread Spiral123
that is not a snippet. > > Problem is : > > 1. UpdateRemove doesn't work. > I can't see any reference to 'UpdateRemove' in your code. what is the error in the LogCat and what line of code does it happen at? > 2. I need to do following thing : >         -> Get Address Once (By calling getaddre

[android-developers] Create conference with BTHeadset

2012-01-13 Thread Wuffy
Hi guys! I found a class named "com/android/phone/BluetoothHandsfree.java" in the Android Build Source. It includes the following snippet: ... } else if (args[0].equals(3)) { if (phoneType == Phone.PHONE_TYPE_CDMA) { // For CDMA, we need to check

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread skink
On 13 Sty, 13:14, swebb99 wrote: > I have extended an SimpleCursorAdapter and define a > FilterQueryProvider like so: > > setFilterQueryProvider(new FilterQueryProvider() { >     public Cursor runQuery(CharSequence constraint) { >         return getMatching(constraint); >     } > > }); > > I can

Re: [android-developers] ISSUE

2012-01-13 Thread James Black
Can you have them on a website and retrieve them to place on the SD card? On Jan 13, 2012 3:05 AM, "arun kumar" wrote: > Hi > > I am developing an application for android phone, In this I need to use at > least 100 audio file which can be played for some respective texts, Now my > question is whi

Re: [android-developers] Android 4.0 Encryption feature

2012-01-13 Thread Chander mourya
Thanks Murphy, yes i have to run commands and run the charging to 100% , i am trying to find out the details how it can be done. if you have some links related to this please send it to me. Thanks for your suggestion murphy On 1/13/12, Mark Murphy wrote: > On Fri, Jan 13, 2012 at 4:59 AM,

Re: [android-developers] Re: gps waiting problem.

2012-01-13 Thread Dhaval Varia
Thanx sir, Code is : @SuppressWarnings("deprecation") public class xyzextends Activity implements OnClickListener { /** Called when the activity is first created. */ public static int Count=15; private Timer myTimer; String CellNo[]=new String[10]; String CellT

Re: [android-developers] Re: Power harvesting in Accessory mode

2012-01-13 Thread Daniel Drozdzewski
Alex, I am not an expert, but ADK assumes that the accessory takes the role of USB HOST on the bus Android <---> Accessory. This according to USB standard has very specific power implications, including provision of power to devices connected to USB bus. Host provides the power, while client drai

Re: [android-developers] Need some help here

2012-01-13 Thread TreKing
First, when posting, try to give your post a relevant title. Something that tells people what you're asking about and helps people that are interested in your topic or, that later need help with that topic, easily identify the thread. "Need some help here" is fairly useless and makes your post imme

[android-developers] Re: Need some help here

2012-01-13 Thread deathrequiem
i thought of another way i could implement the antivirus since the one i listed before seems almost impossible. well if i could scan the apk just before they're installed then i guess it would do as well. but how do i test it with the emulator? i dont have a device with me. is it possible to load 2

[android-developers] Re: Android 2.2 MediaPlayer is working fine with one SHOUTcast URL but not with the other one

2012-01-13 Thread yaqub ahmad
See the solution here: http://stackoverflow.com/a/8833346/265167 On Jan 3, 8:06 am, yaqub ahmad wrote: > But why it was ok in the previous versions of Android like 1.6? > > On Dec 31 2011, 4:47 pm, sonu thomas wrote: > > > > > > > > > Android does not play all streams. > > > The supported stream

Re: [android-developers] Listview and expandablelistview

2012-01-13 Thread Uday Gokhale
Ya TreKing,robinns you are rite. THANKS A LOT!!! On Fri, Jan 13, 2012 at 8:40 PM, TreKing wrote: > On Fri, Jan 13, 2012 at 3:28 AM, Uday Gokhale wrote: > >> How can i achieve this. > > > Learn to program, read the docs, read the samples, writ

[android-developers] Location extraction from cell ID returned

2012-01-13 Thread Jaeyun Noh
Hello, As you may know, I can get cell ID and LAC information in subway stations. However, I can see that multiple cell IDs are returned even when I'm at the same subway station, which means the same location. Is there any way to determine the location depending on these cell IDs? Then how accurat

[android-developers] Re: Power harvesting in Accessory mode

2012-01-13 Thread Alex O.
Hello, Let me rephrase my question. If I understand this correctly, an accessory must have its own power source and, moreover, should also provide power to the phone (500mA at 5V for charging power). In this case, it seems that the accesories can only be bulky devices (such as the Arduino board i

Re: [android-developers] Listview and expandablelistview

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 3:28 AM, Uday Gokhale wrote: > How can i achieve this. Learn to program, read the docs, read the samples, write some code, fail, learn, debug, fix, ask a better question, profit.

[android-developers] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Bruce Beare
It's actually far faster than an ARM emulation (provided that you are running on Linux with kvm enabled). Last I heard, there was a bug in the released SDK's version that was causing the emulator to have a very slow start-up time. If it isn't already fixed in the master branch, I'll see about getti

Re: [android-developers]

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 8:22 AM, sell.bergstr wrote: > TreKing, this must be a cultural thing. I really admire your > persistence (patience?) in aswering these posts.. > lol - it's more of an "I'm anal / OCD" kind of thing :-)

Re: [android-developers] Developing an app that controls the router settings

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 12:20 AM, Emmanuel Emma wrote: > hello android developersam trying to develop an app that will be > controlling the router settings bt am aint really sure on how to go > abt it.pls pls help. > http://www.lifehack.org/articles/communication/how-to-improve-your-s

Re: [android-developers]

2012-01-13 Thread sell.bergstr
TreKing, this must be a cultural thing. I really admire your persistence (patience?) in aswering these posts.. On 13 Jan., 15:13, TreKing wrote: > On Thu, Jan 12, 2012 at 10:36 AM, Areesha kamran wrote: > > > Kindly some one tell me how i convert my .net application into android apps > > Learn Ja

Re: [android-developers] Help with AlertDialog Needed

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 4:16 AM, Glenn wrote: > How can I get the name? Use the integer to index into the very list you passed to the AlertDialog to begin with. "dba.getAllPlayers()", I assume. - Tr

Re: [android-developers]

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 10:36 AM, Areesha kamran wrote: > Kindly some one tell me how i convert my .net application into android apps Learn Java. The recode everything you have in .net to run on Android. Or learn to use Google and search for ".Net Android", see what you get. --

Re: [android-developers] SD card

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 11:46 PM, Vic wrote: > I have a HTC Android Incredible, Verizon model. > > The issues I'm having with the phone/SD card are: > > 1. The message I get is sd card not found. > 2. Error message, preparing sd card, then removed sd card when it > hasn't been removed. > 3. I'

Re: [android-developers] Get File Names from a File List Containing the Filepaths

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 6:29 AM, eonret...@sun.ac.za wrote: > I am trying to retrieve the filenames from a file list containing > the absolute paths. Can anyone tell me how to do this? > Google can. THIS HAS NOTHING TO DO WITH ANDROID.

Re: [android-developers] library for system apps

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 2:23 AM, ehsan azimzadeh wrote: > Would you please guide me on this? > I thought I did. > What should I do exactly? > Exactly what I said the first time - ask on a list where your question belongs. If you managed to find this list, you should have the technical prowess

Re: [android-developers] Appending new tagsto an existing xml file.

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 5:14 AM, Raneez wrote: > Now i want to add new users to this xml file. > This has nothing to do with Android specifically. > I tried it with DOM , but i couldn't find a solution, please do help. > Please try a Google search. --

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
Yes I've also looked at the 2.3.3 code and the same problem is there. As a work around in my Adapter I record the Activity that created it, then in the runQueryOnBackground I make a call on the activity to manage the cursor. It's not a nice way of doing it but sorts the problem out as far as I ca

[android-developers] Re: gps waiting problem.

2012-01-13 Thread Spiral123
1. Appreciate that English is probably not your first language, but plz dnt mk it evn hrdr fr ppl to read you posts by contracting words. 2. Good that you have the whole code already. If you are having a problem with it can you post a section of the LogCat where it falls over or a (small) snippet

[android-developers] Re: Intercept and update Javascript resource loading from webview

2012-01-13 Thread Ashutosh
Any idea guys?? On Jan 12, 12:11 pm, Ashutosh wrote: > Hi Guys, > > I am stuck with a situation. > While loading javascript I need to identify resource and , in case it > found I need to replace it with different resource > e.g. in my JS if I have something like src=""> > then whi

Re: [android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread Kostya Vasilyev
This issue exists in 4.0.2 on the galaxy nexus as well. 13.01.2012 16:55 пользователь "swebb99" написал: > I've reported this as an SDK bug because I don't think the code in > CursorAdaptor is doing what the JDK is saying, well atleast in 1.6 it > isn't anyway. > > http://code.google.com/p/andro

[android-developers] Re: how to convert morse sound to text???

2012-01-13 Thread RLScott
Have you tested the app to see how much noise it can tolerate? And have you listened to how much noise there is in actual use on the shortwave radio bands? On Jan 13, 12:22 am, Ludy Lu wrote: > android market has a application named morse code reader can convert morse > sound to text... > > 2012/

[android-developers] Re: Android fragmentation study

2012-01-13 Thread Dusk Jockeys Android Apps
Thanks Dianne, for this infomation on Compatibility Testing. Couuld you clarify the exact scope? Is it the devices core API that have to pass or their implementation of it? My query is a little bit of a grey area: On the latest Samsung Tablets (e.g. Tab 7 Plus) the LayoutAnimation on AppWidgets

[android-developers] How can draw pixel using native c++ in android?

2012-01-13 Thread shubh
Hi, I have some (x,y) at native layer, I want to create an interface in native that will draw these points. The architecture which I am following : 1) I have an native method declaration , "draw(JNIEnv *env, jobject thiz, jobject canv, jobject pa);" 2) I load shared lib in my activity and define

[android-developers] Re: Managing Cursor provided to CursorAdapter via a FilterQueryProvider?

2012-01-13 Thread swebb99
I've reported this as an SDK bug because I don't think the code in CursorAdaptor is doing what the JDK is saying, well atleast in 1.6 it isn't anyway. http://code.google.com/p/android/issues/detail?id=24322 -- You received this message because you are subscribed to the Google Groups "Android Dev

  1   2   >