Re: [android-developers] Re: i am new in Android and i don't know how to create media player project please help me

2010-10-14 Thread Miguel Morales
Help you with what? You'll have to be MUCH more specific. 2010/10/14 Vitaliy Tarasenko : > What do you mean cant create? Object of MediaPlayer class?? Project > for using media player is similiar for any android project - > MediaPlayer is usual class which you can use. > > On 14 Жов, 21:27, ketan

R: Re: [android-developers] Suggestion for list search

2010-10-14 Thread sandma...@libero.it
Messaggio originale Da: coomar@gmail.com Data: 14/10/2010 21.28 A: Ogg: Re: [android-developers] Suggestion for list search Simple sql queries should get you going. Search by short, and display what you want So you suggest using SqlLite, or will query work on xml data?Ciao -

[android-developers] how to get focus color of button in theme

2010-10-14 Thread A N K ! T
Hi there, I want to extract the current theme's button focus colour (ie 'orange' in the dark theme) so I can use it draw the focused state of a custom control. Can anyone give me or point me to some code that will extract that particular colour from the current theme's StyledAttributes? There don

[android-developers] Re: i am new in Android and i don't know how to create media player project please help me

2010-10-14 Thread Vitaliy Tarasenko
What do you mean cant create? Object of MediaPlayer class?? Project for using media player is similiar for any android project - MediaPlayer is usual class which you can use. On 14 Жов, 21:27, ketan mehta wrote: > i am new in Android and i don't know how to create media player > project please he

[android-developers] Re: parse plist

2010-10-14 Thread Indicator Veritatis
No doubt. But is it valid XML, or only well-formed XML? If the latter, then you would not want to use a validating parser. Then there is the issue of which parser is best for the job: a top-down parser (DOM) representing the whole document tree, or an event-based parser like SAX. And there are even

[android-developers] Re: Create rows at Runtime

2010-10-14 Thread pramod.deore
Here is my .java file public class SwitchSetting extends Activity implements OnClickListener { EventDataSQLHelper eventsData; TextView output; StringBuilder ret; private static final int ADD_ROOM = 0; private static final int MAIN_HALL = Menu.FIRST; p

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-14 Thread TreKing
On Thu, Oct 14, 2010 at 1:23 AM, kevens hao wrote: > I cannot use debugger when run monkey test. (monkey test likes windows > mobile's hopper test.) > From the log, the crashing code is super.onRestoreInstanceState(). > Well then put in a lot more logging? Not sure what else to tell you. --

Re: [android-developers] divider for forms

2010-10-14 Thread A N K ! T
*use this with background color u want and the y position,,,* On Fri, Oct 15, 2010 at 10:42 AM, TreKing wrote: > On Wed, Oct 13, 2010 at 6:03 PM, Varun Khanduja > wrote: > >> I am wondering if someone has insights into how I can put a line divider >> between each line( row) >> > > You can si

Re: [android-developers] divider for forms

2010-10-14 Thread TreKing
On Wed, Oct 13, 2010 at 6:03 PM, Varun Khanduja wrote: > I am wondering if someone has insights into how I can put a line divider > between each line( row) > You can simply add a 1 or 2 pixel high TextView iwth no text and a unique background color. Or an ImageView with a custom drawable that de

Re: [android-developers] Create rows at Runtime

2010-10-14 Thread TreKing
On Thu, Oct 14, 2010 at 11:58 PM, pramod.deore wrote: > I had tried but can't succeed. What did you try? - TreKing - Chicago transit tracking app

Re: [android-developers] Android : Can we have Packages inside Layout

2010-10-14 Thread Kumar Bibek
NOPE On Thu, Oct 14, 2010 at 9:24 PM, Jatin D Patel wrote: > I have multiple view. But for systematic distribution of views (.xml files > inside layout folder). I would like to have different packages (/folders) > inside Layout. Is It possible. > > @Attached : Screen shot > > IF that is possible

Re: [android-developers] I need you:an error when call a extends ListActivity class at setContentView(R.layout.setting_time);

2010-10-14 Thread Kumar Bibek
What is the error? Do you have this file setting_time.xml? On Thu, Oct 14, 2010 at 6:38 PM, LiangLiang Wu wrote: > Hi guys I need your help, and i search for a whole day on the net,but. > > from my main class, I want to load SettingTimeWheel.class use intent: > > > Intent settingpage = new

Re: [android-developers] Internal Phone Storage Size

2010-10-14 Thread Kumar Bibek
Yup thats true. Most of the phones, will have limited internal storage space. Still, it's possible to create emulators with more internal memory, but then, those emulators won't give you a real testing ground. On Fri, Oct 15, 2010 at 10:30 AM, John Gaby wrote: > Is there a way to set the emulato

Re: [android-developers] Need help with created simple GUI

2010-10-14 Thread TreKing
On Wed, Oct 13, 2010 at 2:19 PM, Gabriel Huie wrote: > so for my gui i want the display to have a list of the items like > ListActivity does but add a button on the bottom of the screen > Look at setFooterView or just added the button outside the ListView but within the same parent layout as th

[android-developers] Internal Phone Storage Size

2010-10-14 Thread John Gaby
Is there a way to set the emulator's internal storage size? It is currently set to a fairly low value. Also, while searching for the answer to this question (which I didn't find), I ran across several threads which seemed to indicate that many phones have a very limited amount of internal storage

[android-developers] Create rows at Runtime

2010-10-14 Thread pramod.deore
Hi, I want to create n number of rows at runtime after clicking button and 2 number of columns for each rows. I had tried but can't succeed. Anybody knows how to do this? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

Re: [android-developers] my application can't work on 2.2 simulator

2010-10-14 Thread Kumar Bibek
You have to give your app a permission WRITE_EXTERNAL_STORAGE Also, you cannot create a file in the root directory of the SD CARD. On Fri, Oct 15, 2010 at 10:08 AM, cindy wrote: > My application which can work on 2.1, but when I use 2.2 simulator, I > got error on create file: > java.io.IOExce

[android-developers] starting window in android

2010-10-14 Thread Revathi K J Ramanan
Hi all, I want to know what is the actual use of starting window in android? What does the functions addStartingWindow and removeStartingWindow does? Is it a kind of fake window that will be shown to the user till the application dispalys the proper window? Is it created for every application?

[android-developers] Re: Do you spend any time sending DMCA notices

2010-10-14 Thread dm1973
The ones that are annoying are the alternative android markets who are basically pirates. The definitely are not covered by the DMCA (i.e. its the owners or employees who are uploading the software and I have emails from several of them saying that). If any of them ever get successful, I am going t

[android-developers] Re: my application can't work on 2.2 simulator

2010-10-14 Thread pramod.deore
can you show us the logcat error On Oct 15, 9:38 am, cindy wrote: > My application which can work on 2.1, but when I use 2.2 simulator, I > got error on create file: >  java.io.IOException Permission denied. > > Does anyone has same problem. How to fix it? > > Thanks! > > Cindy -- You received

Re: [android-developers] How to package shared libraries in apk?

2010-10-14 Thread Dianne Hackborn
If you are talking about native shared libraries, the best place to ask is android-ndk. If you are talking about Java shared libraries, those are not supported; you need to build the Java code all together in to your application. On Thu, Oct 14, 2010 at 3:10 AM, Mounish wrote: > Hi, > > I need

[android-developers] my application can't work on 2.2 simulator

2010-10-14 Thread cindy
My application which can work on 2.1, but when I use 2.2 simulator, I got error on create file: java.io.IOException Permission denied. Does anyone has same problem. How to fix it? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups "Android Developers" g

Re: [android-developers] Android system / API / replacing system libraries

2010-10-14 Thread Dianne Hackborn
On Wed, Oct 13, 2010 at 11:38 AM, James Burley wrote: > Watch the Android developer video titled something like "all apps are > created equal". It should help you figure out how to do just that! > No, you can't. TextView is not an app. This is actually something really undesirable to support.

[android-developers] Re: OutOfMemoryError

2010-10-14 Thread Lisa
thank you very much、for your answers. (⌒.⌒)/ -- viktor : I switching image, implements the following: if (imgViewBG != null) { final Bitmap imageBG = BitmapFactory.decodeFile(strFile+".png"); imgViewBG.setImageBitmap(imageBG); } ---

Re: [android-developers] My BroadcastReceiver is not receiving the BOOT_COMPLETED intent after my N1 boots. Help Please!!!

2010-10-14 Thread nimish khandelwal
hi try this in your on receive method if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) { //print some thing here than u will get if it is coming in on receive method or not } nimi On Thu, Oct 14, 2010 at 10:52 AM, oracleicom wrote: > I am unable to get my Broadcast

Re: [android-developers] What is the best approach to store audio files for use in android application?

2010-10-14 Thread Dalvinder Singh
If you want to scale your application and in future also want to change these audio files then these audio files should be at some server. it should be like: 1: Application maintains a version for audio files stored in Res. 2: Application starts, it will send version to server 3: On checking versi

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-10-14 Thread Scott Bonagofsky
Whatever the reason, please front-burner this issue for an OTA fix. (Hopefully one that does not require a factory reset!) It is preventing me from using the only dictation app in the Android Market that seems to be worth a damn. On Oct 14, 6:42 pm, Scott Bonagofsky wrote: > Still no fix?  I jus

Re: [android-developers] Android system / API / replacing system libraries

2010-10-14 Thread Hendrik Greving
Where can I find this? - Original Message - From: James Burley To: android-developers@googlegroups.com Sent: Wednesday, October 13, 2010 11:38 AM Subject: Re: [android-developers] Android system / API / replacing system libraries Watch the Android developer video titled so

[android-developers] I need you:an error when call a extends ListActivity class at setContentView(R.layout.setting_time);

2010-10-14 Thread LiangLiang Wu
Hi guys I need your help, and i search for a whole day on the net,but. from my main class, I want to load SettingTimeWheel.class use intent: Intent settingpage = new Intent(this,SettingTimeWheel.class); startActivityForResult(settingpage, 0); SettingTimeWheel is a "extends ListActivity" c

[android-developers] Re: Alternative to GLWallpaperService, OpenGL Live Wallpaper

2010-10-14 Thread Mark Guerra
I am also working on a 3D wallpaper, and would like to know the "correct" way to implement an OpenGL-powered live wallpaper. This is a problem I have wrestled with on and off for a few weeks now. The Android.com article (http://developer.android.com/resources/ articles/live-wallpapers.html) seems

[android-developers] where comes --custom-target while building market_licensing

2010-10-14 Thread LeX
Hello, I would like to add the option "--custom-package" for the generate resources step of my application as it happens while the market_licensing library is build: [null] ... [null] Executing '/usr/local/android-sdk-linux/platforms/ android-8/tools/aapt' with arguments: [null] 'p

[android-developers] Android : Can we have Packages inside Layout

2010-10-14 Thread Jatin D Patel
I have multiple view. But for systematic distribution of views (.xml files inside layout folder). I would like to have different packages (/folders) inside Layout. Is It possible. @Attached : Screen shot IF that is possible, is the following statement correct ?. If Not whats the solution? setCon

[android-developers] What is the best approach to store audio files for use in android application?

2010-10-14 Thread dipti
Hi, I've created an application which uses around 15 small audio files. Right now I'm using mp3 files and each is around 200KB. These files are stored in my res/raw directory. I'm using SoundPool class to play the files in my application. I'm hoping to put this application on the android market p

[android-developers] i am new in Android and i don't know how to create media player project please help me

2010-10-14 Thread ketan mehta
i am new in Android and i don't know how to create media player project please help me i read about streaming i see Android developer Example but i can't create media player so please help me thanks -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Memory leak using ListActivity in Android?

2010-10-14 Thread Kebab
I have an application that uses a Service and some list activities. When the activities are opened, I can see the heap usage increase in DDMS. When the activities are closed, the heap usage decreases slightly. The service is still running in the background at this point. If the activity is started

[android-developers] WiFi Range and Ad-Hoc Networks

2010-10-14 Thread Juan
I am initiating the design of an application that would require an Android phone to connect to another Android phone via Ad-Hoc networking with or w/o security. I would like to know if Android supports ad-hoc networking. I would also like to know what is the average range of the wifi signal from a

[android-developers] Detect a received outgoing call

2010-10-14 Thread Robotten
I havn´t been able to find out, how to detect the event (if there are any), when an outgoing call is answered - does anybody know how to do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] How does Android handles PCM data from voice call?

2010-10-14 Thread mshklyarman
Dear experts, I am trying to understand whether or not Android handles the phone conversation's audio stream or it is done outside Android's framework. Specifically, if, for example, Android controls a cellular processor that provides PCM interface for voice conversation and there is a need to sen

[android-developers] send events from Android device to PC

2010-10-14 Thread Miguel Pellón
Hi all, I am trying to automate some tasks using adb commands in java, but in order to confirm tasks are completed, I need some reply from the device to the PC controlling it. I thought about using the logcat, but since android is continuously writing on the log, there might be problems accessing

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-10-14 Thread Scott Bonagofsky
Still no fix? I just bought a Droid 2 more than a month after Motorola knew about this problem. Why didn't you fix the problem on unsold phones before you sold them? On Sep 30, 4:03 pm, JonFHancock wrote: > The last update from Google/Verzion was half a month ago.  Is there > any progress to re

[android-developers] Android RIL / GSM Parameter

2010-10-14 Thread Opendix
Hello We are actually trying to develop an Android app which should record as much GSM-Parameter as possible during a call. After the call it ask the user some questions depending on the type of call end. (Signal Lost, normal local hangup, remote hangup, ...) We are not allowed to root the phone

[android-developers] Googlenav package

2010-10-14 Thread Steve
Hi, I can't import com.google.googlenav package in my class (SDK 1.0) so I looked up (SDK 0.9) an android.jar file I could see this package. I been told that that googlenav package is no longer supported? Any one have alternative to solve the problem with driving direction? -- You received this

[android-developers] AIDL tool did not download

2010-10-14 Thread peter
Hello, I'm unable to find the AIDL tool in my OSX install. My tools directory does not have AIDL, but it has everything else (Adb, android, ddms, etc). I've tried opening the SDK and AVD manager and reinstalling the Android SDK Tools Rev 7, no luck. Any idea on how I can get a hold of the tool?

[android-developers] Xperia X10 Mini Pro

2010-10-14 Thread Adam Goodchild
For some reason, on the X10 Mini Pro Toast Notifications are not showing up correctly. It only displays a single line of the Toast, and cuts off the rest so you cannot see the text. After testing on the X10 Mini, it seems to work fine on this device. So its just the Mini Pro which has the issue...

[android-developers]Get the GPS when I access a website by Android phone

2010-10-14 Thread Shi Guang
Hi,everybody. I have a problem not about a Android application, but How to get the location (GPS,lat,lon that is enough) when the Android user access my website or click a button on my site. Of course , when user access mysite by normal 3G phone(NOT smartphone), There is a admonition pop out just

[android-developers] How to discover and connect a particular type of BluetoothDevice

2010-10-14 Thread Suresh Pal
Hello All, I am currently in process of developing a Bluetooth Application. Where I have various options including connecting to A2DP, HF devices, sending vCard, vCalendar etc. So as par my requirement, for particular action, I want to discover that type of device and then connect and do the oper

[android-developers] How to package shared libraries in apk?

2010-10-14 Thread Mounish
Hi, I need to add few shared libraries to the andriod as part my application installation. Can you please suggest right information resources regarding the same. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] My BroadcastReceiver is not receiving the BOOT_COMPLETED intent after my N1 boots. Help Please!!!

2010-10-14 Thread oracleicom
I am unable to get my BroadcastReceiver onReceive method called using the BOOT_COMPLETED intent. -- AndroidManifest.xml --

Re: [android-developers] Android system / API / replacing system libraries

2010-10-14 Thread James Burley
Watch the Android developer video titled something like "all apps are created equal". It should help you figure out how to do just that! On Oct 13, 2010 2:09 PM, "HenSFO" wrote: > Hi I'm engineer but more from a chip/assembler x86 level. I'm new to > Android. Still figuring some general things o

Re: [android-developers] Integrating Barcode Scanner

2010-10-14 Thread Sachin Keswani
I found this same error after I upgraded ADT 0.9.5 -> 0.9.9 and DDMS 0.9.5 ->0.9.9 after Eclipse kept complaining to ADT 's latest version.Everything was working fine before the update and for some reason I'm able to "Revert Configuration" in Eclipse but not able to save it. This looks to me the c

[android-developers] Linux Kernel Motion Events

2010-10-14 Thread Dima Kuzminov
Hello Team, I'm working on multi-touch within Android 2.2 I need to support following use cases: 1. Report Pen activities 2. Report Multi-touch activities I prefer to have very clear documentation that describes Android protocol works, but not very short description that actually don't work well.

[android-developers] OutOfBoundsException within replaceAll

2010-10-14 Thread Patrick
On Oct 13, 2010 12:45:20 PM my application got this exception report. java.lang.ArrayIndexOutOfBoundsException at java.util.regex.Matcher.group(Matcher.java:371) at java.util.regex.Matcher.appendEvaluated(Matcher.java:173) at java.util.regex.Matcher.appendReplacement(Matcher.java:146) at java.util

[android-developers] Regarding survey of android..

2010-10-14 Thread ponniyinselvan
Hi Android developers, Can you anyone survey about android OS and Android market as you discussed so far and what will be ur inspection about android in future.? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Need help for scrolling interface

2010-10-14 Thread pranay
I wish to make a scrolling interface. The screen is populated with images in the left one fourth and corresponding text for an image in the remaining three fourth. There will be n number of image-text on the screen and hence should be scrollable. Also image-text when clicked takes you to a new scre

[android-developers] Calendar shows events advanced by 30 mim

2010-10-14 Thread Sree
Hi Devs, I've got my exchange calendar syncing with my android (2.1 Update1) phone. I see the calendar events show up 30 minutes early than the actual time. I've checked the timezone and they are correct between Exchange and my phone. I've searched for this over the internet. Many have reported t

[android-developers] fiel download, java.net.URL, streams

2010-10-14 Thread raa
Hey Guys, i am from austria i am developing android a few days now and startet to write an application that gets a file from a server to display the content. I have this code here try { super.onCreate(icicle); setContentView(R.layout.main); EditText myEditText

[android-developers] deleting thumbnails in android

2010-10-14 Thread Mariano
Hi All, Does anybody know how to delete a thumbnail of an image? The input information i have to do it is the Uri of the image. I can delete the image itself, but i can´t figure out how to delete it´s thumbnail. I tried querying the Thumbnail's database and all it's variations with no success.

[android-developers] Get the GPS when I access a website by Android phone

2010-10-14 Thread Shi Guang
Hi,everyone I have a problem not about a Android application, but How to get the location (GPS,lat,lon that is enough) when the Android user access my website or click a button on my site. Of course , when user access mysite by normal 3G phone(NOT smartphone), There is a admonition pop out just a

[android-developers] Chinese Language for uploading an App

2010-10-14 Thread acutter
Hi I just uploaded our Chinese version of SMS Group Messaging E2 - CN and I could not input a Chinese description for the use in Hong Kong. When will the Android market have this. Al -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Froyo Error

2010-10-14 Thread TheLoneJoker
I am trying to bring-up Froyo on a custom board. I am not able to make much sense of the error here. Could someone please give me any hints ? E/AndroidRuntime( 673): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread E/AndroidRuntime( 673): java.lang.UnsatisfiedLinkError: native_

[android-developers] EditText setWidth upon orientation change fail

2010-10-14 Thread June
I wanted to update my searchBox width display upon device orientation change. I tried two options: 1. set res/layout-land/main.xml. I noticed that the layout is loaded at the beginning of the application properly. However, if I change the orientation while the application is still running, the lay

[android-developers] Wakeup alarm logging

2010-10-14 Thread Arun
Hello All, I am trying to identify the applications and services that set alarms that wakes up from the device from suspend, I tried adding addding a few log messages to AlarmManagerService.java to print the application to which the pending Intents are directed, but most of the times I get the int

[android-developers] WebSettings cache

2010-10-14 Thread teknoraver
Hi, I was trying to set a large cache on my SD card but I dicovered that all the WebView caching functions are fake. Here in the docs http://developer.android.com/reference/android/webkit/WebSettings.html#setAppCachePath(java.lang.String) is written that I can set a cache directory but really th

[android-developers] developing the android xmpp cleint

2010-10-14 Thread hello hello
hi android group, I'm developing the android XMPPClient,the one to one chat is success in android using smack api. i have two doubts 1)how to reuse connection class through the project 2)how to retrieve the the groups existing in the openfire server. 3)how to retrieve chat history from mysql db

[android-developers] Re: Android system / API / replacing system libraries

2010-10-14 Thread jcburley
Some system components you can replace, mainly anything to which your app (or other apps) sends Intents to get them to do things. Would be nice to be able to substitute a subclass of a TextView for not just your own apps, though On Oct 13, 4:33 pm, "Hendrik Greving" wrote: > Ok thanks that's

[android-developers] Re: application widget and switching orientation...

2010-10-14 Thread sdphil
nevermind, i'm an idiot! i had visibility="gone" in the landscape xml. me = dummy! On Oct 14, 8:19 pm, sdphil wrote: > I have a samsung tablet. > > I have a test widget. > > When I change orientation the widget disappears, but is actually still > there (I can long press to remove it). > > in my

[android-developers] application widget and switching orientation...

2010-10-14 Thread sdphil
I have a samsung tablet. I have a test widget. When I change orientation the widget disappears, but is actually still there (I can long press to remove it). in my res directory, I have res\drawable res\drawable-hdpi res\drawable-ldpi res\drawable-mdpi res\layout res\layout-land res\layout-large

[android-developers] Create rows and columns at runtime

2010-10-14 Thread pramod.deore
I want to create 2 columns and n number of rows at runtime. but I don't know how to this. I had tried it , I succeed making n number of rows at runtime but can't make 2 columns. please help me how to do this? -- You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Tutorial to start developing Graphic EQ in C or C++

2010-10-14 Thread David Castillo Fuentes
Hi, Is there a way you could share a tutorial/manual, to start develop IIR filters, I'm interested in developing equalizers of 1eighth, 1/3eighth. for any given band number. Thanks a lot for your quick support on this. Regards David -- You received this message because you are subscribed to th

[android-developers] Re: Detecting CB Radio Signals with Android Phones

2010-10-14 Thread Daniel Fung
Thanks guys. I think that would be too much of a hassle. What I am actually trying to do is to try and have the mobile detect that it is in a certain area of confinement. The only thing in that vicinity is a CB radio signal. Anyways, back to the drawing board. Thanks. D On Oct 14, 11:37 pm,

[android-developers] Re: Preferred method to open the Image Gallery? My previous implemention no longer works

2010-10-14 Thread Kumar Bibek
You should not be using component names like this. There are well- defined Intents for launching and selecting media from the gallery. This is the kind of problems you will face when you use explicit intents. Go for implicit intents instead. Just a simple trick might work, do not set the component

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2010-10-14 Thread Kumar Bibek
If you are finish an activity through code, onStop and onDestroy should be called. In extreme cases where the system kills your app, these two methods may or may not be called. I am sure, you are doing something wrong. Or may be it has got something related to "reboot" of phone. On Fri, Oct 15, 2

Re: [android-developers] SQLite Database Issues

2010-10-14 Thread Kumar Bibek
Well, the error is pretty obvious. There is no table with that name. If you have created the table, after your first installation, which didn't have this table, try uninstalling and re-installing this app. Make sure, you create all the tables that you need before you can start using them. On Fri,

[android-developers] Re: android books

2010-10-14 Thread MG
Hi all. Thank you for all your replies. I will try to look at them. Regards. On Oct 15, 12:26 am, DanH wrote: > Nothing that counts as "excellent" (at least not that I've found). > I've not found any that are anywhere near true "references" (in the > sense of even one of the "in a Nutshell" boo

Re: [android-developers] Re: Will threaded resource loading improve throughput, or just responsiveness

2010-10-14 Thread Dianne Hackborn
There are currently no SMP phones, so it is probably a little premature to be doing this. On Thu, Oct 14, 2010 at 12:02 PM, A Curious Developer wrote: > Asking in a less roundabout way ... will blocking I/O used to decode > or stream resources on one thread automatically yield execution to > othe

Re: [android-developers] Re: How to force a service to stop after a fixed time?

2010-10-14 Thread Dianne Hackborn
Also strongly consider returning START_NOT_STICKY from onStartCommand() so that if your process gets killed the service doesn't get restarted. On Thu, Oct 14, 2010 at 3:58 PM, Bret Foreman wrote: > You can use a Java Timer or the AlarmManager. Either way, look out for > any open bindings to the s

[android-developers] mediaplayer.create causes null pointer exception

2010-10-14 Thread intbt
Anybody give me an idea as to what is going on - I have used this same code in another app and it works fine. It seems like it can't find the enter_dvd.mp3 file in the raw folder but it is there. The error occurs at the create line. public class playScales extends Activity implements OnCompletionL

[android-developers] Re: Synchronization in Android, Gmail, where do you get the source code?

2010-10-14 Thread Peter Teoh
git clone git://android.git.kernel.org/platform/packages/apps/Sync.git On Oct 14, 8:18 pm, FleeCloo wrote: > hello > > I'm from Korea. > > Please understand, if not speak English very well. > > http://android.git.kernel.org/?p=platform/packages/apps/Sync.git;a=su... > > At the above address > >

[android-developers] How to enable tracing in Android

2010-10-14 Thread Peter Teoh
I saw this random post: http://pastebin.com/m79d3d2ae I am curious - how to enable such kind of tracing in Android? It is very informative to know for debugging. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

Re: [android-developers] [android] How to wrap multi APK into one Installation package?

2010-10-14 Thread kevens hao
Hi Marcin, I add the APKs into "assets" folder. But how to get the APK from the resource and install it? Thanks. 2010/10/14 Marcin Orlowski > On 14 October 2010 04:36, kevens hao wrote: > > Now have some APKs, and want wrap these APKs into one installation > > package. > > How to do it? > > T

[android-developers] Re: OutOfMemoryError

2010-10-14 Thread fr4gus
My two cents: I recommend you to use a cache and define a logic to make bitmaps to expire at some point ( X seconds of not being display, etc) This is a really good article about handling images and obviously its main subject, multithreading for performance. http://android-developers.blogspot.com

[android-developers] SQLite Database Issues

2010-10-14 Thread Albert
Hi all, I can see from some user's logs that my app randomly gets the following SQLiteException: android.database.sqlite.SQLiteException: no such table: DietTip: , while compiling: SELECT DISTINCT tip FROM DietTip at android.database.sqlite.SQLiteProgram.native_compile(Native Method)

Re: [android-developers] Synchronization in Android, Gmail, where do you get the source code?

2010-10-14 Thread David Castillo Fuentes
http://source.android.com/source/download.html On Thu, Oct 14, 2010 at 7:18 AM, FleeCloo wrote: > hello > > I'm from Korea. > > Please understand, if not speak English very well. > > http://android.git.kernel.org/?p=platform/packages/apps/Sync.git;a=summary > > At the above address > > Was to re

[android-developers] Re: How to force a service to stop after a fixed time?

2010-10-14 Thread Bret Foreman
You can use a Java Timer or the AlarmManager. Either way, look out for any open bindings to the service. The binding will probably throw an exception when the service stops. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] How to force a service to stop after a fixed time?

2010-10-14 Thread Achie
I have a service which runs in the background when the user starts using my app. I am using it to do some posts to our server. I always close my service by calling stopSelf as soon as the posts have been made or failed. But I recently observed two times that my service did not stop. I saw that in

[android-developers] Re: Changing unselected color of TextView

2010-10-14 Thread Bret Foreman
Actually, I think it's the selected state that is black, not the other way around. But the problem remains - I don't want the text to change color. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Changing unselected color of TextView

2010-10-14 Thread Bret Foreman
I have a TextView that lives inside a LinearLayout. When I call LinearLayout.setSelected(false) the TextView text changes from white to black. Is there a way to set the unselected text color to something else? -- You received this message because you are subscribed to the Google Groups "Android D

Re: [android-developers] Re: Rotate bitmap in opengl

2010-10-14 Thread Kostya Vasilyev
Add another rotate call before the non-working translate, with the inverse angle (in your case, the value in 'angle' without the '-'). This will reverse the rotation so the translate call can undo the translation. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 15.10.2010 1:30 пользователь "

[android-developers] Re: Rotate bitmap in opengl

2010-10-14 Thread Alistair.
Alas, that had no effect. I have _something_ sort of working surface.glMatrixMode(GL10.GL_MODELVIEW); surface.glEnable(GL10.GL_TEXTURE_2D); surface.glBindTexture(GL10.GL_TEXTURE_2D, ids[index]); Grid.beginDrawing(surface, true, false);

[android-developers] Re: Do you spend any time sending DMCA notices

2010-10-14 Thread JonFHancock
I've claimed my app on AppBrain. AppBrain is just like AndroLib and other such sites that just scrape the market and post it on the website. They don't distribute apps directly. I've never seen a comment in the market at all from AppBrain, much less a spammy comment. I see tons of AppBucket, wh

[android-developers] Re: Intent to load Call Log

2010-10-14 Thread Muhammad Bilal
i tried that too , but it gave error, it seems that you cant use android.provider.CallLog.Calls.CONTENT_URI for ACTION_PICK , i looked on other places places and did some search on that but this an't possible there is no intent for selecting a contact from call log so eventually i wrote my own cod

[android-developers] Re: Intent to load Call Log

2010-10-14 Thread Muhammad Bilal
i tried that too , but it gave error, it seems that you cant use android.provider.CallLog.Calls.CONTENT_URI for ACTION_PICK , i looked on other places places and did some search on that but this an't possible there is no intent for selecting a contact from call log so eventually i wrote my own cod

[android-developers] Bluetooth breaks when more than 1 app uses BT SPP?

2010-10-14 Thread burtoogle
Hi, Perhaps someone can shed some light on this: Using HTC Desire + Froyo and the 2.1 API. I have an app that uses BT SPP to talk to some custom hardware. It's normally very reliable, I can start and stop the app many times and it always works as expected. Today, I was working on another app t

[android-developers] How to map customized column to search result?

2010-10-14 Thread Android-Berry
Hi All, I have read google search document and read the sample for SearchableDicationary and NotePad for ContentProvider. however, I am confused by search query within ContentProvider. that is, how to map my customized column to Search display Result. for example: my database construct: _id, fi

[android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2010-10-14 Thread icedogchi
onStop and onDestroy may or may not be called. onPause is the last method you are guaranteed will be called. Check out the activity life cycle: http://developer.android.com/reference/android/app/Activity.html On Oct 14, 1:04 am, mariush wrote: > Hi, > i`ve got some problems with finish() metho

[android-developers] Re: Multiple Object Passing Between Activies

2010-10-14 Thread Derek Winstead
OK, I solved my own problem. You can pass multiple objects using parcelable. As long as the key names are different. In my parcelable code for the object I missed a new variable I added in the creation of the parcelable. So when the object is called to reconstruct itself it is going off an array t

[android-developers] Re: The seek bar of Mediacontroller is not been updating according to de audio player

2010-10-14 Thread MarcoAndroid
I asked this and a bunch of other questions/strange behaviour I found a little while ago here: http://groups.google.com/group/android-developers/browse_thread/thread/bd94a4a77e125a0e/f65ad7372ca8dee2 My workaround for your questions might be under quesion 4). Maybe that helps. On 11 okt, 03:56, M

[android-developers] Re: How can i set text in EditText

2010-10-14 Thread DanH
Yep, that would appear to be it. (Sorry I besmirched the good name of Android ;) ) On Oct 14, 1:51 pm, Daniel Drozdzewski wrote: > On Thu, Oct 14, 2010 at 7:26 PM, DanH wrote: > > Other platforms have a facility for specifying prompt text to appear > > in a text entry box, but I don't see an An

Re: [android-developers] Suggestion for list search

2010-10-14 Thread Kumar Bibek
Simple sql queries should get you going. Search by short, and display what you want On 15-Oct-2010 12:54 AM, "sandma...@libero.it" wrote: Hi, I have to search in an almost-static table with two fields, both strings, SHORT_NAME and LONG_NAME. I have to search for the short name and the program w

Re: [android-developers] Multiple Object Passing Between Activies

2010-10-14 Thread Kumar Bibek
Haven't tried this yet, never felt the need, but I am guessing that it should work On 15-Oct-2010 12:54 AM, "Kostya Vasilyev" wrote: 14.10.2010 23:16, Derek Winstead пишет: > > I have an application that I would like to have multiple objects > passed around the activities... You can attach as

  1   2   >