Re: [android-developers] Main Activity/Service Communication

2013-01-20 Thread TreKing
On Sat, Jan 19, 2013 at 8:22 PM, dashman erjdri...@gmail.com wrote: I'm concerned about the overhead with this mechanism. Why? Also not too sure how to notify the service of a new job. IntentService, as Kris mentioned, can just be called repeatedly and it will queue the messages up and

Re: [android-developers] using Paint to draw text with specified locale on pre-API 17

2013-01-20 Thread Latimerius
On Sat, Jan 19, 2013 at 11:15 PM, Romain Guy romain...@android.com wrote: The text locale on the Paint is used to resolve direction (right to left/left to right.) It won't affect text translations. Thanks for your reply, Romain. The direction is actually precisely the thing I'm worried

[android-developers] Why BlurMaskFilter doesn't work on Nexus 4 Devices?

2013-01-20 Thread strangeoptics
Hi, I want to have an nice blure effect around an selected Path. The approach I use is with BlurMaskFilter like described in http://stackoverflow.com/questions/6281783/dynamically-generated-line-with-glow-effective. On my emulator it looks exactly like I want to have it. But when I install the

[android-developers] Re: Not working calendar events query.

2013-01-20 Thread Nobu Games
The CalendarContracthttp://developer.android.com/reference/android/provider/CalendarContract.htmlcomponent is the only sane way to access a user's calendar data. Unfortunately it's only for API level 14 and higher ( = 4.0). In older Android versions the calendar contentprovider is part of a

[android-developers] Prob in sending Image

2013-01-20 Thread ajinkyasaswade09
Hi Everybody M sending the image from android to java server using socket programming as i want to send to ip addrs but there is prob in sending the image I tried converting into string and writing it into txt fie but there's prob in writing it into the txt file so there's prob in converting

[android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread g...@deanblakely.com
in the onCreate event for my Service I setup locationlistener... locMgr = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locLstnr = new MyLocationListener(); debugLog(Instantiated new Location listener, false);

Re: [android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread Mark Murphy
Quoting the documentation for requestLocationUpdates(): Prior to Jellybean, the minTime parameter was only a hint, and some location provider implementations ignored it. From Jellybean and onwards it is mandatory for Android compatible devices to observe both the minTime and minDistance

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread iDeveloper
Hi Mark, Any news on this issue ? Thanks, Dani On Monday, January 30, 2012 5:10:56 PM UTC+2, Mark Murphy (a Commons Guy) wrote: On Sun, Jan 29, 2012 at 9:37 PM, Doug beaf...@gmail.com javascript: wrote: On Jan 26, 2:33 pm, Mark Murphy mmur...@commonsware.com wrote: True, though I'm a

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Mark Murphy
On Sun, Jan 20, 2013 at 12:42 PM, iDeveloper kaplan.d...@gmail.com wrote: Any news on this issue ? Well, so long as the JAR does not contain an R class, you should be OK, if that's what you mean. The Google Play Services library project is distributed with a JAR instead of source code, and it

[android-developers] How to solve Error- void is an invalid type for the variable setWidthHeight

2013-01-20 Thread yashika
When i m using setWidhtHeight(View v,int width,int height) method to set the size of layout throug code this error is occur- void is an invalid type for the variable setWidthHeight Plz help me how to solve it. this is my code- Display display = getWindowManager().getDefaultDisplay(); Point

[android-developers] about custom listview

2013-01-20 Thread Abdullah
Hi guys, i have a custom listview.it has 1 imageview 1 textview and 5 checkbox each row. how can i check or uncheck other checkbox in same row when i check any checkbox. i use below funcktion in arrayadapter but i don't know where i check or unckeck when i check a checkbox. -- You received

[android-developers] Re: Prob in sending Image

2013-01-20 Thread jason_gates
Hi, When I've used HTTP to communicate with a servlet container (E.G. tomcat or jetty), The HTTP client uses Base64 to encode the image. Thus, I would try encoding the image when you send (from the client). On the server, I would decode the image. Base64 is used often to encode images for

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Joe Bowbeer
The feature that we're awaiting is the .aar binary packaging for libraries, to be provided by the new build system: http://tools.android.com/tech-docs/new-build-system --Joe On Sun, Jan 20, 2013 at 9:55 AM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Jan 20, 2013 at 12:42 PM,

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Kristopher Micinski
I mean... JARs are already binary code already. Kris On Sun, Jan 20, 2013 at 1:42 PM, Joe Bowbeer joe.bowb...@gmail.com wrote: The feature that we're awaiting is the .aar binary packaging for libraries, to be provided by the new build system:

[android-developers] Re: Passing an object as extras in intent

2013-01-20 Thread a
Thanks for the links. I saw the example of passing the object with String and Int types. Can I also similarly pass a HttpResponse object to an intent? On Friday, January 18, 2013 5:09:16 PM UTC+2, skink wrote: a wrote: Hi, is it possible to pass an object as intent extra in

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Mark Murphy
On Sun, Jan 20, 2013 at 1:42 PM, Joe Bowbeer joe.bowb...@gmail.com wrote: The feature that we're awaiting is the .aar binary packaging for libraries, Which hopefully will be ready by next International Talk Like a Pirate Day. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: How to solve Error- void is an invalid type for the variable setWidthHeight

2013-01-20 Thread Lew
yashika wrote: When i [sic] m [sic] using setWidhtHeight(View v,int width,int height) method to set the size of layout throug code this error is occur- void is an invalid type for the variable setWidthHeight Plz [sic] help me how to solve it. this is my code- DO NOT USE TAB CHARACTERS TO

[android-developers] Re: sliding in a new layout

2013-01-20 Thread G. Blake Meike
I've been poking around at this for a while. You might be interested it this: https://github.com/bmeike/SlidingMenu G. Blake Meike Marakana Programming Android 2ed is now in stores: http://bit.ly/programmingandroid -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Passing an object as extras in intent

2013-01-20 Thread Kristopher Micinski
Anything you can serialize you can pass, but excessive passing of references is an indicator of Android code smell. In this case, I'd say your code smells because you want to pass an HttpResponse. This indicates to me that you are handling it somewhere on the GUI thread: which is bad. Instead

Re: [android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread Kristopher Micinski
Even now, you can't expect that method to be useful for scheduling *within* your app to any kind of real granularity. kris On Sun, Jan 20, 2013 at 12:33 PM, Mark Murphy mmur...@commonsware.com wrote: Quoting the documentation for requestLocationUpdates(): Prior to Jellybean, the minTime

Re: [android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread g...@deanblakely.com
Kristopher, Sorry but I don't know what you mean by useful for scheduling within your app. I'm using the locationlistener to trigger when the phone is moved. (I'm targeting Gingerbread) Are you saying that even with jellybean it doesn't work right? Would I be better off explicitly getting a

[android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-20 Thread Summer
https://github.com/Leandros/ActionBar-with-Tabs say I am in A fragment, i have a button, after I click this button, how can I jump to B fragment, as B tab is clicked? Thanks --S -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread Kristopher Micinski
If you expect to do something time sensitive by hoping that location manager respects the frequency argument: it doesn't. For triggering when the phone is moved you have to monitor more closely. That's probably not the best idea: you'll kill the battery. I'd figure something else out. Kris On Jan

[android-developers] Re: How to open or register a new file extension in Android?

2013-01-20 Thread Glenn
So if you follow this thread carefully, you see that this is all badly broken. You cannot register an app for a VIEW or SEND action only on a specific suffix unless you also give its specific MIME type, and then only for mime types known in the built-in Android registry. I've done all the

Re: [android-developers] Re: Not working calendar events query.

2013-01-20 Thread AMAL SHIWANTHA
Thanks for your respond. i got an idea from your message. i try to develop an application new function with calendar app. So i want to get default calendar event.* what is the suitable way to **query events.?* * . Thank you, With Best regards, Sun Certified, * *Amal Shiwantha Ranasinghe.* * *

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-20 Thread Michael Leung
Can you set the tab with B Fragment to be active? On Mon, Jan 21, 2013 at 9:25 AM, Summer novelt...@gmail.com wrote: https://github.com/Leandros/**ActionBar-with-Tabshttps://github.com/Leandros/ActionBar-with-Tabs say I am in A fragment, i have a button, after I click this button, how can I

[android-developers] Re: How to dynamically apply themes in Android

2013-01-20 Thread satyaandroid
Hi.. I need the same task to change the theme of the application throughout the app(all activities) by choose the theme via context menu or dialog in Jellybean.. can u give any solution u got.. Thank you.. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] floating bubble buttons in android

2013-01-20 Thread Rahul Raja
Can i get help on how to get floating bubbles buttons in android like this?/ http://activeden.net/item/floating-bubble-buttons/6279 i surfed but didnt get anything specific. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this