[android-developers] Re: Problems streaming videos in Android 2.2

2012-05-11 Thread Giuseppe
Hi Kiview, I have your same problem, did you solved it? Giuseppe -- 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

[android-developers] Best way to have skins for an app?

2012-05-11 Thread Edward Falk
I want to give users the option of changing the look of my app. I found a way to do that via setTheme(), but I also found a post by Diane Hackborn that says: > But you really really should be setting this in the manifest. The system > uses this information to improve how it launches your activit

[android-developers] The file size is double at google play.

2012-05-11 Thread Perry168
Hi all, I found that the file size will show double at Google Play. For example: my app is 300K. After uploading to Google Play. The size will be 600K. Who has the same problem or just me only? -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] How to add informations in markers

2012-05-11 Thread asheesh arya
class MapOverlay extends Overlay { private GeoPoint pointToDraw; public void setPointToDraw(GeoPoint point) { pointToDraw = point; } public GeoPoint getPointToDraw() { return pointToDraw; } @Override public boolea

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Le vendredi 11 mai 2012 19:03:39 UTC-4, Kostya Vasilyev a écrit : > > > By the way your blog is terrific and your apps great ! congrats ! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

Re: [android-developers] MessageQueue thread safe?

2012-05-11 Thread Dianne Hackborn
You mean the only two methods on it, addIdleHandler() and removeIdleHandler()? Yes they are, although I would deeply question the semantics of using them from outside of the thread running the loop. On Fri, May 11, 2012 at 3:54 PM, Agus wrote: > Are MessageQueue operations thread safe? > > -reg

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

2012-05-11 Thread William Kelley
Just a followup: Tasker and AutomateIt both do have "Prevent device from sleeping" (ie WakeLock) as permissions. -- 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 un

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

2012-05-11 Thread Dianne Hackborn
Those apps are probably on external storage, which has not been mounted yet. You need to look at the broadcasts to find out when it is available. On Thu, May 10, 2012 at 4:02 PM, Farmer wrote: > Hi there, > > I am writing a launcher in Android and here is the problem I have been > trying to fix

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

2012-05-11 Thread William Kelley
On Friday, May 11, 2012 4:57:35 AM UTC-7, ste1024 wrote: > Sorry for digging up this ancient topic, but an trying to find an answer > to the same question. > In my app so I am able to receive location updates even if I put the > device to sleep, without explicitly holding a WakeLock. > I cam

[android-developers] Re: How to know the request is from Android 4.0 phone or Android 4.0 Tablet?

2012-05-11 Thread Jonathan S
if dual pane view is VISIBLE, it is tablet. you would have to put it in xml file for tablet like under layout-xlarge-land (3.0 to 3.1) and layout-sw600dp-land (3.2+) On Thursday, May 10, 2012 12:25:01 AM UTC-4, Kevin Chang wrote: > > I woudl like to develop a Web Application. It has different UI

[android-developers] Re: Unable to resume activity:{...} Java.lang.Nullpointer exception

2012-05-11 Thread julian Garcia
hi my friend! I have exactly the same problem, but my case is to try to run the MediaStore.ACTION_IMAGE_CAPTURE intent, the system can not resume onActivityResult and generates the following error: Unable to resume activity {}: java.lang.RuntimeException: Failure Delivering ResultInforesult {w

[android-developers] Re: How to know the request is from Android 4.0 phone or Android 4.0 Tablet?

2012-05-11 Thread alex b
I believe you can check the screen size, i.e. if it's greater than 450x600 or something than it's a tablet. I'm not exactly sure where you find that but it must be passed by the browser because I've seen analytics from google that show the screen size of the device hitting the site. On Wed

[android-developers] javascript in webview on android 2.3 fires only once

2012-05-11 Thread alex b
I've got the following test.htm in the assets directory: function showAlert(t) { alert(t); } which I'm loading like so... webView.getSettings().setJavaScriptEnabled(true); webView.setWebChromeClient(new WebChromeClient(){ @Override public boo

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Le vendredi 11 mai 2012 19:03:39 UTC-4, Kostya Vasilyev a écrit : > > View? No, View is definitely not documented. It might not even exist. > > > :) Of course it's documented, but not the way your wrote it. Because your code as you wrote is: - not referenced in http://developer.android.com/r

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread Kostya Vasilyev
View? No, View is definitely not documented. It might not even exist. 12.05.2012 1:58 пользователь "huberte" написал: > Thanks but your code is not working, what is this view item ? I searched, > it's not documented, is it ? I can complete the code you gave me (id, "" > missing with type view)

[android-developers] MessageQueue thread safe?

2012-05-11 Thread Agus
Are MessageQueue operations thread safe? -regards, Ag. -- 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-developer

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

2012-05-11 Thread Ken Plumley
Mark, Thanks for clarifying this multiple "external storage" issue. It has been confusing me on how to store files on two external storage areas. Thanks again. On Fri, May 11, 2012 at 3:36 PM, Mark Murphy wrote: > On Fri, May 11, 2012 at 6:12 PM, wrote: > > How does the user access the sd ca

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

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 6:12 PM, Ken Plumley wrote: > How does the user access the sd card and the internal device built-in > external storage in a device like this Motorola TRIUMPH? It has sd card and > internal ( built-in external storage). The device manufacturer will choose one to be "externa

Re: [android-developers] refresh gallery

2012-05-11 Thread jadranko bodiroga
Sorry,but this did not helped me...i do not have created galleries...i just changed locatio of my picture,from app to some folder on SDC ,and thay pictur not show in new location-i have to umnount and again mount to see new picture On May 11, 2012 5:05 PM, "Jason Teagle" wrote: > How to change t

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

2012-05-11 Thread Ken Plumley
Mark, How does the user access the sd card and the internal device built-in external storage in a device like this Motorola TRIUMPH? It has sd card and internal ( built-in external storage). Motorola TRIUMPH specifications - Internal Memory: 2GB - Expandable Memory: 32GB - RAM: 512MB

Re: [android-developers] Equally verticaly spaced button

2012-05-11 Thread huberte
Thanks but your code is not working, what is this view item ? I searched, it's not documented, is it ? I can complete the code you gave me (id, "" missing with type view) http://developer.android.com/reference/android/view/View.html 20 dp was an example, I could have written 2000 dp or whateve

[android-developers] Re: Thread lifetime

2012-05-11 Thread RLScott
OK, I got it working, and here is how I did it. I defined an extension of Thread: public class AudioInputThread extends Thread{ private boolean requestWorking = false; private boolean isWorking = false; public void run() { while(true) { try { if(isWorking) { /

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

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 5:30 PM, Ken Plumley wrote: > So the code below will work for both the sd card and the device built-in > external storage? There is only one thing designated "external storage" per device. What it is (SD card, on-board flash, 3.5" floppy disk, wafer tape/stringy floppy/mic

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

2012-05-11 Thread Ken Plumley
Mark, So the code below will work for both the sd card and the device built-in external storage? if (Environment.MEDIA_MOUNTED.equals(state)) { // Try to make directory on the SDcard or device built-in external storage. subdirectory = Environment.getExternalStoragePublicDirectory("MyDirectory")

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

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 5:12 PM, Ken Plumley wrote: > Ok, that´s my confusion of the storage terms. > > What code do I use in the "else if statement" section to store files on the > device built-in external storage? You already have that code, in the true section of your if statement. -- Mark M

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

2012-05-11 Thread Ken Plumley
Mark, Ok, that´s my confusion of the storage terms. What code do I use in the "else if statement" section to store files on the device built-in external storage? Thanks. On Fri, May 11, 2012 at 1:50 PM, Mark Murphy wrote: > On Fri, May 11, 2012 at 4:30 PM, Ken Plumley wrote: > > Is the And

[android-developers] KSOAP + WSDL Service + HttpTransportSE + Exception

2012-05-11 Thread ingaponteca
I am trying to consume a web service from android and I got that the application send the "XML right format" needed for my WebService. I checked with a sniffer and test it in SOAPUI client. I can see that requestDump and respondDump are filled with the in and out information but the application f

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

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 4:30 PM, Ken Plumley wrote: > Is the Android Dev Guide not correct? > > The Android Dev Guide makes this claim: > > public static File getExternalStorageDirectory () That is external storage. That is not internal storage. -- Mark Murphy (a Commons Guy) http://commonsware

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

2012-05-11 Thread Justin Anderson
> > what should be the code > What? To get an Activity to display something, you call setContentView() with a reference to your xml layout... This is pretty basic stuff here. http://developer.android.com/reference/android/app/Activity.html#setContentView%28int%29 Thanks, Justin Anderson MagouyaWa

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

2012-05-11 Thread James Black
Change the extension so the user doesn't get an error, then when they use your program have them type in a pass phrase to decrypt the key then decrypt the PDF in memory, then it can be seen. On May 11, 2012 8:08 AM, "Farhan Tariq" wrote: > Hi developers, > > I want to make an app that would d

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

2012-05-11 Thread Ken Plumley
Mark, Is the Android Dev Guide not correct? The Android Dev Guide makes this claim: public static File getExternalStorageDirectory () Since: API Level 1 Gets the Androi

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

2012-05-11 Thread Brian Muscat
what should be the code On 11 May 2012 21:41, Justin Anderson wrote: > Your activity itself has a connection to the XML. > > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Fri, May 11, 2012 at 12:36 PM, Brian Muscat > wrote: > >> OK then

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

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 4:12 PM, JediDroid wrote: > If the SD card is not available, it will store the files on the devise > Internal Flash if it is available. Also, these User Created files must be > stored in a location where they will not be deleted by the system when the > app is uninstalled,.

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

2012-05-11 Thread JediDroid
Mark, Thank you for your comment. I should have clarified what I'm trying to do. As part of an app I'm developing it will store *User Created files* on the SD card if it is available. If the SD card is not available, it will store the files on the devise Internal Flash if it is available. Also

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

2012-05-11 Thread Justin Anderson
Your activity itself has a connection to the XML. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 11, 2012 at 12:36 PM, Brian Muscat wrote: > OK then how should i connect the xml > > > On 11 May 2012 18:12, Justin Anderson wrote: > >> No... ju

[android-developers] Anchor links in Android Webview

2012-05-11 Thread Aliasgar Rangwala
Hi All, We are developing an html based application for Android, however facing issue with having anchor (a href) links on the page as they dont work when opened from Android simulator or on Android mobile device, however the same html works fine in iPad as well as normal browser. Will be of grea

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

2012-05-11 Thread Brian Muscat
OK then how should i connect the xml On 11 May 2012 18:12, Justin Anderson wrote: > 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

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

2012-05-11 Thread Mark Murphy
getFilesDir(), I suppose. On Fri, May 11, 2012 at 2:21 PM, JediDroid wrote: > > 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 inte

[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 = Environment.getExternalS

[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] 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 t

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] 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 see

Re: [android-developers] VpnService basic questions

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 1:10 PM, Stigi 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. AFAICT, you are

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 co

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 < nsr.curi...@gma

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 = tab

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 wrote: > Thanks should I use 2 setcontent? > > > On Thursday, May 10,

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 a

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 wrote: > Hi, > > When I roam in another network my android

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 wrote: > Hello, > > I would like t

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 me

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

[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

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

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: The items act as spacers, and will be dynamically resized by LinearLayout due to having weight attribute. -- K 11.05.2012 15:25, huberte написал: Exactly. Look closely a

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

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 contai

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 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 get frame. and cal

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 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 activity which is a p

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

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 wrote: > For getting permission, we can use like > or . No, you cannot, except perhaps as part of the firmware. > I have some device, but a device's don't have a > permission about . To use any app, > should have   . > > My question is > where the

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 mo

[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] 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 > http://sites.google.com/s

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

[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 = tabHost.newTabSpec("Info").setInd

[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 wrote: > Hi friends,, > > In my custom dialog i have a Listview , on which i am invoking > OnItemClickListener() but it is not detecting..

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

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

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

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

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

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

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

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

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

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

[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 CalendarView-Widget. There are two listeners which I hoped let me reach this goal. OnDateChangeListener & OnLongClickListener. But OnDateChangeListener only reacts when (shor

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

[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 typed/d

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

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

[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 example?

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

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

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

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

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

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

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

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

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

[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 ? > > http://developer.android.

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

2012-05-11 Thread changho Lee
Dear all, For getting permission, we can use like or . Actually, we can write to manifest file for permission, too. In the case of using , have some permissions and we can get the permissions by . Problem is, I have some device, but a device's don't have a permission about . To use any app

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 tryi

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] Re: Thread lifetime

2012-05-11 Thread Mark Murphy
On Fri, May 11, 2012 at 7:23 AM, RLScott 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 app's process then i

  1   2   >