[android-developers] ISSUE

2012-01-13 Thread arun kumar
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 which is the optimized way to do this.. One solution is putting all the audio files in the resource folder and referring from there,

[android-developers] Re: gps waiting problem.

2012-01-13 Thread Ali Chousein
You are basically looking for someone who is going to do all the job for you and you'll have all the credit. Try registering to any product-managers group or change your profession. On Jan 13, 4:25 am, Dhaval Varia dhavalkva...@gmail.com wrote: i am writing one app. in which 1. gps find lat

[android-developers] Re: MVC Architecture

2012-01-13 Thread Android2ee
Ok, nice first answer. The question is not stupid, because an Activity mix life cycle and view, so implementing MVC is not so obvious. And to make simple, your activity manage lifeCycle and delegate GUI to your GUI package. In that package you do usual MVC. In fact you implement usual layers

Re: [android-developers] library for system apps

2012-01-13 Thread ehsan azimzadeh
Would you please guide me on this? What should I do exactly? On 12 January 2012 07:51, TreKing treking...@gmail.com wrote: On Thu, Jan 12, 2012 at 9:28 AM, ehsan azimzadeh ehsan.azimza...@gmail.com wrote: I want to build system applications such as Settings, Phone and etc in eclipse.

Re: [android-developers] Re: NFC Secure Element

2012-01-13 Thread s.rawat
HI, I am gettign an ATR : A card is present. ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 *FF 40* 00 00 00 00 D4 . I dont htink it emulated the card.Does it.For 1k/4k Mifare Classic Card it has to be 00 01(Mifare 1k) or 00 02(Mifare 1k) instead of *FF 40* .PLz correct my understanding.I have used

[android-developers] android source code

2012-01-13 Thread sujan android
hai friends . android projects avaliable the below site www.sourcecode.android.com ,www.code.google.com and www.codeproject.com, other than this any web page is there kindly send me thanks and best regards

[android-developers]

2012-01-13 Thread Areesha kamran
Hello I am new to android apps. Kindly some one tell me how i convert my .net application into android apps -- 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

[android-developers] Re: Retrieving Information from the ContactsContract API

2012-01-13 Thread Ali Chousein
All of the comments above are very informative and give good guidance. My 2 cents to this thread is: 1. You'll never understand an API thoroughly by just reading the documentation. No matter how good the documentation is, just reading it is never going to be enough. 2. No matter how

[android-developers] Access to USB Device

2012-01-13 Thread Nico Guth
Hi! I have a USB device (GPS receiver) which I want to connect to my Android 3.2 tablet. The device is somehow recognized by the system and a ttyACM0 node is created in /dev. But here my problem starts: how can I get access to / dev/ttyACM0 without root access rights? I also tried to use the

[android-developers] Invalid argument - in InputStream.read(byte[], 0, length);

2012-01-13 Thread Vikas
I am getting following error while trying to test my application on Emulator with Android 3.1platform 01-13 01:52:41.093: W/System.err(485): java.io.IOException: Invalid argument 01-13 01:52:41.169: W/System.err(485): at org.apache.harmony.luni.platform.OSFileSystem.read(Native Method) 01-13

[android-developers] Adhoc support on Android

2012-01-13 Thread Vipul Somani
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 command. How can i test these on emulator. In the wireless settings i cannot enable wifi or

[android-developers] Need some help here

2012-01-13 Thread deathrequiem
Hi guys im totally new to android development. Touched abit on WP7 for the past few school projects. This semester my task is to build an antivirus application and a secure communication channel(sort of like skype but with encryption) could you please point me in the right direction? not asking

Re: [android-developers] new Developer

2012-01-13 Thread Neeraj Mishra
Maybe you should also try reading about PhoneGap with your existing knowledge of Web programming, it will be a good start.. But Like others said start with basic documentation on developer.android.com Also go through Marko Gargenta tutorials on Android on youtube Thanks. On Tue, Jan 10, 2012 at

[android-developers] java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

2012-01-13 Thread Teo Yan
Hi, I'm using a stability tool to test my app(my app is developed before ICS, but currently running on ICS), the tool is similar with the monkey. And this exception happen to me, but only 15% to reproduce. Here's the exception stack: java.lang.IllegalStateException: Can not perform this action

[android-developers] SD card

2012-01-13 Thread Vic
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'm not sure if I have to reformat the sd card or phone. If I

[android-developers] Android Widget: java.lang.NullPointerException

2012-01-13 Thread myzinsky
Hi, I wrote an Android widget with alarmmanager as updating process. Sometimes i've got a nullpointer exception. But all objects are initialized... public void UpdateWidget(Context con) { //Log.d(berlinClock, UpdateWidget=+i); RemoteViews views=new

[android-developers] MTP + Linux

2012-01-13 Thread Michael Vittiglio
I'm wondering what method is the simplest for getting access to my Galaxy Nexus' MTP drive via USB on Linux (Ubuntu 11.10). I've been online looking at a plethora of methods ranging from scripts to apps and all of them either don't work or are extremely buggy. I'm certain there's a good way to

[android-developers] Modify inherited attribute from a style

2012-01-13 Thread Jose Antonio Gómez
Hello friends, i have defined the following style: style name=Activity item name=android:layout_widthfill_parent/item item name=android:layout_heightfill_parent/item item name=android:background@drawable/background/item item

[android-developers] Android SDK installation problem

2012-01-13 Thread elex
Hello Group, I am facing a problem in SDK installation. My OS is ubuntu 10.10. My environment is Eclipse for Testers-Version: Indigo Service Release 1. I have installed jdk-7u2-linux-i586 on Linux. I have downloaded android-sdk_r16-linux.tgz I did following steps, I went Eclipse -- window --

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

2012-01-13 Thread Raneez
This is how my user.xml file looks like: --- ?xml version=1.0 encoding=UTF-8? login account usernameuser1/username passwordpass1/password /account account usernameuser2/username passwordpass2/password /account account usernameuser3/username

[android-developers] emulator-x86 with hardware virtualization

2012-01-13 Thread Anirudh Sivaraman
Hi I read an earlier thread where it said the Android emulator was now capable of running x86 images, (for avd's such as the one used in Google-TV) but that it's performance was no better than conventional ARM emulation on ARM images. Has anything improved on this front , for instance, by

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

2012-01-13 Thread Emmanuel Emma
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. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] C2DM - Always returns 200 without Error= but device doesn't receive notification

2012-01-13 Thread chubby
Hi, we are sending push notifications to our app on Android devices and seeing fluctuations in receiving the notification on the handset. It seems to work for a short while, and then push notification cease to come in for say 5 mins and we'll stop using the handset. We'll go back to it a bit

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

2012-01-13 Thread eonret...@sun.ac.za
Hi I am trying to retrieve the filenames from a file list containing the absolute paths. Can anyone tell me how to do this? Thank you -- 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] Developing an Android web service client / PHP server with KSOAP2

2012-01-13 Thread sharktiger
Hi all, I am trying to get a response from a web service. I am supposed to send to the server something like : soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/ envelope/ xmlns:ont=http://myserver.com/; soapenv:Header ont:AuthHeaderElement

[android-developers] Backstack handling in HoneyComb

2012-01-13 Thread ksat8384
Here's the Overview: main.xml: (landscape mode) - Has two fragments with id fragment1 and fragment2 placed horizontally in a linearlayout main.xml:(Portrait mode) Has two fragments with id fragment1 and fragment2 placed Vertically in a linearlayout fragment1.xml

[android-developers] 【Android2.3.3】From horizontal to vertical rotation of Ctrl + F11

2012-01-13 Thread もんきち
Hi! Are currently tested in the emulator's Android SDK r16. Operation for operation during rotation from portrait to landscape screen is fine But, on the vertical from the horizontal, lateral view remains the Activity, the vertical We then switch to show the orientation occurs. Android2.3.3 for

[android-developers] Android Tutorials

2012-01-13 Thread AndroidBangalore.com
We will post Android topics from Basic to Advance very soon! Published by AndroidBangalore.com -- 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] sms intent filter

2012-01-13 Thread Live Happy
i tried this code in my android application for the SMS message but it is not working , the application not appear in the messaging list should i add something to make it work? action android:name=android.intent.action.SENDTO / category

[android-developers] Re: SMS and Application Integration! Need Suggestion

2012-01-13 Thread Ali Chousein
This is an excellent tutorial: http://mobiforge.com/developing/story/sms-messaging-android  You can start from here and build the functionality you are interested in. - Ali Chousein http://www.codeproject.com/KB/android/PayGol-Android.aspx

[android-developers] Re: C2DM - Always returns 200 without Error= but device doesn't receive notification

2012-01-13 Thread sparky
This article may answer your question. https://groups.google.com/forum/#!topic/android-c2dm/gY2RZBoFth4 -- 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

[android-developers] Re: All the google accounts of all the phones waiting for C2DM push notifications must be registered on C2DM?

2012-01-13 Thread sparky
Yes. The email address that you use to request access must be the same as the one that will authenticate to the C2DM web service and send it messages for delivery to devices. You may find it useful to subscribe to the android-c2dm group. -- You received this message because you are subscribed

[android-developers] Listview and expandablelistview

2012-01-13 Thread Uday Gokhale
I want to create app in which 1) get main list view content from user (from edit-text) .on click of add button it will add dynamically. 2)on click of list view pop up in which 3 options 1)add sub list 2)delete3)edit 3)And repete 2) for my sublist also. How can i achieve this.

Re: [android-developers] Re: MVC Architecture

2012-01-13 Thread Daniel Drozdzewski
I am with TreKing on this one. The question is very vague. Does Sree want to know about MVC in general? His question certainly looks so. If so, then it's hardly Android SDK, and Wikipedia has an entry for it, so why wasting people time and bandwidth. This list seems to have a lot of noise like

[android-developers] nfc peer to peer communication

2012-01-13 Thread ANKUR GOEL
Hi all , i was just testing the NFC communication between 2.3 and 4.0 is their any problem between thm .. just a simple sound comes and nothing happens . can somebody help . thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Android 4.0 Encryption feature

2012-01-13 Thread chander
hi all, Android 4.0 brings the encryption feature of android 3.0 devices to mobile phones. i want to try ENCRYPT PHONE feature of android 4.0 but i don't have a physical device, can is it possible to do it with Android Emulator? or i want to ask that if i want to encrypt Phone contacts then will

[android-developers] JNI and caching jobject thiz?

2012-01-13 Thread M J
Hey guys, I nned your help. I am currently developing an application which uses JNI and native sockets. The problem is that I have to call Java code if some packages arrive on the native socket connection. Currently I am using CallVoidMethod to do that. The JNIEnv cannot be cached so I get it

[android-developers] Help with AlertDialog Needed

2012-01-13 Thread Glenn
Hi, I am looking for some help in understanding the workings of the Alert Dialog. I currently have a working dialog that retrieves a listing of players from the SQLite database. The idea is for the user to select a listed player from the list and I store that name in a variable. The snipet of

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

2012-01-13 Thread jfernandez
Hi again, Well, after upgrading my Android 4.0 to 4.03, and adding some changes to the Bluetooth HDP sample, I'm able to connect to the biomedical device, as well as I'm able to read/write data from/to the HDP channel. So, it seems the problem has been fixed in this new Android version. Regards.

Re: [android-developers] MVC Architecture

2012-01-13 Thread Eloy Mier Pérez
Hi, I you understand Spanish language you can read a full example about building an android app without losing analysis / design perspective. I hope you find interesting http://eloy-mp.com/wordpress262/?page_id=2433 Regards 2012/1/13 Sree sreelathapavul...@gmail.com Hi all I want some

Re: [android-developers] Listview and expandablelistview

2012-01-13 Thread Robinns
There's google On Jan 13, 2012 3:14 PM, Uday Gokhale gokhale.u...@gmail.com wrote: I want to create app in which 1) get main list view content from user (from edit-text) .on click of add button it will add dynamically. 2)on click of list view pop up in which 3 options 1)add sub list

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

2012-01-13 Thread Dhaval Varia
jstmind ur buisness... i m having whole code...trying since last 3days.then asked qustion.. i m sending email having that address...dt time my app got stuck...not responding. i m jst trying to know,whats wrong in my code.. dnt blame any one.without knowing everything sorry for hard

Re: [android-developers] Implementing RobotMedia In-App Billing Library

2012-01-13 Thread usafrmajor
I did and it has been a couple days and I haven't received a response yet. I was hoping to get something I could use from this site, but I guess not. Thanks for the suggestion though.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Navigation Tabs converted to Drop down on orientation change in Action bar of ICS.

2012-01-13 Thread Sudeep Sharma
Hi Guys, I have a query related to Action bar in ICS. As we all know Action bar supports both mode , 1. Navigation Tabs 2. Drop-down Navigation. I have an Activity with Action bar and added Navigation Tabs such that each Tab text is lengthy. (say TAB1, TAB2, TAB3, TAB4. etc...)

[android-developers] Re: Android Library sources not found

2012-01-13 Thread Matthias
While Eclipse now finds the sources while debugging, I am still not able to click through to the source of any item referenced from my app project. Does that work for you? ^^ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

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

2012-01-13 Thread swebb99
I have extended an SimpleCursorAdapter and define a FilterQueryProvider like so: setFilterQueryProvider(new FilterQueryProvider() { public Cursor runQuery(CharSequence constraint) { return getMatching(constraint); } }); I can't see how the Cursor can be managed because this class

Re: [android-developers] Android 4.0 Encryption feature

2012-01-13 Thread Mark Murphy
On Fri, Jan 13, 2012 at 4:59 AM, chander mohan.c...@gmail.com wrote: Android 4.0 brings the encryption feature of android 3.0 devices to mobile phones. i want to try ENCRYPT PHONE feature of android 4.0 but i don't have a physical device, can is it possible to do it with Android Emulator? I

Re: [android-developers] java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

2012-01-13 Thread Mark Murphy
When I have run into this error, it is because I am trying to work with a fragment that is no longer part of the activity (e.g., has been replaced). On Fri, Jan 13, 2012 at 3:14 AM, Teo Yan yagat...@gmail.com wrote: Hi, I'm using a stability tool to test my app(my app is developed before ICS,

[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

[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: 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] 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 ludy...@gmail.com wrote: android market has a application named morse code reader can convert morse sound to

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 sweb...@gmail.com написал: 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.

[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 ashuwon...@gmail.com 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 script

[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)

[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

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 rane...@gmail.com 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.

Re: [android-developers] library for system apps

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 2:23 AM, ehsan azimzadeh ehsan.azimza...@gmail.comwrote: 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

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 eonret...@sun.ac.zawrote: 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] SD card

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 11:46 PM, Vic mav7...@gmail.com 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

Re: [android-developers]

2012-01-13 Thread TreKing
On Thu, Jan 12, 2012 at 10:36 AM, Areesha kamran arkamr...@gmail.comwrote: 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] Help with AlertDialog Needed

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 4:16 AM, Glenn glennark...@gmail.com 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]

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 treking...@gmail.com wrote: On Thu, Jan 12, 2012 at 10:36 AM, Areesha kamran arkamr...@gmail.comwrote: Kindly some one tell me how i convert my .net

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 emmanuele...@gmail.comwrote: 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.

Re: [android-developers]

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 8:22 AM, sell.bergstr sell.bergst...@googlemail.com 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 :-)

[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

Re: [android-developers] Listview and expandablelistview

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 3:28 AM, Uday Gokhale gokhale.u...@gmail.comwrote: 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: 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

[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

Re: [android-developers] Listview and expandablelistview

2012-01-13 Thread Uday Gokhale
Ya TreKing,robinns http://sites.google.com/site/rezmobileapps/treking you are rite. THANKS A LOT!!! On Fri, Jan 13, 2012 at 8:40 PM, TreKing treking...@gmail.com wrote: On Fri, Jan 13, 2012 at 3:28 AM, Uday Gokhale gokhale.u...@gmail.comwrote: How can i achieve this. Learn to program,

[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 yaqubon...@gmail.com wrote: But why it was ok in the previous versions of Android like 1.6? On Dec 31 2011, 4:47 pm, sonu thomas sonup...@gmail.com wrote: Android does not play all streams.

[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

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

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

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

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 mmur...@commonsware.com wrote: On Fri,

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 hariarun2...@gmail.com 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

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

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

[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: 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 getaddress()),

[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 vipul.soma...@gmail.com 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

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

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 9:52 am, Bruce Beare bbea...@gmail.com 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

[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,

[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 21 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 not

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_contentview=categorylayout=blogid=119Itemid=592 Eric -- You received this

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: Draw on a WebView control.

2012-01-13 Thread TreKing
On Fri, Jan 13, 2012 at 10:58 AM, Hydro Misco niranpaud...@gmail.comwrote: 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

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()

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

2012-01-13 Thread sblantipodi
Another bump. On 7 Gen, 00:24, sblantipodi perini.dav...@dpsoftware.org wrote: bumping the question. On 5 Gen, 14:08, sblantipodi perini.dav...@dpsoftware.org wrote: Really thanks for the answer Romain, I appreciate it. To make a try I enabled the Force GPU rendering option in my

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 mohan.c...@gmail.com 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

Re: [android-developers] Usage of startUsingNetworkFeature

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

[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

[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] Re: emulator-x86 with hardware virtualization

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 11:58 am, Bruce Beare bbea...@gmail.com 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 21   emulator Quite soon you will be able to download an SDK add-on with the IA images for GB. The ICS

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

2012-01-13 Thread Anirudh Sivaraman
On Jan 13, 11:58 am, Bruce Beare bbea...@gmail.com 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 21   emulator Quite soon you will be able to download an SDK add-on with the IA images for GB. The ICS

[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

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 covered in

[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

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 wil

[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 this

  1   2   >