[android-developers] Where to find native resources?

2009-07-10 Thread doubleslash
Hi, Could someone please tell me how to access android's native resources? In particular, I would like to use the camera icon and shutter sound in my own app. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: Map Problem on Android emulator

2009-07-10 Thread Ian
did you figure this out? I have a similar problem... thanks On May 28, 6:19 am, Kamal wrote: > Hi all, > > I am using android SDK1.0 and trying to load google map. > I am able to browse maps.google.com site from android emulator so I > feel internet may not be the problem. > I also have obtaine

[android-developers] Couldn't get connection factory client

2009-07-10 Thread Ian
Help!! I cannot release my app because Maps aren't working in the released version. I believe I have the right maps signature, which I added after setting up my private key, then recompiled and signed. Everything works when I run in Debug mode, although I get a "dalvik" error whcih I get rid of

[android-developers] How to hide the scrollbar, please

2009-07-10 Thread 单单
The requirements is the scrollbar of a list is usually unvisible. Only when user scroll it, the scrollbar shows. Could anyone tell me how to achieve this? Any help will be highly appriciated! --~--~-~--~~~---~--~~ You received this message because you are subscrib

[android-developers] Singles dating online

2009-07-10 Thread bride
Singles dating online Click below the link and see how to prepare For dating with online soulmate. www.reallyfreee.blogspot.com Everything for clear details about online Dating preferences --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[android-developers] Re: Cannot load maps with Production API Key.

2009-07-10 Thread Ian
yes please! my release is blocked for similar reason. I got the maps key, compiled with new key, signed, but now it's all grey. when I redo with debug key, it works... help! On Jun 9, 3:38 am, wulongr wrote: > Hi, Hunter Peress > > Could you share what you've done for this issue? Thanks! > >

[android-developers] How to make ImageView fill vertically within RelativeLayout

2009-07-10 Thread an0
I put an ImageView and a TextView within a RelativeLayout, and want the ImageView to grow vertically with the line number of TextView. The drawable of the ImageView is a png picture of vertical bar. With the following layout, the ImageView does not fill the height of the RelativeView. Instead, it

[android-developers] Re: How can I use the hidden provider?

2009-07-10 Thread Dianne Hackborn
Because there is a good chance they will change in the future. On Fri, Jul 10, 2009 at 7:00 PM, android.bu...@gmail.com < android.bu...@gmail.com> wrote: > > Thanks a lot! But it is really bad news. Why google can not make all > the APIs public? > > On Jul 10, 11:36 pm, Romain Guy wrote: > > You

[android-developers] Re: why would InputStreamReader returns null

2009-07-10 Thread Hong
you are using j2me... wrong group... this is for android... 2009/2/26 silver : > > Hi People; > > I am trying to solve my problem about InputStreamReader returns > null..I have a Login screen which checks the configuration file. > and here is the configuration class > > import java.io.*; > > impo

[android-developers] Re: HTC Magic

2009-07-10 Thread Nima
Hi, Thanks a lot for your quick response. We are not able to see the option "settings->applications->development- >"USB Debugging" in device Please advice. Thanks & Regards, On Jul 10, 10:33 pm, "Yusuf T. Mobile" wrote: > As a T-Mobile employee, I discourage you in the strongest possible > ter

[android-developers] Re: How can I use the hidden provider?

2009-07-10 Thread android.bu...@gmail.com
Thanks a lot! But it is really bad news. Why google can not make all the APIs public? On Jul 10, 11:36 pm, Romain Guy wrote: > You cannot, that's the whole point. These are private APIs that will > change from version to version, if you use them your application will > NOT run on "all public and

[android-developers] ACCURACY_COARSE and ACCURACY_FINE

2009-07-10 Thread Maps.Huge.Info (Maps API Guru)
I've been toying with these two concepts for a while and was wondering what the consensus is on how to handle accuracy changes. I would like to be able to use the FINE but if not available use COARSE. The issue is how to handle these two. I thought about using two listeners and that seems like a

[android-developers] Re: How to obtain bitmap from data in onPreviewFrame method of previewCallback and display on surface using canvas

2009-07-10 Thread newbyca
you need to tell me a little more about the issue ... but my guess is you were seeing something like "Bitmap to big for allocated memory" or something or other? i forgot exactly, but i've seen an error like that before trying to write to bitmaps. again, this is just a guess, but are you creating a

[android-developers] Re: Signing APK and "Conversion to Dalvik format failed with error 1"

2009-07-10 Thread Ian
here's an end log excerpt after clean and build for first time: I don't like how it "ignored resource" ... that file has the guts of my app... again, refresh and build afterwards works but it signs with debug api. export wizard doesn't work unless I do the refresh/rebuild ("missing .apk") your

[android-developers] Re: Low accuracy of the accelerometer Sensor

2009-07-10 Thread newbyca
D, I'm having many of the same issues, though my app is a little different in nature ... i don't know that this will help much, but here's my thoughts so far: - when determining the sample time rate use event.timestamp in your sensor listener callback. you'll see more or less the same results, bu

[android-developers] Re: Speech Recognition application

2009-07-10 Thread iPaul Pro
Just in case you are unaware: http://developer.android.com/reference/android/speech/RecognizerIntent.html On Jul 10, 5:41 am, campi wrote: > Hi, > such as the name of the topic says, I am developping an application > based on speech recognition. I intend to develop the recognition part. > Since

[android-developers] Re: Signing APK and "Conversion to Dalvik format failed with error 1"

2009-07-10 Thread Ian
thanks for the response... I did a full clean reinstall of Eclipse Galileo + ADT 0.9.1 + SDK 1.5_r2 I created a new project called "Test" with no user code and referenced Google Maps api. I compiled and got this: [2009-07-10 18:56:39 - Test] no classfiles specified [2009-07-10 18:56:39 - Test]

[android-developers] Re: android developers challenge 2

2009-07-10 Thread jonathan
Yusuf, thanks for the reply.would a website designed for gphone/smart phone be eligible? -Jonathan On Jul 10, 9:41 am, "Yusuf T. Mobile" wrote: > I am not an official nor a judge, but from my reading of the > preliminary rules posted so far, leveraging a server does not render > your entry

[android-developers] BlurMaskFilter

2009-07-10 Thread Sharmila
Does the BlurMaskFilter works?I am trying to blur a greyscale image captured by the camera using BlurMaskFilter... Bitmap bm=Bitmap.createBitmap(bm.getWidth(),bm.getHeight (),Bitmap.Config.ARGB_); Canvas c=new Canvas(bm); Paint p=new Paint(); p.setMaskFilter(new BlurMaskFilter (radius,BlurMask

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-10 Thread iPaul Pro
To do this in a future-proof way, you would set the on the receiver app to handle your type of data and sending extras with the intent from the sending app. For example: if you are making an app that SEND's plain text: In the java of the app to send the text: final Intent sendIntent = new Inte

[android-developers] Re: EMMA Code coverage and JUnit

2009-07-10 Thread Haritha
Brett first of all thanks for all the information on Emma coverage. I have written my own instrument testcase for Setting app and added these to /packages/apps/Settings/tests/ with export EMMA_INSTRUEMNT=true;and mmm packages/apps/Setting coverage.em,Settings.apk,SettingsTests.apk are generated.

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
On Fri, Jul 10, 2009 at 1:53 PM, Alslayer wrote: > > That did it.  Man that was difficult.  Thank you so much for your help > Marco.  I still have a few problems. > 1. the sound won't stop when I hit the back button That's because the MediaPlayer doesn't know that you hit the back button. Since y

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
That did it. Man that was difficult. Thank you so much for your help Marco. I still have a few problems. 1. the sound won't stop when I hit the back button 2. there are no controls to stop and start the video - guess I gotta make them 3. video is stretched out Here is the final code if anyone

[android-developers] FrameLayout and margins

2009-07-10 Thread Ventrix Kostis P.
I have the following piece of code but the margins are not set. main.xml: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> setContentView(R.layout.main); ImageV

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Dan Bornstein
On Fri, Jul 10, 2009 at 1:25 PM, Mark Murphy wrote: > Dan Bornstein wrote: >> That message is only ever produced because of entirely local >> information about a class, and the trigger condition is exactly as >> stated [...] > > I apologize for my mistake -- I was thinking of a different dex error

[android-developers] Selecting text in a WebView?

2009-07-10 Thread gsmd
The browser does this by calling `public void emulateShiftHeld()` method on the WebView which is hidden in the SDK. Any other options? TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Mark Murphy
Dan Bornstein wrote: > On Fri, Jul 10, 2009 at 1:00 PM, Mark Murphy wrote: >>> warning: Ignoring InnerClasses attribute for an anonymous inner class >>> that doesn't come with an associated EnclosingMethod attribute. (This >>> class was probably produced by a broken compiler.) >> At least in some

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Dan Bornstein
On Fri, Jul 10, 2009 at 1:00 PM, Mark Murphy wrote: >> warning: Ignoring InnerClasses attribute for an anonymous inner class >> that doesn't come with an associated EnclosingMethod attribute. (This >> class was probably produced by a broken compiler.) > > At least in some cases, that means you imp

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Mark Murphy
fatima wrote: > Hi.I have a same problem. When I was trying to run CometdChat > Program,this warning be appeard : [2009-07-10 20:08:36 - cometdchat] > warning: Ignoring InnerClasses attribute for an anonymous inner class > that doesn't come with an associated EnclosingMethod attribute. (This > cla

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-10 Thread Dianne Hackborn
Note that this is no different than using a private API. You can expect this to break in the future. On Thu, Jul 9, 2009 at 12:37 PM, nEx.Software wrote: > > I don't know how exactly, but I can tell you the class name. You'll > have to figure out the extras though. > > Intent intent = new Intent

[android-developers] Fwd: tools dex

2009-07-10 Thread fatima
Hi.I have a same problem. When I was trying to run CometdChat Program,this warning be appeard : [2009-07-10 20:08:36 - cometdchat] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced

[android-developers] Can adb shell trigger onLowMemory

2009-07-10 Thread James
Does the adb shell or another development utility support sending or triggering the onLowMemory call back to the active Activity Context? I would like to trigger it to make sure my implementation frees memory. I find the idea of actually making the device or emulator run out of memory is a bit un

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
Try setting a SurfaceHolder callback and delaying the call to MediaPlayer.setDisplay() until you've gotten the surfaceCreated() callback. On Fri, Jul 10, 2009 at 11:53 AM, Alslayer wrote: > > I noticed with all the copying and deleting code I forgot to add > setContentView(R.layout.main);.  So n

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-10 Thread Mike
OK, thanks for the head start. I'll play around with this and see what I can do. On Jul 9, 1:37 pm, "nEx.Software" wrote: > I don't know how exactly, but I can tell you the class name. You'll > have to figure out the extras though. > > Intentintent= newIntent();intent.setClassName > ("com.andro

[android-developers] Re: How to get the video stream from MediaRecorder?

2009-07-10 Thread Gergely Kis
Hi, We wrote a blog about this a few days ago: http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system Best Regards, Gergely On júl. 10, 17:44, manoj wrote: > hi, > > I want to get the stream and send it to server directly by using > MediaR

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
I noticed with all the copying and deleting code I forgot to add setContentView(R.layout.main);. So now I don't get the "The application stopped unexpectedly." error anymore. Now the app starts up with a black screen then goes back the home screen. Here is the whole code and the xml. import ja

[android-developers] Re: Converting an image captured by camera to grayscale

2009-07-10 Thread Sharmila Chakraborty
Thank you very much! On Wed, Jul 8, 2009 at 7:39 PM, Jack Ha wrote: > > You can try something like the following: > >Bitmap grayscaleBitmap = Bitmap.createBitmap( >colorBitmap.getWidth(), colorBitmap.getHeight(), >Bitmap.Config.RGB_565); >Canvas c = new Canvas(graysca

[android-developers] Re: Signing APK and "Conversion to Dalvik format failed with error 1"

2009-07-10 Thread Roman
Based on your description I assume that you can build successfully the APK which is located in the bin folder of your project (of course it's signed with the developer key). Normally when you select the option "Android Tools->export unsigned application package" a window pops up where you specify

[android-developers] Re: Unicode support

2009-07-10 Thread Mark Murphy
amiz wrote: > Is there a document that lists the range of unicode codes that > Android supports. > > I am trying to display superscript 9 is \u2079 in a string and I get > a block in the emulator. > > Superscript 3 which is \u00b3 works Try examining the desktop version of whichever font you

[android-developers] Unicode support

2009-07-10 Thread amiz
Is there a document that lists the range of unicode codes that Android supports. I am trying to display superscript 9 is \u2079 in a string and I get a block in the emulator. Superscript 3 which is \u00b3 works Thanks --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: Cell Radio Info

2009-07-10 Thread ain
So have you been to see the listeners/managers? Looks like either someone has the code or was able to access the fieldtestMode http://www.flickr.com/photos/12118...@n00/3258661437/in/set-72157613452472324 On Jul 9, 6:58 pm, Richard Schilling wrote: > That's probably all you're going to get at t

[android-developers] Re: android + pidgin = ???

2009-07-10 Thread Yusuf T. Mobile
Pidgin is a graphical front-end for libpurple using GTK+. (Thank you, Wikipedia). So if you want Pidgin on Android, you could put an Android UI on top of libpurple. libpurple is written in C, so you can use the NDK for that part. An easier option would be to use a multiprotocol library written in

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread Jeff
I placed a file with my data in the assets directory. You can then access the file like this: context.getResources().getAssets().open("session.txt") and import your data. I also run this import process in a separate thread in the background. That way the user isn't impacted or needs to wait.

[android-developers] Re: HTC Magic

2009-07-10 Thread Yusuf T. Mobile
As a T-Mobile employee, I discourage you in the strongest possible terms from rooting your Magic and upgrading it to 1.5 at the same time using this link: http://android-dls.com/wiki/index.php?title=Magic_Rooting Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements

[android-developers] Re: /dev/video

2009-07-10 Thread mboehmer
What about /dev/pmem_camera ? On 10 Jul., 10:46, mboehmer wrote: > Ist there a /dev/video device on Android or any other possibility, > where I can grab the image of the cam on a binary basis? --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Re: Associate app to open email attachments

2009-07-10 Thread Alexey Krasnoriadtsev
You are correct that you should use contentResolver.openInputStream (uri), to get the data from gmail attachments. Default Email app, is very dumb and is hardcoded to only open audio and image attachments. (disclaimer, that was the case 6 month ago, the last time i looked at it). On Jul 8, 10:1

[android-developers] Re: Making a persistant content observer

2009-07-10 Thread Streets Of Boston
I'm not sure at all if this would work, but have you tried to put the content-observer code inside a *service* (instead of in your activity). Start the service and keep it around. And if the content changes, create a notification. The notification can be noticed by the user and allows him/her to

[android-developers] Is there any way to get galk friend list at android?

2009-07-10 Thread Zhangbin Peng
Hi all, I'm developing an android app that may use galk's friend. I have an google account/password pair enter by the user, then how can I 1) get a list of the account GTalk contacts or Google Contacts? 2) send a contact a message (via IChatSession.sendChatMessage() ?) 3) is there any GTalk API

[android-developers] About localization: 'NOT_FOUND' kind of strings

2009-07-10 Thread Claudia
Hello, I'm localizing an Android phone and I was given several thousand strings (mostly xml) of many kinds (apps, framework, GUI, content, graphics, manuals, etc). Some of those strings are what I assume keys for the Apps message, like: NOT_FOUND or UNKNOWN_ERROR in the strings of each app. I've

[android-developers] wide character problem

2009-07-10 Thread Droid123
i have a problem with wide characters in android. wprintf(L"hello world\n"); OUTPUT: h i'm compiling my code using ndk, pushing the executable on G1 phone and running from shell. is there something else that needs to be done to use wide characters? i even tried calling fwide(stdout, 1) before p

[android-developers] Re: conversion to dalvik format failed with error 1

2009-07-10 Thread Ian
please someone help with this... i'm getting the same issue and I think it's preventing me from releasing my APK. It looks like I cannot build the apk w/o Eclipse using the debug key to sign it, but I need an unsigned apk. I've used the wizard, that's not the issue. The wizard just takes the al

[android-developers] HTC Magic

2009-07-10 Thread Nima
hi, We have bought new HTC Magic with the following specifications: 1.Firmware version- 1.5 2.Baseband Version - 62.52s.20.18U_3.22.20.17 3.Kernel Version- 2.6.27-cb85e129 htc-ker...@and18-2 #3 4.Build number-2.16.720.2 146733 CL#38755 release-keys Can any one please tell us whether we can fla

[android-developers] Speech Recognition application

2009-07-10 Thread campi
Hi, such as the name of the topic says, I am developping an application based on speech recognition. I intend to develop the recognition part. Since it requires quite a lot of operations, I was wondering wether an Android Phone, such as the Dev Phone 1, could handle it. So could I develop such an

[android-developers] Creating a rom image

2009-07-10 Thread BTR Naidu
Hi All, I was wondering if we can create a rom image (not the adk) out of the SDK and boot android on a hardware platform like OMAP 1623 by TI? Regards Naidu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] failed to show dymatic MapView

2009-07-10 Thread En
Hi ~~~ I want to show the map moving along the route, anyone have succeed to realize that? I have tried the method of LocationListener and MyLocationOverlay by successfully loading KML file, but still not succeed . who can help me ?! --~--~-~--~~~---~--~~ Yo

[android-developers] problem with get GPS data from KML file

2009-07-10 Thread En
hello~~ I created a mapView which I want to show the root by using KML file to sending GPS data. I both tried by the method of LocationListener and MyLocationOverlay , but unluckly still not to succeed ! I can successfully to load KML file which has a few groups of GPS datas , but only can get

[android-developers] Get GMail, Google Maps, GTalk, Market in other language

2009-07-10 Thread Fernando Manso (BrOkeR)
Hi there, My rom is all in my language (spanish) except those applications. May be someone can guide me to putting them in my language. I don't know if I have to edit some locale file, or push the spanish apks files, or whatever. Thanks in advance for your help. --~--~-~--~~-

[android-developers] Re: GPS Access Question

2009-07-10 Thread jnv
Hi, I'm working through your gps example but I get a "sorry, app has stopped unexpectedly" message when I run it on the emulator. My code is pretty similar to the above. Any thoughts? (BTW, I made sure to include the ACCESS_FINE_LOCATION permission line in the manifest.xml file.) Thanks, -jnv -

[android-developers] General UI Questions

2009-07-10 Thread bnovc
I just started trying to learn the Android SDK, and I've noticed that it seems to lack a lot of documentation. I was trying as a first exercise to add an "Every Day" option to the alarm clock that would click the other items when it is checked. In onPrepareDialogBuilder, I can check which index w

[android-developers] android + pidgin = ???

2009-07-10 Thread luoqii
Hi, every one , i want to know is there any one who are interest in porting integrating IM Pidgin to Android. As i know, in android market, there are several IM client, such as meebo,palringo, which are fine to us, but for me who reside in china, it's not enough, these IM client support QQ, fetion

[android-developers] Re: Low accuracy of the accelerometer Sensor

2009-07-10 Thread keyboardr
I'm not 100% familiar with this aspect of the G1, but I know Nintendo had a similar problem with their Wiimotes. That's why they have the sensor bar set up: they couldn't get their accelerometers to be accurate enough to track position. On Jul 9, 2:23 pm, dilit wrote: > Sounds like some signal

[android-developers] Indication of user activity from a service

2009-07-10 Thread dadical
I need to determine if a user has interacted with the screen, keyboard, or trackball from a background service. I don't need to know coordinates, or actual keystrokes. I just need to understand if they have interacted with the phone in any way. Anyone have any creative ways to do this? It woul

[android-developers] Re: Home Screen Sample

2009-07-10 Thread camandroid
Apparently bindFavorites() aims only to retrieve the favorite application. Since we don't have this file /system/etc/favorites.xml, we are not obliged to manage it. What I did is: - initialize mFavorites at the top and - fill it from favReader only if favReader != null. of course at the

[android-developers] Signing APK and "Conversion to Dalvik format failed with error 1"

2009-07-10 Thread Ian
Help! I've been trying to use Eclipse and the Export Wizard to create a signed apk. unfortunately, I cannot seem to generate an UNSIGNED apk. Every time I "clean and build" I get the error below, which I read I can get rid of by "reload" or refresh then building again. however, the debugge

[android-developers] Re: Signing APK and "Conversion to Dalvik format failed with error 1"

2009-07-10 Thread Ian Gavalakis
update: when I try to "export unsigned" it fails because no APK was generated, likely due to the error. again, reloas/build-again creates an exportable ak but it's signed with debug key... useless... p.s. Romain, please forgive me for including you, but you seem to be one of the best responders

[android-developers] How to contact device with ADB from Windows NT?

2009-07-10 Thread Chenny
Hi All, I can contact device with ADB tool from Linux PC. Such as: On Linux PC: $ export ADBHOST=XX.XX.XX.XX #(IP of Android device) $ adb kill-server (you must make sure adb path is set) $ adb shell How could I do with Window NT adb? --~--~-~--~~~---~--~

[android-developers] HTC Dream

2009-07-10 Thread Nima
Hi, Can anyone please tell where we can get factory image for HTC Magic device? whether we can flash Android1.5 image under the following link http://www.htc.com/www/support/android/adp.html to HTC Magic device Thanks&Regards, --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Problems in using android to developing facebook applications .

2009-07-10 Thread Josh
I'm having this same problem with jaxb. Anyone out there have any idea why this happens? On May 13, 3:04 am, daen wrote: > I have no idea yet. > now I'm using CS to develop my android-facebook application. > the PC working as a server,and android phone working as client. > may be it will help y

[android-developers] Error on SharedPreferences for AppWidget

2009-07-10 Thread Stefano Sanna (gerdavax)
Hi. I'm working on an AppWidget which manages settings using SharedPreferences. I'm experiencing a strange behaviour (on a Dream) on its configuration Activity: 1) if I use software keyboard (that is: without opening physical keyboard) to edit text, everything works fine and preferences are sto

[android-developers] Re: Start TTS from broadcast receiver

2009-07-10 Thread Dianne Hackborn
*sigh* That solution you were given is utterly broken -- the restriction placed on the context is to HELP people from doing stuff that is not actually going to work all of the time (since your hosting process can be killed any time after onReceive() returns, before onBind() comes back). So this p

[android-developers] Re: Making a persistant content observer

2009-07-10 Thread Dianne Hackborn
Sorry, there is no support for this, besides ensuring you are always running with a service... and you should really really avoid that. We deliberately don't allow apps to be launched from content changes due to significant concerns about how this can impact performance if a number of apps end up

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
On Fri, Jul 10, 2009 at 8:36 AM, Alslayer wrote: > >> I'm pretty sure there was more than just "NullPointerException" in the >> log. Where exactly did this exception occur? > > Here is the full error. > > 07-10 08:21:04.030: ERROR/AndroidRuntime(11604): > java.lang.RuntimeException: Unable to star

[android-developers] Re: android developers challenge 2

2009-07-10 Thread Yusuf T. Mobile
I am not an official nor a judge, but from my reading of the preliminary rules posted so far, leveraging a server does not render your entry ineligible. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their indi

[android-developers] How to get the video stream from MediaRecorder?

2009-07-10 Thread manoj
hi, I want to get the stream and send it to server directly by using MediaRecorder. Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it. Can any one please suggest me how to do it? Thanks, Manoj. --

[android-developers] How to get the h.263 file from the frames coming from Camera?

2009-07-10 Thread manoj
Hi I want to get the h.263 stream using Camera. Actually, by using Camera, Camera.PreviewCallback, I am getting frames (yuv format). >From these frames I want to get the h.263 encoded stream. Is there any class available in Android? Thanks, Manoj. --~--~-~--~~~---~-

[android-developers] Re: How can I use the hidden provider?

2009-07-10 Thread Romain Guy
You cannot, that's the whole point. These are private APIs that will change from version to version, if you use them your application will NOT run on "all public android systems." On Fri, Jul 10, 2009 at 5:19 AM, android.bu...@gmail.com wrote: > > As we know, Google has hidden some APIs on newer

[android-developers] Re: How to Set the Wall Paper Programatically in android?

2009-07-10 Thread Romain Guy
All you have to do is call setWallpaper(), you do not need to broadcast any intent, this will be done for you. On Thu, Jul 9, 2009 at 11:56 PM, android.vinny wrote: > > HI Every One > > I have To set Wall Paper In application by writing the code > programmatically. > > when i press the Grid view

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
> I'm pretty sure there was more than just "NullPointerException" in the > log. Where exactly did this exception occur? Here is the full error. 07-10 08:21:04.030: ERROR/AndroidRuntime(11604): java.lang.RuntimeException: Unable to start activity ComponentInfo {com.mycorp.myapp/com.mycorp.myapp.m

[android-developers] Media AspectRatio

2009-07-10 Thread glory
Hi, I am playing the video from the you tube link.But the video played by my Application has different aspect ratio then what played by the youtube application. How to play the video in the same aspect ratio as that of the youtube application. I am using Video View for playing the application.

[android-developers] TabHost + ListView + SMS == bug?

2009-07-10 Thread extrapedestrian
I have TabHost with ListView as tab content. ListView has context menu that opens send SMS activity. After returning from SMS screen when I try to switch tab ListView disappears and can not be displayed for second tab until application is restarted. I made simple example if someone can confirm th

[android-developers] Re: A question regarding the MotionEvent

2009-07-10 Thread nEx.Software
The chances that your start and end location will be exactly the same are slim to none. If you want to do it all in a regular old onTouchEvent(), you'd want to have some sort or range... If down and up occur within some small range such as within 10 or something like that. Depending on what exactl

[android-developers] Re: Using ANT not Eclipse, How do I add a 3rd party jar

2009-07-10 Thread Mark Murphy
moa wrote: > I want to be able to add google's exteneded json library to my app > (gson.jar). I can get it in the path so I can compile but it is not > being bundled into the application when being deployed. How can I do > this? If you are using the stock Ant build.xml, just put the JAR in your p

[android-developers] Re: How to send MMS in Android Mobile

2009-07-10 Thread Jimmy Huang
Thanks John, Does I only import this MMS git to my application, I can have my application send MMS probably? please give me tips. thanks very much! Regards, Jimmy On Jul 10, 7:47 pm, john wrote: > You could send it programatically but you would probably need to look > deep within the messaging

[android-developers] Re: two questions about MediaPlayer

2009-07-10 Thread Marco Nelissen
A path like "C:\somefile.3gp" has no meaning within the emulator. On Thu, Jul 9, 2009 at 6:19 PM, tstanly wrote: > > under c:\ > > thanks > > On 7月10日, 上午2時56分, Marco Nelissen wrote: >> On Wed, Jul 8, 2009 at 1:01 AM,tstanly wrote: >> >> > and i think that's not the formation of audio/video iss

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
On Thu, Jul 9, 2009 at 8:21 PM, Alslayer wrote: > > I added the MediaPlayer.setDisplay() and I added a SurfaceView to my > ui.  Now I get "The application stopped unexpectedly."  I looked in > the debug log and the error says "NullPointerException".  Any help > would be great. I'm pretty sure the

[android-developers] Making a persistant content observer

2009-07-10 Thread jrgraf...@googlemail.com
Hey guys, Quick question: I am trying to make a permanent contentObserver that observes content://sms. The way I do it atm is have an initial configure Activity with my application that calls the following code: ContentResolver contentResolver = getContentResolver();

[android-developers] Re: Video with MediaRecorder

2009-07-10 Thread Zeeshan Muhammad
i tried this intent but it doesn't show anything startActivityForResult(*new* Intent( android.provider.MediaStore.* ACTION_VIDEO_CAPTURE*), 2); On Thu, Jul 9, 2009 at 9:25 AM, hanged_man wrote: > > i didn't read this whole thread but i think i got a clear idea of your > problem, why don't you

[android-developers] Using ANT not Eclipse, How do I add a 3rd party jar

2009-07-10 Thread moa
Hi, I want to be able to add google's exteneded json library to my app (gson.jar). I can get it in the path so I can compile but it is not being bundled into the application when being deployed. How can I do this? I am NOT using eclipse, so need to do it via the ant. I'm actually using Netbeans

[android-developers] Sliding the view when opening Virtual Keyboard

2009-07-10 Thread Hazam
Hi guys, I was wondering if there is a method for controlling the amount of the View that gets scrolled when opening the virtual keyboard. Right know it scrolls just enough for letting the relate EditText show itself (and not perfectly too, like it scrolls fully in just after the first typed chara

[android-developers] Re: EditText and Virtual Keyboard

2009-07-10 Thread Hazam
Hi Hong, thanks for your reply. I tried that but to no avail. The reason seems to be that clicks and actions from virtual keyboard do not follow the same path that normal key and touch events do. The get tunneled in an InputConnection, and things get REALLY difficult for me to understand fully. So

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread André
Or, if you are working with the SQLiteOpenHelper base class, then you could export your DB to a text file (including CREATE TABLE, INSERT, etc.), place this in your "assets" folder and import the file in the overridden "onCreate" method of SQLiteOpenHelper. -- André http://android.rabold.org On

[android-developers] Demo App

2009-07-10 Thread UK Android Apps UK Android Apps
Hi, I want to release a demo version of my app. I added a restriction that the app could only be used 5 times by storing a counter in the db. However a user can easily uninstall and install the demo again! What the best way to manage this? Thanks --~--~-~--~~~---~-

[android-developers] Re: GPS signal strength

2009-07-10 Thread Sujay Krishna Suresh
@kalyan Thnx for the reply John... I need both informations and any kinda sample code would be of gr8 help... Regards, Kalyan Simhan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread Cezar Augustus Signori
You could put it in your app raw directory. On Jul 10, 4:38 am, Tez wrote: > Hi, > > I have an SQLite DB file. I wish to include the sqlite file with my > apk. How do  i do that? > > Cheers, > Earlence --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] How can I use the hidden provider?

2009-07-10 Thread android.bu...@gmail.com
As we know, Google has hidden some APIs on newer SDKs, some of providers(i.e. Telephony provider) are hidden, we can only seen in source code, but we can not use on the current SDK. So I wonder how we can use these providers. I know we integrate our own firmware, however, I wonder if we can solver

[android-developers] Calendar

2009-07-10 Thread Rafael Sexta
Hi people, I have o develop somethings in a android calendar to works with events in the calendar, but someone sad to me that the informations have to be synch with the blur account and it isnt recorded just in the phone. Someone knows how the calendar works?? or someone knows how i can communicate

[android-developers] Re: How to send MMS in Android Mobile

2009-07-10 Thread john
You could send it programatically but you would probably need to look deep within the messaging application code. Start here - http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=tree;h=refs/heads/master;hb=master good luck! On 7月10日, 上午9時47分, Jimmy Huang wrote: > Thank Yusuf. Y

[android-developers] Re: GPS signal strength

2009-07-10 Thread John Smith
2009/7/10 kalyan simhan > hi all.. > how can i get the gps signal strength.. and the number of satellites.. > im using android 1.1 sdk.. kindly help! thanks in advance!! You need to grab GPS status messages, and are you after signal strength or something more useful like dilution of precision?

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Mark Murphy
Victor Lin wrote: > > http://schemas.android.com/apk/res/android"; > package="com.ez2learn.android.powergrid" > android:versionName="1.0" android:versionCode="4"> > >android:label="@string/app_name"> > > >

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Victor Lin
http://schemas.android.com/apk/res/android"; package="com.ez2learn.android.powergrid" android:versionName="1.0" android:versionCode="4"> On 7月10日, 下午6時20分, Mark Murphy wrote: > Victor Li

  1   2   >