Re: [android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-11 Thread Romain Guy
Hardware accelerated Canvas through SurfaceView is currently not planned, at least not in J. On Wed, May 9, 2012 at 10:30 AM, Simon Edström simon.edst...@screeninteraction.com wrote: Will SurfaceView ever support hardware acceleration? If yes, when? Since hardware acceleration was introduced in

[android-developers] How to develop the Voice Commands to my application in Android

2012-05-11 Thread Ganesh VK
Hi all, I am working on Android applications. now my requirement it to add the voice recognization features to my application. that is like opening the installed app from the device through voice command. and i want to open the menu actions inside the applications through voice commands .

Re: [android-developers] How to develop the Voice Commands to my application in Android

2012-05-11 Thread asheesh arya
just go through this link http://eagle.phys.utk.edu/guidry/android/speakToMe.html -- 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

[android-developers] android bug gsm: NetworkOperatorName when returning to home network

2012-05-11 Thread Graham Bright
Hi, When I roam in another network my android devices books into the GSM network of that Operator. The NetworkOperatorName is displayed and all is fine. However when I return to my home country the network name of the operator from the visted country is still present on my android

[android-developers] Re: Android usb network

2012-05-11 Thread Harishk
Thanks Nikolay, The point which is I will not able to convince is use of WiFI in there LAN, I agree that tablet can have pre installed keys and it is fully secure but client does not wants to open private network door with WiFi access. May be I''m over looking the problem, Does any one using

[android-developers] communicate with webservices

2012-05-11 Thread tj
hey guys m trying to communicate webservice from my android app. i create my web app. i want to fetch output from html coz webservice was written in html. can anyone help me plz. thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] communicate with webservices

2012-05-11 Thread tj
hey guys m trying to communicate webservice from my android app. i create my web app. i want to fetch output from html coz webservice was written in html. can anyone help me plz. thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to develop the Voice Commands to my application in Android

2012-05-11 Thread Ganesh Vadlakonda
Thank you for the valuable information. I am going through this link to develop my application. On May 11, 11:37 am, asheesh arya asheesharya...@gmail.com wrote: just go through this linkhttp://eagle.phys.utk.edu/guidry/android/speakToMe.html -- You received this message because you are

[android-developers] Re: How to develop the Voice Commands to my application in Android

2012-05-11 Thread Ganesh Vadlakonda
thank you. And i would like to perform the voice commands action to open the menu actions of an application like for example an Email application. I would like to handle the inbox,outbox,sentitems,and other folders by voice commands. Can you please explain the procedure to do this way. thanks

[android-developers] OnItemClick not detected in listview inside customdialog

2012-05-11 Thread vani reddy
Hi friends,, In my custom dialog i have a Listview , on which i am invoking OnItemClickListener() but it is not detecting.. What can be the problem -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Customizing Android's default contacts app

2012-05-11 Thread Ali Chousein
Android SDK is for implementing your own apps; it is not for and it cannot be used for changing/configuring/customizing pre-installed apps on your device. Any claim that such a thing is possible lacks basic understanding of Android development and is just plain wrong. You cannot

Re: [android-developers] OnItemClick not detected in listview inside customdialog

2012-05-11 Thread Jason Teagle
In my custom dialog i have a Listview , on which i am invoking OnItemClickListener() but it is not detecting.. What can be the problem Showing us the code would help... the part where you add the listener and how you get a reference to the list view you add it to, and the listener's

[android-developers] Re: Goople Place API

2012-05-11 Thread Ali Chousein
You don't need any third party libraries for retrieving data from Google Places API. You can just use HTTPGet. This is because you are not accessing any data which requires authorization; all data on Google Places API is public. - Ali Chousein

Re: [android-developers] OnItemClick not detected in listview inside customdialog

2012-05-11 Thread vani reddy
here it is..This is the adapter class and in it there is a click on holder.productName where i am displaying the dialog.. public class SelectedItemsAdapter extends BaseAdapter { private LayoutInflater mInflater; private ListPurchaseOrderItem arlItems; int totalQty; float totalPrice; Activity

Re: [android-developers] Re: How to develop the Voice Commands to my application in Android

2012-05-11 Thread asheesh arya
http://all-android-tutorial.blogspot.in/2010/09/android-voice-recognition.html http://www.jameselsey.co.uk/blogs/techblog/android-how-to-implement-voice-recognition-a-nice-easy-tutorial/ http://awalkingcity.com/blog/category/android/ -- You received this message because you are subscribed to the

[android-developers] Don't mix Eclipse and Ant

2012-05-11 Thread Jacob Abrams
Sorry for this rant, but I have a number of complaints with the Android build system I'd like to air. Firstly thank you Android build system engineers for adding incremental building to the build system, this is a hard problem and your work here is appreciated. Now on to the major issue I

[android-developers] Don't mix Ant and Eclipse!

2012-05-11 Thread Jacob Abrams
Firstly thank you Android build system engineers for adding incremental building to the build system, this is a hard problem and your work here is appreciated. Now on to the major issue I just spent the evening debugging: When you combine eclipse with the command line Ant build you may get

Re: [android-developers] OnItemClick not detected in listview inside customdialog

2012-05-11 Thread Jason Teagle
here it is..This is the adapter class and in it there is a click on holder.productName where i am displaying the dialog.. There are a couple of questions you didn't answer: 1) How do you know it isn't getting to the click handler? Are you seeing the dialog appear, but not get dismissed? Are

Re: [android-developers] Don't mix Eclipse and Ant

2012-05-11 Thread Nikolay Elenkov
On Fri, May 11, 2012 at 5:58 PM, Jacob Abrams satur9n...@gmail.com wrote: If you are using eclipse and it can't build one of your library projects because the java source has compilation errors Eclipse will go ahead and make class files anyway! The methods in these class files will be filled

Re: [android-developers] Don't mix Ant and Eclipse!

2012-05-11 Thread Kostya Vasilyev
Jacob, Eclipse and Ant builds use the same working directories by default, I'm sure you've already found this out. Don't know about you, but it struck me as being somewhat weird when I started using Ant for my projects. I made some changes to the build scripts to place all Ant related files

Re: [android-developers] Don't mix Eclipse and Ant

2012-05-11 Thread Daniel Drozdzewski
Jacob, Don't use tools that modify the project pulling rugs from underneath Eclipse's feet. As an IDE it has specific stages to package and build each project and it needs to hook into those, so that it understands, what has happened and what is to happen. You can either use a tool chain that is

[android-developers] dynamic dialog

2012-05-11 Thread surabhi jain
I have created dialog box dynamically I am setting backgroung image of that dialog but the image is not covering whole screen of dialog. what is the property of dialog from which i can hide the the default dialog. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] dynamic dialog

2012-05-11 Thread Jason Teagle
I have created dialog box dynamically I am setting backgroung image of that dialog but the image is not covering whole screen of dialog. Which part of the dialog is still showing? If it's the title, then use dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); -- You received this message

Re: [android-developers] dynamic dialog

2012-05-11 Thread surabhi jain
Thank you I want to hide border of dialog. -- 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

Re: [android-developers] dynamic dialog

2012-05-11 Thread Jason Teagle
I want to hide border of dialog. It appears that you have to use a custom theme for the dialog - for example: Dialog dialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar); (I don't know how to create themes, so you'll have to search for a tutorial.) The full

Re: [android-developers] dynamic dialog

2012-05-11 Thread surabhi jain
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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-11 Thread ste1024
Am Mittwoch, 9. Mai 2012 16:11:56 UTC+2 schrieb Nadeem Hasan: Your phone is using wifi as the location source. If wifi is set to stay up during phone sleep, LocationManager will continue to provide updates unless you remove your location update subscription in onSuspend(). I tried the same

Re: [android-developers] dynamic dialog

2012-05-11 Thread surabhi jain
I want to set dialog center of the screen I am using Window window = screenDialog.getWindow(); WindowManager.LayoutParams wlp = window.getAttributes(); wlp.gravity = Gravity.CENTER_HORIZONTAL; but it is not setting. -- You received this message because you are subscribed to

Re: [android-developers] dynamic dialog

2012-05-11 Thread Jason Teagle
Window window = screenDialog.getWindow(); WindowManager.LayoutParams wlp = window.getAttributes(); wlp.gravity = Gravity.CENTER_HORIZONTAL; but it is not setting. At the risk of this being a silly question... you *are* calling setAttributes(wlp) afterwards, yes? {:v)

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread Jason Teagle
What exactly is the problem here? You get three buttons, that equally fill the parent vertically. Please try to be a little more specific about the problem - state what you expected, and what you got (in case it doesn't match what somebody else might get). -- You received this message

[android-developers] Re: Android coding in Objective-c coding style

2012-05-11 Thread Mufazzal Hussain
On Wednesday, May 9, 2012 6:20:13 PM UTC+5:30, Mufazzal Hussain wrote: I am reviewing code of android application that was built in Objective-c style. App contains only one activity but more than 10 screen so code is too complex to work upon. we are suppose to develop remaining part of

[android-developers] Single Activity application

2012-05-11 Thread Mufazzal Hussain
Hi friends, I am reviewing code of an application that contains only one activity but more than 12 screen application flows with change in layout of this activity. I need your suggestion that it is better way to work or not ?? thanks. -- You received this message because you are subscribed

Re: [android-developers] Single Activity application

2012-05-11 Thread Jason Teagle
I am reviewing code of an application that contains only one activity but more than 12 screen application flows with change in layout of this activity. I need your suggestion that it is better way to work or not ?? There is one train of thought that says 'If it ain't broke, don't fix it' - so

[android-developers] Need help for thread cancelable queue pattern.

2012-05-11 Thread Tolriq
Hello, I need some help to find the correct way to implement my need. The need as i see it is simple : Implement a queued synchronization thread model where queue elements can be removed / canceled. The second problem is that i use lots of interface so I don't really know the numbers of

Re: [android-developers] how to get id or value previous viewflipper

2012-05-11 Thread Narendra Singh Rathore
On Fri, Dec 16, 2011 at 12:11 PM, Horrrorgoogle dharma.kshe...@gmail.comwrote: I have eight viewflipper. so if i am clicked viewflipper5 then next time viewflipper1. so how to get information of viewflipper5 in the viewflipper1. give me some examples. Let it be more clear to me. What

[android-developers] Re: Thread lifetime

2012-05-11 Thread RLScott
OK, maybe that question was too big. All I really need to know is can I create a static thread that runs throughout the lifetime of the app and not worry about thread termination, trusting that if the OS needs to stop my app's process then it will close down that thread neatly without system

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Exactly. Look closely at the title. I thought it was clear enoug. Sorry Jason. Space, e.g having the same space between them, not resizing them. For example : top-20dp-button-20dp-button-20dp I I was clear enough -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Error reports where none of the stacktrace elements relate to your code?

2012-05-11 Thread Jason Teagle
Subject: [android-developers] Error reports where none of the stacktrace elements relate to your code? For example, in the Developer Console, I got this: Does this indicate a bug in the SDK? Unfortunately, not necessarily. Consider a situation where you set some undesirable data into a

Re: [android-developers] Re: Thread lifetime

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 7:23 AM, RLScott fixthatpi...@yahoo.com wrote: OK, maybe that question was too big.  All I really need to know is can I create a static thread that runs throughout the lifetime of the app and not worry about thread termination, trusting that if the OS needs to stop my

Re: [android-developers] Error reports where none of the stacktrace elements relate to your code?

2012-05-11 Thread Mark Carter
Thanks for the feedback. Thankfully the user provided a message force crash on keyboard input. So maybe he's using a keyboard which does something dodgy to the compose text. The app has over half a million users, and this is the only example of this crash that I know of. So I'm not worried,

Re: [android-developers] When using LocationManager.requestLocationUpdates, do I need a WakeLock?

2012-05-11 Thread ste1024
Am Sonntag, 10. Oktober 2010 23:50:35 UTC+2 schrieb Mark Murphy: I strongly suspect that you need to hold a WakeLock for as long as you are seeking fixes. I am not aware that any location provider has the ability to wake up the device. Sorry for digging up this ancient topic, but an trying

[android-developers] Any API's exposed for the English Premier League

2012-05-11 Thread Kunal Shah
Hello, Am developing a widget that would refresh with a data of the current match that is going on and the score...Similar to a free app IPL Live Score Widget by Himashu Shringarpure...I ve the look and feel of the app, ready but am not getting any API's that I can hook into... Do I go by the

[android-developers] Enable logs in JNI layer

2012-05-11 Thread mayank arora
Hi, I am trying to print some debug messages in jni code (\frameworks\base \core\jni\android_server_BluetoothService.cpp) by using the LOGV macro. But I am not able to see these logs in the logcat. So just wanted to confirm if the LOGV messages are printed directly or do we need to enable them,

[android-developers] Klocwork for Android NDK

2012-05-11 Thread Natarajan C
I have my NDK project where I want to use the Klocwork code analysis tool. I don't know how to do! I will appreciate any pointers on the same. Its not for Android Application, Its for Android NDK (C/C++ code). Thanks Natz -- You received this message because you are subscribed to the Google

[android-developers] SMS/MMS Default App source code into Eclipse?

2012-05-11 Thread Ginzorf
Greetings all, I'm attempting to make some slight modifications to the SMS/MMS application that comes included with Android. I've found a couple repositories, but downloaded the code from GitHub. However, when I try to build a new solution from the existing source, it says it can't find the

[android-developers] Re: Ashmem Error when Scrolling ImageView

2012-05-11 Thread Zhe Yuan
I meet this,too! 在 2011年1月1日星期六UTC+8下午8时52分58秒,Curly写道: When using an ImageView to display a contacts photo, I see many errors of the form: ERROR/MemoryFile(28791): MemoryFile.finalize() called while ashmem still open These occur when the view is scrolled and appear to only happen

[android-developers] how to dispatch a keyevent like key L to player running on foreground from background apps.

2012-05-11 Thread Shahbaz Faiz
Hi all I have a service running in a separate application process and an activity in another application process running in foreground. I want to pass key event from the service which is running in background to foreground activity which is a player build in flash. plz help me I stuck in this

[android-developers] Toast.makeText not working on ICS (PhoneStateListener)

2012-05-11 Thread Hardik Parekh
Hello, I am showing a message using *Toast.makeText* while receiving a call. The code is working on Ginderbread but not working on ICS. Please help -- 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] Binding to MarketBillingService incorrectly returning success

2012-05-11 Thread Haze
I've got a bit of a strange issue which seems to be affecting not only the app I'm developing but also most published apps that use IAP. For some reason, on some 3.x tablets I have tested on, Google Play does not install correctly. Cutting it short the end result is that the tab has both the

[android-developers] PackageManager.queryIntentActivities() returns incomplete list?

2012-05-11 Thread Farmer
Hi there, I am writing a launcher in Android and here is the problem I have been trying to fix for a while with no luck. I have below code to query all activities running at very beginning of my launcher, say onResume(). final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);

[android-developers] Re: setting task affinity to a intent programmatically

2012-05-11 Thread lcs_godoy
Hi, Have you found the solution for this problem? On Monday, August 2, 2010 12:56:20 PM UTC-3, social hub wrote: android:taskAffinity When I launch an Intent I also want to set the taskaffinity programmatically is there a method for this to accomplish ?

[android-developers] Live Streaming Speed

2012-05-11 Thread Ahmad Saeed
How Can I calculate Live Streaming speed? It may be in any form, audio or video. In video, I have find that we can do it with frame per second. One way is to get frame. and calculate frame in a second. But is there any api or any other way to do it. -- You received this message because you

[android-developers] Re: How to write NFC-V (ISO15693) tags on Nexus S?

2012-05-11 Thread thomas GRANGER
hi, do you have found the solution? i have the same problem ! On Wednesday, September 21, 2011 12:17:20 PM UTC+2, Giovanni wrote: Hello everybody, I'm trying to write a RFID tag on a Nexus S (android 2.3.4) using the NFC-V technology. AFAIK, this is done sending raw ISO15693 commands to

[android-developers] Tabs

2012-05-11 Thread Brian Muscat
Hi, I am working on an android application project where I am using the tabs. I would like to connect both the XML and activity class to the tab how can I do this ? Currently I am using this code intent = new Intent().setClass(this, Info.class); spec =

[android-developers] Re: OnItemClick not detected in listview inside customdialog

2012-05-11 Thread
Refer to this link http://xjaphx.wordpress.com/2011/07/14/listview-doesnt-respond-to-onitemclicklistener/ #1, it's your point. On May 11, 4:01 pm, vani reddy vani.reddy.bl...@gmail.com wrote: Hi friends,, In my custom dialog i have a Listview , on which i am invoking OnItemClickListener()

[android-developers] Binding to MarketBillingService incorrectly returning success

2012-05-11 Thread Haze
I've got a bit of a strange issue which seems to be affecting not only the app I'm developing but also most published apps that use IAP. For some reason, on some 3.x tablets I have tested on, Google Play does not install correctly. Cutting it short the end result is that the tab has both the

[android-developers] Proguard and PreferenceActivity

2012-05-11 Thread Mentos
In my release apk I have very strange problem. In debug all works fine. proguard.cfg is normal from examples. Any sugestion ? Unable to start activity ComponentInfo{myclass}: android.view.InflateException: Binary XML file line #2: Error inflating class PreferenceScreen public class MyClas

[android-developers] CalendarView - Select Day on LongClick

2012-05-11 Thread andineupert
Hey, I want to select a day per longclick and then do some other stuff. The OnDateChangeListener only reacts on a click but not on a long click. OnClickListener and OnLongClickListener are only reacting when clicking on the header of the calendar, not on days. I intercepted Touch Events from the

[android-developers] Re: Equally verticaly spaced button

2012-05-11 Thread Mahmoud Emam
What's your question ? -- 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.com For

[android-developers] Widget not calling onUpdate when screen orientation changes

2012-05-11 Thread Opack
Hi to all ! I have a widget which becomes not clickable when screen orientation changes. After a lot of research on the net, I see that this problem occurs when the submitted RemoteViews is partially updated. Problem is, I always fully update my RemoteViews. In fact, I have only 1 call to

[android-developers] Application runs faster in debug mode with cable connected

2012-05-11 Thread PictureCo
I run my opengl application in debug mode with cable connected to see logcat output. In this case application reports 20 fps. With cable disconnected it reports only 7 fps. It is so slow even application is built in release mode. I can't figure out what's going on there this should give the

[android-developers] Creating media player

2012-05-11 Thread Satyanarayana Ponugoti
Hi All, I am trying to create new media player which can play songs with streaming option. I am able to create media player with hard coding songs option using below code. final String url[] = { http://project-tango.org/Projects/TangoBand/Songs/files/A%20La%20Gran%20Muneca.mp3 ,

Re: [android-developers] Tab Host linking with XML file and Actitivity class

2012-05-11 Thread Brian Muscat
Thanks should I use 2 setcontent? On Thursday, May 10, 2012 6:26:07 AM UTC+2, MagouyaWare wrote: http://developer.android.com/reference/android/widget/TabHost.TabSpec.html#setContent%28android.content.Intent%29 Thanks, Justin Anderson MagouyaWare Developer

[android-developers] How to put permission to shared uid

2012-05-11 Thread changho Lee
Dear all, For getting permission, we can use shared uid like com.android.phone or com.android.system. Actually, we can write uses permission to manifest file for permission, too. In the case of using shared uid, shared uid have some permissions and we can get the permissions by

[android-developers] iphone like section indexer

2012-05-11 Thread Anoop Krishnan
Hi Friends, I am new to android . I want to implement Iphone like section indexer for List view in my Android app. Please help me with suitable samples . -- Regards Anoop krishnan A -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] necesito ayuda con sqlite en motorola defy

2012-05-11 Thread Krlonio
Ya cree una aplicacion que recibe el codigo y un usuario en una base de datos pequeña, a lo que mi pregunta es como podria revisar esa base de datos en mi telefono?? que deberia hacer para poder visualizar la base de datos?? otra pregunta es como puedo hacer para sincronizar la base en sqlite con

[android-developers] ImageView.getWidth() at the start of my App

2012-05-11 Thread Lamihck
Hello, I would like to find the size of a imageView from the start of my application. The idea is simple, I would do the same thing as Google Maps, ie display an image, and place pointers to places on this image. Pointers are recovered through the XML files containing X% and Y% in relation to

[android-developers] Log in with Facebook, gmail, twitter....

2012-05-11 Thread Javier Manzano
I'm developing an android app which makes connection with facebook, twittter, google, etc... and know what I'm doing is logging againsy providers with my oauth's ids and so on. Now, I'm just getting auth id (but I think this is not the one I want, because I don't have to accept facebook or twitter

[android-developers] Catch LongClicks on CalendarView

2012-05-11 Thread andineupert
Hey guys, I want to react on LongClicks on the CalendarViewhttp://developer.android.com/reference/android/widget/CalendarView.html-Widget. There are two listeners which I hoped let me reach this goal. OnDateChangeListener OnLongClickListener. But OnDateChangeListener only reacts when

[android-developers] Re: Screen rotation with App Widgets loses onClick connection

2012-05-11 Thread Opack
Hi ! I seem to have the same problem but the solution I've found everywhere on the web and in this thread does not work for me :( I posted my onUpdate method below, in which I perform a full initialisation of a new RemoteViews object. Then I pass it to the AppWidgetManager. This kind of

[android-developers] Custom pin code view

2012-05-11 Thread Karakuri Dev
Hi all, I'm working on a custom view for entering a pin code. Rather than a standard EditText, this has a box for each character and the boxes fill as the user types his pin. So far I'm making good progress: I can focus on the view, enter text, and fill/clear the boxes as characters are

[android-developers] Single sign on or similar for Google Account?

2012-05-11 Thread Javier Manzano
Hi, I've seen that Single Sign On with Facebook (SSO) is easy and that Twitter's can be achieved with this: http://thetechnib.blogspot.com.es/2011/01/android-sign-in-with-twitter.html But how about google/gmail accounts? I want to have a button which says log with google account or something

[android-developers] Single sign on

2012-05-11 Thread Javier Manzano
Hi, I've seen that Single Sign On with Facebook (SSO) is easy and that Twitter's can be achieved with this: http://thetechnib.blogspot.com.es/2011/01/android-sign-in-with-twitter.html But how about google/gmail accounts? I want to have a button which says log with google account or something

[android-developers] Activity and affinity task

2012-05-11 Thread lcs_godoy
Hello everybody, Is that a way to set the affinity of an activity dinamically in code? I mean, instead of setting the taskAffinity tag into android manifest, set the affinity of an activity with a specific task programmatically, using a flag or anything else in a call for a intent, for

[android-developers] encrypt files to be opened up by a specific app only

2012-05-11 Thread Farhan Tariq
Hi developers, I want to make an app that would download pdf files and keep them in sdcard in encrypted form, such that the pdf can be opened by my app only and not even with any pdf reader installed on the device. Is it even possible? I would appreciate any help. Thanks Regards, Farhan --

Re: [android-developers] SMS/MMS Default App source code into Eclipse?

2012-05-11 Thread asheesh arya
jave runtime error -- 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.com For

Re: [android-developers] How to put permission to shared uid

2012-05-11 Thread Mark Murphy
On Thu, May 10, 2012 at 5:10 AM, changho Lee margui...@gmail.com wrote: For getting permission, we can use shared uid like com.android.phone or com.android.system. No, you cannot, except perhaps as part of the firmware. I have some device, but a device's com.android.phone don't have a

Re: [android-developers] Application runs faster in debug mode with cable connected

2012-05-11 Thread Mark Murphy
Your device may be slowing the CPU or other components when running on battery instead of running on an external source of power. That would be a question for your device manufacturer, or it may be something that you can adjust using a device-specific version of the Settings app. On Thu, May 10,

Re: [android-developers] how to dispatch a keyevent like key L to player running on foreground from background apps.

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 2:51 AM, Shahbaz Faiz shahbazfai...@gmail.com wrote: I have a service running in a separate application process and an activity in another application process running in foreground. I want to pass key event from the service which is running in background to foreground

Re: [android-developers] Live Streaming Speed

2012-05-11 Thread kavitha chidambaram
May i know how are you doing live stream? thanks in advance On Fri, May 11, 2012 at 5:13 PM, Ahmad Saeed ahmadp...@gmail.com wrote: How Can I calculate Live Streaming speed? It may be in any form, audio or video. In video, I have find that we can do it with frame per second. One way is to

Re: [android-developers] Re: Thread lifetime

2012-05-11 Thread Kostya Vasilyev
If you just create your thread, it will keep running for as long as the process is alive. You won't want a thread doing something CPU intensive continuously, so presumably some kind of queue with work items would be a good way to put it on pause. As far as termination, threads are contained

Re: [android-developers] how to dispatch a keyevent like key L to player running on foreground from background apps.

2012-05-11 Thread David Olsson
Just an addon to Marks great answer. It doesn't usually work like that. You need to code a thing yourself and not expect someone emailing you a complete solution. Before someone respons, I haven't said anything about it not being possible or possible. It's not like Mark said. On Fri, May 11,

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread Kostya Vasilyev
... where 20dp is a dynamic size, based on how much space is available? If that's what you want, consider: LinearLayout orientation=vertical Button height=wrap_content/ View width=fill_parent, height=0dp, weight=1/ Button height=wrap_content/ View width=fill_parent, height=0dp, weight=1/

Re: [android-developers] Binding to MarketBillingService incorrectly returning success

2012-05-11 Thread Kostya Vasilyev
11.05.2012 15:25, Haze ???: I've got a bit of a strange issue which seems to be affecting not only the app I'm developing but also most published apps that use IAP. [snip] So as far as we know we are now successfully connected and can send purchase requests as normal, except when we do it

[android-developers] Noise between FX sounds and music

2012-05-11 Thread Francisco M. Marzoa Alonso
Hi there, I am facing problems when playing at same time music and some FX sound. The FX sound is a click similar to the click of the mouse. It sounds fine when playing alone one time, although it gets some noise at the end of the reproduction when trying to repeat it too fast. But when it is

[android-developers] refresh gallery

2012-05-11 Thread baturanija1
Hey,i am making app that has lo of picures...i am making button to allowe user to save some picture on his/her SDK..action will create folder with some name and put picture from activity on that folder..problem is that when i put picture and folder,it is not automaticly showen in picture album on

Re: [android-developers] refresh gallery

2012-05-11 Thread Jason Teagle
How to change that-to refresh SDK,to show automaticly picturs without unmounting...thank for share ('SD card', not 'SDK' - the SDK is what you're using to write code {:v) ) Try this link: http://androidforums.com/droid-support-troubleshooting/21652-refresh-gallery.html -- You received this

Re: [android-developers] ImageView.getWidth() at the start of my App

2012-05-11 Thread Daniel Hoeggi
At this stage your views aren't measured yet, that's why getWidth/getHeight is always 0. Try ImageView.getViewTreeObserver and register a PreDrawListener there you can call getWidth/getHeight and get the real values. On Thu, May 10, 2012 at 11:44 AM, Lamihck lami...@gmail.com wrote: Hello,

Re: [android-developers] android bug gsm: NetworkOperatorName when returning to home network

2012-05-11 Thread Robert Greenwalt
Can you take a bugreport when you switch back to the home network? We need the logs when the event occurs that you think should result in your home operator name being displayed. Thanks R On Thu, May 10, 2012 at 11:56 PM, Graham Bright gbwienmobil...@gmail.comwrote: Hi, When I roam in

Re: [android-developers] iphone like section indexer

2012-05-11 Thread Justin Anderson
There is this amazing technology that is now available for helping with this kind of thing... It is called Google. You should try it sometime. http://lmgtfy.com/?q=android+section+list Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 10, 2012

Re: [android-developers] Tab Host linking with XML file and Actitivity class

2012-05-11 Thread Justin Anderson
No... just the one that takes your intent. You are creating the intent but never using it. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 11, 2012 at 12:23 AM, Brian Muscat brianmuscat...@gmail.comwrote: Thanks should I use 2 setcontent?

Re: [android-developers] Tabs

2012-05-11 Thread Justin Anderson
I would like to connect both the XML and activity class to the tab how can I do this ? What? You don't. Your activity references the XML layout you want the tab to display. You tell the tab which activity to use... intent = new Intent().setClass(this, Info.class); spec =

Re: [android-developers] how to get id or value previous viewflipper

2012-05-11 Thread Justin Anderson
Let it be more clear to me. What information do you need in viewflipper 1 on click of viewflipper 5? That is not more clear... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 11, 2012 at 5:21 AM, Narendra Singh Rathore

Re: [android-developers] VpnService basic questions

2012-05-11 Thread Stigi
Are you sure that it is whatever you code yourself? Because right here: http://developer.android.com/sdk/android-4.0-highlights.html if I under it stand right, it is said that VpnService supports only L2TP and IPSec protocols. On the other hand, if I am wrong, could you give us a hint how to

Re: [android-developers] VpnService basic questions

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 1:10 PM, Stigi zale...@gmail.com wrote: Are you sure that it is whatever you code yourself? Because right here: http://developer.android.com/sdk/android-4.0-highlights.html if I under it stand right, it is said that VpnService supports only L2TP and IPSec protocols.

[android-developers] Browser application behaves differently Desktop execution to Android tablet (HC 3.2) browser execution.

2012-05-11 Thread Srinivas Nainala
Dear All, I have one web-application its working fine on desktop browser. Its basic application contains search some data and showing search results, couple of dialog and notifications. But same app executing on Android browser(default), search result is not showing(try to load the page it

Re: [android-developers] VpnService basic questions

2012-05-11 Thread Robert Greenwalt
I think the purpose of those classes is to let you create your own userspace vpn client type. It basically lets you use tun/tap interfaces to intercept all network traffic, wrap it in your vpn proto of choice and send it to your vpn endpoint. It does this while making it clear to the user what's

[android-developers] What causes soft input to appear?

2012-05-11 Thread Karakuri Dev
I'd like to understand programmatically what happens to make the soft input (keyboard) appear when a user clicks on an EditText. I am making a custom view that takes input, but extends something that normally doesn't show soft input. -- You received this message because you are subscribed to

[android-developers] Re: What causes soft input to appear?

2012-05-11 Thread Karakuri Dev
Additionally, also please help me understand how inputType is involved in the process to show a certain type of keyboard (like numbers only). On Friday, May 11, 2012 10:55:57 AM UTC-7, Karakuri Dev wrote: I'd like to understand programmatically what happens to make the soft input (keyboard)

[android-developers] How To Access Device Internal Storage?

2012-05-11 Thread JediDroid
Hello, I know the if statement section of the code below is successful for accessing the sd card when its mounted. Please tell me what code to use in the else if statement section to access device internal storage (internal flash storage)? My code: String state =

  1   2   >