[android-developers] how to read rtsp streaming

2009-06-10 Thread yancaida...@gmail.com
To read rtsp streaming has been discussed a lot,but still not solved .Now android 1.5 realised,can rtsp streaming be played in android? the method setDateSource seems provide a way to receive rtsp streaming. public void setDataSource (String path) Sets the data source (file-path or http/rtsp URL

[android-developers] Re: SDK 1.5 and Eclipse problem

2009-06-10 Thread De San Nicolas Jean Philippe
Hi, it's OK now, I'saw with the nestat - a command line that theer was several processus on the 5037 port. The port wich serves for the emulator. Thanks 2009/6/11 Brett Chabot > > Try closing Eclipse, issuing a > '/Developer/android-sdk-mac_x86-1.5_r2/tools/adb kill-server' command > from termin

[android-developers] Re: Browser doesn't respond to trackball click event (on certain webpage), touch screen click ok

2009-06-10 Thread jerryfan2000
We found a way to reproduce it. Version: Android 1.5 Application: Browser Reproduce procedure: (1) Open Browser (2)Goto URL www.baidu.com (3) type nothing in the text field but click (with trackball) the button directly Sympton: Clicking submit button in pure CGI form based web page without typi

[android-developers] Browser doesn't respond to trackball click event (on certain webpage), touch screen click ok

2009-06-10 Thread jerryfan2000
Hi, We encountered a strange problem in Browser. When browsing certain web page with CGI form, browser doesnt respond to trackball click event unless we play around the UI ormove cursor around or switch between application. However, tocuh screen works all the time. I can't give an example of prob

[android-developers] Re: Changing the application icon at runtime?

2009-06-10 Thread Jeff Sharkey
Changing icons dynamically still isn't possible. However, you can now write an AppWidget the size and shape of an icon that dynamically changes. j On Wed, Jun 10, 2009 at 12:24 AM, toff...@gmail.com wrote: > > Hi, > > I'm also trying to find out if this is possible to do. Anyone who > knows? >

[android-developers] Re: Calendar Broadcast Intents

2009-06-10 Thread Jeff Sharkey
There aren't any intents in the public API that are guaranteed to be fired. However, the current CalendarProvider does send broadcasts. You can't depend on it, especially since other devices may ship with completely different CalendarProviders that may never send this Intent. http://android.git

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
I am female. Why do you ask? On 6月10日, 下午2时19分, 王华 wrote: > hi susan ,are you a male or female ? > > 2009/6/10, Susan : > > > > > > > In Android documentone, dp is one pixel on a 160 dpi screen. So I > > think 1dp=1/160 inch. Am I right? Are they different in use?- 隐藏被引用文字 - > > - 显示引用的文字 - --

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
Thanks for your answer. On 6月10日, 下午10时20分, Odessa Silverberg wrote: > No, not really. If you have a 200 dpi screen, it would be > theoretically 1.25px. But since you can't have a 1/4 pixel, it > basically has to be rounded down to 1. So on 200 dpi 1 dp would be > 1/200 inch. > > However, 4dp wi

[android-developers] Re: Hide application in Home dinamically

2009-06-10 Thread Jeff Sharkey
> You can try PackageManager#setComponentEnabledSetting(), though I have > not tried this personally. Yep this should work perfectly. In fact, it's how the Email app hides/shows itself in "Share" lists across the system dynamically, based on if you have an account setup. -- Jeff Sharkey jshar

[android-developers] Re: SDK 1.5 and Eclipse problem

2009-06-10 Thread Brett Chabot
Try closing Eclipse, issuing a '/Developer/android-sdk-mac_x86-1.5_r2/tools/adb kill-server' command from terminal and retrying. If that still doesn't work, you could try opening Activity Monitor to see if there are any existing adb processes running, and kill them. On Wed, Jun 10, 2009 at 5:34

[android-developers] Re: Is this doable in commandline?

2009-06-10 Thread Brett Chabot
I don't know of a way to pass arguments to a TestCase directly, but I think if you sub-class android.test.InstrumentationTestRunner, and override its onCreate method, you should be able to get access to key value pairs passed to am via the Bundle argument. ie public class FooRunner extends androi

[android-developers] Re: setting ringtones from raw files

2009-06-10 Thread iDeveloper
You will first have to copy it to the ringtones folder in your SD Card. Once that is done, you can use the uri of this ringtone to set it as the user's ringtone. Thats how Ringdroid does it. You can check out the ringdroid source here http://code.google.com/p/ringdroid/ On 11-Jun-09, at 8

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

2009-06-10 Thread Marco Nelissen
This is the 4th or 5th time today that you've asked about this... On Wed, Jun 10, 2009 at 9:30 PM, MIND GAME wrote: > > i am trying to load a npapi plugin using android api - webview. > code is >webview.getSettings().setJavaScriptEnabled(true); >webview .getSettings().setPluginsEn

[android-developers] Re: Is this doable in commandline?

2009-06-10 Thread dev
Any input would be of great help... Thanks, Dev On Jun 10, 6:16 pm, dev wrote: > Hi, > > I intend to right a simple instrumentation class using > android.test.InstrumentationTestCase. > I have two simple testcases inside it which does nothing but printing > the Log. > My instrumentation code doe

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

2009-06-10 Thread MIND GAME
i am trying to load a npapi plugin using android api - webview. code is webview.getSettings().setJavaScriptEnabled(true); webview .getSettings().setPluginsEnabled(true); webview.getSettings().setPluginsPath("/android_asset/web/"); System.out.println("Default plugin

[android-developers] ListView Query

2009-06-10 Thread Dexter's Brain
Hi All, I have a ListView whose layout contains several TextViews. When an item is clicked on the ListView, is it possible to capture on which TextView he has clicked? Thanks, Dexter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] question about terminal developer

2009-06-10 Thread JhonatanAA(Colombia)
I want to know if the HTC G1 terminal developers who are selling now have installed the 1.5 version of Android --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Using transaction with ContentProvider

2009-06-10 Thread Rakoun
Thanks Mark but what about the sentence "Inserts a row into a table at the given URL. If the content provider supports transactions the insertion will be atomic." in the ContentResolver insert method documentation? Rakoun /°\ On 10 juin, 17:52, Mark Murphy wrote: > Rakoun wrote: > > I create a

[android-developers] Re: setting ringtones from raw files

2009-06-10 Thread Josh
I just finished re reading http://developer.android.com/reference/android/media/RingtoneManager.html#setActualDefaultRingtoneUri(android.content.Context,%20int,%20android.net.Uri) and i still don't get it. am I missing something? On Jun 10, 1:33 pm, Josh wrote: > Ive been through all the books I

[android-developers] Re: Received UDP DatagramPacket's HostAddress is always 10.0.2.2. How do I find the sender of the packet?

2009-06-10 Thread Robert Green
Btw, when I said HostAddress, I just meant DatagramPacket.getAddress ().getHostAddress(), so really I'm talking about its address. I just use getHostAddress() because I don't need anything more than the IP. On Jun 10, 9:35 pm, Robert Green wrote: > So here's what I'm trying to do: > > Real devi

[android-developers] SDK 1.5 WebView Problem

2009-06-10 Thread Iroid
Hello, I have been working on SDK 1.0 and developed a small browser application which works fine on sdk 1.0. While migrating to sdk 1.5 it shows some weird behavior. After loading 10-15 websites, it stops working. When I see logs it says - "I/InetAddress( 933): Unknown host , throwing UnknownHost

[android-developers] Received UDP DatagramPacket's HostAddress is always 10.0.2.2. How do I find the sender of the packet?

2009-06-10 Thread Robert Green
So here's what I'm trying to do: Real device at 192.168.1.102 sends UDP broadcasts to 255.255.255.255:31071 Emulator: redir add udp:31071:31071 Emulator receives UDP broadcasts on 0.0.0.0:31071. This all works correctly, and I'm happy about it. The next step is for the emulator to find out wher

[android-developers] content provider supports transactions

2009-06-10 Thread ozzoozzo
Question about ContentProviders being atomic.The spec says " If the content provider supports transactions the update will be atomic". What does this mean ? Who implements the transaction code ? Is it in reference to the JDBC drivers? Thank u --~--~-~--~~~---~--~---

[android-developers] Re: SDK 1.5 and Eclipse problem

2009-06-10 Thread Mike Garcia
Did you set your path in system settings? On Wednesday, June 10, 2009, jphdsn wrote: > > Hi, > > I'm just trying the SDK 1.5 with a new installation of Eclipse and the > eclipse plugin > > When I import a project and run it, I have an error message : > > [2009-06-10 12:20:09 - Lunc] The connecti

[android-developers] Re: Help with Hello Android app

2009-06-10 Thread Mike Garcia
Rebuild your project and then try to recompile. I had similar problems the first time I ran my app in 3.4 with the latest sdk. On Tuesday, June 9, 2009, Pavan wrote: > > I tried all different possibilities but i can't get the hello android > to work. I am using eclipse 3.4.2 and java 1.6 and wh

[android-developers] Re: How to catch long keydown?

2009-06-10 Thread Mark Murphy
Mike Lanin wrote: > I've tried, but couldn't find anything. Is there any way to determine > that the key is longpressed? Try KeyEvent#getDownTime() and KeyEvent#getEventTime(), to measure the delta between when the key was pushed down and the current event. -- Mark Murphy (a Commons Guy) http:/

[android-developers] How to catch long keydown?

2009-06-10 Thread Mike Lanin
I've tried, but couldn't find anything. Is there any way to determine that the key is longpressed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] Re: 2D Double Buffering in Android 1.5 (with Canvas?)

2009-06-10 Thread Romain Guy
That's exactly what happens. On Wed, Jun 10, 2009 at 4:01 PM, Robert Green wrote: > > Romain, that's interesting.  I never thought about that side of it. > > So behind the scenes when a regular view is invalidated, does the same > canvas lock and post mechanism occur before and after (respectivel

[android-developers] Re: 2D Double Buffering in Android 1.5 (with Canvas?)

2009-06-10 Thread Robert Green
Romain, that's interesting. I never thought about that side of it. So behind the scenes when a regular view is invalidated, does the same canvas lock and post mechanism occur before and after (respectively) the call to draw(Canvas) ? On Jun 10, 4:13 pm, Romain Guy wrote: > Not just SurfaceView

[android-developers] Re: TextView Ellipsize: Questions

2009-06-10 Thread nEx.Software
Further experimentation results in the following... I was not crazy, I had seen three lines in an ellipsized TextView before. And I have now figured out how it is working (or, rather, not working)... It is ellipsizing each paragraph separately (and limiting each paragraph to two lines) as opposed

[android-developers] San Francisco Android App Release Party/Meetup This Sunday:

2009-06-10 Thread Hunter Peress
Hey, I'm working full steam ahead on my 2nd location based app. Going to release this Sunday ,would love other Android devs to come out. This Sunday, 4pm , Valencia street, the Mission (Mission Creek Cafe). http://upcoming.yahoo.com/event/2888698?v=1&w=attend --~--~-~--~~~

[android-developers] Create an Adapter for Gallery

2009-06-10 Thread Meryl Silverburgh
Hi, I am trying to create a simple adapter for Gallery. And I call setAdapter() of my Gallery. The text is displayed on screen, but they are overlapping each other. Do I need to set the size of the TextView that I create to make sure it has enough space for the text it is holding? if yes, how to

[android-developers] Re: Using transaction with ContentProvider

2009-06-10 Thread Mark Murphy
Rakoun wrote: > I create a ContentProvider that allow me to do CRUD action on my > database. > I have to call several CRUD methods of my ContentProvider in a > transaction. How can I do this. Content providers are not transactional. -- Mark Murphy (a Commons Guy) http://commonsware.com | http:/

[android-developers] Using transaction with ContentProvider

2009-06-10 Thread Rakoun
Hello, I create a ContentProvider that allow me to do CRUD action on my database. I have to call several CRUD methods of my ContentProvider in a transaction. How can I do this. I try to use beginTransaction then endTransaciton on a instance of SQLiteDatabase but I get an database lock error messa

[android-developers] Re: TextView Ellipsize: Questions

2009-06-10 Thread nEx.Software
So, I am experimenting further, and am finding that no matter what I do, I am only getting 2 lines while using the ellipsize attribute on my TextView. So, either I am doing something terribly wrong or something has gone awry. Maybe I never have actually seen it go more than 2 lines and I am actual

[android-developers] Re: 2D Double Buffering in Android 1.5 (with Canvas?)

2009-06-10 Thread Romain Guy
Not just SurfaceView, regular views also benefit from double buffering. On Wed, Jun 10, 2009 at 1:55 PM, Robert Green wrote: > > Correct me if I'm wrong but isn't SurfaceView double buffered by > design?  The idea of a double buffer is to hide the current drawing > while it's happening and then f

[android-developers] how to remove an application?

2009-06-10 Thread CJ
suppose i have re-compiled the whole operation system and installed A hardware (not g1), where am i supposed to be looking at if i want to monitor/remove/block/disable all the applications on the device? any system level api? any advice will be appreciated. thx --~--~-~--~~---

[android-developers] Re: how can i put 15MB images in my App?

2009-06-10 Thread Robert Green
onStart { boolean hasAllImages = checkSDForImages(); if (!hasAllImages) { startProgress("Please wait, downloading app data"); downloadMissingImages(); endProgress(); } } The idea here is that checkSDForImages is a quick scan of the file system to make sure all 500 images are the

[android-developers] Re: 2D Double Buffering in Android 1.5 (with Canvas?)

2009-06-10 Thread Robert Green
Correct me if I'm wrong but isn't SurfaceView double buffered by design? The idea of a double buffer is to hide the current drawing while it's happening and then flip to the entire drawn frame (back buffer / front buffer). When I use lockCanvas and post on the surface view, it doesn't show what

[android-developers] Re: My Emulator isnt launching .. :(

2009-06-10 Thread Roman
On which system are you running? In case of Linux it might be that an emulator instance is still running in the background. Try to make sure that you kill this emulator instance. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this e

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Francesco Pace
I have to copy total /data directory with my java application, but first I have to execute chmod 777 on all files and directories.But it's impossibile with a single command (chmod -R 777 /data) 2009/6/10 Gavin Aiken > Any context would be great, can't really help otherwise. > > A

[android-developers] setting ringtones from raw files

2009-06-10 Thread Josh
Ive been through all the books I purchased on android and the sdk and I just dont get it. can anyone tell me how I can set an mp3 file that is in the raw folder of my app as a ringtone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Gavin Aiken
Any context would be great, can't really help otherwise. Are you looking to get files from the data directory of an app you've created? adb pull / push? Checkout the android source and get your file from there? On Wed, Jun 10, 2009 at 9:21 PM, Francesco Pace wrote: > no i am just trying to do

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Francesco Pace
no i am just trying to do that for accademic reason!can i do this in an other way? i don't want to use 1:1! i'd like to use an other way , not 1.1 can u suggest something? 2009/6/10 Gavin Aiken > Well I think the guys were saying it's a bad idea, what is it that you're > trying to achieve? > >

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Gavin Aiken
Well I think the guys were saying it's a bad idea, what is it that you're trying to achieve? On Wed, Jun 10, 2009 at 9:12 PM, Francesco Pace wrote: > Thanks Gavin, so I have to modify (with chmod 777) 1:1 all file in /data > directory.? > > 2009/6/10 Gavin Aiken > > >> http://groups.go

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Francesco Pace
Thanks Gavin, so I have to modify (with chmod 777) 1:1 all file in /data directory.? 2009/6/10 Gavin Aiken > > http://groups.google.com/group/android-developers/browse_thread/thread/9646c6aea5b78c1f/47238ea9d76e4887?lnk=gst&q=gav+chmod#47238ea9d76e4887 > > Might help :) > > > On Wed, Jun

[android-developers] Re: TextView Ellipsize: Questions

2009-06-10 Thread nEx.Software
Thanks for the quick reply Romain. Unfortunately, I'm seeing a different result in my app. When I use ellipsize on a multiline TextView, I get inconsistent results. For example, sometimes a piece of text that could easily fill the 4 lines that I have set as max, gets stopped and ellipsized on the

[android-developers] Re: How to execute chmod -R 777

2009-06-10 Thread Gavin Aiken
http://groups.google.com/group/android-developers/browse_thread/thread/9646c6aea5b78c1f/47238ea9d76e4887?lnk=gst&q=gav+chmod#47238ea9d76e4887 Might help :) On Wed, Jun 10, 2009 at 9:04 PM, Francesco Pace wrote: > Hi guys,I have a problem. I'm working with adb shell and I have to execute > this

[android-developers] How to execute chmod -R 777

2009-06-10 Thread Francesco Pace
Hi guys,I have a problem. I'm working with adb shell and I have to execute this command : "# chmod -R 777 /data" but SO said : "Bad usage". Can I have a help? How do to execute chmod recursively in a directory? Thanks, good evening. --~--~-~--~~~---~--~~ You receiv

[android-developers] Re: Interacting with remote databases

2009-06-10 Thread Monkiki
or you can make use of webservices with json. On Jun 9, 9:40 pm, Kory wrote: > Hi All, > > Lets say Im creating an Android app for a company that already > provides some sort of online service. I want my android app to extend > this online service and I want the app to interact with my remote >

[android-developers] Ability to quit/disable an app after trial period?

2009-06-10 Thread Slater
I am planning to release a trial version of my app and am looking into best ways to implement the logic. My lite version of the app would have all the features but will be time restricted. I see a couple of issues: - Currently there is no mechanism built into android that allows an app to be clos

[android-developers] What's the order of apps returned on marketplace search?

2009-06-10 Thread Mimi
I am writing a portion of an app that searches the marketplace for apps that meet a certain criteria. However, I wanted to know what's the default Google way of handling generic searches on marketplace. Google seems to have them in a random order. For example, search on "Ring". The following order

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn
Hi. I saw with the netstat -a command that the port 5037 was occupied. It's OK now. thanks On 10 juin, 16:11, "H N Kavya-DXN738" wrote: > Try killing the daemon many times. And again try starting it. It may > help > > -Original Message- > From: android-developers@googlegroups.com > > [

[android-developers] Re: Loading images in the background - and being able to cancel them

2009-06-10 Thread Streets Of Boston
You can make it even more robust (for future expansion), if you override the Thread's method 'interrupt()' in your DownloadThread class. @Override public void interrupt() throws SecurityException { disconnect(); super.interrupt(); } This is just in case your download thread is not

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn
Hi. I saw with the netstat -a command that the port 5037 was occupied. It's OK now. thanks On 10 juin, 16:11, "H N Kavya-DXN738" wrote: > Try killing the daemon many times. And again try starting it. It may > help > > -Original Message- > From: android-developers@googlegroups.com > > [

[android-developers] Re: Layouts & animation with curvatures

2009-06-10 Thread Streets Of Boston
As long as your transformation fits into a transformation Matrix (x,y and z), you can do anything you like. http://developer.android.com/reference/android/view/animation/Animation.html#applyTransformation(float,%20android.view.animation.Transformation) Since the application of a transformation-ma

[android-developers] Layouts & animation with curvatures

2009-06-10 Thread az9702
Hi, Many default layouts & animations are planar (i.e. rotation in x-y plan). Can a layout with curvature be implemented with current SDK (may be w/ some transform) ? An example may be a "scroll" that rolls as one reads. Pointers are much appreciated. Thanks in advance. - az9702 --~--~

[android-developers] Re: Loading images in the background - and being able to cancel them

2009-06-10 Thread guojian
You're right. I added a simple cancel() method for now which closes the HttpUrlConnection. I decided to keep it simple for the moment but it would be nice for the ImageLoader class to dispatch progress and complete events. On Jun 9, 4:05 pm, Streets Of Boston wrote: > Thanks! > > But looking

[android-developers] Disabling Notification expanded view

2009-06-10 Thread Taísa Cristina
Hi all, Is there a way to disable the notification bar expanded view while my activity is running? I could see that voice call does it by using a non-public API. Is there a public one to do so? Taísa --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Unhelpful SQLite3 error msg (SQL error: not an error). Can't modify database

2009-06-10 Thread George
This is on the emulator. If there is a way to setting the http-proxy, other than modifying the database, please let me know. ref: http://code.google.com/p/android/issues/detail?id=810 On Jun 10, 10:35 am, Marco Nelissen wrote: > Directly modifying a system database on a rooted phone is kinda bey

[android-developers] Re: Unhelpful SQLite3 error msg (SQL error: not an error). Can't modify database

2009-06-10 Thread Marco Nelissen
Directly modifying a system database on a rooted phone is kinda beyond the scope of this group. On Wed, Jun 10, 2009 at 10:29 AM, George wrote: > > I frequently encounter this message when I try to update a table (to > enter a proxy) in the database using adb shell. > > $ adb shell > #sqlite3 /

[android-developers] Unhelpful SQLite3 error msg (SQL error: not an error). Can't modify database

2009-06-10 Thread George
I frequently encounter this message when I try to update a table (to enter a proxy) in the database using adb shell. $ adb shell #sqlite3 /data/data/com.android.providers.settings/databases/ settings.db sqlite> SELECT * FROM secure; SQL error: not an error sqlite> This happens on cupcake. --~--~

[android-developers] Re: Change Spinner Typeface?

2009-06-10 Thread Mark Murphy
polyclefsoftware wrote: > I want to apply a non-native font to widgets in my app. This is > working fine for TextViews and Buttons, which have a setTypeface > method. The code below works just great for my button: > > Java: > Typeface face = Typeface.createFromAsset(getAssets(), "fonts/ > my_font

[android-developers] Re: Using the touchscreen and trackball with the GLSurfaceView

2009-06-10 Thread Streets Of Boston
I actually do use the Thread.sleep as a hack (i don't like it, but it works...) It just sleeps for just 20 milli seconds, though. It's enough for a notable improvement in the frame-rate of the other thread (game- thread) and not too big to miss input events. I only do it on the ACTION_MOVE. On J

[android-developers] Re: Google Directions for maps!

2009-06-10 Thread JP
We've had this discussion a few times before: http://groups.google.com/group/android-developers/browse_thread/thread/bc1e6e1524dcca5a/0c4d20a769e666e5?lnk=gst&q=googlenav#0c4d20a769e666e5 Unless someone found out otherwise, googlenav in Android seems to be history. BTW, if memory serves me right

[android-developers] Using the touchscreen and trackball with the GLSurfaceView

2009-06-10 Thread MrChaz
I've run into an issue where performing a lot of touch events seem to block the move events from the trackball. Anyone else run into this issues? I can't use the Thread.sleep() fix because that will obviously stop all input, so I'm hoping someone has been able to throttle the touch command without

[android-developers] Re: TextView Ellipsize: Questions

2009-06-10 Thread Romain Guy
> 1) Is there anyway to get ellipsize to work on a multiline TextView? > So that the ellipses are shown at the end of the text, rather than at > the end of the line? If not what is the best way to handle this on my > own?]] That's already what it does, see the Home screen's list of apps for insta

[android-developers] Re: asterisk in layout file

2009-06-10 Thread Romain Guy
The asterisk is used to access private resources. Do NOT use it, it will automatically break with the next update of Android. This mechanism can only be used with applications that are compiled at the same time as the entire system. Unlike private Java APIs, which may or may not disappear/break wi

[android-developers] IM application on Android cupcake emulator

2009-06-10 Thread Meryl Silverburgh
Hi, I follow the instruction here to install Android cupcake emulator 1.5 r2: http://developer.android.com/sdk/1.5_r2/installing.html And i create $ android create avd -n my_android1.5 -t 2 and i run $ emulator -avd my_android1.5 but when the emulator starts, i don't see the IM application (no

[android-developers] Fwd: is android supports npapi(c/c++) plugins

2009-06-10 Thread MIND GAME
-- Forwarded message -- From: MIND GAME Date: Jun 10, 4:08 pm Subject: is android supports npapi(c/c++) plugins To: android-framework i am trying to load a npapi plugin using webview. code is         webview.getSettings().setJavaScriptEnabled(true);         webview .getSettin

[android-developers] Extending contacts

2009-06-10 Thread marc.poppleton
Hi, I'm trying to see how extra information can be attached to contacts entries. Looking at the SDK reference, I stumble upon the Contacts.Extensions (http://developer.android.com/reference/android/provider/Contacts.Extens ions.html) and Contacts.People.Extensions (http://developer.android.com/re

[android-developers] Re: NP API Plugin

2009-06-10 Thread MIND GAME
please suggest way to install npapi plugin in to browser or to be loded by web view. how to modify the device firmware. On May 29, 11:07 pm, Mark Murphy wrote: > Migol wrote: > > Does any know how to install NP plugin into Android's browser? > > You can't install any plugins to Browser, except b

[android-developers] Blogging Tool

2009-06-10 Thread Desperados
Hi @ALL I want to implement an Android application to add pictures (of the phone´s gallery) to an existing blog. I managed to get hello world on the display, but what have i to do to begin programing? Thx for your help! --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: Webview Broken in 1.5 SDK?

2009-06-10 Thread MIND GAME
hii thanks this woks for me. On May 12, 6:56 am, Bill Zimmerly wrote: > I was successful in fixing the problem (above) and this details it... > > This line in the Webapp.java file had to be changed from this ... > > > webview= (WebView) findViewById(R.id.webview); > > To this... > > > webvie

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

2009-06-10 Thread MIND GAME
i am trying to load a npapi plugin using webview. code is webview.getSettings().setJavaScriptEnabled(true); webview .getSettings().setPluginsEnabled(true); webview.getSettings().setPluginsPath("/android_asset/web/"); System.out.println("Default plugin path is :"+web

[android-developers] Cell selection parameters

2009-06-10 Thread Ne0
Does anyone know how to get hold of the cell selection parameters C1 and C2? also the channel number? Cheers Liam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread H N Kavya-DXN738
Try killing the daemon many times. And again try starting it. It may help -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of jphdsn Sent: Wednesday, June 10, 2009 7:36 PM To: Android Developers Subject: [android-develope

[android-developers] Cell Selection Parameters

2009-06-10 Thread Ne0
Hi, I am new to developing apps for android and i am need of some assistance. I need to be able to get at the Cell Selection parameters of the serving cell, i have had a look at android.telephony and it appears that i can get Cell ID, LAC, MCC, MNC, power and some neighbour cell Cell ID and powe

Re: 回复: [android-developers] Re: Probl em with setTheme() method

2009-06-10 Thread m...@themarkpatel.com
This is definitely still an issue in Cupcake. Thought setting the theme via xml is typically an acceptable approach, there are situations where that can be cumbersome (for example, an Activity class that gets sub-classed in several applications). Besides, it's just bad form to have an API that d

[android-developers] Change Spinner Typeface?

2009-06-10 Thread polyclefsoftware
I want to apply a non-native font to widgets in my app. This is working fine for TextViews and Buttons, which have a setTypeface method. The code below works just great for my button: Java: Typeface face = Typeface.createFromAsset(getAssets(), "fonts/ my_font.ttf"); playButton = (Button) findView

[android-developers] Getting change details from content provider notifications

2009-06-10 Thread MannyNS
Using ContentResolver and ContentObserver, it is possible to receive notifications in the function onChange() when some data is changed within the content provider. However, I fail to see if there is a way to see the URI which triggered the notification. For instance, if I want to play a sound wh

[android-developers] How do you change a Spinner's typeface?

2009-06-10 Thread polyclefsoftware
I want to apply a non-native font to widgets in my app. This is working fine for TextViews and Buttons, which have a setTypeface method. The code below works just great for my button: Java: Typeface face = Typeface.createFromAsset(getAssets(), "fonts/ my_font.ttf"); playButton = (Button) findView

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread mp6800
Is the project build target set to 1.1 as well? (Project -> Properties -> Android -> Project Build Target). If it's set to 1.5, you won't see 1.1 virtual devices in the run target list, even if minSdkVersion is set to "2" in the project. On Jun 10, 10:47 am, Matthias wrote: > Hi, > > even when

[android-developers] Re: handling touch events in MapView

2009-06-10 Thread Philip Tucker
On issue 3, I was able to work around it by extending MapView and overriding onTouchEvent(). I found that if I used MapView.setOnTouchListener() directly, MapView itself would call setOnTouchListener(), discarding my listener and replacing it with a zoom listener. On Tue, Jun 9, 2009 at 2:02 PM, P

[android-developers] Google Directions for maps!

2009-06-10 Thread Lorenz
Hi to everyone!! So, I've to deliver a project in two week.In this project I should use the package com.google.googlenav for drawing one the maps some Driving or "Walking" DIRections but from some sites I have known that it isn't avaible anymore for SDK 1.5(as it was for SDK 0.9).So please is ther

[android-developers] Interacting with remote databases

2009-06-10 Thread Kory
Hi All, Lets say Im creating an Android app for a company that already provides some sort of online service. I want my android app to extend this online service and I want the app to interact with my remote databases, would I embed a web browser in my application or directly connect to my remote

[android-developers] asterisk in layout file

2009-06-10 Thread Alfred
I noticed that in Android source code, layout file, there are 2 ways to reference a resource, could someone tell me what's the difference? android:icon="@*android:drawable/ic_menu_stop" android:icon="@android:drawable/ic_menu_recent_history" --~--~-~--~~~---~--~~

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread 王华
hi susan ,are you a male or female ? 2009/6/10, Susan : > > In Android documentone, dp is one pixel on a 160 dpi screen. So I > think 1dp=1/160 inch. Am I right? Are they different in use? > > > --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: Changing the application icon at runtime?

2009-06-10 Thread toff...@gmail.com
Hi, I'm also trying to find out if this is possible to do. Anyone who knows? / Toffer On 9 Juni, 14:58, pehrlo wrote: > Does somebody know if this is possibly in 1.5? > > From: hackbod > Date: 19 Okt 2008, 20:06 > Subject: How can the app icon be changed at runtime > To: Android Developers >

[android-developers] handling touch events in MapView

2009-06-10 Thread Philip Tucker
(If there's a better place to post questions concerning the Google Maps API please let me know, but it looks like this is the right spot.) Requirement: I have created a MapActivity containing a MapView. Drag and zoom work fine, and I've successfully added an ItemizedOverlay that displays and upda

[android-developers] Please find the requestion with me

2009-06-10 Thread Agung Priyono
Dear Mr. Android, Hai friend, I can ask for advice and tricks of computer, no? Oh help me eager to learn the car and *the modifications to its animation*, but I do not have any software. I sent the software is not free. Please do your friends, just consider this as a reference for your initial suc

[android-developers] Re: How to get current time?

2009-06-10 Thread Mike Garcia
Or you can do something like this... Date d = new Date(); d.getTime(); I personally prefer this but only because I have access to other functions for outputing the time in a human readable form without having to write a bunch of extra code. 2009/6/9 Mike Lanin > > Thanks! I'll just use current

[android-developers] Calendar Broadcast Intents

2009-06-10 Thread Jay
I'm trying to capture when a calendar reminder is triggered. The way I am trying to do that is by using a BroadcastReceiver. My problem is I don't know the name of the Intent that gets broadcast when a reminder is triggered, if it even exists. Does anyone know where I could find a list of Calen

[android-developers] Re: How to launch internal activity from PreferenceScreen

2009-06-10 Thread kmorey
This is what worked for me: Kevin On Jun 9, 10:09 am, Tushar wrote: > Hi, > > Using PreferenceScreen in xml format we can launch activity by > specifying Intent as shown in sample application > >                     android:data="http://www.android.com"; /> > > This will launch Browser act

[android-developers] Re: how can i put 15MB images in my App?

2009-06-10 Thread Jonathan W
I've got the same question. On first load, I want to download images to SD card for use later. Any suggestions? On May 29, 7:57 am, zeeshan wrote: > i think download option would be the better solution. > i need to download in a bunch like 50 images on next click. > > i only have idea to take

[android-developers] Get Assisted GPS server address from device

2009-06-10 Thread Jerome
Hello, I’m study the way to make application for A-GPS (Assisted GPS) server monitoring. So I would like to know if android sdk has an APIs to: - Get the AGPS server IP address from the device and to modify this address if necessary - Get datas supply by the A-GPS server to the device

[android-developers] Re: how can i put 15MB images in my App?

2009-06-10 Thread Jonathan W
Hi, I have the same question as below. I'd like my app to prompt the user to download a package of 500 png images upon first load. These images would be stored on the SD card (and ideally encrypted), but accessed by the heard of the application which would be stored in main memory. Can anyone p

[android-developers] Help with Hello Android app

2009-06-10 Thread Pavan
I tried all different possibilities but i can't get the hello android to work. I am using eclipse 3.4.2 and java 1.6 and when I am launching the sample app it says 'Cannot find HelloAndroid.apk' file. I have googled this and I couldn't find any solution that fixes this. Any help would be appreciat

[android-developers] Calendar Broadcast Intents

2009-06-10 Thread Jay
I'm trying to capture when a calendar reminder goes off. What I'm trying to do right now is use a BroadcastReceiver and receive an intent from the calendar. Is there an intent that gets broadcast when a calendar reminder goes off? If so what is its name, or where can I find it? Is there a list

[android-developers] Overview Of New Intel Core i7(Nehalem) Processor

2009-06-10 Thread whatn...@gmail.com
Before entering on the details about the architectural features present on the Nehalem CPUs, let’s make a summary of the base elements that are common to the many different versions: server, desktop and notebook. It’s worth noticing how the new architecture engineering process used by Intel aims a

  1   2   >