[android-developers] Re: Strategies for alerting users about new versions of your app in the appstore?

2009-06-14 Thread TjerkW
This is al implemented in the Android market and it comes for free when publishing your app in the market. And any is evert body staking about an app store, ita called the Android market On 14 jun, 05:30, pawpaw17 georgefraz...@yahoo.com wrote: Guys, Is there a methodology for pushing out

[android-developers] About EditText's default text

2009-06-14 Thread stonestrange
Hi,guys. I want set the default text in EditText,and when the user focus on the EditText,the default text would disappear. Who knows how to set it? And i also want to have the same effect in Spinner.That means i want to add the tip into Spinner.Is it technically feasible? Thank you all.

[android-developers] Question about long pressed

2009-06-14 Thread patpat
nomrally press a key will cause a keydown event however, when i long pressed a key, it keep causeing keydown events every few sec.. how can i fix this? I only want one keydown event no matter how long it is pressed is there anyway to do this??

[android-developers] ExpandableListView with ResourceCursorAdapter problem

2009-06-14 Thread sebster
Hi everyone, I'm trying to get an ExpandableListView with a ResourceCursorAdapter to work and it's driving me crazy. The problem: When I let the activity manage the cursors the expanded state of the tree is not saved between orientation changes nor when I start an other activity over the top

[android-developers] Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-14 Thread TjerkW
A lot of developers and this problem: All resources in an APK are stored in the memory of the phone, it is impossible to force some resources to be saved on the sdcard. For example, check this use-case: I am creating a game with multiple levels a lot of sounds, menumusic and sprites. The size

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-14 Thread TjerkW
B.t.w: Dianne Hackborn already gave some usefull comments in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/9ab3c62274aff2a1/e79c251bdf60ed97?lnk=gstq=application+size#e79c251bdf60ed97 However i need more info. Is this going to be implemented in the future or

[android-developers] Hiding and showing titlebar at runtime?

2009-06-14 Thread gsmd
The option I see so far is calling requestWindowFeature (Window.FEATURE_NO_TITLE). Is there a way to bring it back programmatically? TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Scrollview and GestureDetector

2009-06-14 Thread SurtaX
I figured out how to do it for any1 interested @Override public boolean dispatchTouchEvent(MotionEvent ev){ super.dispatchTouchEvent(ev); return gestureScanner.onTouchEvent(ev); } On Jun 14, 2:43 pm, SurtaX garylo@gmail.com wrote: bump On Jun 13, 8:18 pm,

[android-developers] Popup Blocker software

2009-06-14 Thread whatn...@gmail.com
Popup Blocker is an acknowledged popup killer to block popup ads in Internet Explorer ( IE ), Netscape, AOL Explorer and is a tested software that helps the user to block popup ads in an efficient manner. It maximizes your surfing speed by guarding your system against annoying unwanted popup

[android-developers] Intel announces new Pentium III brand for next generation processors.

2009-06-14 Thread whatn...@gmail.com
M2 PRESSWIRE-12 January 1999-INTEL: Intel announces new Pentium III brand for next generation processors (C)1994-99 M2 COMMUNICATIONS LTD RDATE:110199 SANTA CLARA, Calif. -- Intel Corporation today announced the Intel Pentium III processor brand name for its next generation microprocessor

[android-developers] How to specify frames at runtime for AnimationDarawable?

2009-06-14 Thread javaumesh-android
Hi all I have a an activity which has an image view to display animation. and I'm reading resources from res/anim which is working absolutely fine. But what I'm trying is to specify the frames at run time instead of hard coding at the res/anim/file.xml any idea. ? Following works fine.

[android-developers] Scroller on LinearLayout

2009-06-14 Thread arnouf
Hi all, I create a LinearLayout (orientation horizontal) which contains some TextView. The LinearLayout has a size of 1200px. When user move on, the screen, I would like to do like the Launcher application. I tried to use startScroll function. even if I set a distance, the layout doesn't move

[android-developers] Re: Scroller on LinearLayout

2009-06-14 Thread arnouf
scrollTo(newPositionX, newPositionY) is working correctly... I have to use startScroll... Please, thanks for your help On 14 juin, 15:10, arnouf arnaud.far...@gmail.com wrote: Hi all, I create a LinearLayout (orientation horizontal) which contains some TextView. The LinearLayout has a size

[android-developers] Re: Strategies for alerting users about new versions of your app in the appstore?

2009-06-14 Thread nEx.Software
Unfortunately, it is implemented in a haphazard way by the Market. When you open the app, it does not trigger something on the Market to look for an update. Unless you specifically open the Market, go to My Downloads, and look if any apps have updates, you don't really know if there is an update.

[android-developers] Re: Dialogs don't fill width in landscape mode

2009-06-14 Thread Keith Wiley
bump On Jun 13, 11:33 am, Keith Wiley kbwi...@gmail.com wrote: Does anyone know how to make a dialog fill the screen width in landscape mode?  Setting the layout's width to fill_parent doesn't do it.  It always comes up portrait width, or something suspiciously similar.

[android-developers] Re: expandlistview user selection detection?

2009-06-14 Thread Bob
Figured it out, use setOnChildClickListener On Jun 13, 2:27 pm, Bob bshumsk...@yahoo.com wrote: Hi, How do I handle the selection in an expandablelistview?  I have tried using both the setOnItemClickListener  and the setOnItemSelectedListener and neither seems to fire when I click either

[android-developers] Re: Strategies for alerting users about new versions of your app in the appstore?

2009-06-14 Thread Mark Murphy
Unless you specifically open the Market, go to My Downloads, and look if any apps have updates, you don't really know if there is an update. Actually, specifically opening the Market seems to be sufficient. I have often times gone into the Market looking for something else, then get hit with

[android-developers] Re: Strategies for alerting users about new versions of your app in the appstore?

2009-06-14 Thread nEx.Software
Hmm... I suppose that might be the case. I've always just made a a habit of going to My Downloads and performing the updates everytime I open the Market, since I have found such inconsistency with the notifications. I'd think something like this would not require opening the Market to trigger an

[android-developers] Re: AbsoluteLayout deprecated Drag and Drop

2009-06-14 Thread Romain Guy
Drag and drop can be implemented without AbsoluteLayout. You can see how in Launcher's source code at source.android.com (packages/apps/Launcher.) On Sat, Jun 13, 2009 at 7:59 PM, Mooretisgregory.mo...@lifeaware.net wrote: I noticed that AbsoluteLayout is deprecated in the latest SDK.

[android-developers] multiple WebViews in activity

2009-06-14 Thread skink
hi, does anyone know whether multiple instances of WebViews share underlying native rendering webkit engine? in other words: may i assume that if i create couple of WebViews the overall memory allocated to my process doesn't grow in linear way? thanks, pskink

[android-developers] Re: Scroller on LinearLayout

2009-06-14 Thread skink
On 14 Cze, 11:10, arnouf arnaud.far...@gmail.com wrote: mScroller.startScroll(0, 0, 1200, 0); invalidate() Regards Scroller is just motion measurement tool, it doesn't touch any View, you have to do it by yourself using for example Handler.

[android-developers] Re: Missing application icon in All Application drawer

2009-06-14 Thread Doug
I think Lucius may be referring to something I have seen since 1.5 came out. Namely that the 'all appliications' list under settings- applications will often show the app name with a generic icon in the list (it even does it for built in apps). If you drill into the app the icon is there, and

[android-developers] Re: Missing application icon in All Application drawer

2009-06-14 Thread Doug
Just ignore me... I read the original question yet again and agree with Mark... although my note about icons not showing up is still valid On Jun 14, 10:44 am, Doug dougforp...@gmail.com wrote: I think Lucius may be referring to something I have seen since 1.5 came out.  Namely that the 'all

[android-developers] Re: About EditText's default text

2009-06-14 Thread Doug
Check out the 'hint' property of the edittext view. It allows you yo specify the text that will appear when the control is empty, Sorry, I don't know about the Spinner side of things... Doug On Jun 14, 12:56 am, stonestrange stonestra...@gmail.com wrote: Hi,guys. I want set the default text

[android-developers] animation for growing listview

2009-06-14 Thread daniel.benedykt
Hi I want to do an animation so when a user presses a button a listview changes its height (grows). I know how to change the height of the listview to make it bigger, but that its not 'animated'. How can I make an animation that makes the listview grows? Thanks Daniel

[android-developers] AppWidget: help with setOnClickPendingIntent()

2009-06-14 Thread BoD
Hi! I'm making a little AppWidget that should be configured when you first add it and also when you click on it. I figured, since clicking on it should do the same as the creation event, why not try to use the same code? My configuration Activity should not know or care, whether it was called

[android-developers] Relative layout and include tag

2009-06-14 Thread Alexey
Hi, I'm reworking some of my layouts to use Relative layout. I have some building blocks which i'd like to reuse. The problem i seems to have with the include of the layout and position other layouts out of this include. Example: RelativeLayout

[android-developers] Soft Keyboard

2009-06-14 Thread Brad Gies
Does anyone know how to set the soft keyboard to be as large as possible? I have a situation where my screen is totally filled with one edit text and some buttons, and when the soft keyboard pops up, the keys are too small to used effectively. I have thought of possibly creating an

[android-developers] MIDI / JETCreator: How to create .jet-file?

2009-06-14 Thread Ulrich Althöfer
Hi, I want to create a JET-file, a prerequisite to develop a JetPlayer- Application. In the Dev Guide I found the SONiVOX JETCreator User Manual and I installed the JET Creator-Application. I tried the two JETCreator menu items: - File -- Save As... creates files with the '.jtc'-Extension - File

[android-developers] how to list the task's activeitys?

2009-06-14 Thread iam...@gmail.com
hi guys, I can get android's taks list by ActivityManager.getRunningTasks(); but ,how to travel through ActivityManager.RunningTaskInfo ? i mean ,in the ActivityManager.RunningTaskInfo , there are only baseActivity and topActivity fields . how can i get all the activeitys of the task?

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-06-14 Thread Theo K
Hey Petrus, I had the same issue with Windows Vista 64bit, where Vista would simply not let me update the driver to the debuggable version. Your USBDeview solution worked perfectly. Cheers fella! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Wake Locks and Services

2009-06-14 Thread Thomas Riley
I need to use a wakelock to hold the screen active while its required. I was recommended to use a service which I have been trying but on the onDestroy I am getting wl cannot be resolved. Code below: public class WakeLockService extends Service { @Override public IBinder

[android-developers] How to drop the AppWidget to Home Screen?

2009-06-14 Thread tng.z...@googlemail.com
I checked out the SimpleWikitionary, the demo project mentioned in the Blog http://android-developers.blogspot.com/2009/04/introducing- home-screen-widgets-and.html. I tried to start the application in the emulator. The application was installed successfully on the emulator, but I could not see

[android-developers] Maybe dumb but need rom img

2009-06-14 Thread Gir Mongoose Dog
Hello all. I had attended the conferance and got the google ion phone and was messing arround trying to reflash to os with a custom theme and setup but didn't go like I had hoped like with my g1. Does anyone know where I can download the .nbh image file. Used to have the dreaming.nbh to revert

[android-developers] GSM Handshake/ Registration

2009-06-14 Thread Junior Oyebadejo
Hello everyone, I'm in the process of taking the low level areas of Android apart in order to do some research into GSM. I have been looking extensively at the Radio Interface Layer of the Android platform and I see all the Hayes AT commands being called in the reference-ril.c file as well as the

[android-developers] Two page form question - saving data from first page

2009-06-14 Thread doubleminus
This is a general architectural question. I want to offer a user a simple two page form. The first page will have a few Spinners for the user to select options from. The second page will have a series of EditTexts for the user to fill in. After the second page, the user clicks a button to

[android-developers] Not receiving onDismiss() callback

2009-06-14 Thread Stephen Yu
Hi, Here is some sample code that I use the SearchManager to show the search UI in my activity. My issue is that the onDismiss() below is not called. protected void onCreate(Bundle savedInstanceState) { ... mSearchManager = (SearchManager) getSystemService

[android-developers] AsyncTask: onPostExecute always after onProgressUpdate?

2009-06-14 Thread Sven Bendel
Hi all! I'm messing around with the AsyncTask class for a few hours now and got a little question: Is onPostExecute() guaranteed to be executed *after* onProgressUpdate () in any case? It should be because both are located in the main thread, at least that's how i understood the reference, and

[android-developers] Re: unable to complete installation of ADT plugin with eclipse

2009-06-14 Thread jimshowalter
Figured it out. I had to throw away my previous eclipse install and workspace--it was picking up something stale. On Jun 1, 12:16 pm, Xavier Ducrohet x...@android.com wrote: It looks like the Eclipse version you have does not include JDT (Java Dev Tools). Make sure you install one of the

[android-developers] Re: connecting internet through Android Emulator

2009-06-14 Thread Giri
How can I ping from emulator.. Is there any console to ping.. I can open internet from my browser but not able to from my emulator. I tried to change the proxy also... by adb shell command.. But it still didn't worked... Can you tell me things in more detail... On Jun 12, 9:59 pm, Roman

[android-developers] Creating new projects in eclipse

2009-06-14 Thread Lordsaibat
When I make a new project the .java file is not generated. I can run the project, but it does not run in the emulator or anything. It did use to work before then it stop working. I tried deleting the folder and all project files. After that I reinstalled everything but I am still having problems.

[android-developers] Reusing code, multiple external namespaces

2009-06-14 Thread xamar
Hello. * In short: What's the proper way to share code and layouts between Android projects? (I work with Eclipse) * Explanation and my problem: I'm working in multiple projects that share the same base (an activity-less Android project). This project have some graphical classes

[android-developers] Clickable Map Markers

2009-06-14 Thread pat
Hi there, I am developing a map application for Android. My idea is to have a map with several markers. Whenever the user clicks on a marker i would like to change to a different activity and pass certain information. My question: how can i attach something like onClick event to the markers on

[android-developers] Re: Keyboard Backlight (G1) unavailable in Cupcake 1.5

2009-06-14 Thread George K
Milind's comment x1000 The keyboard backlight issue is so bad that I personally use the virtual keyboard (even for longer emails) because I can at least see the keys. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Android Developer-- San Francisco, CA

2009-06-14 Thread TLASH
Android Developer Our client, a leader in sport applications development has an urgent need for a Android developer. The ideal candidate will have the ability to work independently as well as be a part of a dynamic team. This is a great opportunity for someone with a passion for sports as you

[android-developers] Re: Conversion to Davik failed with error 1

2009-06-14 Thread jimshowalter
That's what I had to do as well. The sequence of steps to reproduce the error is File - New - Project - Android Project, check 1.5 or 1.5 with google apps - fill in the rest of the fields - build. For whatever reason, it doesn't like the R.java file. Deleting the R.java file and rebuilding

[android-developers] missing standard features

2009-06-14 Thread sonisoe
like to have these which are standard on other devices i believe many of us use these more often than not - phone as modem (iphone's finally catching up) - send + receive vCard via sms - group contacts - video call thanks --~--~-~--~~~---~--~~ You received

[android-developers] Upgrading to sdk 1.5

2009-06-14 Thread jared
I am having an issue when upgrading to 1.5.I am good on all steps listed here: http://developer.android.com/sdk/1.5_r2/upgrading.html but I run into problems when creating the AVD. It says do this: Open a command-line (e.g.,Command Prompt application on Windows, or Terminal on Mac/Linux) and

[android-developers] Is there a fast way to check intersections of Path?

2009-06-14 Thread 93-interactive
Hello, i have two android.graphics.Path objects and i want to check if they intersect. The only way i found out so far, is to build regions from them and then go through every pixel with if ((region1.contains(x,y)) (region2.contains(x,y))) { // intersection } but it is unbelievable slow.

[android-developers] How to get intent results?

2009-06-14 Thread fabbx
i'm trying to allow user to select an picture to upload to my website but i don't understand how i can get the choice of the user i'm here : public void uploadPhoto() { setContentView(R.layout.index); Intent intent = new Intent(Intent.ACTION_GET_CONTENT);

[android-developers] Re: why there's no boot.img in Android-1.5

2009-06-14 Thread abranzyck
Sorry if this is an stupid question, this is actually my first post here ... Why does this need to be moved to porting, because it is a G1? I have the Google Developer Phone 1 and I have exactly the same problem, don't I need this boot.img to load the Android 1.5 I have built into the phone? On

[android-developers] How to catch a touch event outside my view?

2009-06-14 Thread matteoli
Hi, I created my own view, which shows a box in front of the current activity. This box disappers after a few seconds. Now I'd like to hide it, if the user touches outside of the box. This should work like the implemented in the options menu. I tried a bit with the focus, but this doesn't work

[android-developers] New Projects

2009-06-14 Thread Lordsaibat
When I make a new project the .java file is not generated. I can run the project, but it does not run in the emulator or anything. It did use to work before then it stop working. I tried deleting the folder and all project files. After that I reinstalled everything but I am still having problems.

[android-developers] Photos listing upload

2009-06-14 Thread fabbx
Hi, I need to upload a photo to my website from android application. In my application i have a form but i don't understand how i can choose photo from the filesystem to upload it after by a http post request. I think that i can MediaStore but how... thanks in advance

[android-developers] Applying effects to sounds

2009-06-14 Thread Reuben Sutton
Hi, I want to add effects to the sound output from my phone, such as adding a flange effect or similar. Any suggestions on how to do this? Thanks, Reuben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Can't get my hello world application to run on the emulater!

2009-06-14 Thread Fahd
Hi All, I followed all the instructions to install the android SDK and configured the Eclipse environment. I was then doing the Hello World example. The problem is that when I run the following code: package com.example.helloandroid; import android.app.Activity; import android.os.Bundle;

[android-developers] Open new window by pressing button.

2009-06-14 Thread Dan Lee
Hi Now I faced opening new window problem. I've learned how to make custom window from below link http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog But I open it by press button from main window. Also that window can store some information to DB too. Thanks in advance

[android-developers] A2DP bluetooth e riproduzione a scatti (music cut)

2009-06-14 Thread azanutta
an A2DP bug of managing the bluetooth by android! i've got the jabra bluetooth headset to listen the music wirelessly but i've got the same problem, a mute jump of the song that in worste cases are one every 2 seconds!! it maybe depends on how much other android processes drain the phone

[android-developers] Re: AsyncTask: onPostExecute always after onProgressUpdate?

2009-06-14 Thread Sven Bendel
Okay, I found out, that it is like I thought - onPostExecute() is always run after the last execution of onProgressUpdate(). On 12 Jun., 20:54, Sven Bendel ben...@cs.uni-bonn.de wrote: Hi all! I'm messing around with the AsyncTask class for a few hours now and got a little question: Is

[android-developers] Re: Debugging sample app Snake

2009-06-14 Thread grndvl1
Actually I found the answer, so anyone with the same issues may find this useful. My error was caused by the localhost not being defined in: C:\WINDOWS\system32\drivers\etc And should contain this line : 127.0.0.1 localhost not what was there which was wierd, never saw this before; ::1

[android-developers] Re: How to get intent results?

2009-06-14 Thread Brad Gies
Look up startActivityForResult Sincerely, Brad Gies - Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com www.truckerphone.com www.EDI-Easy.com www.EDI-Simple.com

[android-developers] Re: Wake Locks and Services

2009-06-14 Thread Brad Gies
W1 is not defined in onDestroy. Try this: public class WakeLockService extends Service { PowerManager.WakeLock wl; // NOTE CHANGE HERE @Override public IBinder onBind(Intent arg0) { // TODO Auto-generated method stub return null; }

[android-developers] Re: How to get intent results?

2009-06-14 Thread Marco Nelissen
On Sun, Jun 14, 2009 at 10:08 AM, fabbxfab.creatix...@gmail.com wrote: i'm trying to allow user to select an picture to upload to my website but i don't understand how i can get the choice of the user i'm here :        public void uploadPhoto() {                

[android-developers] Re: A2DP bluetooth e riproduzione a scatti (music cut)

2009-06-14 Thread Marco Nelissen
On Sat, Jun 13, 2009 at 6:35 AM, azanuttaazanu...@gmail.com wrote:  an A2DP bug of managing the bluetooth by android! i've got the jabra bluetooth headset to listen  the music wirelessly but i've got the same problem, a mute jump of the song that in worste cases are one every 2 seconds!! it

[android-developers] @ Android-Dev-Team: Request for AsyncTask.getThread() method

2009-06-14 Thread Sven Bendel
Hi dear Android-Dev-Team! As I'm working with AsyncTasks for a few days now and enjoyed how easy you can make use of them, I missed something: Would it be possible to give us access to the Background-Thread being created by AsyncTask objects so we can join it, let it sleep etc.? Regards, Sven

[android-developers] Re: @ Android-Dev-Team: Request for AsyncTask.getThread() method

2009-06-14 Thread Streets Of Boston
You could call setAsyncThread(Thread.currentThread()) inside/during the AsyncTask's doInBackground method, likely at the start of the doInBackground. You'd create the public and synchronized methods setAsyncThread and getAsyncThread yourself as part of the AsyncTask's subcllass. On Jun 14, 7:14 

[android-developers] Re: Video Capturing

2009-06-14 Thread Ahsanul Karim
can you please help to capture video... below is my code public class PhotoActivity extends Activity { private Preview mPreview; MediaRecorder recorder; /** Called when the activity is first created. */ @Override public void onCreate(Bundle

[android-developers] Re: Set the theme from the application: the background doesn't change

2009-06-14 Thread mathias axelsson
Thank you!! moving super.onCreate did the trick! super.onCreate seems to call getTheme which initiates it(?). On Thu, May 21, 2009 at 9:01 PM, quanghuytruongd...@gmail.com quanghuytruongd...@gmail.com wrote: You can try to put setTheme() before super.onCreate() -- your background will

[android-developers] no classfiles specified and Conversion to Dalvik format failed with error 1

2009-06-14 Thread xerberus
Hi Guys, I have a working(Released) project that needs some updating. The Project was created with SDK 1.1 on Windows and Ecplise 3.4. A couple months ago i moved away from Windows to Mac and installed all tools on the mac including Android SDK 1.1. Everything was working fine at that time. I

[android-developers] How often are download stats updated for apps in Android Market

2009-06-14 Thread pawpaw17
Guys, Does anyone know how often google updates your download count for your app in your developer section of the Android Market site? It doesn't appear to be continuous. Maybe just a few times (one time) per day? I'm refering to the section that shows total downloads and active downloads

[android-developers] Re: connecting internet through Android Emulator

2009-06-14 Thread Roman
http://groups.google.com/group/android-beginners/browse_thread/thread/0ababd5e40398e49/fbdd321643bf48e1 -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] why my getCheckedRadioButtonId() always return a wrong value.

2009-06-14 Thread hencechen...@gmail.com
btnok.setOnClickListener(new View.OnClickListener(){ public void onClick(View v) { // TODO Auto-generated method stub int checkedId=group.getCheckedRadioButtonId();

[android-developers] How can I know who started(bind) service?

2009-06-14 Thread ryuk...@gmail.com
Hi All~! How can I know who started(bind) service? I already check 'RunningServiceInfo()' but I couldn't find. Could you help me~~~!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Movie.decodeStream(is) is returning NULL after updating to 1.5 SDK

2009-06-14 Thread Daz
I'm having the same problem, trying to follow the information to get animated gifs working, and now this! Any idea on a fix? I can't see where the difference to the source was made. Movie.Decodestream is a native method, written in C++, but I can't see in any notable differences in the code

[android-developers] Re: How can I know who started(bind) service?

2009-06-14 Thread Mark Murphy
Hi All~! How can I know who started(bind) service? I already check 'RunningServiceInfo()' but I couldn't find. Option #1: pass an extra in the Intent that identifies who started it Option #2: define a callback/listener mechanism in the service, and have clients of the service register

[android-developers] How to draw text on a bitmap

2009-06-14 Thread 楊健
Hi,everybody! Can i draw text on a bitmap? I cannot find any API support 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-developers] Huge quert and sorting update of content provider

2009-06-14 Thread aby
Hi, I implement ProviderTestCase2 to test my content provider functions. And when I insert huge number (about 1) of data, the insert, delete and update functions are fine. But the query function will have SQLiteDiskIOOException: disk I/O error. And the data number limit of causing the

[android-developers] Re: How to draw text on a bitmap

2009-06-14 Thread Balwinder Kaur (T-Mobile)
Here is one way to do this. Canvas c = new Canvas (yourbitmap); c.drawText(String text,...); // There are more than one to choose from. http://developer.android.com/reference/android/graphics/Canvas.html Hope this helps, Balwinder Kaur Open Source Development Center ・T・ ・ ・Mobile・ stick

[android-developers] Keeping track of database row ID's

2009-06-14 Thread Hamy
Hi all, I am still having some trouble understanding how I am supposed to remove rows from my database. Most of the examples I have found use ContentProviders, which I do not want to publish for my application. For the other examples, they typically have something like this : // Remove a task

[android-developers] how to cancle an AlarmManager?

2009-06-14 Thread hencechen...@gmail.com
alarms.set(AlarmManager.RTC_WAKEUP, getTime(), alarmIntent); i have set a alarm,but now i want to delete it? how can i make it. Thank you for your helping. hence --~--~-~--~~~---~--~~ You received

[android-developers] Re: How to draw text on a bitmap

2009-06-14 Thread youken
Thanks a lot! -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Balwinder Kaur (T-Mobile) Sent: Monday, June 15, 2009 10:56 AM To: Android Developers Subject: [android-developers] Re: How to draw text on a bitmap Here

[android-developers] Geocoder.getFromLocation seem to be blocking the UI thread

2009-06-14 Thread Agus
Hello, The Geocoder.getFromLocation(double,double) method seems to be blocking the UI thread even though I created the instance in another thread and then call the method getFromLocation from a different thread. any help is appreciated. Agus.

[android-developers] How Can i Mute/UnMute Only my Application's Sound.

2009-06-14 Thread Freshman
Hi guys, In my application i need to mute and unmute sound playing by my application only. currently i am using AudioManager.setStreamMute (AudioManager.STREAM_MUSIC, false) for UnMute and AudioManager.setStreamMute(AudioManager.STREAM_MUSIC, true) for Mute. but it mutes whole device's sound

[android-developers] Re: Keeping track of database row ID's

2009-06-14 Thread nEx.Software
Content Providers don't have to be publicly accessible. That being said, I've used Content Providers, Cursors, and Cached Data Objects to accomplish this. Really just depends how you want to do it, I think. I personally like cached data objects because I make a lot of changes before I want/need

[android-developers] Feature request / Defect report declined with no comment

2009-06-14 Thread Kerry
I just posted a defect / feature request and it was declined without comment. Can anybody explain to me why this was declined without an explanation? http://code.google.com/p/android/issues/detail?id=2991 I took the time to provide feedback as a user of the android api, based on some discussion

[android-developers] Re: Feature request / Defect report declined with no comment

2009-06-14 Thread Romain Guy
It is very easy to handle this from the application side and a selection event is a selection event. There should be no distinction between the first one and other events. On Sun, Jun 14, 2009 at 9:10 PM, Kerrykerry.todyr...@gmail.com wrote: I just posted a defect / feature request and it was

[android-developers] handling errors in onCreateDialog(..)

2009-06-14 Thread Spencer Riddering
I've implemented the onCreateDialog(..) method in my Activity and I'm working on the error handling. I wrap all my code in a try-catch so I can handle any errors. This works great except that after handling an error I must still return a value from onCreateDialog(..), either a Dialog instance or

[android-developers] how to receive call and play media file

2009-06-14 Thread Honest
Hi, I want to develop application in which i want to listen call and play medial file so caller can listen it. Can some one tell me how can i do it ? any code snippt or link of resource. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Marquee

2009-06-14 Thread Android Users
Hi All, I know that there is marquee built in to 1.5 . But that is only on focus of the widget. Is there a way we can implement it otherwise? ie.. even without focus for a text view? Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Can i set a different Browser Homepage through code?

2009-06-14 Thread Android Users
Thank you. On Sat, Jun 13, 2009 at 7:15 AM, Dianne Hackborn hack...@android.comwrote: I am almost positive you can't. I sure hope you can't. :) On Fri, Jun 12, 2009 at 5:15 AM, Android Users androidmai...@gmail.comwrote: Hi all, Can i set a different Browser Homepage through code? If so

[android-developers] Re: handling errors in onCreateDialog(..)

2009-06-14 Thread Romain Guy
Hi, Oops, sorry. I closed this bug by mistake, I reopened it, thanks for letting me know! As for what you want to do, why exactly are you getting an exception in onCreateDialog()? All this method should be doing is instanciate a Dialog and its Views, nothing more. Populating the dialog should

[android-developers] Re: Marquee

2009-06-14 Thread Romain Guy
TextView.setSelected(true). On Sun, Jun 14, 2009 at 10:16 PM, Android Usersandroidmai...@gmail.com wrote: Hi All, I know that there is marquee built in to 1.5 . But that is only on focus of the widget. Is there a way we can implement it otherwise? ie.. even without focus for a text view?

[android-developers] Re: Missing application icon in All Application drawer

2009-06-14 Thread Lucius Fox
On Sat, Jun 13, 2009 at 2:23 PM, Mark Murphymmur...@commonsware.com wrote: Lucius Fox wrote: Can someone please help me understanding why in my emulator, i can * in my settings- manage application, see an entry for an application there * but i cant' find the icon for launching that in All

[android-developers] Re: How to draw text on a bitmap

2009-06-14 Thread Saurav Mukherjee
implement a view, draw the bitmap in the view and draw ur text, both in the onDraw method. On Mon, Jun 15, 2009 at 7:10 AM, 楊健 y...@cycomtech.co.jp wrote: Hi,everybody! Can i draw text on a bitmap? I cannot find any API support this. --~--~-~--~~~---~--~~

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-14 Thread Grace Kloba
The problem is your plugin path. The path , /android_asset/web/, is not a valid file system path. One thing you can try is to copy the plugin to your data dir in the onCreate() and set the plugin path to your data dir. thanks, Grace On Wed, Jun 10, 2009 at 9:30 PM, MIND GAME