[android-developers] Re: Is there something wrong?

2011-06-18 Thread Chris
Yes there is something wrong. You're querying a database in a UI thread. -- 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] http live stream

2011-06-18 Thread Romain Guy
It is supported as of Android 3.0. On Sat, Jun 18, 2011 at 11:07 PM, Károly Holczhauser wrote: > Hi girls and boys! > >  I had read some blog in this topic, but I don't got an unique > answser, so I have to ask it from you. Is Http Live stream -ing > possible on android ?! > >  Thanks: Károly > >

[android-developers] http live stream

2011-06-18 Thread Károly Holczhauser
Hi girls and boys! I had read some blog in this topic, but I don't got an unique answser, so I have to ask it from you. Is Http Live stream -ing possible on android ?! Thanks: Károly -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: Is there something wrong?

2011-06-18 Thread Indicator Veritatis
"Incredible clarity" may apply only to somewhat experience developers who have been staring at logcat messages for months and have 'grokked' the way of thinking behind the twisted mind that came up with those messages and exceptions;) Seriously: those messages may be "incredibly clear' to you, but

[android-developers] Re: Android - SQLLite

2011-06-18 Thread Indicator Veritatis
Actually, people have worked hard at making systems where even if the attacker has a logic analyzer hooked up to the CPU and/or memory bus, he cannot break the encryption (in a practical amount of time). However, that usually requires that the key not be stored on the device anywhere, it comes from

Re: [android-developers] new Fragments

2011-06-18 Thread Dianne Hackborn
Committing a fragment transaction is asynchronous. You should let it run and do its thing; don't call getView() outside of the fragment's own lifecycle. Have you tried any of the API demos? There are lots of them. I suggest starting off with one of those known working demos, found here: http:/

[android-developers] Re: career in android

2011-06-18 Thread Indicator Veritatis
I see people are having a lot of fun with your post. But seriously now: the abbreviations you are using are acceptable for SMS text messages and sometimes even for Twitter, but NOT for serious purposes, such as posts to an email list or Google group. There are many reasons for this, I will mention

Re: [android-developers] Re: Freelancer

2011-06-18 Thread TreKing
On Sat, Jun 18, 2011 at 7:00 AM, Marcin Orlowski wrote: > On Jun 18, 2011 6:20 AM, "Zsolt Vasvari" wrote: > > > > Only if you know how to code a Tic-Tac-Toe app. Preferbly, in 3D. > > "Hi all. I want to write Tic-Tac-Toe 3D app in Android but dont know how to > do this. Plz send me source code.

[android-developers] how to call existing activity from onclick of status bar notification?

2011-06-18 Thread Hitendrasinh Gohil
Hi, I am binding service to playerview activity and setting the values from server to player activity.I am not finishing my playerview activity.when i click on status bar notification newactivity is called.I dont want that.i want to call existing activity so that i doesnt have need to change the d

Re: [android-developers] new Fragments

2011-06-18 Thread New Developer
Here is what I have can you see something obvious in my MainActivity I call the Fragment using FragmentTransaction fMgr = getFragmentManager().beginTransaction(); VisitMenu fragment = new VisitMenu(); fMgr.add(R.id.menu2, fragment); fMgr.commit(); fMgr.show(fragment);

Re: [android-developers] new Fragments

2011-06-18 Thread New Developer
I have the SDK Updater done and installed the Compatibility package When I putextends FragmentActivity I still get FragmentActivity cannot be resolved to a type With the offer to change to Fragment and ideas thanks again On Jun 18, 2011, at 1:11 AM, Dianne Hackborn wrote:

[android-developers] Re: LVL and WIFI-only tablets

2011-06-18 Thread Simon Jackson
Don't rent. Buy. Then go sub-prime ;) -- 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...@goog

[android-developers] LVL and WIFI-only tablets

2011-06-18 Thread Zsolt Vasvari
This has become an issue recently for me -- no doubt because of the rise in the number of WIFI-only devices: I am using the Google LVL to do license checking. I am taking the license validity time stamp in the extras and using that or the 2 days, whichever is less. (I think Google only gives 24

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 5:49 PM, Romain Guy wrote: > You need to set the cache color hint to 0,0,0,0, not 80,0,0,0. And you > still set the background color of your items the way you want. Still black when scrolling, only becoming transparent after the scrolling ends. And a lot of the time I hav

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Romain Guy
You need to set the cache color hint to 0,0,0,0, not 80,0,0,0. And you still set the background color of your items the way you want. On Sat, Jun 18, 2011 at 2:59 PM, Greg Donald wrote: > On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy wrote: >> You need to call setCacheColorHint() on the ListView i

[android-developers] External Usb Card WiFi in Android

2011-06-18 Thread Migazan
Hello, The Wifi network from my phone does not work. I can install an external usb on my phone? Ps: For development purposes -- 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@googlegrou

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy wrote: > You need to call setCacheColorHint() on the ListView itself. You need > do this only once. Like this? list = (ListView) findViewById( R.id.list ); int color = Color.argb( 80, 0, 0, 0 ); list.setCacheColorHint( color ); If that's w

Re: [android-developers] Re: AudioTrack help - pause after mute

2011-06-18 Thread Stefan Alder
Below is the gist of what I'm trying. This works sometimes, but other times I get a glitch when trying to play-- the glitch appears to be anywhere from a few ms to 20 ms or so of the PCM data (possibly from what it previously played, or was about to play before paused), and immediately precedes th

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Romain Guy
You need to call setCacheColorHint() on the ListView itself. You need do this only once. On Sat, Jun 18, 2011 at 1:10 PM, Greg Donald wrote: > On Sat, Jun 18, 2011 at 3:09 PM, Greg Donald wrote: >> The View passed to me in getView() in my CursorAdapter does not appear >> to have setCacheColorHin

[android-developers] Acer A500 is not showing in DDMS

2011-06-18 Thread Rocky
Hi All, I install the proper driver from Acer.com (USB Driver_Acer_1.06.1500_A30H_A500) and did setting from SEtting->Application->USB Debugging->yes But still my emulator DDMS not showing as a device. Did i'm missing any setting. -- Thanks & Regards Rakesh Kumar Jha -- You received this me

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 3:09 PM, Greg Donald wrote: > The View passed to me in getView() in my CursorAdapter does not appear > to have setCacheColorHint(). > > Looks like setCacheColorHint() exists for the list view itself but my > problem is with list items, not the list. I found something with

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 1:48 PM, Dianne Hackborn wrote: > Use this: > http://developer.android.com/reference/android/widget/AbsListView.html#setCacheColorHint(int) > http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint > > Note that doing this means th

[android-developers] Custom layout for the SectionIndex dialog

2011-06-18 Thread David
I have a Custom ListView containing events. The Adapters SectionIndexer indexes the month and year of the events upon fastscrolling (e.g. Jan 2011) but with the default styling of the fastscrolling text, the text is too big and overlaps the edges of the dialog. Is there any way to change the layou

[android-developers] Pico TTS high quality voices

2011-06-18 Thread mms
hi, i found Android's default TTS Engine "Pico TTS" amazing but the default voices quality is a little poor so how i can add high quality voices to it regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Device and printer connection for printing data on printer.

2011-06-18 Thread Kristopher Micinski
Your bluetooth service discovery failed Were you paired? Using a valid uuid? Get the right port? Appearently not, try debugging through your code, your bt connection isn't going through. Kris On Jun 18, 2011 10:07 AM, "ABS" wrote: Hello everyone, I am new on android platform, w

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Dianne Hackborn
Use this: http://developer.android.com/reference/android/widget/AbsListView.html#setCacheColorHint(int) http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint Note that doing this means that ListView can't use important drawing optimizations, so on man

Re: [android-developers] Re: In App Billing - REQUEST_ITEM_UNAVAILABLE

2011-06-18 Thread Kumar Bibek
The App should be in daft state, but the item should be published. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Sun, Jun 19, 2011 at 12:10 AM, Conny wrote: > No I just saved it. I thought if I publish it the app too will be > published. Am I miss

[android-developers] Re: In App Billing - REQUEST_ITEM_UNAVAILABLE

2011-06-18 Thread Conny
No I just saved it. I thought if I publish it the app too will be published. Am I missing something basic here ? On Jun 18, 11:14 pm, Kumar Bibek wrote: > Have you published the item in your dev console? > > *Thanks and Regards, > Kumar Bibek* > *http://techdroid.kbeanie.comhttp://www.kbeanie.com

Re: [android-developers] In App Billing - REQUEST_ITEM_UNAVAILABLE

2011-06-18 Thread Kumar Bibek
Have you published the item in your dev console? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Sat, Jun 18, 2011 at 11:25 PM, MCON Dev wrote: > I think I have things setup correctly, but I keep getting > REQUEST_ITEM_UNAVAILABLE. > > DDMS reports

[android-developers] In App Billing - REQUEST_ITEM_UNAVAILABLE

2011-06-18 Thread MCON Dev
I think I have things setup correctly, but I keep getting REQUEST_ITEM_UNAVAILABLE. DDMS reports the following 06-18 21:09:27.714: DEBUG/iDHaysbert(5449): ItemName : Hello(a) SettingRingToneUri : android.resource://com.haysbertv2/raw/hello3timescomeonpickupthephone2.mp3 PurchaseUri : hello3timesco

[android-developers] Re: list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 12:27 PM, Greg Donald wrote: > I have a list view using a layout that has a background color of #8000. > > When I scroll the list, the list item background color change to a > solid color, in this case black.  Seems it's ignoring the alpha > transparency value on scroll

Re: [android-developers] Device and printer connection for printing data on printer.

2011-06-18 Thread Rocky
You need CS architecture, post the code, then we can understand where is the exact problem. On Sat, Jun 18, 2011 at 7:37 PM, ABS wrote: > Hello everyone, > I am new on android platform, working on one traffic > control app. In this app i have to connect with bluetooth printer > thro

[android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
I have a list view using a layout that has a background color of #8000. When I scroll the list, the list item background color change to a solid color, in this case black. Seems it's ignoring the alpha transparency value on scroll. Is there a way to make it not do that? Thanks. -- Greg

[android-developers] Re: STL android

2011-06-18 Thread hectordu...@yahoo.com
"me doy el lapo!" difficult decition, but i have decided to port everything to java and get advantage of the android technology :-( i have realized that both, java and SQlite afford all the functionality i have been working with STL, and in the short time i can use all the pissibilities that

[android-developers] Re: NullpointerException using put method on a LinkedHashMap

2011-06-18 Thread Emanuel Moecklin
1. I wonder how your code compiles at all with LinkedHashMap.Entry not being visible at all (Map.Entry is). 2. LinkedHashMap can hold null keys and values so that can't be the reason for the NPE 3. I made a quick test and "my" cache with limited size works without issues

[android-developers] Re: About Location Service

2011-06-18 Thread cellurl
Look at working code. Here is some. http://code.google.com/p/speedlimit/ On Jun 16, 8:18 pm, Baodong Chen wrote: > Hi: >  I have a APP using Location Service, and i tested it and found that >  my Location Listener's onLocationChanged() was not called for more > than ten seconds. >  but onGpsStat

[android-developers] Device and printer connection for printing data on printer.

2011-06-18 Thread ABS
Hello everyone, I am new on android platform, working on one traffic control app. In this app i have to connect with bluetooth printer through android device, i am trying to do this connection with Bluetooth socket. But problem is that i am getting IOexception while connect

Aw: Re: [android-developers] Aw: Object Structure

2011-06-18 Thread jjoe64
yes. if you do a query on your content provider (though listview/adapter or manually with content resolver), it returns only a cursor (pointer) to the data, that's the reason why the memory space is saved and performance will increase. -- You received this message because you are subscribed to

[android-developers] Re: Begainer in Android Game Development

2011-06-18 Thread Kyle Szklenski
I've found that the guy at the following website has produced tons of really, really useful beginner tutorials on game development for Android, with code and I believe he's done some 3D stuff for it too: http://obviam.net/ Have a good one, Kyle On Jun 17, 11:51 am, BY SmartApps wrote: > Gree

[android-developers] Re: Hold the NFC Foreground Dispatch

2011-06-18 Thread nadam
You need to specify a more specific filter in the manifest using "android.nfc.action.NDEF_DISCOVERED" or "android.nfc.action.TECH_DISCOVERED" (see http://developer.android.com/guide/topics/nfc/index.html#manifest). On 14 Juni, 12:48, Rafael Porras Lucena wrote: > Hello! > > I want to do a thing a

Re: [android-developers] Determine Sender of Broadcast

2011-06-18 Thread Mark Murphy
On Fri, Jun 17, 2011 at 2:39 PM, Alan wrote: > Is there any way to discover which app package sent a broadcast? I don't think so. > If > the sender includes their package name as an extra in the Intent, can > you verify the sender is who they say they are? Not really. > Does anyone know of an

Re: [android-developers] openjdk

2011-06-18 Thread Mark Murphy
AFAIK, this works, but is not supported. On Fri, Jun 17, 2011 at 3:35 PM, JeffZZZ wrote: > Can openjdk be used instead of instead of oracle java?  Any issues if > it is used. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http:

Re: [android-developers] Re: Freelancer

2011-06-18 Thread Marcin Orlowski
On Jun 18, 2011 6:20 AM, "Zsolt Vasvari" wrote: > > Only if you know how to code a Tic-Tac-Toe app. Preferbly, in 3D. "Hi all. I want to write Tic-Tac-Toe 3D app in Android but dont know how to do this. Plz send me source code. It's urgent" -- You received this message because you are subscrib

Re: [android-developers] Re: How to invalid single view in Android Canvas Drawing?

2011-06-18 Thread Kostya Vasilyev
Bitmap.recycle() View.invalidate() -- Kostya Vasilyev 18.06.2011 15:22 пользователь "shubham patni" написал: > can any body suggest me solution here? > > On Jun 1, 5:01 pm, shubham patni wrote: >> Hello to all, >> >> I am drawing multi images over Android canvas, so after an limit I got >> "Out

[android-developers] Re: How to find total no activate devices in wifi network ?

2011-06-18 Thread shubham patni
any one have idea? On Jun 16, 6:20 pm, shubham patni wrote: > Hello to all, > > Any one have idea how can find activate devices in the wifi network. > > pls suggest. > > thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] Re: How to invalid single view in Android Canvas Drawing?

2011-06-18 Thread shubham patni
can any body suggest me solution here? On Jun 1, 5:01 pm, shubham patni wrote: > Hello to all, > > I am drawing multi images over Android canvas, so after an limit I got > "OutOfMemory" Exception, this is I know because of limited allocation > of memory for application. > > When I try to invalid

[android-developers] How to get notification on copy of Text

2011-06-18 Thread shubham patni
How to get notification on copy Text ,is it possible to copy else like Image or any file. Please suggest. -- 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

Re: [android-developers] Re: How android get MSISDN

2011-06-18 Thread Sherif Shehab Aldin
Hi albnok, Thank you for your answer, getLine1number was my starting point, I followed it up till the handleMessage function, but I couldn't go any further, I am investigating other approaches, some operators here provide a phone number which when called will answer with the mobile number, gotta d

[android-developers] SdCard removal issue

2011-06-18 Thread Shrinivas Sahukar
Hi all, while playing the music if sdcard is removed the file keeps on playing the buffered data, what i think is sdcard bad removal intent listener is not there in ginger bread.. while in eclair its handled in setting application where it recieves the events of sdcard where as this class is miss

Re: [android-developers] gaming

2011-06-18 Thread Robin Talwar
Blender jmonkeyrunner unity3D there are so many out there you just need patience and time Best of luck On Sat, Jun 18, 2011 at 1:41 PM, kaushik p wrote: > Hi all, > > Can anyone suggest the best gaming engines for android ?? > > -- > Thanks&Regards > Kaushik Pendurthi > > http://kaushikpendur

[android-developers] Re: Javascript Code Coverage

2011-06-18 Thread Peter Stacey
No, EMMA won't work for JavaScript. I don't think there is currently anything available for code coverage of JavaScript in Android. If you are using JavaScript inside a WebView for example and have the JavaScript sitting in an assets directory or on a server, then I think you might be currently o

Re: [android-developers] is it possible to make call when song is playing

2011-06-18 Thread kaushik p
Hi When the call connects the song automatically stops ,Anyways you can use the intent like startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:99"))); it does the work of calling . If you have any use case where the call needs to check for the song to be played then get back to

[android-developers] Re: again like all : The application ... (process ...) has stopped unexpectedly. Please try again

2011-06-18 Thread aMeeN
Thank you Mr. Zsolt for your help. I wasn't sure about the error reason, Android and Eclipse both are new to me .. thats why I am confused. I will try to download Eclipse and prepare the development environment again. Hope it will work properly .. I will update this post with the result. Thank

[android-developers] gaming

2011-06-18 Thread kaushik p
Hi all, Can anyone suggest the best gaming engines for android ?? -- Thanks&Regards Kaushik Pendurthi http://kaushikpendurthi.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] debugging in eclipse and CONFIRM keyword???

2011-06-18 Thread Budi Wibowo
Hello group, I'm a beginner in developing in android. I'm used to using visual studio for my IDE. here is a problem i'm having. When i launched an app in AVD, it keeps on forcing me to close. i tried to debug it using the debug feature in eclipse. i don't know if it's just me because i still know

Re: [android-developers] required a plugin for android in netbeans

2011-06-18 Thread Mohammed Hossain Doula
What is your NetBeans version??? Check the URL http://bit.ly/mGmvXg On Fri, Jun 17, 2011 at 2:04 PM, virinchy wrote: > hii guys ,i am new to learn android where can i get a plugin for > android in netbeans??? > > -- > You received this message because you are subscribed to the Google > Group

[android-developers] Re: How android get MSISDN

2011-06-18 Thread albnok
Don't remember exact code but look for line1number. Certain telcos may be mobile virtual network operators meaning you can never get the MSISDN in which case ask them for an API to convert SIM serial number to MSISDN. On Jun 18, 12:29 am, Sherif Shehab Aldin wrote: > Hi all, > > I am doing a proj

Re: [android-developers] SMS

2011-06-18 Thread Mohammed Hossain Doula
Go to this URL http://bit.ly/juwkZv... On Sat, Jun 18, 2011 at 4:50 AM, Justin Anderson wrote: > *> I would like to help me or guide me to develop an application to > generate an SMS text message* > You want to help yourself do this? Cool, then by all means, do so! > > If you want others to help,