Re: [android-developers] Re: App Development for conducting classes

2012-08-28 Thread Kristopher Micinski
Why? Most information you need is somewhere on developer.android.com and related sites. Not every book is as useful as every other. Do you have a particular book in mind? I agree with Lew, most Android books are just the API reference printed on trees and nothing more, and that's at best.

[android-developers] how to .setText of a String with different colours?

2012-08-28 Thread oriolmesia
Hi I'm Oriol and I want to set a string like this one: H*i,* A*ll!* * * in the textView I've created on my layout. (One String in only one textView) But the matter it's that I don't know how to set a different colour for some specific characters inside my string. (Like in the example I show

Re: [android-developers] how to .setText of a String with different colours?

2012-08-28 Thread Harri Smått
On Aug 28, 2012, at 6:52 PM, oriolmesia mesia@gmail.com wrote: Does anyone knows how to do it? This article is a good read for SpannableStrings; http://www.chrisumbel.com/article/android_textview_rich_text_spannablestring -- H -- You received this message because you are subscribed to

Re: [android-developers] Re: how to set two spinners with different strings and icons?

2012-08-28 Thread Justin Anderson
You have asked this question multiple times... I tried helping you on the other post, and even explained many things that you were not doing right. But sure... go ahead and post your code again. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug

Re: [android-developers] Re: how to set two spinners with different strings and icons?

2012-08-28 Thread Sobia Awan
shall i send u my coding again? On Tue, Aug 28, 2012 at 9:23 PM, Justin Anderson magouyaw...@gmail.comwrote: You have asked this question multiple times... I tried helping you on the other post, and even explained many things that you were not doing right. But sure... go ahead and post

[android-developers] need to allow user to draw a region on Google map

2012-08-28 Thread dica
Hi guys I'd like to allow a user to draw a region on top of a Google map and get the GPS coordinates of the drawn region. Can somebody advise how this is done? Tks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Handler or (Local) BroadcastReceiver

2012-08-28 Thread Lieuwe
Hi, I am working on a fairly complex bit of code. I would like your input to understand which (if any at all) of the above classes I should use. The short description is that I have an Activity that displays local HTML5 within a WebView. The WebView utilises a WebViewClient which intercepts

Re: [android-developers] Re: how to set two spinners with different strings and icons?

2012-08-28 Thread Sobia Awan
actually i got solution of intent in spinner not this so if it will b possible for u then please reply me...Thanks On Tue, Aug 28, 2012 at 9:26 PM, Sobia Awan juwerian.so...@gmail.comwrote: shall i send u my coding again? On Tue, Aug 28, 2012 at 9:23 PM, Justin Anderson

Re: [android-developers] need to allow user to draw a region on Google map

2012-08-28 Thread Mark Murphy
On Tue, Aug 28, 2012 at 12:37 PM, dica steven.mu...@gmail.com wrote: I'd like to allow a user to draw a region on top of a Google map and get the GPS coordinates of the drawn region. Can somebody advise how this is done? On the second part, the Projection object can convert between pixel

Re: [android-developers] Handler or (Local) BroadcastReceiver

2012-08-28 Thread Mark Murphy
On Tue, Aug 28, 2012 at 12:45 PM, Lieuwe lieuwe.elger...@gmail.com wrote: (I realise that on Android the HTML5/javascript implementation can directly call native code but unfortunately the HTML5 needs to be x-platform (i.e. run on iOS) so I am forced to communicate through intercepting URL's

Re: [android-developers] Handler or (Local) BroadcastReceiver

2012-08-28 Thread Mark Murphy
On Tue, Aug 28, 2012 at 12:50 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Aug 28, 2012 at 12:45 PM, Lieuwe lieuwe.elger...@gmail.com wrote: (I realise that on Android the HTML5/javascript implementation can directly call native code but unfortunately the HTML5 needs to be x-platform

[android-developers] detect weather incoming call fron landline number or mobile number

2012-08-28 Thread Aashish kumar
Hi, Anyone help me ,how to detect wether the incoming call from landline number or moblie number, is there any API for it. -- 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] Getting mapview as image

2012-08-28 Thread disha
Hi, I want to get the image of currently displayed mapview. As of i know i can get the static map image by using google static map API. Is there any other way to do this? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] detect weather incoming call fron landline number or mobile number

2012-08-28 Thread A N K ! T
Sorry, no api to detect this. On Tue, Aug 28, 2012 at 11:21 PM, Aashish kumar testchetu...@gmail.comwrote: Hi, Anyone help me ,how to detect wether the incoming call from landline number or moblie number, is there any API for it. -- You received this message because you are subscribed to

Re: [android-developers] Getting mapview as image

2012-08-28 Thread vijay Badawadagi
http://stackoverflow.com/questions/5939987/android-take-screenshot-via-code Try this Thanks Vijay On Tue, Aug 28, 2012 at 12:52 PM, disha ash...@gmail.com wrote: Hi, I want to get the image of currently displayed mapview. As of i know i can get the static map image by using google

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Harri Smått
On Aug 28, 2012, at 9:33 PM, anaOliveira oliveiranar...@gmail.com wrote: ... s.execute(new String [] {URL+param}); … to call the task. Someone can help me to understand which is the problem? I'm guessing your problem lies in how you call

[android-developers] global_context

2012-08-28 Thread bob
It is getting very cumbersome having to pass a Context object all over when I'm pretty sure it never should change. Is this so bad? public class MyApplication extends Application { public static Context global_context; @Override public void onCreate() { global_context = this;

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Ana Rita Brito Oliveira
I tried.. but with only one ore more URL the method doInBackground works and I can go to the service and got the result but when I try to do the onPostExecute.. that dind't work. 2012/8/28 Harri Smått har...@gmail.com On Aug 28, 2012, at 9:33 PM, anaOliveira oliveiranar...@gmail.com wrote:

Re: [android-developers] global_context

2012-08-28 Thread Kristopher Micinski
you shouldn't be passing the context all over the place, you should be getting by the methods defined for the specific activities, services, etc.. Why are you passing it around so often? P.s., *no*, it won't always be the same. kris On Tue, Aug 28, 2012 at 3:17 PM, bob b...@coolfone.comze.com

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Harri Smått
On Aug 28, 2012, at 10:20 PM, Ana Rita Brito Oliveira oliveiranar...@gmail.com wrote: I tried.. but with only one ore more URL the method doInBackground works and I can go to the service and got the result but when I try to do the onPostExecute.. that dind't work. True that, my mistake

Re: [android-developers] global_context

2012-08-28 Thread Raghav Sood
Yes, this is quite bad. Contexts can change, for example when an activity is destroyed and recreated, a new context is given to it. Additionally, you are storing the application context, which cannot be used in all situations. For example, you'd get an exception if you tried to create an

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Ana Rita Brito Oliveira
Yes.. because these are the resaults of the log: 08-28 17:47:21.936: D/URL serviço HttpGet(2055): http://192.168.56.1:8080/pt.Agile21.Acerola.WebService/rest/acerola?id=g;a...@eu.com 08-28 17:47:22.456: D/RESPOSTA do web service(2055): ana;a...@eu.com;pass;0 08-28 17:47:22.456: D/RESPOSTA do web

[android-developers] Re: How do I read an XML Data in Android?

2012-08-28 Thread Guilherme Bernardi
FileInputStream is a good choise? Em segunda-feira, 27 de agosto de 2012 17h06min26s UTC-3, Lew escreveu: Guilherme Bernardi wrote: I'm developing an application that uses XML data... I consumed an wcf web service with SOAP, convert the object to a basic XML and save on sdcard, but now I

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread vivek singh
are you sure that String result is not *blank* in* onPostExecute* method.? try to make a toast notification in onPostExecute method and display String result in message.See what happens. On Wednesday, August 29, 2012 12:52:47 AM UTC+5:30, anaOliveira wrote: I tried.. but with only one ore

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread vivek singh
if this log is generated due to this call Log.d(onPostExecute Serviço, result); //first line of onPostExecute(String res) then obviously your onPostExecute method is called (or did i missed something?) On Wednesday, August 29, 2012 1:13:24 AM UTC+5:30, anaOliveira wrote: Yes.. because

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Ana Rita Brito Oliveira
As you can see, Log.d(onPostExecute Serviço, result);is not executed.. I can't see the response on the logs right? 2012/8/28 vivek singh vivek.r...@gmail.com if this log is generated due to this call Log.d(onPostExecute Serviço, result); //first line of onPostExecute(String res) then

[android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread RKS
I'm looking for information on officially sponsored training seminars/classes etc? I'm not really interested in online but will take some info on that if you have it. What I'm really interested in are seminars/courses that you pay for, have to go to the location, and take classes ranging from

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread vivek singh
try to add code for displaying a toast notification in onPostExecute method and display the value of String result in that notification see what happens On Wednesday, August 29, 2012 1:21:53 AM UTC+5:30, anaOliveira wrote: As you can see on the picture.. I have all the results but when I get

Re: [android-developers] Re: How do I read an XML Data in Android?

2012-08-28 Thread Kristopher Micinski
That's not what Lew is talking about... DOM is easy, but heavy, by contrast things like SAX are lightweight and won't kill memory usage on the device. (Easier to do than you might think...) You should also look into using XmlPullParser. As a quick note, this isn't really specific to Android:

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread Ana Rita Brito Oliveira
I will try! , and then I tell something! 2012/8/28 vivek singh vivek.r...@gmail.com try to add code for displaying a toast notification in onPostExecute method and display the value of String result in that notification see what happens On Wednesday, August 29, 2012 1:21:53 AM UTC+5:30,

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread Kristopher Micinski
I will mention that while not along the exact line you may be interested in, there is Google I/O, which always tends to have some interesting presentations.. Some courses might not be horrible, however, colleges might not be quite what you're looking for, but if you're near reputable universities

Re: [android-developers] AsyncTask - onPostExecute is not called

2012-08-28 Thread vivek singh
ok On Wednesday, August 29, 2012 1:39:06 AM UTC+5:30, anaOliveira wrote: I will try! , and then I tell something! 2012/8/28 vivek singh vivek...@gmail.com javascript: try to add code for displaying a toast notification in onPostExecute method and display the value of String result in that

Re: [android-developers] Android Source code Development

2012-08-28 Thread TreKing
On Mon, Aug 27, 2012 at 6:46 AM, Rajan Mishra rajan.m1...@gmail.com wrote: Please Provide the new Updates of source code in Android Mobile Development. Please explain what you're talking about. -

Re: [android-developers] Re: Effect of Verdict in Apple v Samsung case?

2012-08-28 Thread TreKing
On Mon, Aug 27, 2012 at 10:01 PM, Jungle Jim jjjungle...@gmail.com wrote: I wonder if this will enable Apple iphones to eat into Android's market share? I wonder if you read Mark's response to your initial post? This has nothing to do with Android Development, which is what this group is for.

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread Satya Komatineni
See if something like this helps http://androidbook.com/training Also if you have a set number of folks (about 10) I don't mind travelling with in the US for a week to teach. http://androidbook.com/training http://androidbook.com http://satyakomatineni.com http://twitter.com/SatyaKomatineni On

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread Mark Murphy
Before beginning, in the interests of full disclosure: I teach Android development in events much like what you describe. On Tue, Aug 28, 2012 at 4:00 PM, RKS sean.sambor...@live.com wrote: I'm looking for information on officially sponsored training seminars/classes etc? Are there week-long

Re: [android-developers] Re: How do I read an XML Data in Android?

2012-08-28 Thread Guilherme Bernardi
To create the XML file, I did this: XmlSerializer serializer = Xml.newSerializer(); serializer.setOutput(fileos, UTF-8); serializer.startDocument(null, Boolean.valueOf(true));

[android-developers] ACRA

2012-08-28 Thread bob
Can someone help me understand how ACRA works? Does ACRA.init() call this function? public static void setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread Josphat Muchiri
Ok man,there are google based training in mobile application development which take place in local universities here in kenya,i attended one this year from may to august and the training is totally free coz its google sponsored after the training there is a workshop where you develop apps for

Re: [android-developers] global_context

2012-08-28 Thread bob
I can't load assets or resources without it. On Tuesday, August 28, 2012 2:24:12 PM UTC-5, Kristopher Micinski wrote: you shouldn't be passing the context all over the place, you should be getting by the methods defined for the specific activities, services, etc.. Why are you

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread RKS
@Kris Thanks for the tips. We're in Houston so UH is reputable and offers traditional coursework in Android-specific application development. That certainly is an option, but I haven't had time to research the prerequisites and see if taking a course outside as a non-degree seeker if you can

[android-developers] Re: Android custom view (very basic)

2012-08-28 Thread bob
You need width and height. Add these: *android:layout_width=fill_parent* *android:layout_height=fill_parent* On Monday, August 27, 2012 1:09:10 PM UTC-5, Victor Reboucas wrote: Hi, I'm new to Android development and I'm trying to implement a custom view to act as a custom menu button for

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Mark Murphy
On Tue, Aug 28, 2012 at 8:54 AM, Thesalan thesa...@gmail.com wrote: The project is attached to this post, at this lighter version (like we can found here https://gist.github.com/8cbe094bb7a783e37ad1) I repeat : this works greats on emulator and older devices, but not on my HTC One X with last

[android-developers] ICS: White screen while changing visibility on Webview

2012-08-28 Thread Marina Cuello
Hi to all! I have a little app with a layout that it's something like this: FrameLayout FrameLayout ImageView/ ProgressBar/ /FrameLayout LinearLayout WebView/ /LinearLayout /FrameLayout I initially set the ImageView (kind of a place-holder) and the ProgressBar

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Romain Guy
Sounds like a bug, please file a report with an apk or a sample project that reproduces the issue and I'll fix it. On Tue, Aug 28, 2012 at 11:05 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Aug 28, 2012 at 8:54 AM, Thesalan thesa...@gmail.com wrote: The project is attached to this

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Romain Guy
To file a bug report, go to http://b.android.com btw On Tue, Aug 28, 2012 at 11:10 PM, Romain Guy romain...@android.com wrote: Sounds like a bug, please file a report with an apk or a sample project that reproduces the issue and I'll fix it. On Tue, Aug 28, 2012 at 11:05 PM, Mark Murphy

[android-developers] Re: Use of shapes for background

2012-08-28 Thread bob
Why not extend android.widget.RelativeLayout and implement your own onDraw method? On Friday, August 24, 2012 5:08:54 AM UTC-5, Pau Rodríguez Coloma wrote: Hi, I'm want to set the background of a RelativeLayout like the attached png. For the moment I'm using a bitmap definition xml

Re: [android-developers] global_context

2012-08-28 Thread Justin Anderson
public class MyApplication extends Application { public static Context global_context; @Override public void onCreate() { global_context = this; super.onCreate(); } } To load assets or resources you need to use the Application context... Since what you are doing is using the

Re: [android-developers] detect weather incoming call fron landline number or mobile number

2012-08-28 Thread Lew
A N K ! T wrote: Sorry, no api to detect this. Aashish kumar wrote: Anyone help me ,how to detect wether the incoming call from landline number or moblie number, is there any API for it. There are perhaps online services that will look up a number for you and return information

Re: [android-developers] global_context

2012-08-28 Thread Justin Anderson
To load assets or resources you need to use the Application context... I read that and realized this was wrong... I meant to say that as long as you are only loading assets or resources then you would be perfectly fine using the application context (but you don't need to if you have another

[android-developers] Re: Handler or (Local) BroadcastReceiver

2012-08-28 Thread Streets Of Boston
You could do both, if you abstract out the javascript-to-java calls in your HTML5's javascript - Create a javascript class in your HTML5 that implements a certain set of methods that define all the necessary javascript-to-java calls (abstraction). Let's call it 'CallToJava'. - On Android,

Re: [android-developers] Connection reset by peer?

2012-08-28 Thread Lew
Selam wrote: I have got a same error. Did you solve this problem? bob: What does it mean when you try to form a Bluetooth connection on Android and you get this message? java.io.IOException: Connection reset by peer There are as many solutions for this as there are situations

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Mark Murphy
On Tue, Aug 28, 2012 at 5:10 PM, Romain Guy romain...@android.com wrote: Sounds like a bug, please file a report with an apk or a sample project that reproduces the issue and I'll fix it. Posted as http://code.google.com/p/android/issues/detail?id=36788 Thanks! -- Mark Murphy (a Commons Guy)

Re: [android-developers] global_context

2012-08-28 Thread Justin Anderson
Activities and Services both inherit from Context so you wouldn't need to use your global_context in those cases either. In what situations are you running into that you are using this global_context and don't have access to it through another way? Same thing here as with views... You

Re: [android-developers] global_context

2012-08-28 Thread Streets Of Boston
As long as *global_context *is an Application object, it is 'alive' as long as the (DalvikVM) process is alive (and vice-versa). As long as this context is only used to load assets/resources, this should be fine. Having such a global context (*application *context would be a better word)

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Thesalan
Mark, a huge thank you!! I never thought the problem would come from hardware acceleration (I'm a beginner after all ^_^). Indeed, my current rom force hardware acceleration for all applications. I tried to force software mode just on the ViewPager with setLayerType(View.LAYER_TYPE_SOFTWARE,

Re: [android-developers] Connection reset by peer?

2012-08-28 Thread bob
No, I don't think I ever figured that out fully. I've seen a lot of Bluetooth weirdness. I'd recommend connecting to a Bluetooth 4.0 dongle and using the Windows Bluetooth drivers (not WIDCOMM). On Tuesday, August 28, 2012 8:55:47 AM UTC-5, Selam@oğlu wrote: Hello, I have got a

Re: [android-developers] ICS: White screen while changing visibility on Webview

2012-08-28 Thread Kostya Vasilyev
I see WebView flash white on 3.0 - 4.0 (inclusive) if GPU acceleration is on. This happens even if the WebView's Android background as well as body background are set to black. Disabling GPU acceleration in the manifest fixed the issue for me. This appears to be fixed in the official 4.1.1

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Kostya Vasilyev
2012/8/29 Thesalan thesa...@gmail.com Mark, a huge thank you!! I never thought the problem would come from hardware acceleration (I'm a beginner after all ^_^). Indeed, my current rom force hardware acceleration for all applications. I tried to force software mode just on the ViewPager with

Re: [android-developers] global_context

2012-08-28 Thread Kostya Vasilyev
2012/8/29 Justin Anderson magouyaw...@gmail.com To load assets or resources you need to use the Application context... I read that and realized this was wrong... I meant to say that as long as you are only loading assets or resources then you would be perfectly fine using the application

Re: [android-developers] global_context

2012-08-28 Thread Justin Anderson
Not necessarily - contexts sometimes get nested (wrapped) as other contexts with theme customizations applied in the process. Just to give an example, loading an item for a ListView inside a dialog on 2.* will produce wrong colors if you don't use a wrapped context / inflater. Another

Re: [android-developers] Listview text size

2012-08-28 Thread Justin Anderson
Use your own layout... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Aug 27, 2012 at 9:39 PM, RAM ramon26c...@gmail.com wrote: how to resize the font size of a listview/gridview text -- You received this message because you are subscribed to

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Thesalan
Ok, thank you for the precision! Le mercredi 29 août 2012 00:05:24 UTC+2, Kostya Vasilyev a écrit : 2012/8/29 Thesalan thes...@gmail.com javascript: Mark, a huge thank you!! I never thought the problem would come from hardware acceleration (I'm a beginner after all ^_^). Indeed, my current

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Romain Guy
Kostya, you are wrong :) setLayerType() always lets you go back to software. It doesn't let you go to hardware if the app is not hardware accelerated. The whole point of setLayerType(SOFTWARE) is to be able to selectively disable hardware acceleration for small parts of the app (to work around

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Romain Guy (Google)
Thesalan, it's incorrect. setLayeType(View.LAYER_TYPE_SOFTWARE, null) always works, no matter how or if hardware acceleration is enabled. On Tuesday, August 28, 2012 3:18:18 PM UTC-7, Thesalan wrote: Ok, thank you for the precision! Le mercredi 29 août 2012 00:05:24 UTC+2, Kostya Vasilyev a

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Thesalan
Ok thanks! But when I do it on the ViewPager, the clipping stay... I will try again tomorrow, it's late for me here ;) Thanks again! Le mercredi 29 août 2012 00:23:03 UTC+2, Romain Guy (Google) a écrit : Thesalan, it's incorrect. setLayeType(View.LAYER_TYPE_SOFTWARE, null) always works, no

Re: [android-developers] ViewPager and setClipChildren(false)

2012-08-28 Thread Kostya Vasilyev
Thanks for clarifying, I stand corrected. -- K 2012/8/29 Romain Guy romain...@android.com Kostya, you are wrong :) setLayerType() always lets you go back to software. It doesn't let you go to hardware if the app is not hardware accelerated. The whole point of setLayerType(SOFTWARE) is to

Re: [android-developers] TableRow in list view Postion

2012-08-28 Thread Justin Anderson
below solution will fetch data from SharedPrefrence and will coloured(below instead of changing colour am putting background image) the Required Table Row as per the requirement try { String[] color=getFromPrefs();//you can use your own logic TableRow ActiveItem = (TableRow)

[android-developers] I need help

2012-08-28 Thread Errol
running mac os x 10.5.8 with eclipse juno which may be the whole problem in the first place, after going into my utilities to check java preferences, I see two java apps j2se 5.0 and 1.4.2 now its for me to figure out how to get those android packages to interact with my eclipse

[android-developers] Re: I need help

2012-08-28 Thread Lew
Errol wrote: running mac os x 10.5.8 with eclipse [sic] juno [sic] which may be the whole problem in the first place, after going into my utilities to check java [sic] preferences, I see two java [sic] apps j2se 5.0 and 1.4.2 now its [sic] for me to figure out how to get those android

[android-developers] Re: ViewPager and setClipChildren(false)

2012-08-28 Thread Dave Smith
Thesalan - Calling setLayerType() on just the View will work, but you have to do it on the correct view. In this case, the issue that doesn't work with hardware acceleration is the parent ViewGroup clipping its children, so the PagerContainer in the example is the view that you need to call

[android-developers] Is certificate pinning possible to do with a WebView?

2012-08-28 Thread paladin
Not via an explicit https connection, but using a WebView, can I make it do certificate pinning? -- 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

[android-developers] Re: MapFragment

2012-08-28 Thread metal mikey
I made a little library, mashing up the LocalActivityManager-based solutions for the MapFragment problem: https://github.com/coreform/android-tandemactivities -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: I need help

2012-08-28 Thread Errol Raymond
I was referring to utilities folder in my application directory also after trying to install jdk7u6 it returned a javascript error I am using leopard so I guess there is no getting around that if I need a later version osx, due to the fact that this is the latest version for my system I suppose if

[android-developers] ICS Camera vs JB Camera

2012-08-28 Thread Scs Sek
I have noticed that JB Camera APK uses more CPU than ICS Camera. Do you guys see the difference? Is there any difference with respect to application? I see atleast 25% higher CPU usage in JB Camera Application. Any points would be appreciated. -- You received this message because you are

[android-developers] Re: ICS Camera vs JB Camera

2012-08-28 Thread Scs Sek
I have noticed that JB Camera APK uses more CPU than ICS Camera. Do you guys see the difference? Is there any difference with respect to application? I see atleast 25% higher CPU usage in JB Camera Application. Any points would be appreciated. -- You received this message because you are

[android-developers] Google Play registeration payment fail

2012-08-28 Thread Mr Jason
Hello guys, I'm trying to register Google Play developer by using google wallet payment but it keeps fail. I have entered in my credit card number correctly (i.e. 512X [without spaces]), the CVS number (3 digit numbers at the back of your card), and expiry date as well. I don't

[android-developers] Re: Google Play registeration payment fail

2012-08-28 Thread RichardC
Phone your card issuer, your may have to answer a security question. On Wednesday, August 29, 2012 1:47:05 AM UTC+1, Mr Jason wrote: Hello guys, I'm trying to register Google Play developer by using google wallet payment but it keeps fail. I have entered in my credit card number correctly

Re: [android-developers] Re: Where/how to find the Google Play identity on Android and how to send that to an AppEngine stance.

2012-08-28 Thread William Ferguson
Thanks Nikolay the Google Play services seems half implemented to me :-( I'm already asking for the Google Play permission, I don't really want to also be asking for AccountManager access just to find out some kind of identity for the person that has purchased the item. I don't even need a

[android-developers] imac g5 ppc 12,1

2012-08-28 Thread Errol
I guess that I am short of luck running the jdk 6 app. I don't seem to be able to get anything better than j2se 5.0 and 1.4.2, because that's the best that leopard can do for me so, I'll cut my losses and go within the app dev com to deal with xcode, and their sdk.. I've even tried installing

[android-developers] camera

2012-08-28 Thread aek
Hi guys, I am trying to learn android hardware programming. an example of camera programming, I took from a book, which is as listed bellow. However unfortunately I am geting an error. a process stops unexpectdly. the pb I guess as per to what is shown by the log cat, is due to a pb of

Re: [android-developers] Re: Where/how to find the Google Play identity on Android and how to send that to an AppEngine stance.

2012-08-28 Thread Nikolay Elenkov
On Wed, Aug 29, 2012 at 10:35 AM, William Ferguson william.ferguson...@gmail.com wrote: Thanks Nikolay the Google Play services seems half implemented to me :-( AFAIK, it is not available yet, are you referring to the docs? https://developers.google.com/android/google-play-services/ I'm

[android-developers] Get cellular signal frequency?

2012-08-28 Thread Felipe Silveira
Hi all, Is there any API which returns the cellular signal frequency? I found SignalStrength class, which returns the stregth, in db, but it doesnt return the frequency. Does anybody know if its possible to get this info? Thanks! -- Felipe Silveira http://www.felipesilveira.com.br

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Kristopher Micinski
I don't think this is exposed through RIL. Why do you need to know it? kris On Tue, Aug 28, 2012 at 10:26 PM, Felipe Silveira webfel...@gmail.com wrote: Hi all, Is there any API which returns the cellular signal frequency? I found SignalStrength class, which returns the stregth, in db, but

Re: [android-developers] Re: Google Play registeration payment fail

2012-08-28 Thread Sravanthi Dadu
hi ...can any one please please help me out regarding reset password in lock application... My requirement is that i have a sqlite database with a string value as that is default password. In main activity of xml when we enter the default password it goes to subactivity which is used for reset

Re: [android-developers] Listview text size

2012-08-28 Thread Felipe Silveira
Just complementing... use your own layout for the list itens. On Tue, Aug 28, 2012 at 7:15 PM, Justin Anderson magouyaw...@gmail.comwrote: Use your own layout... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Aug 27, 2012 at 9:39 PM, RAM

Re: [android-developers] Re: Where/how to find the Google Play identity on Android and how to send that to an AppEngine stance.

2012-08-28 Thread William Ferguson
the Google Play services seems half implemented to me :-( AFAIK, it is not available yet, are you referring to the docs? https://developers.google.com/android/google-play-services/ No. Perhaps I misunderstood one of the GoogleIO sessions. They were referring to in-app billing and

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Felipe Silveira
I need this in an application which helps choose which external antenna type is indicated for each area. It is related to the signal frequency... Thanks! On Tue, Aug 28, 2012 at 11:31 PM, Kristopher Micinski krismicin...@gmail.com wrote: I don't think this is exposed through RIL. Why do you

[android-developers] USB Host hardware requirements?

2012-08-28 Thread Kiran
Hi All, I have a USB based sensor that would draw about 300mA and would like to use it with my Android phone. I have tried to play around with the API's and write a small application that would just list out the devices that were connected to the USB bus. A small code snippet that I am

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Kristopher Micinski
Well, I don't know how to do it in the API, but that's probably me being too lazy to look through the telephony classes, It *is* possible to do so, and I beieve it must be exposed through the RIL.. http://android.stackexchange.com/questions/23572/how-to-tell-current-frequency-band kris On Tue,

Re: [android-developers] Re: Where/how to find the Google Play identity on Android and how to send that to an AppEngine stance.

2012-08-28 Thread Nikolay Elenkov
On Wed, Aug 29, 2012 at 11:39 AM, William Ferguson william.ferguson...@gmail.com wrote: the Google Play services seems half implemented to me :-( AFAIK, it is not available yet, are you referring to the docs? https://developers.google.com/android/google-play-services/ No. Perhaps I

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 14 Topics

2012-08-28 Thread Biswaraj Phuyal
i have my Laptop away, i cant send u but its the Code but its calling that class again and again. The last method. The last method. On Aug 28, 2012 8:39 PM, android-developers@googlegroups.com wrote: Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics

[android-developers] Re: JellyBean problem on Long click when context menu and android:autolink= all

2012-08-28 Thread Sandy
Hi Please let me know asap, I am stuck. On Aug 28, 1:32 pm, Jason Sesso djse...@gmail.com wrote: It seems that you. Need to add the onlongclick method. I just did this recently.  Ill get you an example in awhile. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: JellyBean problem on Long click when context menu and android:autolink= all

2012-08-28 Thread Sandy
Please post the solution asap i am stuck. On Aug 28, 1:32 pm, Jason Sesso djse...@gmail.com wrote: It seems that you. Need to add the onlongclick method. I just did this recently.  Ill get you an example in awhile. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Jim Graham
On Tue, Aug 28, 2012 at 10:52:46PM -0400, Kristopher Micinski wrote: On Tue, Aug 28, 2012 at 10:45 PM, Felipe Silveira webfel...@gmail.com wrote: I need this in an application which helps choose which external antenna type is indicated for each area. It is related to the signal frequency...

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Kristopher Micinski
That's worth mentioning, generally the stats reported by telephony hardware are highly nominal at best and will change or fluctuate quite a bit depending on the protocol, etc... (I also have an EE degree, and can attest to most hardware being kind of flakey..) kris On Wed, Aug 29, 2012 at 1:01

[android-developers] Best way to do a refresh?

2012-08-28 Thread Jungle Jim
I am writing a single-activity Android app that accesses data from various places on the internet and displays it on the screen. This data can change over time. I need to give the user the option to do a manual refresh when he chooses, in order to get the latest values. I have it set up as an

Re: [android-developers] Get cellular signal frequency?

2012-08-28 Thread Jim Graham
On Wed, Aug 29, 2012 at 01:04:23AM -0400, Kristopher Micinski wrote: That's worth mentioning, generally the stats reported by telephony hardware are highly nominal at best and will change or fluctuate quite a bit depending on the protocol, etc... (I also have an EE degree, and can attest to

Re: [android-developers] ACRA

2012-08-28 Thread TreKing
On Tue, Aug 28, 2012 at 3:46 PM, bob b...@coolfone.comze.com wrote: Can someone help me understand how ACRA works? I know you don't grasp this concept, but once again: this has nothing to do with this list. If you want help with some 3rd Party Library, try the website of said library.

Re: [android-developers] Best way to do a refresh?

2012-08-28 Thread TreKing
On Wed, Aug 29, 2012 at 12:11 AM, Jungle Jim jjjungle...@gmail.com wrote: Is there some way to terminate the old activity and then launch it again? There is, you would call finish() on the current Activity before starting the new one, but this is very silly. Or is there a better way to do a

<    1   2   3   >