Re: [android-developers] Re: How to handle Home Button

2010-10-25 Thread Kumar Bibek
I am a bit confused as to under what circumstances one would like to handle the Home Screen button. On Tue, Oct 26, 2010 at 12:22 PM, mort wrote: > On 25 Okt., 20:11, Miguel Morales wrote: > > Try overriding your onFinish() or onPause(), you might be able to do > > what you're trying to do ther

[android-developers] Re: How to handle Home Button

2010-10-25 Thread mort
On 25 Okt., 20:11, Miguel Morales wrote: > Try overriding your onFinish() or onPause(), you might be able to do > what you're trying to do there. onFinish() is only invoked for the back button, unless you finish() in onPause(). Handling the Home button is only possible if you app's the selected

[android-developers] Re: New ADT available.

2010-10-25 Thread Zarah Dominguez
Is it just me, or did I also lose the hierarchyviewer when I upgraded the ADT? It is not in the /tools folder anymore. *grumpy* On Oct 14, 1:44 am, authorwjf wrote: > "My conclusion is that 0.9.9 is not ready for prime time; I recommend > everyone to avoid it." > > Well said, String.  I second

[android-developers] Re: How register weekly alarm?

2010-10-25 Thread Tim
Mark, I found a pieces of codes in Android, as below: // com.android.server.BackupManagerService.startBackupAlarmsLocked(long) mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, when, BACKUP_INTERVAL + random.nextInt(FUZZ_MILLIS), mRunBackupIntent); // where BACKUP_INTERVA

[android-developers] Re: Limitations of the MapView and MapActivity design

2010-10-25 Thread gjs
Hi, I found that one map activity will interfere (greatly) with another map activity if the second is started from the first. But if you display some other non map activity between these two map activities then both map activities seem work ok. To get around these issues of needing to have two ma

[android-developers] Re: please, fix website

2010-10-25 Thread Bob Kerns
The site works fine for me on my Android device, and on my iPhone, and my PC, straight out of the box. You DO know how to pan and zoom your device's browser, right? I really do NOT understand why anyone would set their text size on a mobile device! Exactly how is that going to make the site more u

[android-developers] Facebook connect for android

2010-10-25 Thread Prajakta Shitole
Hi, I am trying to use the Facebook SDK for android but It gives me runtime errors (ClassCastException) when i include the com.facebook.android.LoginButton as the login button. Please can anyone let me know if they have used Facebook connect in their application and the steps that are to be follo

Re: [android-developers] Re: How register weekly alarm?

2010-10-25 Thread Mark Murphy
On Tue, Oct 26, 2010 at 2:06 AM, Tim wrote: > Thanks Mark. > I am using "INTERVAL_DAY"with "setRepeating(...,long interval,...)". INTERVAL_DAY is used with setRepeatingInexact(). The value happens to be correct for use with setRepeating(), though. > Still, any workaround/solution for weekly alar

Re: [android-developers] Re: Protecting Apps - listening for application launches

2010-10-25 Thread Mark Murphy
On Tue, Oct 26, 2010 at 2:08 AM, AJ wrote: > This also be achived by making some app which will ask for password > and listen to ACTION_PACKAGE_INSTALL broadcast action. Then nobody > will be able to install app without the password. > > Is this also a loop hole? No, because ACTION_PACKAGE_INSTAL

[android-developers] Re: Protecting Apps - listening for application launches

2010-10-25 Thread AJ
Hi Mark, > And if you are able to pull that off, you are exploiting a security > hole. Somebody else could create an app that does what you propose, > but the only way to get the password is to pay a ransom. This also be achived by making some app which will ask for password and listen to ACTION_

[android-developers] Re: How register weekly alarm?

2010-10-25 Thread Tim
Thanks Mark. I am using "INTERVAL_DAY"with "setRepeating(...,long interval,...)". Still, any workaround/solution for weekly alarm? On Oct 26, 1:56 pm, Mark Murphy wrote: > On Tue, Oct 26, 2010 at 1:50 AM, Tim wrote: > > Hi Guys, > > > "AlarmManager.setRepeating()" can be set with "interval". But

[android-developers] Re: MediaRecorder create the file almost 10 seconds later after start recording

2010-10-25 Thread cindy
following is my code: mRecorder=null; mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mRecorder.setAudioEncoder(MediaRecorder.AudioEnc

Re: [android-developers] Protecting Apps - listening for application launches

2010-10-25 Thread Mark Murphy
On Tue, Oct 26, 2010 at 1:58 AM, Mark Murphy wrote: > And if you are able to pull that off, you are exploiting a security > hole. Somebody else could create an app that does what you propose, > but the only way to get the password is to pay a ransom. To clarify: I don't have a problem with the ai

Re: [android-developers] Protecting Apps - listening for application launches

2010-10-25 Thread Mark Murphy
On Tue, Oct 26, 2010 at 1:44 AM, Noah wrote: > Is there a way to listen for application launches? Nothing documented and supported. > I'm trying to develop an application where the user can specify a list > of applications that he/she wants to "protect." If they are in this > list, then whenever

Re: [android-developers] How register weekly alarm?

2010-10-25 Thread Mark Murphy
On Tue, Oct 26, 2010 at 1:50 AM, Tim wrote: > Hi Guys, > > "AlarmManager.setRepeating()" can be set with "interval". But the max > available interval is daily - "INTERVAL_DAY". So, how to set weekly/ > monthly/yearly interval? INTERVAL_DAY is used with setRepeatingInexact(). setRepeating() takes

[android-developers] How register weekly alarm?

2010-10-25 Thread Tim
Hi Guys, "AlarmManager.setRepeating()" can be set with "interval". But the max available interval is daily - "INTERVAL_DAY". So, how to set weekly/ monthly/yearly interval? BTW, I have tried "7*INTERVAL_DAY", it still worked as daily ... -- You received this message because you are subscribed t

[android-developers] Protecting Apps - listening for application launches

2010-10-25 Thread Noah
Is there a way to listen for application launches? I'm trying to develop an application where the user can specify a list of applications that he/she wants to "protect." If they are in this list, then whenever the application is launched, my app will ask them to enter a password. However, I've be

[android-developers] Distribution channels for android apps other than marketplace.

2010-10-25 Thread MB
Hi, I would really appreciate if some of the experienced developers could share what channels other than the android market place they use for distributing their apps for android devices. >From what I have researched so far, 'getjar' looks promising for distributing the lite version. I would rea

[android-developers] Re: MediaRecorder create the file almost 10 seconds later after start recording

2010-10-25 Thread Bret Foreman
Did you try calling flush() on the Stream? -- 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] help with wpa_supplicant

2010-10-25 Thread aviral gupta
hi... how to issue commands like STOP,LINKSPEED,START, e.t.c to the hardware wrapper driver_wext.c from wpa_supplicant regrads -- 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@go

[android-developers] android game

2010-10-25 Thread nena joy
Hello, Now I am trying to create an android game. Game is in the book"Apress - pro Android games" But the program is force closed when I try to touch in the screen. Anyone have the full source code of that game- "Space Baster" Please help me -- You received this message because you

[android-developers] MediaRecorder create the file almost 10 seconds later after start recording

2010-10-25 Thread cindy
Hi, I set the MediaRecorder's output to a file. When I recording, I checked the file on SD card. I found that the file is created almost 10 seconds after I start the recording. Does anyone know how to speed up the process? Thanks! Cindy -- You received this message because you are subscribed

Re: [android-developers] Re: How to develop a android app store

2010-10-25 Thread Nitin Mahajan
Ya, Amazing but sounds very much off the track... regards -Nitin On Wed, Oct 13, 2010 at 10:32 AM, Kumar Bibek wrote: > Pretty amazing imagination :) > > > On Wed, Oct 13, 2010 at 10:30 AM, metal mikey wrote: > >> Here's some suggestions (I used my imagination): >> >> 1) Employ tens of thousan

Re: [android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread nimish khandelwal
hiii i also got the same problem if i put distance zero than also this problem coming. so i dont think this is problem for distance.i also want to know the solution of this problem. thanks nimi On Tue, Oct 26, 2010 at 9:00 AM, cellurl wrote: > I am also using same Android 2.0.1 API leve

[android-developers] Create Sitemap

2010-10-25 Thread fosist
Hi, There is a sitemap tool which creates sitemaps for website. Can someone test it on Android whether it is working or not This is based on Microsoft's Silverlight Technology. Regards, Harshad -- You received this message because you are subscribed to the Google Gr

[android-developers] Re: Looking for someone to test with a 600mhz phone

2010-10-25 Thread miniondev
The flickering title screen is now fixed too - thanks for the debugging help! -Eric On Oct 25, 11:48 am, Morrison Chang wrote: > Just pulled it down from Market and put it on both a ADP1 - G1 running > stock 1.6 and a Motorola Droid running stock 2.2 - build FRG22D > > Note that I didn't connect

[android-developers] GK:How to give conditions in android XMLs

2010-10-25 Thread Jack Ganesh
Hi All., My appication is used across different devices. For all device (SPH- D800,MOTO-Droid. etc) i force to make use of one string.xml and one android manefiest file for my application. Can any please tell me how can i make the conditions inside the all xml file. Thanks in advance ! ! Thank

[android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread cellurl
I am also using same Android 2.0.1 API level 6. One thing for me is I do: float distance= (float)10.0; Global.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, distance, locationListener); Not sure if "distance" creates some error?? -jim On Oct 25, 9:46 pm, Frank Weiss

[android-developers] VPN traffic enroute

2010-10-25 Thread santosh nath
When connected to VPN does the entire traffic route through VPN in current Android platform (FroYo)? If so why would this design be adopted in Android? VPN means one needs extra encryption header on top of data packet to be transmitted over cellular network. Why do we need to enroute all traffic

[android-developers] Re: Accessing Shared Preferences of another Application

2010-10-25 Thread joebowbeer
You can do this if the other application created the shared preferences to be world_readable: SharedPreferences prefs = createPackageContext("com.acme.app", 0).getSharedPreferences("myprefs", 0); http://developer.android.com/reference/android/content/Context.html#createPackageContext(java.l

[android-developers] Re: Memory Leaks

2010-10-25 Thread Lisa
hi John (⌒o⌒)/, this is link is possible solution, but this is Japanese, sorry. http://groups.google.com/group/android-group-japan/browse_thread/thread/fa40fe4d250541f5/f868bce5962fc34d#f868bce5962fc34d the end topic is solution. have fun. (^-^)/ -- You received this message because you are su

[android-developers] Re: is LVL the best solution?

2010-10-25 Thread Mark Carter
FWIW, I've had over 1000 users using it for almost 3 months. Not a single complaint so far... On Oct 25, 8:29 pm, Steve Wilson wrote: > I'm now seeing the whole copy protection problem from both sides, as a > developer I want to control how my paid application is distributed and > that only legit

[android-developers] Monkey Testing and automatically generating the events...

2010-10-25 Thread sdphil
I *finally* got monkey testing to work from a script. my test.txt file looks like this -- cut here start data >> DispatchPointer(5109520,5109520,0,230.75429,458.1814,0.20784314,0.0667,0,0.0,0.0,65539,0) DispatchKey(5113146,5113146,0,20,0,0,0,0) cut here and my monkey

Re: [android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread Frank Weiss
Hey guys, I finally got around to trying this out myself. I've been working on a little utility app to understand the location services. I haven't been able to reproduce any of the discrepencies you mentioned. My app registers an update listener and sets a Text view with this: latLng.setText(St

Re: [android-developers] Re: Why doesn't Context.bindService() call onStartCommand()?

2010-10-25 Thread Dianne Hackborn
Service.onStartCommand() is directly tied to startService(). You call startService(). That sends the Intent to the service as a command. The service receives it in onStartCommand(). It executes the intent. That is one way to use a Service. Service.bindService() is directly tied to Service.onB

[android-developers] Re: Mount as USB drive

2010-10-25 Thread perumal316
Yes, that's what I mean. Because I have my own PC application that detects the microSD card. But somehow when the microSD is within Android and is mounted, even though under My Computer the usb drive is mounted, the application can't detect it. There is no issue if I use a card reader. Any idea wh

[android-developers] Re: getLocationInWindow API of View class bug?

2010-10-25 Thread eli
sorry ignore my posting. Found the solution. print out the location values in onMeasure where the x, y coordinate is undetermine. On Oct 25, 6:18 pm, eli wrote: > Hi, > > I think there may be a bug in getLocationInWindow API, should the > calculation below take the padding of view into considerat

[android-developers] Re: Why doesn't Context.bindService() call onStartCommand()?

2010-10-25 Thread Bret Foreman
Doug, If the service is not running, I don't see how you can bind to it. So the binding method has two choices if the service isn't already runing - start the service or throw an exception. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Re: Problem with OpenGL ES application,please help

2010-10-25 Thread gambiting
I tried the following: 1) Changed viewport to 1/2 and 1/4 of original size - no effect. 2) Changed all textures to one,so there is just one texture binding per cube - no effect. 3) Culling is on For all other points please take a look at my code which is in the forum post I linked here, as I am no

[android-developers] Re: Why doesn't Context.bindService() call onStartCommand()?

2010-10-25 Thread doug
Thanks for your answers. But they are not convincing. Context.bindService() has the option of creating a "new" service if the service is not created in the first place. The life-cycle events for a brand new service should be identical. But the SDK doc disagrees and says this about BIND_AUTO_CREA

[android-developers] yet another issue with AWS on Android

2010-10-25 Thread Miki
Hi, I am trying a lot to port AWS libraries to use in my Android application. After having problems which needed recompiling some libraries, and so on - I got stuck with the issue many also did. Android complains: trouble processing "javax/net/ssl/SSLException.class": [2010-10-26 02:09:06 - Amazo

[android-developers] Re: Problem with OpenGL ES application,please help

2010-10-25 Thread gambiting
Hey guys,thanks very much for all the answers, please take a look at this thread, there is a screenshot of my app and it's code - please help me and take a look at it. Any help will be very appreciated . http://forum.xda-developers.com/showthread.php?t=818760 -- You received this message because

[android-developers] Re: Monkey usage with Scripts/Network Control not working

2010-10-25 Thread sdphil
okay, i'm trying to get the same thing working. i am doing this and I see -- C:\test>adb shell monkey -p com.test --setup scriptfile -v -f /sdcard/ test.txt 1 :Monkey: seed=0 count=1 :AllowPackage: com.slacker.radio :IncludeCategory: android.intent.category.LAUNCHER :IncludeCategory: android.inte

[android-developers] Gallery with folder filter

2010-10-25 Thread FrEaKmAn
Hello I'm using following code to open a gallery inside of my app Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); startActivityForResult(intent, FIND_RESULT); Is it possible to limit a list of images to only show images taken by camera? Viewing Gallery on my 2.1

[android-developers] Re: broadcast receiver priority question

2010-10-25 Thread kevindroid
anyone has any idea? On Oct 24, 6:33 pm, kevindroid wrote: > the symptom: I have a broadcast receiver that listen to sms, when a > sms is received, i call an activity to display. > > It works all fine if the screen is on and not locked. > > But when screen is locked, and as soon as i received the

[android-developers] Android emulator is not working for Audio recorder?

2010-10-25 Thread cindy
Hi All, The Audio file recordered from emulator using MediaRecorder is totally different from what I recorded from phone. If I replay the audil file recorded from phone, it is slower than I speak. Does anyone has same experience? Thanks! Cindy -- You received this message because you are su

[android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread Paul
@celluri-> Not sure if thats the same issue or not. My issue has nothing to do with GPX file. I can cause same problem to occur from command line using 'geo fix'. The amount numbers are off follow some weird pattern I can't quite decipher. If I enter lat=1.0 , the app receives lat=1.00163, if

[android-developers] Need help monetizing your Android Apps?

2010-10-25 Thread Jim Payne
Hi guys - We are developing an ad server that makes it easy for Android app developers to monetize. It supports the 320x50 banners and the ad networks that you might be working with already but also adds interstitial support, frequency caps and other targeting features. We are looking for some de

Re: [android-developers] Re: How to create a reminder

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 3:59 PM, avigadl wrote: > We need that our reminders will still be fired after rebooting. > Do you have any ideas? > http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED Reading through the documentation in general is also a good idea.

Re: [android-developers] image

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 5:57 AM, Alok Upadhyay wrote: > now what i want is as soon as user click tab1 an image should be > visible,when clicks on tab2 another image should be visible and on on third > so on... > Actually basic thing i want to learn through this is how to play with > images,resolu

Re: [android-developers] Predefined licensing models

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 5:20 AM, sombre wrote: > So, I'd like to request to please add a third predefined policy to cater to > our laziness. A policy that is the counterpart to the actual old 'copy > protection' thingy. Thanks! > Would you like to place an order for someone to make your app for

[android-developers] SMSManager sendDataMessage messages going to Mms not my app ...

2010-10-25 Thread tedx
I'm running the Android 2.2 emulator and trying to send sms data messages to a specific port which I have a broadcast receiver on but the messages end up in the default messaging app inbox. I think the emulator must be at fault here. Has anyone gotten this to work? -- You received this message be

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

2010-10-25 Thread Jamesy
Thanks, I found it already and it was extremely helpful. On Mon, 25 Oct 2010 21:48:12 +0100, wrote: = Today's Topic Summary = Group: and

[android-developers] Re: please, fix website

2010-10-25 Thread Doug
On Oct 24, 6:44 pm, g b wrote: > Please, fix the website. It's broken? If you're talking about the developer javadoc, pretty much all of what you're saying is demonstrably false or a purely a matter of opinion (and not knowing how to use your browser in ways that it was intended). Don't make so

[android-developers] Re: How to create a reminder

2010-10-25 Thread avigadl
The alarm manager clears the reminders after the device reboots. We need that our reminders will still be fired after rebooting. Do you have any ideas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Writing to disk

2010-10-25 Thread kypriakos
Ok you can scream at me now ... everything is explained in http://developer.android.com/guide/publishing/app-signing.html#setup So I am assuming that my original question of how I will be able to sign both apps with the same key is answered by doing so manually for each of the unsigned apks. I ne

[android-developers] Re: How to create a reminder

2010-10-25 Thread Bret Foreman
http://developer.android.com/reference/android/app/AlarmManager.html -- 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 andr

[android-developers] Re: Writing to disk

2010-10-25 Thread kypriakos
Sorry for the multiple postings - on the same note, do apps generated via the Eclipse Android plug in get automatically signed before they can run on the emulator? Or do they need to be signed before they can be launched on a real device? On Oct 13, 12:17 pm, Mark Murphy wrote: > On Wed, Oct 13

[android-developers] Re: Writing to disk

2010-10-25 Thread kypriakos
Hi Mark, android:sharedUserId The name of a Linux user ID that will be shared with other applications etc. Where can I find the allowable values for this ID? Thanks On Oct 13, 12:17 pm, Mark Murphy wrote: > On Wed, Oct 13, 2010 at 12:07 PM, kypriakos wrote: > > Well these are two separat

[android-developers] How to create a reminder

2010-10-25 Thread avigadl
We would like to create a reminder that will be poped-up on given date. We would like to do this without having our application running at the backgroud. Any ideas how to do this? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Google Android platform for robotics (serial connection support).

2010-10-25 Thread Bret Foreman
This is a nice setup: http://www.amarino-toolkit.net/index.php Note that standard phone hardware usually assumes the phone will be a USB target, not a USB host. This means RS232 dongles won't work without a lot of fiddling around with USB hubs and all that. If you want to support the broadest set

Re: [android-developers] SQL lite

2010-10-25 Thread Filip Havlicek
Hi, I think this tutorial is just what you need to read http://developer.android.com/guide/tutorials/notepad/index.html Best regards, Filip Havlicek 2010/10/24 jamesy281 > I am writing a simple app with 3 text fields and a date picker I would > like to be able to save the data from these to an

[android-developers] Re: Highlight focus item on listview

2010-10-25 Thread Adrián
I suppose if you set a radiobutton as the background of the row, you can simulate the behaviour you want. The problem here is that when you clicks with the mouse (or tap with the finger in a real device) you enter in Touch mode and that is the behaviour of this mode. Regards. On 25 oct, 20:04, Ga

Re: [android-developers] Accessing Shared Preferences of another Application

2010-10-25 Thread TreKing
On Sun, Oct 24, 2010 at 10:43 PM, Android Humanoid wrote: > Can anyone help me in accessing the shared preferences of another > application. > Do you own this other application? - TreKing

[android-developers] Re: Mount as USB drive

2010-10-25 Thread FrankG
Sorry .. but did you mean with "usb drive is mounted" ? You mean when you mount the sdcard and make them available as mass storage device via usb ? On 25 Okt., 11:37, perumal316 wrote: > Hi All, > > A general question. Is there any difference in the way the USB drive > is mounted in Android as

Re: [android-developers] Limitations of the MapView and MapActivity design

2010-10-25 Thread TreKing
On Sun, Oct 24, 2010 at 6:17 PM, Jon Perlow wrote: > The iphone version of the app shows maps in multiple places, but this is > not possible with the android version because of this limitation. > Well, it's possible, just much more cumbersome. What you have to do is abstract your other views / a

[android-developers] Re: Google Android platform for robotics (serial connection support).

2010-10-25 Thread FrankG
Hello, IMHO the beagle board will be the cheapest platform. The other platform board i.e. from TI will be more expensive. To the serial communication on this boards I have no clue. Good luck ! Frank On 22 Okt., 05:56, RoboHobby wrote: > Hi, > > 1) What Android-compatible hardware platforms (b

[android-developers] Re: Limitations of the MapView and MapActivity design

2010-10-25 Thread Spiral123
Hi Jon. personally I've not found any practical limitation to how MapView/ MapActivity is implemented in Android. In fact, I quite like it. >>> The iphone version of the app shows maps in multiple places which iPhone app? I'd be interested to see what it does. -- You received this message be

[android-developers] Re: Finding a development phone - how is the LG Optimus GT540?

2010-10-25 Thread FrankG
Yes, I think for the price it offers many features .. and it is small. Yes, you need a special drivers as this device comes with a composit usb interface. But with the PC Suite driver download it works out of the box. But note that the the GT 540 I have uses a rather old android version, so you n

[android-developers] Re: Google TV

2010-10-25 Thread Howard M. Harte
Still waiting for it to arrive, should be here today. I picked up the Sony Blue-Ray unit, and think it has potential, but some issues with my Dish Network box via the IR Blaster. I'm not too concerned though, only software issues, and I bought these for "development" not really to use them for w

Re: [android-developers] Re: How to handle Home Button

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 7:47 AM, channa kad wrote: > I tried for KEYCODE_HOME, its not working.. Are you are it works? On Mon, Oct 25, 2010 at 8:56 AM, TreKing wrote: > No - you can't handle the Home key. That's reserved by the system and not > propagated to apps, AFAIK.

Re: [android-developers] Re: Highlight focus item on listview

2010-10-25 Thread TreKing
On Mon, Oct 25, 2010 at 1:04 PM, Gabriel Huie wrote: > No I mean i just want the selected item to stay highlighted so the user can > visually see which item there selecting before they touch the buttons since > the buttons affect the selected items > That doesn't make sense unless you're doing m

Re: [android-developers] webview.loadUrl - native

2010-10-25 Thread TreKing
On Sat, Oct 23, 2010 at 2:32 PM, Itamar wrote: > I need to understand how the webview loadurl is working behind the scene > can somebody here point me out to the source code (native) that it's > actually taking place? > http://tinyurl.com/3a2mja3

Re: [android-developers] Connection Center Settings

2010-10-25 Thread TreKing
On Sat, Oct 23, 2010 at 10:18 AM, Android Humanoid wrote: > Can anyone tell me how to do settings for Connection Center on Windows. > What does this have to do with Android Development? - TreKing

[android-developers] Re: LVL and Google Apps accounts

2010-10-25 Thread MarcoAndroid
Yeah I've seen this too. But only in a certain combination: - You already have an existing version of the app published. The new app you're testing has a newer version number - Your LVL code work from the emulator on which you are logged in with your developer account - But you always get NOT_MAR

Re: [android-developers] Problems with creating cache files and directories on HTC Desire

2010-10-25 Thread TreKing
On Sat, Oct 23, 2010 at 6:15 AM, Dominik wrote: > When I call getApplicationContext().getCacheDir() or > getApplicationContext().getFilesDir() from my activity this always returns > null. > First, there's no point to using getApplicationContext() - it's redundant at best and causes issues with a

Re: [android-developers] how to retrieve music file information

2010-10-25 Thread TreKing
On Sat, Oct 23, 2010 at 2:53 AM, himanshu wrote: > plz help.. With what? - TreKing - Chicago transit tracking app for Android-powered devices --

[android-developers] Re: How do I assign each of my ListView list items an individual icon?

2010-10-25 Thread Kumar Bibek
http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html You need to have a custom adapter, and the layout for each items which would have an ImageView. In the getView method of your adapter, set the image to whatever you like. On Oct 24, 11:59 pm, mattFllr wrote: > Hi, > > I'm very

[android-developers] Re: how to insert images in edittext

2010-10-25 Thread Kumar Bibek
http://techdroid.kbeanie.com/2010/06/textview-with-html-content.html This example is for the TextView, but I am quite sure, this approach would also work for EditTexts as well On Oct 25, 3:51 pm, anil wrote: > i have to insert images(smiley) in the edittext programatically .i am > not able to fi

Re: [android-developers] Re: how to exit touch mode in Android

2010-10-25 Thread Mark Murphy
On Mon, Oct 25, 2010 at 3:26 PM, Gabriel Huie wrote: > Im basically trying to have a list of items in listview and with that > select an item then have the item stay selected as i have a button on > my app on the bottom of the screen for it. Use android:choiceMode="singleChoice" and a CheckedText

[android-developers] Re: Gallery Control Fling operation

2010-10-25 Thread Kumar Bibek
Can you post some code for your touch or click handlers if you have any? On Oct 25, 5:03 pm, Vicky wrote: > Hi, > > I am trying to stop the Gallery's fling operation after just one view > change. > I am able to do it but I used setSelection(getSelectedItemPosition() > +1,true) but i am not able t

[android-developers] Re: Saving data to SQL lite

2010-10-25 Thread Kumar Bibek
http://sites.google.com/site/learncodesnow/contact http://developer.android.com/guide/topics/data/data-storage.html#db There are a lot of resources you can look at. On Oct 24, 12:37 am, jamesy281 wrote: > Hi there, > > I would like to be able to save& view the data from 3 edit text fields > and

[android-developers] Re: how to exit touch mode in Android

2010-10-25 Thread Gabriel Huie
Im basically trying to have a list of items in listview and with that select an item then have the item stay selected as i have a button on my app on the bottom of the screen for it. I want the user to be able to see what they selected as they push the button i mean its like a list of songs and i h

[android-developers] Re: JavaScript Debugging

2010-10-25 Thread kypriakos
Hi Dan, did you get a response on this thread? I posted a similar question under the title XMLHttpRequest(). Let me know. Thanks On Sep 30, 5:33 pm, Dan wrote: > Hello, > > I've been trying to debug JavaScript in the emulator using the > instructions provided > athttp://developer.android.com/

[android-developers] Re: Android and XMLHttpRequest()

2010-10-25 Thread kypriakos
Hi all - trying this one again ... I was not able to figure out why the XMLHttpRequest() behaves the way it does in Android. Anyone else had any experience with this? Thanks On Oct 6, 11:06 am, kypriakos wrote: > Hi Doug, > > thanks for the response. I am using 2.1. It's not that the browser >

[android-developers] Re: Gogle: fix the effing Lunar Lander example, unless it's an example of crappy programming.

2010-10-25 Thread Morrison Chang
Don't think they can remove it as it is part of the Android Compatibility Definition Document that ODMs have to go through. http://static.googleusercontent.com/external_content/untrusted_dlcp/source.android.com/en/us/compatibility/android-2.2-cdd.pdf See section 4. At least if you implement OpenGL

Re: [android-developers] how to exit touch mode in Android

2010-10-25 Thread Mark Murphy
On Mon, Oct 25, 2010 at 3:05 PM, Gabriel Huie wrote: > I was wondering is there a written code way to exit out of touch mode > in Android i tried googling it and there wasn't and example i was able > to find online but was wondering if anyone knew any written code to > exit out of touch mode in An

[android-developers] how to exit touch mode in Android

2010-10-25 Thread Gabriel Huie
I was wondering is there a written code way to exit out of touch mode in Android i tried googling it and there wasn't and example i was able to find online but was wondering if anyone knew any written code to exit out of touch mode in Android -- You received this message because you are subscribe

Re: [android-developers] NFC Examples Execution Problem

2010-10-25 Thread TreKing
On Sat, Oct 23, 2010 at 10:41 AM, Android Humanoid wrote: > First I would like to know what is Connection Center in that document. > I think you'd be better served on a forum dedicated to whatever you're talking about. -

Re: [android-developers] Problem with OpenGL ES application,please help

2010-10-25 Thread Leigh McRae
Here is what I would do. First you need a fps counter going first to measure impact of changes. Just logging it to the console once a second could be enough. Then I would have something that overrides setting the texture so that they all use the same texture. You don't need input for this.

Re: [android-developers] Reading Database files

2010-10-25 Thread TreKing
On Fri, Oct 22, 2010 at 2:05 AM, Prateek Jain wrote: > Is it possible to read the database files in Android 2.1 ? For example, > files in /data/data/com.android.providers.contacts/databases/contacts2.db > I highly doubt it. Use the ContentProviders that expose this data. > And is it possible to

Re: [android-developers] 2 questions

2010-10-25 Thread TreKing
On Thu, Oct 21, 2010 at 9:48 PM, kernelpanic wrote: > so I have a LinearLayout and need to provide some differentiation between > views in that layout > Just add views that define the dividers in between the other views. You can simply have a "divider" view defined in XML that you include in the

[android-developers] Re: Looking for someone to test with a 600mhz phone

2010-10-25 Thread Morrison Chang
Just pulled it down from Market and put it on both a ADP1 - G1 running stock 1.6 and a Motorola Droid running stock 2.2 - build FRG22D Note that I didn't connect to adb so these are just thoughts and observations: Worked pretty well on the G1. Other than expecting to hear some background music du

[android-developers] Re: Problem with OpenGL ES application,please help

2010-10-25 Thread Robert Green
Or - make an atlas and only do 1 texture bind per cube. Raging Thunder 2 probably only switches under a dozen times per draw because of atlasing, group-by-texture optimizations, etc. There are profiling tools you can get to check for performance bottlenecks, btw. Search for the Adreno profiler i

[android-developers] Re: Why "Toast.makeText()" method has to extends Activity??

2010-10-25 Thread Riccardo Ciovati
On 25 Ott, 05:37, "Ian k...@tw" wrote: > "Toast.makeText(this, "text", duration).show();" in a class > why have this class extend Activity?? You have not to pass a subclass of Activity but only an instance of Context class. Obviously if you pass null it doesn't works. -- You received this messa

RE: [android-developers] android Service

2010-10-25 Thread Tommy
If you are interested in getting a book I might Recommend Beginning Android by Mark L. Murphy from Apress publishing ISBN:978-1-4302-2419-8 I feel this book did a great job at explain beginner concepts as well as some more advance concepts with ease of use and some nice examples. Might also help

RE: [android-developers] android Service

2010-10-25 Thread Tommy
If you are interested in getting a book I might Recommend Beginning Android by Mark L. Murphy from Apress publishing ISBN:978-1-4302-2419-8 I feel this book did a great job at explain beginner concepts as well as some more advance concepts with ease of use and some nice examples. Might also help

[android-developers] Re: Looking for someone to test with a 600mhz phone

2010-10-25 Thread Byron Penner
Ok I just checked it out gameplay was super smooth all over the spectrum tested down to 300mhz. There was an issue with the main menu jiggling all over the screen though. Made it very hard to enter the game because the id slots and buttons here all messed up but the game ran perfectly. On Oct 25,

RE: [android-developers] Re: Application still Running After Exit

2010-10-25 Thread Tommy
As Android is an incredibly fast paced project at this point with lots of inputs from lots of different people I think one should expect these sorts of things. It will be hard for most developers to become " professionally efficient" with their apps, but, that may not be solely the developers fa

[android-developers] Re: Problem with OpenGL ES application,please help

2010-10-25 Thread Nightwolf
Try reducing texture resolution. 128x128 texture for each of 6 sides of the cube. That means you do 6 texture switches to draw one cube. 10 cubes - 60 texture switches per one scene. Use one texture for all your cubes and see what you get. On 25 окт, 16:40, gambiting wrote: > Hi there, > > I am c

  1   2   3   >