Re: [android-developers] android lazarus based pascal dev on windows

2012-03-23 Thread Todd Grigsby
Delphi XE2 has some cross-platform capabilities. Check it out on Emarcaderos web site. I'm not sure Lazarus has that capability, On Feb 21, 2012 3:03 PM, "Siva" wrote: > Hi all ... > > I would like to know if any of you guys have worked on app dev with > pascal ..?? Please share it here... > >

[android-developers] usbReqest.queue not returning requested number of bytes

2012-03-23 Thread bsnguy
I have a USB device that I know is functional as it works under other operating systems with drivers I've written. In its test mode, it simply keeps the USB pipe full at the device end, transferring data as fast as possible over the USB. At the receive end (my Galaxy Nexus with ICS 4.0.2) I am doin

Re: [android-developers] Re: Programmatically disable 3G/Mobile Data

2012-03-23 Thread Jagruti Sangani
Hello Jose_GD.like you have made 3G inaccesible,can we made the application will made support the 3G or internet? On Fri, Mar 23, 2012 at 7:36 PM, Jose_GD wrote: > I have an app in my phone called APNDroid that solves this, although with > a hack: it renames the APN address, that way 3G is inacc

Re: [android-developers] Save the whole Intent and context at somewhere

2012-03-23 Thread Jagruti Sangani
My problem is that when the application go in background running and call arrive then that application cant handle the call in front. On Sat, Mar 24, 2012 at 2:43 AM, TreKing wrote: > Your question makes little sense and is hard to read. Please read this: > http://www.catb.org/~esr/faqs/smart-qu

[android-developers] Re: How to change default HIPRI connection expiry?

2012-03-23 Thread San
Hey flumby, Did you get any solution? I am also facing the same issue... San On Mar 2, 11:08 pm, flumby wrote: > Has anyone played with TYPE_MOBILE_HIPRI? Is there a way to set the > RestoreDefaultNetworkDelay or any other way to increase the duration > of HIPRI connection? > > On Feb 29, 5:55 

Re: [android-developers] Re: Custom Dialog for Force Closed Android

2012-03-23 Thread Vivek Khandelwal
I already Integrated my Application with ARCA. For there is no problem in getting the Crash Report. My Application organisation is in this way. Home Activity with Dashboard. When any Item in dashBoard selected he will go to next Activity (Each Item in dashboard has different Activity) For examp

[android-developers] Re: Custom Dialog for Force Closed Android

2012-03-23 Thread mcterry
Can you show some examples of your Activities (we don't need the logic, just need to see the organization). Also, where have you implemented the uncaught exception class? Where were you trying to use the Looper at? Let me know how I can help! :) www.sep.com/mcterry On Thursday, March 22, 201

[android-developers] Re: is not onActivityResult called when the process is killed?

2012-03-23 Thread Tac
> If your app is "kill", where you process is completely brought down, you > will not go back to B, you will start back at A, from scratch. The log in this case is below: D/A(15466): -- onPause -- D/A(15466): -- onStop -- ... D/B(15466): -- onPause -- D/B(15466): -- onStop -- ... I/ActivityManage

[android-developers] Google Wallet == Google Play In-App Service?

2012-03-23 Thread Danny Favela
Hi, Android peoples. I'm adding in-app payments to my app and was looking at Google Wallet. The tutorial seemed better suited for adding Google Wallet to a website, so I sought out a tutorial having to do with Android apps specifically. The

Re: [android-developers] Re: Applications no longer working after SDK17 upgrade

2012-03-23 Thread Xavier Ducrohet
If you copy it in the libs folder of the library project this should be enough to have it available to all app projects. On Fri, Mar 23, 2012 at 2:05 PM, adev wrote: > After further investigtation, this is the error I am getting. > > android.view.InflateException: Binary XML file line #125: Erro

Re: [android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread Dianne Hackborn
On Fri, Mar 23, 2012 at 2:51 PM, dmv wrote: > Yes, but the audio focus request can be turned down by the system or > may be unsuccessful due to other reasons. > That's a feature. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me,

Re: [android-developers] View.setEnabled() Deprecated?

2012-03-23 Thread Tor Norbye
The deprecated warnings for attributes in XML in Lint is driven off of the deprecation flags in R.attr: http://developer.android.com/reference/android/R.attr.html#enabled "This constant is deprecated." I guess we need to do some more filtering? This is tracked in issue http://code.google.com/p/

Re: [android-developers] installing Play Store

2012-03-23 Thread bob
Well, it turns out the device can't do Flash anyway. I looked at the Build.CPU_ABI string, and it says "armeabi-v6". So, I guess it is ARM v6. I read you need ARM v7 to do Flash. On Friday, March 23, 2012 9:25:21 AM UTC-7, Mark Murphy (a Commons Guy) wrote: > > You mean, besides pirating the

[android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread dmv
Thanks for your reply. You are right about this behavior in normal users scenario. But this app is going to be used in tethered devices for dedicated audience. The audience may be doing their stuff on the device when our system will announce something. We don't want our audio announcement to go unh

[android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread dmv
Yes, but the audio focus request can be turned down by the system or may be unsuccessful due to other reasons. On Mar 23, 2:31 pm, Dianne Hackborn wrote: > The supported way to do with this scenario is by requesting audio focus: > > http://developer.android.com/reference/android/media/AudioManage

Re: [android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread Jim Graham
On Fri, Mar 23, 2012 at 01:54:52PM -0700, Chris Stratton wrote: > Presumably your sound can be as loud as any sound any other SDK application > is producing. Do you have to play an intelligible sound file, or might it > be enough to mix in enough "klaxon" or "buzzer" of various sorts that the >

Re: [android-developers] Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread Dianne Hackborn
The supported way to do with this scenario is by requesting audio focus: http://developer.android.com/reference/android/media/AudioManager.html#requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, int, int) On Fri, Mar 23, 2012 at 12:09 PM, dharmveer wrote: > I am tryingto b

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread Chris Stratton
On Friday, March 23, 2012 2:50:13 PM UTC-4, Kostya Vasilyev wrote: > > Perhaps a better test would be to check for undocumented APIs that are > known to have disappeared in a particular Andorid version, but just > collecting the data for this type of checking is going to be a large task. > Stati

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Jim Graham
On Fri, Mar 23, 2012 at 02:35:35PM -0500, TreKing wrote: > On Fri, Mar 23, 2012 at 2:24 PM, Mark Murphy wrote: > https://groups.google.com/forum/?fromgroups#!forum/android-for-beginners > > I help out on that list as well, along with a few others. Much less traffic > so much easier to get answers

Re: [android-developers] Save the whole Intent and context at somewhere

2012-03-23 Thread TreKing
Your question makes little sense and is hard to read. Please read this: http://www.catb.org/~esr/faqs/smart-questions.html and use some paragraphs to organize your thoughts. - TreKing

[android-developers] webview cookie sometimes null

2012-03-23 Thread emada.adame
I have an app that is trying to log into a site and get the cookie then show me the cookie in a toast but most of the time it fails to get the cookie, is there some timeout issue here or something im hitting? here is my code public void showPage(){ try{ String server = settings.get

[android-developers] Re: Applications no longer working after SDK17 upgrade

2012-03-23 Thread adev
After further investigtation, this is the error I am getting. android.view.InflateException: Binary XML file line #125: Error inflating class com.google.ads.AdView I had to copy the jar file into /libs on my project. I actually have 3 apps with a lib of shared code. I had to copy the jar into /l

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
Hello again. I will add myself to that list and see if i could create a topic this popular ;) And i never reflect that this issue did not belong here, now i know better. By the way, i changed the code to t = r.nextInt(i+1); it seems that it solved my issue. On 23 mar, 20:35, TreKing wrote: > O

[android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread Chris Stratton
Presumably your sound can be as loud as any sound any other SDK application is producing. Do you have to play an intelligible sound file, or might it be enough to mix in enough "klaxon" or "buzzer" of various sorts that the user realizes *something* atypical is happening, picks up the device, a

[android-developers] Re: SMS with name

2012-03-23 Thread Ali Chousein
Yes it is possible. After you have the name, search the contacts to see if you have such a name. If yes, you can query the phone number and send the SMS to this phone number. You need to study and understant the ContactsContract interface: http://developer.android.com/reference/android/provider/Con

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread exiquio
Fair enough. Looks like my little plan is dead in the water unless I try something as daunting as what Kostya suggested. -1 on my ego +1 on my learning This has been educational in more ways than one. Thanks. On Friday, March 23, 2012 2:31:56 PM UTC-6, Dianne Hackborn wrote: > > The platform n

[android-developers] Re: Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread barrett
think about what that means from the SDK perspective, like if you were a Google Product manager and this was enabled. now, imagine that the fart app did this and there was a bug where control of the audio wasn't being released properly? Now, imagine what your reaction would be if you were affecte

Re: [android-developers] which is best Handler or Timer ?

2012-03-23 Thread Dianne Hackborn
Handler. Just don't use Timer, Handler is the Android-centric mechanism. On Thu, Mar 22, 2012 at 10:53 PM, Perumss Naren wrote: > Hi , > > which way is best in performance is Handler or timer i need > to update textview as timer every second need to update time so which one > will

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread Dianne Hackborn
The platform never looks at maxSdkVersion. The entire concept of maxSdkVersion is broken as shown by what you are trying to do -- having your apps suddenly not work when you get a platform update just because they have declared a maxSdkVersion in their manifest is a horrible user experience. This

Re: [android-developers] Writting in Databases

2012-03-23 Thread Marwa Abayed
thanks Mark :) 2012/3/23 Mark Murphy > Build an app that holds the WRITE_SECURE_SETTINGS permission and uses > the Settings.Secure content provider. Then, either sign that app with > the same signing key as for your custom firmware or deploy that app as > a system app on your rooted device. > >

[android-developers] Re: Need help fine tuning gmail like ListView.

2012-03-23 Thread Steve Garon
Thanks all. I have everything I need to fix my problem. I'll read more on the TouchDelegate since it seems to be the proper way to do it but might end up using an onclick on my linear layout. There was also a good solution on the google plus post suggested by Nikolay: (It's mostly equivalent to

Re: [android-developers] qr code application

2012-03-23 Thread Kristopher Micinski
Agreed, Just use the intents zxing provides. There's already way too many stale and rotting copies of zxing libs on people's devices these days, we don't need more... kris On Fri, Mar 23, 2012 at 3:01 PM, hooman os wrote: > You do not have to modify ZXing application and make your own scanner

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 2:24 PM, Mark Murphy wrote: > I seem to recall some others elected to create their own "beginners" > list, but I do not remember any details. > https://groups.google.com/forum/?fromgroups#!forum/android-for-beginners I help out on that list as well, along with a few othe

Re: [android-developers] is not onActivityResult called when the process is killed?

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 10:24 AM, Tac wrote: > When B is suspended by any reason and the process is killed > by the OS, and came back to B, I call B.finish() but > A.onActivityResult() is not called. > If your app is "suspended", where you need to save and restore state, then you should get bac

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Kristopher Micinski
In itself, I'm not sure it's so productive anyway, without any incentive for gain these lists probably won't attract too many knowledgeable people because they won't be excited by the more interesting questions you see (though I guess this list doesn't see too many 'interesting' questions either..)

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Mark Murphy
On Fri, Mar 23, 2012 at 3:16 PM, Kristopher Micinski wrote: > I think there's also an android-beginners list out > there somewhere, but I'm not sure if this question would be > appropriate there either.. The official android-beginners list was discontinued a couple of years ago in favor of StackO

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Kristopher Micinski
On Fri, Mar 23, 2012 at 2:59 PM, Kristoffer wrote: > Okey, person number two complaining about my post, its time to take it > elsewhere. > > Thanks anyway for trying to help me. > It's not that your questions are completely horrible. But this list is for development with the Android SDK. Your p

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread exiquio
I should have taken a lot more time to both think about the problem and to explain it. My apologies. >> An app with targetSdk set to 4 should run on API 15, Android 4.0.3, and hopefully beyond (or may not, although this should be very rare). An app with targetSdk set to 15 most likely will run

Re: [android-developers] which is best Handler or Timer ?

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 12:53 AM, Perumss Naren wrote: > which way is best in performance is Handler or timer i need to update > textview as timer every second need to update time so which one will be > best please tell the reason. because i need the reason thanks in advance For a resolution o

[android-developers] Can an Android app have exclusive access to the audio h/w?

2012-03-23 Thread dharmveer
I am tryingto build an app that will alert the user in case of an emergency by playing an audio file. To override situations where the user may be playing loud music and the emergency announcement may not be heard by the user (due to sharing of audio h/w with multiple apps), can I get exclusive acc

Re: [android-developers] qr code application

2012-03-23 Thread hooman os
You do not have to modify ZXing application and make your own scanner (or generator). You can install their app on your phone and use intents from your app. ZXing will take care of scanning or generating and will return you the result. You can go to Wiki in their project page and find more details

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
Okey, person number two complaining about my post, its time to take it elsewhere. Thanks anyway for trying to help me. On 23 mar, 19:28, Kristopher Micinski wrote: > Oh, right, okay... > > Well the line where you're doing the assigning makes no sense, as we > don't know what size is...  In gener

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread Kostya Vasilyev
But what does the targetSdk have to do with the stated goal? >> present them with a clear picture of what should and should not run on their device in the event that they update to a newer build of Android << An app with targetSdk set to 4 should run on API 15, Android 4.0.3, and hopefully be

Re: [android-developers] Mobile to Mobile remote access

2012-03-23 Thread Kristopher Micinski
My presumption is that it's something like remote desktop for Android... kris On Fri, Mar 23, 2012 at 2:38 PM, James Black wrote: > What are you trying to do? For example, do you want to remotely see what the > camera does or make phone calls? > Remotely controlling seems like turning a phone in

Re: [android-developers] Mobile to Mobile remote access

2012-03-23 Thread James Black
What are you trying to do? For example, do you want to remotely see what the camera does or make phone calls? Remotely controlling seems like turning a phone into a zombie, but for controlling a robot this could be useful. More detail may help with better answers. On Mar 23, 2012 3:04 AM, "MadihaKh

Re: [android-developers] how to add new tab

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 12:31 PM, Faheem Ansari wrote: > hello everyone i am making a tabbed browser in android > now iwant when the user clicks a button a new tab will open just like > mozilla or dolphin can anybody tell me the concept how to do this.. You just told us the concept

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread Chris Stratton
Oh, sorry, didn't see that the specific information you need is part of what is available from stable APIs. On Friday, March 23, 2012 2:26:44 PM UTC-4, Chris Stratton wrote: > > On Thursday, March 22, 2012 10:55:00 PM UTC-4, exiquio wrote: >> >> My intent is to write and app that pulls the target

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Kristopher Micinski
Oh, right, okay... Well the line where you're doing the assigning makes no sense, as we don't know what size is... In general this is a topic better suited a Java forum, not the Android list, since there's nothing specific to the SDK in here... kris On Fri, Mar 23, 2012 at 2:23 PM, Kristoffer

Re: [android-developers] Get an app's api level programmatically

2012-03-23 Thread Chris Stratton
On Thursday, March 22, 2012 10:55:00 PM UTC-4, exiquio wrote: > > My intent is to write and app that pulls the targetSdkVersion from all of > a user's installed apps in order to present them with a clear picture of > what should and should not run on their device in the event that they > update

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
Hello. This is the basic code of a memory game, cards = new int [COL_COUNT] [ROW_COUNT]; with my first code then the problem was that one card always where at the same place, and as you noticed with the "fix" then the code does throw IllegalArgumentException On 23 mar, 19:08, a1 wrote: > > Tha

Re: [android-developers] Mobile to Mobile remote access

2012-03-23 Thread Chris Stratton
On Friday, March 23, 2012 6:45:37 AM UTC-4, Mark Murphy (a Commons Guy) wrote: > > This is not possible via the Android SDK at this time. > > On Thu, Mar 22, 2012 at 3:50 PM, MadihaKhalid wrote: > > i just want to know that how i could develop an android application who > give > > remote access t

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Kristopher Micinski
Rather, I would assume that what is happening is that you are trying to take an arrarylist, and index it like: a[row][col] It doesn't work like that. This isn't c. Instead, you have to do sometihng like a[row*num_columns + col] = num when you assign to it. kris On Fri, Mar 23, 2012 at 2:08

[android-developers] Re: Random() gives same result

2012-03-23 Thread a1
> Thanks for pointing that out for me. > This is wrong of course: r.nextInt(0) will throw IllegalArgumentException. First of all try to remove try/catch block - you are suppressing all errors that way and none of the function that you are calling inside it should throw. My guess is that you

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
I now tryed that and it gave me a java.lang.illegalArgumentException when it tryes to add cards[0][0] something more to the code? On 23 mar, 16:12, Kristopher Micinski wrote: >                        if(i>0){ >                                t = r.nextInt(i); >                        } > > should

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
Thanks for pointing that out for me. On 23 mar, 16:12, Kristopher Micinski wrote: >                        if(i>0){ >                                t = r.nextInt(i); >                        } > > should be > >                        if(i>=0){ >                                t = r.nextInt(i); >

Re: [android-developers] New Windows Install <- AdMob Errors

2012-03-23 Thread Matt Clark
Ah!!! Thanks so much! Worked perfectly! On Friday, March 23, 2012 12:41:05 PM UTC-4, Mark Murphy (a Commons Guy) wrote: > > If you are now on the R17 version of the tools, try: > > https://plus.google.com/u/0/​109385828142935151413/posts/​RL91VJd1yti

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 10:08 AM, Kristoffer wrote: > Even if this is not Android at least iam using it in a android application > ;) > Far too many people here make this assumption. "I can't parse XML in my app, how do I do that?" "How do I connect my app to a web service?" "I need help with

[android-developers] Re: icecream emulator can't play video

2012-03-23 Thread extrapedestrian
can anyone try to play some video i icecream sandwich emulator? On Tuesday, March 20, 2012 4:16:04 PM UTC+1, extrapedestrian wrote: > > Im trying to play any kind of video on 4.0 emulator, but I always get > error: > > W/GraphicBufferAllocator( 36): alloc(352, 288, 842094169, 2930, ...) >

Re: [android-developers] New Windows Install <- AdMob Errors

2012-03-23 Thread Mark Murphy
If you are now on the R17 version of the tools, try: https://plus.google.com/u/0/109385828142935151413/posts/RL91VJd1yti On Fri, Mar 23, 2012 at 12:35 PM, Matt Clark wrote: > I just had to reformat my install of windows, but was lucky enough to be > able to save all of my apps, however, whenever

[android-developers] New Windows Install <- AdMob Errors

2012-03-23 Thread Matt Clark
I just had to reformat my install of windows, but was lucky enough to be able to save all of my apps, however, whenever i try and build them now, i get the following error: 03-23 16:31:44.668: E/AndroidRuntime(918): java.lang.NoClassDefFoundError: com.google.ads.AdRequest I fixed all of the pa

Re: [android-developers] installing Play Store

2012-03-23 Thread Mark Murphy
You mean, besides pirating the software? On Fri, Mar 23, 2012 at 12:14 PM, bob wrote: > Maybe. > > As a more general approach, what about downloading the APK on my phone > (which has Play Store), doing a Move to SD Card, going in File Explorer and > getting the pkg.apk file from the /mnt/asec sub

Re: [android-developers] installing Play Store

2012-03-23 Thread bob
Maybe. As a more general approach, what about downloading the APK on my phone (which has Play Store), doing a Move to SD Card, going in File Explorer and getting the pkg.apk file from the /mnt/asec subdir? Then I can connect my other device and do adb install pkg.apk Is there anything wrong

[android-developers] Re: onActivityResult not being called

2012-03-23 Thread Joey Selah
Thanks Matt! The resultCode == 0 is nothing really, I just quickly threw it in so I could set a breakpoint to test that the event handler was being called and the breakpoint isn't hitting. but I'll definitely be changing resultCode after it hits. So correct me if I'm wrong, if I set the launch m

Re: [android-developers] Re: Android Project development cost

2012-03-23 Thread Kristopher Micinski
Almost, this group is moderated for first time posts, and no longer, and even then not to a super high degree... Given the volume of mail this list sees, that would be quite a chore. Probably 100+ threads a day, each accumulating 2-6 replies... kris On Fri, Mar 23, 2012 at 11:45 AM, Jim Graham

Re: [android-developers] Re: Custom Dialog for Force Closed Android

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 5:43 AM, Vivek Khandelwal < vivek.b.khandel...@gmail.com> wrote: > Most of the Crash will be tried to solve but then and there. > > ARCA helps me to show a Toast or a Dialog but that Kills my Application > after that. (But it can be used for Reporting) > > I dont want my Ap

Re: [android-developers] Re: Android Project development cost

2012-03-23 Thread Jim Graham
On Fri, Mar 23, 2012 at 10:13:28AM +0530, Anirudh Loya wrote: > If this group is not for those purpose then why did the Admin allowed Post > it? > > He should have barred it before posting only. That probably has something to do with the fact that this list is NOT MODERATED. Yeah, that might hav

[android-developers] Re: Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Soyer
hmm ok i will try these suggestions out, thanks a lot :) On Mar 23, 7:21 pm, Kostya Vasilyev wrote: > Or edit the standard driver's .inf file, entering the UPnP ids for your > device... > > Which is not any different from entering them in the udev rules file on > Linux... > > 23.03.2012 19:14, Ma

[android-developers] is not onActivityResult called when the process is killed?

2012-03-23 Thread Tac
Hi, all It has a main activity (A) and another activit (B) and B is called from A by startActivityForResult(). When B is suspended by any reason and the process is killed by the OS, and came back to B, I call B.finish() but A.onActivityResult() is not called. is this behavior as the specificati

Re: [android-developers] Re: Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Kostya Vasilyev
Or edit the standard driver's .inf file, entering the UPnP ids for your device... Which is not any different from entering them in the udev rules file on Linux... 23.03.2012 19:14, Mark Murphy пишет: Contact your device manufacturer for assistance, I guess. Or, move to OS X or Linux and awa

Re: [android-developers] Re: Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Mark Murphy
Contact your device manufacturer for assistance, I guess. Or, move to OS X or Linux and away from Windows. :-) On Fri, Mar 23, 2012 at 11:13 AM, Soyer wrote: > Hello Mark, i found that the issue wasn't with uninstalled driver, the > driver is installed (Using: Android SDK Manger) but once i want

[android-developers] Re: Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Soyer
Hello Mark, i found that the issue wasn't with uninstalled driver, the driver is installed (Using: Android SDK Manger) but once i want to update it, it says that the Windows could not find driver software for your device. the drivers i have in the folder are: i386 and amd64 On Mar 23, 5:20 pm,

Re: [android-developers] Re: Random() gives same result

2012-03-23 Thread Kristopher Micinski
if(i>0){ t = r.nextInt(i); } should be if(i>=0){ t = r.nextInt(i); } On Fri, Mar 23, 2012 at 11:08 AM, Kristoffer wrote: > Even if this is no

[android-developers] Re: Random() gives same result

2012-03-23 Thread Kristoffer
Even if this is not Android at least iam using it in a android application ;) It seems that you know what you are talking about, do you have the time to point me in the right direction here, is it possible to solve in the way my code works? On 23 mar, 15:51, Mark Murphy wrote: > This has nothin

Re: [android-developers] Random() gives same result

2012-03-23 Thread Mark Murphy
This has nothing to do with Android. You are not requesting a random number when i==0. On Fri, Mar 23, 2012 at 10:48 AM, Kristoffer wrote: > Hello. > > Iam having a problem with the Random() > > everything gets random except for cards[0][0] that always ends up with > = 5 > > here is the code that

[android-developers] Random() gives same result

2012-03-23 Thread Kristoffer
Hello. Iam having a problem with the Random() everything gets random except for cards[0][0] that always ends up with = 5 here is the code that i use, anyone have a solution? in the code ROW_COUNT = 3 and COL_COUNT = 4 private void loadCards(){ try{ int size = ROW

[android-developers] Re: Programmatically disable 3G/Mobile Data

2012-03-23 Thread Jose_GD
I have an app in my phone called APNDroid that solves this, although with a hack: it renames the APN address, that way 3G is inaccesible HTH José El jueves 22 de marzo de 2012 00:04:52 UTC-3, Hamza escribió: > > Hi! > > I am trying to develop an application that smartly manages wifi vs 3g for

[android-developers] Re: Need help fine tuning gmail like ListView.

2012-03-23 Thread Nadeem Hasan
The above should work for you very well. Also, consider using RelativeLayout instead of the deeply nested layout that you have. -- 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@googleg

[android-developers] Is it possible to change CheckBox style in Webview?

2012-03-23 Thread ebtrox
Hi! I have a problem that concerns checkboxes in a webview, or in fact *input type="checkbox"* in HTML. The problem is that all the checkboxes in the other activites have a black background and a light marker. In my webview all the checkboxes have white background and a light green marker, whi

Re: [android-developers] capacitive stylus?

2012-03-23 Thread Olemis Lang
On Fri, Mar 23, 2012 at 8:27 AM, bob wrote: > > I have an Android tablet that is a capacitive touch screen.  In order to do > anything on it, I have to press *really* *really* hard on the screen, and a > lot of times it still doesn't do what I want.  Is there any way to make it > easier to use thi

[android-developers] Applications no longer working after SDK17 upgrade

2012-03-23 Thread adev
I just upgraded to version 17 of the SDK (from 16). I have made no changes to my code. I am able to rebuild all my source code with no errors, however when I attempt to run the code, I get the following messages: Launch timeout has expired, giving up wake lock! Activity idle timeout for HistoryRec

[android-developers] Unable to run Basic Hello World android program

2012-03-23 Thread Souvik Chowdhury
Hi Experts, I am new to Android development.I have installed ADK -4(API - 15) in Eclipse.And from the net I have created a basic program of Hello World. But when I am running the application only the AVD is coming but no output is coming.So when I tried to diagnose the problem it is saying like

[android-developers] Re: Requires Android in GooglePlay

2012-03-23 Thread Al Amin
Hello,        update your application android-mainfest.xml  file: with api-level: your desire  api level. recompile upload to market. hope all ok. Thanks. On Mar 23, 6:03 pm, BearTi wrote: > Hi, > > a  few weeks ago I published my own app on google play. > On the right site (in "about this

Re: [android-developers] Need help fine tuning gmail like ListView.

2012-03-23 Thread Nikolay Elenkov
2012/3/23 Kostya Vasilyev > > I've run into the same task with my current app. Especially true if you consider the different checkbox sizes on various platform versions. > > What I ended up with is a custom layout class at the top level of my item layout that does its own event tracking. > > Ther

[android-developers] Trying to detect is bluetooth headset is paired so I can know to route audio to it (using SCO)

2012-03-23 Thread RedBullet
So, I have an app which currently has a setting to enable/disable SCO routing. Is there a way for me to detect if there is a Bluetooth Headset paired (I can enumerate through the BT devices OK), and get any information on it? Like does it support SCO? -- You received this message because you

[android-developers] Re: Need help fine tuning gmail like ListView.

2012-03-23 Thread mcterry
A relatively simple approach is to add an "onClick" to the LinearLayout that wraps both the ImageView and the CheckBox that you have. This makes it so that when you touch anything around that area, you are triggering your "onClick" method. In your Activity, you should have your onClick method si

Re: [android-developers] capacitive stylus?

2012-03-23 Thread Mark Murphy
On Fri, Mar 23, 2012 at 9:27 AM, bob wrote: > I have an Android tablet that is a capacitive touch screen.  In order to do > anything on it, I have to press *really* *really* hard on the screen, and a > lot of times it still doesn't do what I want. That sounds like a resistive touchscreen, not a c

[android-developers] capacitive stylus?

2012-03-23 Thread bob
I have an Android tablet that is a capacitive touch screen. In order to do anything on it, I have to press *really* *really* hard on the screen, and a lot of times it still doesn't do what I want. Is there any way to make it easier to use this device? I heard of something called a capacitiv

Re: [android-developers] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Mohamed Gougam
Thanks a lot. :) On Fri, Mar 23, 2012 at 5:03 PM, Mark Murphy wrote: > http://developer.android.com/sdk/oem-usb.html > > On Fri, Mar 23, 2012 at 8:54 AM, Soyer wrote: > > Hello there, > > > > > > Does anyone knows from where can i download the driver to use the USB > > Debugging ? > > > > > >

Re: [android-developers] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Mark Murphy
http://developer.android.com/sdk/oem-usb.html On Fri, Mar 23, 2012 at 8:54 AM, Soyer wrote: > Hello there, > > > Does anyone knows from where can i download the driver to use the USB > Debugging ? > > > > > Thanks. > > -- > You received this message because you are subscribed to the Google > Grou

[android-developers] Re: Requires Android in GooglePlay

2012-03-23 Thread BearTi
Ahh ... thanks! :) On 23 Mrz., 13:52, JP wrote: > That would be the uses-sdk part of the > Manifesthttp://developer.android.com/guide/topics/manifest/uses-sdk-element.html > > On Mar 23, 5:03 am, BearTi wrote: > > > > > > > > > Hi, > > > a  few weeks ago I published my own app on google play. >

[android-developers] Hello everyone:), About USB Debugging driver.

2012-03-23 Thread Soyer
Hello there, Does anyone knows from where can i download the driver to use the USB Debugging ? Thanks. -- 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 unsubsc

[android-developers] Re: Requires Android in GooglePlay

2012-03-23 Thread JP
That would be the uses-sdk part of the Manifest http://developer.android.com/guide/topics/manifest/uses-sdk-element.html On Mar 23, 5:03 am, BearTi wrote: > Hi, > > a  few weeks ago I published my own app on google play. > On the right site (in "about this app") there stand "Requires Android: > 2

[android-developers] Requires Android in GooglePlay

2012-03-23 Thread BearTi
Hi, a few weeks ago I published my own app on google play. On the right site (in "about this app") there stand "Requires Android: 2.3.7 and up" ... Question: How can I change the Version? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Extending Android WebView

2012-03-23 Thread Ten_Ten_Steve
H I was getting ever closer to the same conclusion. I was hoping to find someone out there who could tell me otherwise. I have read about a developers recompiling the Webkit for android package after making some minor changes. However, information on this is very scarce. Regardless, thanks

[android-developers] Re: Change the theme in android

2012-03-23 Thread Juned Khan
setTheme(android.R.style.Theme_Dialog); -- 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...

[android-developers] ADT 17 build changes have broken IvyDE

2012-03-23 Thread fluxtah
We have been using IvyDE in eclipse as our dependency management system, now it seems since ADT17 an eclipse build will only pull dependencies from the libs folder and ignore any other libraries such as IvyDE libraries. Is anyone experiencing the same issue and is there a solution? I have a worka

Re: [android-developers] Mobile to Mobile remote access

2012-03-23 Thread Mark Murphy
This is not possible via the Android SDK at this time. On Thu, Mar 22, 2012 at 3:50 PM, MadihaKhalid wrote: > i just want to know that how i could develop an android application who give > remote access to other Android mobile. > > I just want to know the ways of implementing an application throu

Re: [android-developers] Extending Android WebView

2012-03-23 Thread Mark Murphy
onSavePassword() is not part of the Android SDK. You cannot override that method from an SDK application. On Thu, Mar 22, 2012 at 4:05 PM, Ten_Ten_Steve wrote: > I'd love some help with this. >  I want to write the class MyWebView extends WebView and override the > method: > > boolean onSavePassw

Re: [android-developers] Re: Custom Dialog for Force Closed Android

2012-03-23 Thread Vivek Khandelwal
Most of the Crash will be tried to solve but then and there. ARCA helps me to show a Toast or a Dialog but that Kills my Application after that. (But it can be used for Reporting) I dont want my Application to be killed. Is it Possible that My all Activity being started my another Looper not the

Re: [android-developers] Writting in Databases

2012-03-23 Thread Mark Murphy
Build an app that holds the WRITE_SECURE_SETTINGS permission and uses the Settings.Secure content provider. Then, either sign that app with the same signing key as for your custom firmware or deploy that app as a system app on your rooted device. On Fri, Mar 23, 2012 at 3:55 AM, marwa wrote: > Hi

  1   2   >