[android-developers] Force opening web URLs YouTube videos in Android phone's DEFAULT browser using Intent.

2012-03-23 Thread Shajahan
I am trying to launch browser with the specified URL. It works fine if it's web URL, but when the URL detected to be a video(say YouTube video) then it come up with choices to make between the browser YouTube App installed in the device. Instead of this how to force this behavior to have the URL

[android-developers] ids

2012-03-23 Thread poweraid
i am trying to build an ids system for android i have something and i wonder if i can send it to you have a look tell me your opinions and maybe what improvements i can do -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Proguard.cfg error won't go away on newest updates.

2012-03-23 Thread Darren McEntee
Ah thanks for this i had the same issue with the proguard.cfg after the latest tools update... Sorted now, cheers. :) On Monday, 19 December 2011 17:57:54 UTC, Kostya Vasilyev wrote: Have you tried selecting the error marker in the Problems view and pressing Delete? 19 декабря 2011 г. 21:54

[android-developers] How to handle unicode expression included in String

2012-03-23 Thread Jaden Pak
When I received RSS content from a News source, I found that there are some unicode expressions in the String. The format of expression is like #nn; Result announced #34;New products are ...#34; Because there is no problem like this from all other the news sources, I think this is not the

[android-developers] Issue with WebView on tablets

2012-03-23 Thread BoostHungry
I'm designing an application for tablets that utilizes a WebView in a fragment on half of the screen, but I am having issues with the WebView when videos attempt to play. Let me first state that the WebView is capable of displaying videos, hardware acceleration is on and the WebView has the

[android-developers] Re: E/dalvikvm: Could not find class 'xxx', referenced from method yyy

2012-03-23 Thread Billy
Have you made any progress on this? I am having the same issue with an external JACKSON library. Seems to be a show stopper for us. Is there a different way we need to include the libraries? On Friday, March 9, 2012 4:46:15 AM UTC-6, alex2k8 wrote: I have migrated to adt-17-preview

[android-developers] Extending Android WebView

2012-03-23 Thread Ten_Ten_Steve
I'd love some help with this. I want to write the class MyWebView extends WebView and override the method: boolean onSavePassword(String schemePlusHost, String username, String password, final Message resumeMsg){ ... } This method is responsible for asking the user if he/she would like the

[android-developers] Mobile to Mobile remote access

2012-03-23 Thread MadihaKhalid
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 through which I can access *Another Android device* including all the events that happens on the host device(just

[android-developers] Someone use GridLayout (ADT-17) in v7?

2012-03-23 Thread André Luiz R . Silva
Someone use GridLayout (ADT-17) in v7? Errors: [GridLayoutTest] ERROR: In declare-styleable GridLayout_Layout, unable to find attribute android:layout_marginEnd [GridLayoutTest] ERROR: In declare-styleable GridLayout_Layout, unable to find attribute android:layout_marginStart Use

[android-developers] Re: Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-23 Thread apen sela
I think you should try using id instead of layout. Like mNewDevicesArrayAdapter = new ArrayAdapterString(this, R.*Id*.textviewlayout); hope it works. :) On Thursday, 22 March 2012 10:31:16 UTC, Soyer wrote: 03-22 06:23:21.295: E/AndroidRuntime(1941): java.lang.IllegalStateException:

[android-developers] help help..!!

2012-03-23 Thread sona
the code for mobile ocr is available in google code , what is the mobile specification requirement is needed...?? can any one explain me the logic used for image processing in this project...?? thnx..// -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] OpenGL ES 2 support in emulator?

2012-03-23 Thread Andrew Demidenko
any news? On Saturday, May 21, 2011 3:22:53 AM UTC+6, David Turner wrote: On Fri, May 20, 2011 at 6:07 PM, Thomas thomasjakw...@gmail.com wrote: I'm wondering if Google has any plans to include OpenGL ES 2 support in the Android emulator at some point in the future? Yes, we're working

[android-developers] Camera issue with Motorola DROID RAZR When I recording the video

2012-03-23 Thread bharath
I have tested my application on various mobiles. My application main functionality is taking picture and recording video through camera. I didn't faced an issue on most of the mobiles. But I faced the issue on Motorola DROID RAZR. My application working fine when i taking the picture. But I facing

[android-developers] Re: Emulator errors in SDKControllerLib

2012-03-23 Thread Joe Banana
Go to Project Properties - Java Compiler and set compiler compliance level to 1.6 or 1.7 depending on the jdk Version you have installed. On 22 Mrz., 08:45, kingtut elzoha...@gmail.com wrote: I am trying to get the hardware emulationhttp://tools.android.com/tips/hardware-emulationworking with

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

2012-03-23 Thread Steve Garon
Hi Android developers, I really loved the new gmail list view interface and though I could use something similar for my app but ran into a bit of problem. The goal I'm trying to achieve is to have a ListView with checkboxes on each items that if I click the list view item it open the detail

[android-developers] SQLite error

2012-03-23 Thread khaja shaik
Hai Friends I am facing problems with sqlite database example. I am trying to add two columns dynamically it is adding to database when I was trying to add two more columns I am getting so many errors. I was declared all the fields where necessary in the code... The error is like content3 not

[android-developers] How to make that usbhid (generic-usb) doesnt handle a device

2012-03-23 Thread olivia mckenzy
Hi, i have a problem with a device, when i see what driver is handling it, it seems to be the generic-usb as an HID device, but i need to handle the device with a driver that i made, i'm running Android iCS, if someone could help it would be great, thanks in advanced. -- You received this

[android-developers] How to solve Voice Echo problem in Android??

2012-03-23 Thread VISAKH V J
I am currently using Android 2.3.3. I am developing an application for Android to Android voice communication. But the problem I faced is voice echo problem. It become very noisy within a short period of time. How can solve that issue?? I found some where that it is solved in the Android 4.0. Is

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

2012-03-23 Thread Jagruti Sangani
Hello All, I have flow like activity1-broadcastreceiver-Activity2- broadcastreceiver. I can go from A1-Broadcat and then go to A2.Now i also comeback the A2-broadcat.but the probelm is that when i comeback from A2-broadcat then the content of broadcat is not work like call end and accept all

Re: [android-developers] Android Library Project Changes

2012-03-23 Thread Harshad RJ
On Fri, Mar 23, 2012 at 10:33 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Library projects now (since ADT15?) produce a jar. Linked source folders are now longer used, so there is no code merging. Thanks Nikolay for confirming that. Don't refer to A.java directly. Put an

Re: [android-developers] SDK related

2012-03-23 Thread rambabu mareedu
you should have internet connection -- 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

Re: [android-developers] OpenGL ES 2 support in emulator?

2012-03-23 Thread Romain Guy
The emulator itself supports OpenGL ES 2.0 already with the -gpu flag, but it requires a system image with adequate drivers. There is no ETA at the moment. FWIW, I gave a demo of the emulator running with x86 and OpenGL ES 2.0 at the GDC in San Francisco a couple of weeks ago. On Thu, Mar 22,

Re: [android-developers] SDK related

2012-03-23 Thread Sunil K
:) I have yaar! On Fri, Mar 23, 2012 at 12:47 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: you should have internet connection -- 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] Writting in Databases

2012-03-23 Thread marwa
Hi , how can i write into settings.secure table ??? 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 unsubscribe from this group, send email to

[android-developers] Image /video Share on Facebook and Twitter

2012-03-23 Thread s.rawat
Hi , I have been working on this application to share a video/image on facebook on my wall and googled a code and modified this a bit.Here is the code : public class PicShareActivity extends Activity { private static final String FB_APP_ID = My=app-id-taken from facebook after registering my

Re: [android-developers] SDK related

2012-03-23 Thread hooman os
Try to launch the ask as administrator. Right click on the SDK and select run as admin On 22 Mar 2012 08:22, Sunil.K sunilchintu2...@gmail.com wrote: Hi, I am trying to download android sdk for my windows xp. Facing few problems which I am struck from past few months I have installed Eclipse,

Re: [android-developers] SDK related

2012-03-23 Thread hooman os
SDK not ask. Sorry about that On 22 Mar 2012 08:22, Sunil.K sunilchintu2...@gmail.com wrote: Hi, I am trying to download android sdk for my windows xp. Facing few problems which I am struck from past few months I have installed Eclipse, installer_r16-windows.exe (android sdk installer). when

Re: [android-developers] SDK related

2012-03-23 Thread Sunil K
Actually I was doing these stuff at office network, but I think some proxies were blocked or something at home I could able to do but with few error connection reset On Fri, Mar 23, 2012 at 1:47 PM, hooman os hoomi2...@gmail.com wrote: SDK not ask. Sorry about that On 22 Mar 2012 08:22,

[android-developers] Re: Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-23 Thread Soyer
Apen sorry i dint notice ur suggestion, no it's not about the name, hmm i think it's something wrong with the order of the blocks... On Mar 23, 12:35 am, Soyer mblack...@gmail.com wrote: Hello Justin, thanks for the reply... yes it is in that form,  extView newDevicesListView = (TextView)

Re: [android-developers] OpenGL ES 2 support in emulator?

2012-03-23 Thread Andrew Demidenko
Can you share this emulator image? On Friday, March 23, 2012 1:18:06 PM UTC+6, Romain Guy (Google) wrote: The emulator itself supports OpenGL ES 2.0 already with the -gpu flag, but it requires a system image with adequate drivers. There is no ETA at the moment. FWIW, I gave a demo of the

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

2012-03-23 Thread 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. 23.03.2012 11:05 пользователь Steve Garon

[android-developers] Re: SMS with name

2012-03-23 Thread vivek elangovan
Hi members, I am developing a SMS application whereas using sendSMS function i am able to do that. what i need to do is instead of sending msg with number i want to send that with name.is it possible ? -- You received this message because you are subscribed to the Google

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

2012-03-23 Thread Vivek Khandelwal
Thank For you replies. @TreKing My Application is Database Oriented in which Each Activity handle the Data of its own. When an error occurs i want only my Current Activity which got the Error to close and To show a Message to User with some Error Code and Description which help us to find

[android-developers] Background Activity come to front

2012-03-23 Thread Jagruti Sangani
Hello All, I have Broadcast receiver class for call handeling and one main activity from which the call is go.when i press the HOME key then my application is go to background running that is fine but when the call is arrive in broadcast receiver class then i need to show alert dialog in

[android-developers] Re: How to detect bluetooth headset is connect in SDK 9?

2012-03-23 Thread Emanuele Ricci
That action is fired when you UNPLUG the headset or the bt device as explained in the description On Friday, October 28, 2011 3:14:46 PM UTC+2, lbendlin wrote:

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

2012-03-23 Thread Kostya Vasilyev
The main looper is special, just because you have _a_ looper in _a_ thread doesn't mean it will now handle all UI interaction. I'd suggest (the list is clearly out of sequence): 1. Fix the crashes so they don't happen anymore (at least not so much). 2. In your crash handler, forget about

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-23 Thread lbendlin
Rename your 5MB database file to something Android does not recognize by the extension ( I used .db.jet ) and then use that raw resource as the source when copying. Works for me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

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

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

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 steve.1010.wil...@gmail.com wrote: I'd love some help with this.  I want to write the class MyWebView extends WebView and override the

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 tears.blos...@gmail.com 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

[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

[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] 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] 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 group.

[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 mlrti...@googlemail.com wrote: Hi, a  few weeks ago I published my own app on google play. On the right site (in about this app) there stand

[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

[android-developers] Re: Requires Android in GooglePlay

2012-03-23 Thread BearTi
Ahh ... thanks! :) On 23 Mrz., 13:52, JP joachim.pfeif...@gmail.com 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 mlrti...@googlemail.com wrote: Hi, a  few weeks ago I

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 mblack...@gmail.com 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

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 mmur...@commonsware.comwrote: http://developer.android.com/sdk/oem-usb.html On Fri, Mar 23, 2012 at 8:54 AM, Soyer mblack...@gmail.com wrote: Hello there, Does anyone knows from where can i download the driver to use the

[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

Re: [android-developers] capacitive stylus?

2012-03-23 Thread Mark Murphy
On Fri, Mar 23, 2012 at 9:27 AM, bob b...@coolfone.comze.com 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

[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

[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

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

2012-03-23 Thread Nikolay Elenkov
2012/3/23 Kostya Vasilyev kmans...@gmail.com 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

[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 mlrti...@googlemail.com wrote: Hi, a  few weeks ago I published my own app on google play. On the right

[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

Re: [android-developers] capacitive stylus?

2012-03-23 Thread Olemis Lang
On Fri, Mar 23, 2012 at 8:27 AM, bob b...@coolfone.comze.com 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

[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,

[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] 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] 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 =

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 kris.isak.v...@gmail.com wrote: Hello. Iam having a problem with the Random() everything gets random except for cards[0][0] that always ends up with = 5 here

[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 mmur...@commonsware.com

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

2012-03-23 Thread Kristopher Micinski
if(i0){ t = r.nextInt(i); } should be if(i=0){ t = r.nextInt(i); } On Fri, Mar 23, 2012 at 11:08 AM, Kristoffer kris.isak.v...@gmail.com

[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: 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 mblack...@gmail.com wrote: Hello Mark, i found that the issue wasn't with uninstalled driver, the driver is installed (Using: Android SDK

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

[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

[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 kmans...@gmail.com 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...

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 have

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

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

[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

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

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 b...@coolfone.comze.com 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

[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

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 mrclark32...@gmail.com wrote: I just had to reformat my install of windows, but was lucky enough to be able to save all of my

[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] Re: Random() gives same result

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 10:08 AM, Kristoffer kris.isak.v...@gmail.comwrote: Even if this is not Android at least iam using it in a android application ;) soapbox 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

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:

[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 krismicin...@gmail.com wrote:                        if(i0){                                t = r.nextInt(i);                        } should be                        if(i=0){                                t =

[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 krismicin...@gmail.com wrote:                        if(i0){                                t = r.nextInt(i);                  

[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

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

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 to other

[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

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 to a

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
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

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

2012-03-23 Thread TreKing
On Fri, Mar 23, 2012 at 12:31 PM, Faheem Ansari faheemansar...@gmail.comwrote: 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

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,

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 planiturth...@gmail.com 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

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

[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 krismicin...@gmail.com wrote: Oh, right, okay... Well the line where you're doing the assigning makes no sense, as we don't know what

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] 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

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 peru2...@gmail.com 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

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

  1   2   >