[android-developers] Re: How are sales stats updated ?

2011-06-03 Thread Zsolt Vasvari
The sales stats themselves are updated at the whim of the Android Market team, but the list of orders should be real time. On Jun 2, 12:58 am, Brakkar webko...@gmail.com wrote: Hi, I just published my first paid app. Are sales stats supposed to be live ? If not, when are they updated.

[android-developers] How does one app let another let it draw into its view

2011-06-03 Thread Extreme Programming Labs
I have an activity and android service, each running within its own process. I would like the service to be able to render video into a view/surface that the activity will expose. How do we do this? Along the same lines, when will app widgets be able to render videoview? Thanks. -- You

[android-developers] Android Marketplace update?

2011-06-03 Thread eUKhost
Hello, If i update the screenshots or featured image etc. in the devloper area how long does it take for this to show in the Android Marketplace for users to view? I've done so a couple hours ago and even though in developers area i can view the new images its not shown in market place :( Any

[android-developers] how to geting start android NFC program

2011-06-03 Thread wei-te
i have already go through ( http://developer.android.com/guide/topics/nfc/index.html ) but i still have no idea and i face some error that i can't solve could somebody give me some websites or tutorial to help me have some sense about programming NFC on android -- You received this message

Re: [android-developers] Re: Send SMS

2011-06-03 Thread Muhammad Umair
I have created a application of android who can able to send sms . that was great. One problem i am facing that if i want to send 2 sms on 1 number then when i clicked on Send Sms button a new instance of that application will automatically open. if i want to send 4 same sms on 1 number then 4 new

[android-developers] Google earth plugin for android

2011-06-03 Thread SHASHANKA DASARI
Hi Is there any google earth plugin available for android browser. Is there any way to access the google earth api in android. Thanks Shashanka -- 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] Re: A tricky but almost perfect solution for who requires modal dialog

2011-06-03 Thread Zsolt Vasvari
Could somebody please ban this idiot already? On Jun 1, 9:47 pm, Qi qilu...@gmail.com wrote: I saw much people wanted such a feature, me either. These days I've google-ed around and tried several ways to get it right, finally ended up with following solution. No thread synchronization, no

[android-developers] Re: Dealing with small changes in android projects

2011-06-03 Thread Zsolt Vasvari
I would create a single project containing all the different locale specific stuff and maintain that single project. Then when you deploy to the Market, just create a script that changes the package names so you can upload them to the Market as seperate apps. That's what I did when I was

[android-developers] Re: How does one app let another let it draw into its view

2011-06-03 Thread Zsolt Vasvari
I have an activity and android service, each running within its own process. I would like the service to be able to render video into a view/surface that the activity will expose. How do we do this? You don't. Along the same lines, when will app widgets be able to render videoview? 2018.

[android-developers] Re: input/output ports

2011-06-03 Thread Ben
I can only answer number two. The cost is zero to get the SDK and write fully-functional applications for Android. There is a one-time $25 fee to become a developer and publish in the Android Market, and you'll have to furnish your own hardware of course. Eclipse and all the Android software

Re: [android-developers] Re: Eclipse Layout Editor news

2011-06-03 Thread Xavier Ducrohet
sure. If you can file a bug and attach your custom view that would be great. If needed try to extract the part that doesn't render correctly. On Thu, Jun 2, 2011 at 8:34 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Do you care about bug reports where my (simple) custom View doesn't paint

[android-developers] Re: Trying to save state of application when the back key is pressed

2011-06-03 Thread Zsolt Vasvari
Where have you looked? This is extensively described in the Android SDK docs. On Jun 2, 6:40 am, Troy Walker twalkerj...@gmail.com wrote: Im trying to save the state of my application so when the back button is pressed and the activity closes. The next time the user opens the activity, and

[android-developers] Re: problem with the list view while scrolling .

2011-06-03 Thread Zsolt Vasvari
i click on the down button ,list has to scroll down and when i click on upButton ,list has to scroll up. Seriously? On a touch screen device? -- 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] Re: Android Marketplace update?

2011-06-03 Thread Zsolt Vasvari
It's typically pretty fast. Clear the Android Market app's cache and data and let it reload the app. On Jun 2, 6:28 pm, eUKhost sa...@600host.net wrote: Hello, If i update the screenshots or featured image etc. in the devloper area how long does it take for this to show in the Android

[android-developers] Another Android Development Forum

2011-06-03 Thread Ben
I've been a member of linuxquestions.org for a few years, and they've just spun off another forum for Android. It covers all aspects (hardware, apps, etc.) and includes a development forum as well. I'm not trying to take away from what is here, but I'm all for multiple sources. There is a

Re: [android-developers] Detect a NFC tag removal

2011-06-03 Thread Nikolay Elenkov
On Thu, Jun 2, 2011 at 12:47 PM, Dean Brotzel dean.brot...@gmail.com wrote: Is it possible to receive a message/intent from Android for when a tag is removed from the smart phone's influence (much like when a tag is brought into to the smart phone's influence) ? I don't think so. I hope I

[android-developers] Re: Using an android phone as a controller

2011-06-03 Thread Nightwolf
Establish Bluetooth or WiFi connection between devices and go ahead. On Jun 2, 11:36 pm, Coolestkid92 coolestki...@gmail.com wrote: Hey, I was wondering if there is a way to use an android phone as a controller for a tablet game? I have seen this done with iOS, and I see many possibilities for

[android-developers] Re: Eclipse Layout Editor news

2011-06-03 Thread Zsolt Vasvari
Created #17362. On Jun 3, 2:19 pm, Xavier Ducrohet x...@android.com wrote: sure. If you can file a bug and attach your custom view that would be great. If needed try to extract the part that doesn't render correctly. On Thu, Jun 2, 2011 at 8:34 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

[android-developers] Need some help from the experts

2011-06-03 Thread Mehboob
Am new to Android word . I just want to know the procedure to bring all the phone contacts in to my app on clicking a button along with check boxes to select some contacts. please help me out of this. Thank you. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: input/output ports

2011-06-03 Thread gjs
Hi, See also http://developer.android.com/guide/topics/usb/adk.html Regards On Jun 3, 4:17 pm, Ben b.rehb...@gmail.com wrote: I can only answer number two.  The cost is zero to get the SDK and write fully-functional applications for Android.  There is a one-time $25 fee to become a developer

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread gjs
Hi, Try this as well http://developer.android.com/resources/samples/BluetoothChat/index.html Regards On Jun 2, 5:28 pm, mark2011 androidmark2...@gmail.com wrote: Dear All :     I had followed the examples in the book about the bluetooth in the android and coded the BTClient .java. I'm sure

[android-developers] Re: how to get gps strength in android

2011-06-03 Thread gjs
Hi, You need to call requestLocationUpdates(... to receive data in your listeners, see for example http://hejp.co.uk/android/android-gps-example/ Regards On Jun 2, 3:26 pm, Murali A mural...@greatinnovus.com wrote: i am checking gps strength in my android app. for that i use the following

Re: [android-developers] packet sniff

2011-06-03 Thread smokerpg
run app in emulator(ADB) and capture the packet. If you are looking for HTTP headers only, then go to following page to find, what is being sent. http://www.ericgiguere.com/tools/http-header-viewer.html On Thursday, June 2, 2011, Marcin Orlowski webnet.andr...@gmail.com wrote:

[android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread Xiaoliang Ding
hi, I am writing a NFC application. I use the NfcAdapter.enableForegroundDispatch in an activity to make sure a NFC tag detected event routing to this activity direct, not show other applications which has capability to resolve this event. My question is when my application is running, how to make

[android-developers] Re: How does one app let another let it draw into its view

2011-06-03 Thread Ben
Look at http://d.android.com/reference/android/app/PendingIntent.html. It's the closest thing I can think of that can tie two applications together, but I've no idea if what you want to do is possible. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: NFC Secure Element

2011-06-03 Thread Michael Roland
Hallo Steve, I can confirm the ATR's as Michael pointed and add an interesting follow on. When I do scardconnect and then scardsttus to get uid I get the 5 byte (4 byte dynamic first by 08 static e.g. 080A97A6) from the phone whenever the NFC service is running. The UID (or actually the

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread Dianne Hackborn
You very intentionally can't. This is for you to handle the events when your UI is actually in the foreground with the user, not to steal them all the time you happen to be running. If you want to do this in multiple activities, you can organize your code to share that common implementation

[android-developers] Re: Upload image to server

2011-06-03 Thread Ali Chousein
Please check the Facebook Graph API - http://developers.facebook.com/docs/reference/api/ I've not used Graph API for uploading images but most probably it's possible. Facebook also provides an Android SDK which clearly shows how you can use the Graph API and get started very fast.

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread Edam
Hi, I was looking at using BT to communicate with the WiiMotes and balance board a while ago. I was having some real issues. I read that any HTC phone (running sense) will not be able to use BT as the stack was not implemented by HTC correctly. First, is your phone a HTC, second, does anyone

[android-developers] Re: Need some help from the experts

2011-06-03 Thread Edam
Might be worth looking at http://developer.android.com/resources/articles/contacts.html On Jun 3, 7:46 am, Mehboob mehboob...@gmail.com wrote: Am new to Android word . I just want to know the procedure to bring all the phone contacts in to my app on clicking a button along with check boxes

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, I read that any HTC phone (running sense) will not be able to use BT as the stack was not implemented by HTC correctly. First, is your phone a HTC, second, does anyone know if this is true? I have an app that uses BT SPP to talk to custom hardware and it works perfectly well with my HTC

[android-developers] Re: Linkedin integration in Android

2011-06-03 Thread Ali Chousein
I've successfully integrated LinkedIn in my application, Geo-Filtered Assistant. Which library are you using for retrieving your access token and also for signing your requests? I've used signpost. (http:// code.google.com/p/oauth-signpost/) If you also use signpost you can follow the examples at

[android-developers] Android application pause/resume state.

2011-06-03 Thread Dalvin
Hi My question is can i get to know when the entire application gets paused/resumed start/stop etc. For example if i have 5 activities in my application. Whenever any activity gets paused/resumed android notify the activity by calling the onPause/onResume methods. So there are two possible

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread Edam
Interesting... un-rooted I assume? What version numbers (Android / Baseband / Kernel) are you running? On Jun 3, 9:21 am, burtoogle burtoo...@gmail.com wrote: Hi, I read that any HTC phone (running sense) will not be able to use BT as the stack was not implemented by HTC correctly.

[android-developers] Re: view in background receiving input

2011-06-03 Thread Pent
An app I'm currently developing shows strange behaviour: a view in background receives input. In a FrameLayout, I put a view on top of another (detail view open when an item of a list is selected). Visually, everything looks as expected. But when touching anything with the detail view in

[android-developers] Re: Android application pause/resume state.

2011-06-03 Thread Zsolt Vasvari
Set a flag iAmStartingMyNextActivity=true before you call startActivity and in onPause() check for the flag. If you create a base MyAppActivity which extends Activity and you extend all your activities from MyAppActivity, you should be able to do this without puttting any code into every one of

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread Xiaoliang Ding
Hi, Dianne Hackborn You mean I need call NfcAdapter.enableForegroundDispatch in every activity of my app, right? Thanks Ding 2011/6/3 Dianne Hackborn hack...@android.com You very intentionally can't. This is for you to handle the events when your UI is actually in the foreground with the

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, Interesting... un-rooted I assume? Yes, un-rooted. What version numbers (Android / Baseband / Kernel) are you running? 2.2 / 32.49.00.32U_5.11.05.27 / 2.6.32.15-gf5a401c htc-kernel@and18-2 #1 Cheers, Mark -- You received this message because you are subscribed to the Google Groups

[android-developers] Application icon not shown under Samsung Galaxy S

2011-06-03 Thread Ali Chousein
Hi, The icon of my application is not displayed under Samsung Galaxy S; the default Android icon is displayed instead. My target platform is Google APIs 2.1-update1. Has anybody faced a similar problem before? Cheers, -Ali -- You received this message because you are subscribed to the Google

[android-developers] how to exit application

2011-06-03 Thread nageswara rao rajana
Hi, I developed android application which consists 3 Activities, when i am in 3rd activity and clicked exit in menu options. The application closed, but again when i start application it opening the 3rd activity. So, please any help. With Regards, Nagu. nagu.raj...@gmail.com --

[android-developers] Re: Android weight question

2011-06-03 Thread Vinicius Carvalho
Chris, thanks for the hint but it did not work as well. I've added the weightsum, but still once the text is bigger than a certain value, things get messy, it's not even like the text is bigger than the textview area. What I have is a scrollview, and inside it I add new layouts as the user

[android-developers] Playing 3gp, mp3 and mp4 in webview

2011-06-03 Thread AFMoB / PopCultApps
I am going to post my code so the entire group can have a go at it. I believe this is what many of the other forum members are looking for as am I, to allow this in webview. As you can tell, I've tried everything! I heard that the groups have the masterminds so please, help me Google Jedi Order,

[android-developers] Re: Android application pause/resume state.

2011-06-03 Thread Dalvin
Thanks a lot ... -- 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: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread Edam
Even more interesting, same version as mine. I could not get the BT communication to work. I originally thought it was my code but I found a load of stuff about HTC Sense phones not working correctly with BT. I wonder if HTC fixed it at some point? I'll retest and if its still not working I'll

[android-developers] Re: how to exit application

2011-06-03 Thread Edam
What method do you use to exit your app? On Jun 3, 10:41 am, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi,        I developed android application which consists  3 Activities, when i am in 3rd activity and clicked exit in menu options.        The application closed, but again when i

[android-developers] Re: How does one app let another let it draw into its view

2011-06-03 Thread Edam
Have you bound your Activity to your Service? You should be able to get the service to raise an event that tells the Activity to get the video info and play it. Are you talking about streaming from the Service to the Activity? On Jun 2, 5:43 am, Extreme Programming Labs xprol...@gmail.com wrote:

Re: [android-developers] Re: how to exit application

2011-06-03 Thread nageswara rao rajana
Hi, This is the sample code i used in exit function. Intent e=new Intent(Intent.ACTION_MAIN); e.addCategory(Intent.CATEGORY_HOME); e.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); this.finish(); startActivity(e); with regards,

Re: [android-developers] Playing 3gp, mp3 and mp4 in webview

2011-06-03 Thread Kumar Bibek
The best suggestion would be to play these files using the default player that all Android devices have. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jun 3, 2011 at 3:07 PM, AFMoB / PopCultApps affiliatesmob...@gmail.com wrote: I am going to post my code so the

[android-developers] Android seamlessly connected to Microsoft's back-end ecosystem

2011-06-03 Thread Kallex
Hi, Just wanted to share with Android community, that we published fully open source demonstration and implementation of Android development seamlessly connected with Microsoft's back-end ecosystem. The Microsoft side is developed natively on Microsoft's Visual Studio, that also generates

[android-developers] Re: Web application on android

2011-06-03 Thread Edam
Do you mean that you want to create a web app/site that looks good on any mobile device, including android phones? If so, I did the same a while ago, a very simple site in ASP.NET but I suspect you could use any web tech that you are familiar with. The key was in setting up the style sheet

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread burtoogle
Hi, I can send you some of my BT code if it would be useful. BTW - here's a shameless plug for my app (and the product that it talks to) http://www.smartavionics.com/pb3/pb3.html Cheers, Mark -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] setBouncing() throws exception for ExpandableListview

2011-06-03 Thread shipi
Hi Im using Expandablelistview in my android app. Im not able to see the last listitem in the list. So i tried to setBouncing() But its throwing exception. Please help. Shipi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Warning in Android Emulator

2011-06-03 Thread Mark Murphy
On Thu, Jun 2, 2011 at 4:29 PM, project h__k...@hotmail.com wrote: the application launcher (process com.android.launcher) has stopped unexpectedly this warning stoped the emulator and can't install and run any application on this Emulator This means that your emulator is starting up too

[android-developers] Incoming Calls auto Answer

2011-06-03 Thread Stefan S
Hi NG I've got a problem with my application. I'm writing an app that automatically takes incoming calls (that's working) but when the call is coming my application disappears cause of den incoming call screen. Is there a possibility that my app is staying in front of the incoming call screen?

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Jake Colman
Mark, et al, Thanks for all the replies. My use of the singleton pattern was correct as was confirmed by these posts. I did find my issues - one of which _was_ due to not handling lifecyle correctly - and now all is well. ...Jake MM == Mark Murphy mmur...@commonsware.com writes: MM Note

Re: [android-developers] Re: Want to capture screenshot of current screen from phone

2011-06-03 Thread Bharathi raja
Hi, Thanks for sharing code. Code u shared will capture the entire screen, even if it is not widget component. [mean screen may have android or flash or web component] i wanted to capture all the three. Regards, Bharathiraja R On Fri, Jun 3, 2011 at 1:39 AM, New Developer secur...@isscp.com

Re: [android-developers] Re: Want to capture screenshot of current screen from phone

2011-06-03 Thread New Developer
Well after much trial and error I managed to capture the entire layout or activity using the following code View myView = findViewById(R.id.form); Bitmap bmp= Bitmap.createBitmap( myView.getMeasuredWidth() , myView.getMeasuredHeight() , Config.ARGB_); Canvas canvas = new

[android-developers] Re: Android talk with NB through the BLUETOOTH device

2011-06-03 Thread Edam
Hi Mark, Thanks, that might be useful, maybe I'll see that I have gone down the wrong route. I started by looking at the BlueToothChat example. My app can get a list of the available devices but when you try to connect, it fails. That looks like quite a sophisticated app you have there. I was

[android-developers] Re: Android SDK and AVD Manager Stalling During Download

2011-06-03 Thread mantici
you need to disable auto tuning on your network adapter. i was going crazy trying to figure this out. run this in an administrator command prompt (right click command prompt from the start menu, run as administrator) netsh interface tcp set global autotuning=disabled restart avd manager --

[android-developers] Re: EditText and the unwanted Quick Search Box

2011-06-03 Thread Eric Carman
Unfortunately, I was able to reproduce this problem today. As such, I believe we can conclude that Voice Recognition had nothing to do with this issue. Back to square one. Has anyone else run into this issue? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Detect a NFC tag removal

2011-06-03 Thread Dean Brotzel
I'm building a custom tag which will use NFC for communications. It will support a large command set, and in the app there will be different buttons, one for each command. I would like to be able to disable the buttons when the tag is removed from the phone and re-enable when the tag is brought

[android-developers] Wifi applivcation

2011-06-03 Thread project
Hi, i want wireless android application that open wifi and scan for wifi devices and connect with one. -- 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

Re: [android-developers] Wifi applivcation

2011-06-03 Thread Marcin Orlowski
On 3 June 2011 15:54, project h__k...@hotmail.com wrote: Hi, i want wireless android application that open wifi and scan for wifi devices and connect with one. Tried searching Market for wifi or wifi scanner or so? Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you

Re: [android-developers] Incoming Calls auto Answer

2011-06-03 Thread Marcin Orlowski
On 3 June 2011 13:37, Stefan S shogu...@gmail.com wrote: Hi NG I've got a problem with my application. I'm writing an app that automatically takes incoming calls (that's working) but when the call is coming my application disappears cause of den incoming call screen. Is there a possibility

[android-developers] Wifi application

2011-06-03 Thread project
Hi, i want the code for wireless android application that open wifi and scan for wifi devices and connect with one. -- 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] Pan/Zoom (Seat Map View) Major Airline

2011-06-03 Thread Dennis Miller
We need to create a seat map representation of the interior of an airplane that both pans and zooms. I have successfully extended FrameLayout to create a view that both pans(fling) and scales(pinch and zoom). This layout contains 1 child which is a RelativeLayout. This RelativeLayout in turn

[android-developers] LOg in form

2011-06-03 Thread Knutsford Software
I am doing my first login form public class login extends Activity { /** Called when the activity is first created. */ private EditText Email; private EditText Password; private Button btnLogin; private Button btnCancel; private TextView lblResult; public void

Re: [android-developers] How to draw button on canvas?

2011-06-03 Thread Yorgos X
Has anyone found a solution to this? I am struggling, using the same code, but still the button is always drawn on the top left corner of the parent view. please help on this, regards Yorgos On Wed, Jan 19, 2011 at 8:35 AM, sach sach.le...@gmail.com wrote: I am using a class BoardView which

[android-developers] Re: Android weight question

2011-06-03 Thread Chris
Its hard to pinpoint the exact problem, but in general if you break the layout up into smaller layout components (and avoid using wrap_content if you're looking for things to line up) it might be easier to get it right. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Chris
Hi Mark, While thread-safety is on your mind, you should know that double-checked locking doesn't always fix that problem either. Cheers, - C -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Qi Luo
Really sorry for duplicate threads for my bad network connection, but I was not advertising. I hope there is someone could help get rid of it. I admitted it's a terrible hack and not versions compatible. It's a long story that I didn't get another choice but have to make a real modal dialog,

[android-developers] Honeycomb Market app oddities

2011-06-03 Thread Marcin Orlowski
Hi, May sound silly but: anyone with HC at hand can tell if his on-device Market won't let to freely browse category content too? I recently got Iconia a500 here and the only thing I can see after I choose category (i.e. communication or games etc) is Best selling category and Top free category

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Mark Murphy
On Fri, Jun 3, 2011 at 10:38 AM, Chris crehb...@gmail.com wrote: While thread-safety is on your mind, you should know that double-checked locking doesn't always fix that problem either. It did according to my sources. Got a better pattern? -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-developers] Honeycomb Market app oddities

2011-06-03 Thread Mark Murphy
I see what you mean. I interpreted Top Free as meaning everything free in sorted order by... ummm... topness. If you keep flinging down, it keeps going and going and going. On Fri, Jun 3, 2011 at 10:49 AM, Marcin Orlowski webnet.andr...@gmail.com wrote: Hi, May sound silly but: anyone with HC

Re: [android-developers] Tutorials about using USB in my app

2011-06-03 Thread Khaled Anaqwa
Thanks guys for responds, transfer data from Flash Memory is it already supported ? if yes , could you help me or give me head-notes to start On Sun, May 29, 2011 at 8:49 AM, Chris Stratton cs07...@gmail.com wrote: On Saturday, May 28, 2011 9:03:46 PM UTC-4, Kristopher Micinski wrote: This

[android-developers] User Interface ( Template Theme)

2011-06-03 Thread khaled anaqwa
Hello guys , I build screens using xml , but i need make template theme in my app to make Unified theme in all these xml screens can you help me ? -- 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] Animation Leaving Trail Using AnimatorSet

2011-06-03 Thread Craig
I am using the new honeycomb animation api and am having a problem with animated ImageView objects leaving a trail when animated. The app downloads images via http, makes and ImageView and adds that to a list view (which is in a fragment) and animates each one with its own AnimatorSet

Re: [android-developers] Re: Android weight question

2011-06-03 Thread Kostya Vasilyev
layout_wieght gives different results depending on whether or not the width/height value set in the XML is 0 or not. What layout_weight does is: a view is allowed to have the specified size (e.g. wrap_content or 100dp, or 200px, or 0) and then any unused space in the parent is distrubuted

[android-developers] customize my widgets

2011-06-03 Thread kamilia amellal
Hi, I wanna give my button and my text in the layouts some styles ,can any one help or give me some recommendations, Peace, Gaara -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Chris
Using a static helper inner-class that constructs and holds your singleton eliminates the synchronization overhead and is safe and works across JVM versions. This is the initialization on-demand holder pattern. I believe they fixed DCL in Java 5 as long as you use volatile (by the way, I

[android-developers] Re: JSON OR SOAP ?

2011-06-03 Thread Edam
Hi, I'm assuming you want to know what format the webservice should return data in? JSON vs XML. I think there are 3 things to consider. 1. Amount of data being sent over the web. 2. Processing required to de-serialise the data (speed). 3. Programming complexity. I was thinking the same thing

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Mark Murphy
On Fri, Jun 3, 2011 at 11:33 AM, Chris crehb...@gmail.com wrote: Using a static helper inner-class that constructs and holds your singleton eliminates the synchronization overhead and is safe and works across JVM versions.  This is the initialization on-demand holder pattern. But that's not

Re: [android-developers] Honeycomb Market app oddities

2011-06-03 Thread Marcin Orlowski
On 3 June 2011 16:55, Mark Murphy mmur...@commonsware.com wrote: I see what you mean. I interpreted Top Free as meaning everything free in sorted order by... ummm... topness. If you keep flinging down, it keeps going and going and going. Thanks Mark, this means it is supposed to pretent to

Re: [android-developers] Tutorials about using USB in my app

2011-06-03 Thread Chris Stratton
On Friday, June 3, 2011 10:57:40 AM UTC-4, khaled anaqwa wrote: transfer data from Flash Memory is it already supported ? if yes , could you help me or give me head-notes to start No, it is not supported. However there exists underlying capability to provide support by writing a lot

Re: [android-developers] Tutorials about using USB in my app

2011-06-03 Thread Chris Stratton
On Friday, June 3, 2011 10:57:40 AM UTC-4, khaled anaqwa wrote: transfer data from Flash Memory is it already supported ? if yes , could you help me or give me head-notes to start No, it is not supported. However there exists underlying capability to provide support by writing a lot

Re: [android-developers] A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Dianne Hackborn
On Fri, Jun 3, 2011 at 7:40 AM, Qi Luo regcollect...@gmail.com wrote: It's a long story that I didn't get another choice but have to make a real modal dialog, otherwise, the worst situation is to build my own widget toolkit and ui framework. No you do not need to build your own toolkit and

Re: [android-developers] Tutorials about using USB in my app

2011-06-03 Thread Chris Stratton
On Friday, June 3, 2011 10:57:40 AM UTC-4, khaled anaqwa wrote: transfer data from Flash Memory is it already supported ? if yes , could you help me or give me head-notes to start No, it is not supported. However there exists underlying capability to provide support by writing a lot

[android-developers] Re: JSON OR SOAP ?

2011-06-03 Thread Streets Of Boston
I haven't tested JSON's performance on Android, but for XML, I found that this was the fastest and most convenient (i needed a proper context for XML elements, know where the XML element is in the document): - Use android.sax.RootElement and related classes to listen only for elements I'm

[android-developers] Re: Wifi application

2011-06-03 Thread Mike
On Jun 3, 9:02 am, project h__k...@hotmail.com wrote: Hi, i want the code for wireless android application that open wifi and scan for wifi devices and connect with one. you better get busy then -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Streets Of Boston
Wait a minute. Do you mean that this code below: public class MySingleton { *private* static mySingleton = null; public static *synchronized* getMySingleton() { if (mySingleton == null) { mySingleton = new MySingleton(); } return mySingleton; } does not fix this?

[android-developers] SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Hank
I created a database using SQLiteOpenHelper and I'm trying to query it. It returns the cursor but when I call moveToFirst() it crashes with the error SQL Logic Error or Missing Database. My code for the database: public class Database{ private static final String DATABASE_NAME =

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Chris
Read Double-Checked Locking; Clever but Broken http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double.html The pattern, while common, was broken prior to Java 5 and was fixed after but only if mySingleton is declared volatile. -- You received this message because you are subscribed to

[android-developers] Re: input/output ports

2011-06-03 Thread Chris Stratton
On Thursday, June 2, 2011 10:03:26 AM UTC-4, Jimmy wrote: 1. Are there any input or output ports available to do analog to digital or digital to analog conversion. For example, is there a way to create a program like this which was made on the iphone.

[android-developers] Re: thread.join() and global variables access on dalvik?

2011-06-03 Thread niko20
LOL sounds like you fail your own interview On Jun 1, 8:38 pm, leo leo.kuznet...@gmail.com wrote: I am trying to run following code on emulator (it's an interview puzzle with deliberate racing condition) and I observe all threads stuck on the first x++ and join() never executed. If I comment

Re: [android-developers] Tutorials about using USB in my app

2011-06-03 Thread Khaled Anaqwa
Thanks Chris , I will try to make it On Fri, Jun 3, 2011 at 7:08 PM, Chris Stratton cs07...@gmail.com wrote: On Friday, June 3, 2011 10:57:40 AM UTC-4, khaled anaqwa wrote: transfer data from Flash Memory is it already supported ? if yes , could you help me or give me head-notes to start

[android-developers] Re: SQLiteDatabase error: SQL logic error or missing database

2011-06-03 Thread Edam
Most of your code looks very similar to mine (which works 100% ok). The bit where you select the data is different, mine looks like:- return db.query(true, table_name, cols, KEY_ROWID + = + rowId, null, null, null, null, null); I'm not sure what the difference is

[android-developers] Re: JSON OR SOAP ?

2011-06-03 Thread DanH
I would guess that, if XML parsing is faster than JSON parsing, it's largely because the XML parsers are more highly optimized (due to it being a more mature technology). From a purely mechanical standpoint the amount of work that either needs to do is pretty much equivalent on a per-byte basis.

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Dianne Hackborn
If you are responding to Streets of Boston, that code is not doing double check locking. It is doing the only null check with the lock held. Personally I prefer to explicitly use synchronized() instead of synchronized methods for legibility and to avoid leaking locking semantics out of a class,

[android-developers] 3.1 on Acer : webkit load index.html and anchors say on load : The Web page contains an error.

2011-06-03 Thread david massiani
Hello, i have an user of my application return to me an error on load my app. they have an Acer A500 Android 3.1 and when they load the app, they have an alert : Application Error The Web page contains an error. (file:/// [...]) What is the reason for this message ? javascript ? I use phonegap

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread xie calvin
Maybe You can define a special mime-type(smart poster) , then regist this mime-type for your activity in filter.xml. It should be OK to directly route the event the the inactive activity. 2011/6/3 Xiaoliang Ding xding2...@gmail.com: hi, I am writing a NFC application. I use the

  1   2   >