Re: [android-developers] How to enable and disable mobile network programmatically ?

2013-03-01 Thread mohammed Nuhail
setMobileDataEnabled(false) is not their .. On Sat, Mar 2, 2013 at 12:05 PM, Robert Greenwalt wrote: > > > You could use ConnectivityManager.setMobileDataEnabled(false) - that will > just take down data (and mms). > > > On Fri, Mar 1, 2013 at 10:28 PM, mohammed Nuhail wrote: > >> Hello people, >>

Re: [android-developers] How to enable and disable mobile network programmatically ?

2013-03-01 Thread Robert Greenwalt
You could use ConnectivityManager.setMobileDataEnabled(false) - that will just take down data (and mms). On Fri, Mar 1, 2013 at 10:28 PM, mohammed Nuhail wrote: > Hello people, > I want to enable and disable mobile network programmatically while > pressing a button..please help me out with t

[android-developers] How to enable and disable mobile network programmatically ?

2013-03-01 Thread mohammed Nuhail
Hello people, I want to enable and disable mobile network programmatically while pressing a button..please help me out with this.. thanks in advance -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] When and how are LayoutParams examined, aside from onLayout and onMeasure

2013-03-01 Thread momo
I have a custom ViewGroup that's only ever managing the size and position of one child. I've override onMeasure and onLayout so that LayoutParams are never examined, yet it fails unless I do provide LayoutParams. Here are abbreviated summaries of the relevant portions of the class: public cl

[android-developers] Root Galaxy Note 10.1 N8000 to Android 4.1.2 Jelly Bean

2013-03-01 Thread Ba Thanh Nguyen
[image: root-samsung-galaxy-note-10-n8000]Steps 1. Download and extract *CF-Auto-Root-p4noterf-p4noterfxx-gtn8000.zip*. You will obtain a *CF-Auto-Root-p4noterf-p4noterfxx-gtn8000.tar.md5* file in

[android-developers] Update Galaxy Note 10.1 N8000 Update Galaxy Note 10.1 N8000

2013-03-01 Thread Ba Thanh Nguyen
Samsung has released ZSBMB1 Android 4.1.2 Jelly Bean update for Galaxy Note 10.1 N8000 users. The update comes with several bug fixes and security updates. While this update is available via KIES and it is recommended that you get it from there. If for some reason, you cannot access the offici

Re: [android-developers] Re: How to hide my widget from the Widgets list.....?

2013-03-01 Thread Abhilash baddam
Hi, Thanks for the reply. But need more help. On Fri, Mar 1, 2013 at 2:14 PM, futurexiong wrote: > AppWidgetProvider is also a BroadcastReceiver,and I think you also can > enable or disable it through your code.But I don't know whether it would > work because I don't see AppWidgetService.java p

Re: [android-developers] Re: anyone have a pandaboard

2013-03-01 Thread mike digioia
Do you remember the difference with a2 On Mar 1, 2013 5:45 PM, "G. Blake Meike" wrote: > Would and ES work? > > On Friday, March 1, 2013 5:10:59 PM UTC-8, mike digioia wrote: >> >> Hi >> >> Anyone have a pandaboard not use and willing to sell it? >> > -- > -- > You received this message because

[android-developers] Re: anyone have a pandaboard

2013-03-01 Thread G. Blake Meike
Would and ES work? On Friday, March 1, 2013 5:10:59 PM UTC-8, mike digioia wrote: > > Hi > > Anyone have a pandaboard not use and willing to sell it? > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] anyone have a pandaboard

2013-03-01 Thread mike digioia
Hi Anyone have a pandaboard not use and willing to sell 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@googlegroups.com To unsubscribe from this group, send email to android-

[android-developers] Re: two activities running at same time

2013-03-01 Thread Indicator Veritatis
Both Stack Overflow posts your refer to assume that both Activities try to control the display. But the whole point of his post was that he has one that does not use the display at all. So these do not apply. That said, I am a little surprised it works, too. After all, though there is no requir

[android-developers] Re: Hearing Aid

2013-03-01 Thread Lew
Indicator Veritatis wrote: > Well, of course you are right. The only right way to proceed is to give up > on the whole idea of using an Android phone as a hearing aid. But you know > how it is: the OP may have been hired specifically to do such a thing, and > not be at liberty to say, "no, it i

[android-developers] defaults for a Button widget

2013-03-01 Thread bob
Can someone help me see where to look to find the defaults for a Button widget? I'm trying to figure out the default padding and margin values as I'm seeing some weird layout differences between tvdpi and xhdpi. -- -- You received this message because you are subscribed to the Google Gr

[android-developers] Re: Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Jonathan S
Okay, I fixed this. signingConfigs { myConfig { storeFile file(signingStoreLocation) storePassword signingStorePassword keyAlias signingKeyAlias keyPassword signingKeyPassword } } buildTypes { release { si

[android-developers] Re: java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

2013-03-01 Thread Tarak
Even i have the same issue. Were you able to fix this? Thanks, Tarak On Tuesday, April 12, 2011 11:56:37 PM UTC-7, Rashmi wrote: > > I have tried with simple string with out giving UTF-8 format. > > byte[] bts = encrypted.getBytes(); > byte[] decrypted = cipher.doFinal(bts); > > Then also it w

[android-developers] Re: Hearing Aid

2013-03-01 Thread Indicator Veritatis
Well, of course you are right. The only right way to proceed is to give up on the whole idea of using an Android phone as a hearing aid. But you know how it is: the OP may have been hired specifically to do such a thing, and not be at liberty to say, "no, it is a bad idea". On Thursday, Februar

[android-developers] Re: Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Jonathan S
http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations I see string values On Friday, March 1, 2013 6:53:19 AM UTC-5, Daniel Rindt wrote: > > Hello, > > using the builder version 0.3 and try to sign my app. Those values are > present in ~/.gradle/gradle.proper

Re: [android-developers] ARM EABI v7a System Image

2013-03-01 Thread TreKing
On Fri, Mar 1, 2013 at 2:03 PM, bob wrote: > I'm wondering exactly what is in that package. > http://justfuckinggoogleit.com/ Hope that helps. - TreKing

[android-developers] ARM EABI v7a System Image

2013-03-01 Thread bob
Can someone help me understand what this update is: ARM EABI v7a System Image I'm wondering exactly what is in that package. Thanks. -- -- You received this message because you are

Re: [android-developers] Re: Obfuscating code

2013-03-01 Thread Kristopher Micinski
I think you took my answer to be dismissive of yours, or to try to discourage people trying to learn about piracy. I find it kind of strange you took it that way, since I was trying to say you were right :-) To clarify, the whole point of my post is that piracy is a cost / benefit trade off. It'

Re: [android-developers] Re: Obfuscating code

2013-03-01 Thread Nobu Games
Here we go again. Senior Android developers being irritated about people discussing anti-piracy. As if it were totally insane and offensive to even try. My suggestions are the possibilities given the circumstances. I do know that they do not make your app bullet-proof and I also mentioned that

Re: [android-developers] USB host

2013-03-01 Thread Marta Ribeiro
Ok obrigada ;) farei isso. On Friday, March 1, 2013 5:23:53 PM UTC, mbarbiero wrote: > > Sou brasileiro... > > No nosso grupo de desenvolvedores o pessoal que mais entende de USB é o > que usa Android para controlar o Arduino. Talvez seja melhor procurar uma > solução nos grupos do Arduino. > >

Re: [android-developers] Re: Obfuscating code

2013-03-01 Thread Kristopher Micinski
The common theme here is that these are all naming tricks. This helps to make your code hard to read for a human hacker, but doesn't do anything to prevent an attacker with a good static analysis framework. A static analysis framework can usually deobfuscate (turn these "nameless" classes into na

Re: [android-developers] Re: Obfuscating code

2013-03-01 Thread Kristopher Micinski
Really the *only* way to really protect against anti piracy is to perform mission critical operations on a server, at least some of the time, and enforce a good strategy to make sure that can't be cracked. Doing checks in native code can be circumvented, what makes you think they can't? Albeit, i

[android-developers] Re: Obfuscating code

2013-03-01 Thread Nobu Games
Unless your server provides something like downloadable content or functionality for your app I don't think you need to go through the trouble of implementing the license verification through your server. Doing it within your app is just fine, because either way a cracker can still look for the

Re: [android-developers] USB host

2013-03-01 Thread mbarbiero
Sou brasileiro... No nosso grupo de desenvolvedores o pessoal que mais entende de USB é o que usa Android para controlar o Arduino. Talvez seja melhor procurar uma solução nos grupos do Arduino. Marco Em sexta-feira, 1 de março de 2013 08h48min14s UTC-3, Marta Ribeiro escreveu: > > Yes yes, th

Re: [android-developers] Re: DatePicker

2013-03-01 Thread bob
I'm having some trouble getting that to work. Can you help me understand this error? On Friday, March 1, 2013 6:01:51 AM UTC-6, Sudheer wrote: > > Try this: > https://code.google

[android-developers] Re: Obfuscating code

2013-03-01 Thread dashman
Thank you for some excellent suggestions. I've watched that google i/o a few times. i problem is actually doing it. e.g. just looking at the NDK and wish they had a sample to read the package info etc. offloading app logic to server is a great idea - but my app is designed to work while off-line

[android-developers] Re: Obfuscating code

2013-03-01 Thread Nobu Games
You could obfuscate these strings you're using in the reflection calls. This makes it a bit harder to find them literally. However someone still could look for occurrences of uses of reflection and figure out these things. A great source of information about protecting your app is this Google I

Re: [android-developers] Obfuscating code

2013-03-01 Thread dashman
Mark, I think you should write a toolkit to protect Android apps. Looks like it has to be done in native code - an app along with a how-to documentation -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Obfuscating code

2013-03-01 Thread Mark Murphy
On Fri, Mar 1, 2013 at 10:22 AM, dashman wrote: > but if the code is decompiled, will the decompiler be able to assign xxx to > a PackageManager variable. Yes, the person reading the decompiled code will see that what you refer to as xxx is a PackageManager. The name xxx is obscured, but not its

[android-developers] Re: remove blue strip below Tab with actionbar

2013-03-01 Thread bob
Maybe call this function in the ActionBar class? abstract void setCustomView (View view) Set the action bar into custom na

[android-developers] Obfuscating code

2013-03-01 Thread dashman
So I'm trying to obfuscate my code I'm using reflection to get the package name. i also plan to use proguard. i understand variables xxx and yyy will be abfuscated by proguard. android.content.pm.PackageManager xxx= (android.content.pm.PackageManager)yyy.invoke( context ); but if

[android-developers] Re: ArrayAdapter Vs BaseAdapter.

2013-03-01 Thread bob
I would just write your own class that implements the ListAdapter interface. It is not too bad, and I think it would be a good learning experience. On Thursday, February 28, 2013 11:50:24 PM UTC-6, Seshu wrote: > > Hi All, > I want to show some students information i.e. id, name,

[android-developers] remove blue strip below Tab with actionbar

2013-03-01 Thread sree android
Hi friends . see the above attachment image.in that i implemented actionbar with tabs.but i need to remove blue strip of below tab and i need to adjust padding of tabs. i tried this,but i did not get result.can you please give me how can i do it.it is urgent for my requirement. Thanks in advance.

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-03-01 Thread RichardC
See Publishing Multiple APKs with Different Filters (last section) in: http://developer.android.com/google/play/filters.html#MultiApks On Friday, March 1, 2013 9:53:21 AM UTC, Darren McEntee wrote: > > Thanks for the replies guys. > Richard, can you confirm that if I made changes to the app that w

[android-developers] YouTube Video is not populating in list

2013-03-01 Thread Milind
Dear All, I am a beginner in Android and I have to develop an application that plays video from YouTube.com. I have playlist and some videos in it so I have to list these videos first. I populated playlists in my list view but I cannot extract videos list in playlist. It is giving me XML parsin

Re: [android-developers] Re: horizontal rule

2013-03-01 Thread vinay kumar
Why do you require the similar widget, could you please specify your requirement. If really you want to draw a horizontal line then Nobu's solution would be perfect for that. On Wed, Feb 27, 2013 at 9:29 PM, Nobu Games wrote: > You could use a plain "View", set a background image or color on th

Re: [android-developers] Re: DatePicker

2013-03-01 Thread Sudheer Bhat
Try this: https://code.google.com/p/android-dateslider/source/browse/trunk/android-dateslider/src/com/googlecode/android/widgets/DateSlider/MonthYearDateSlider.java Regards, Sudheer On Thu, Feb 28, 2013 at 8:40 PM, bob wrote: > I would say there are two viable options: > > > 1. Subclass DatePi

[android-developers] Edit Text

2013-03-01 Thread Arun Kumar K
Hi Guys, I have one problem in edit textif i enter the number in edit text i want to display like this 1234-5678-9102-3214 Constrain is Input Type="number" maximumlength="19" how can i do this one pls help me -- *Thanks & Regards* *K.Arun Kumar* -- -- You received this message because

[android-developers] Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Daniel Rindt
Hello, using the builder version 0.3 and try to sign my app. Those values are present in ~/.gradle/gradle.properties and worked fine in version 0.2. Here is my definition: apply plugin: 'android' def getCurrentVersionCodeOrBuildNumber() { ext.v = System.getenv().BUILD_NUMBER?.toInteger()

Re: [android-developers] USB host

2013-03-01 Thread Marta Ribeiro
Yes yes, that was one of the first things I checked. Portuguese. On Friday, March 1, 2013 11:20:06 AM UTC, mbarbiero wrote: > > You tried the process shown in > http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices > ? > > One question more.. are you brazilian or portu

Re: [android-developers] USB host

2013-03-01 Thread mbarbiero
You tried the process shown in http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices? One question more.. are you brazilian or portuguese? -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

Re: [android-developers] USB host

2013-03-01 Thread Marta Ribeiro
Thank you that was exactly the problem. I tried a different sensor today and it worked. The purposed of the microstrain was for a project, but i'll use a different approach. Thank you! On Friday, March 1, 2013 8:24:14 AM UTC, al wrote: > > Yes, it may be. That indicates that the hardware (adapt

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-03-01 Thread Darren McEntee
Thanks for the replies guys. Richard, can you confirm that if I made changes to the app that would prevent it from being available to older devices (say i changed the minSDK from 2.1 (API 7) to 3.0 (API 11), users with those older devices stop getting updates to the newer app version, but is the

[android-developers] Re: How to hide my widget from the Widgets list.....?

2013-03-01 Thread futurexiong
AppWidgetProvider is also a BroadcastReceiver,and I think you also can enable or disable it through your code.But I don't know whether it would work because I don't see AppWidgetService.java parse the "enabled" attribute and how it deals with that attribute.Get a try.Hope that can help you. 在

Re: [android-developers] USB host

2013-03-01 Thread al
Yes, it may be. That indicates that the hardware (adapter etc.) is ok and thus the device is recognized on the "linux"/os level but it's not made visible on the level of the android USB-Host api (it's the same e.g. with usb mice etc.). It may be that android tries to use it as some standard rs2

[android-developers] Re: ListView background

2013-03-01 Thread Tamilarasi Sivaraj
Hi bob, Try this: Add a attribute on the ** Tag *android:cacheColorHint="#" *// setting as a transparent color Regards Android developer Trinay Technology Solutions www.trinaytech.com 5705750475 On Friday, March 1, 2013 1:48:59 AM UTC+5:30, bob wrote: > > When I'm scrolling my white L