Re: [android-developers] Re: ADB, HTC Hero and 2.1 Update

2010-07-21 Thread Kiril Nedialkov
sry, I forgot to mention it - yes, it is enabled. On Tue, Jul 20, 2010 at 10:29 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I hate to state the obvious, but have you made sure the USB debugging option is still selected? -John Coryat -- You received this message because you

[android-developers] Re: Twitter / Facebook source code

2010-07-21 Thread ko5tik
I'm affraid - nowhere. Though there are public APIs available to work with them On Jul 20, 12:23 pm, oriharel ori.ha...@gmail.com wrote: Where can I find the source code of Twitter / Facebook? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: ADB, HTC Hero and 2.1 Update

2010-07-21 Thread ko5tik
There is also an app shown directly after you connect to USB - I select top option ( just charge ) - otherwise it does not work On Jul 21, 8:00 am, Kiril Nedialkov kiril.nedial...@gmail.com wrote: sry, I forgot to mention it - yes, it is enabled. On Tue, Jul 20, 2010 at 10:29 PM,

[android-developers] Re: Id values for AlertDialog.Builder created buttons

2010-07-21 Thread Andy
Hi, I want to access the buttons for validation purposes so I can enable the 'save' button but only when correct input has been entered in EditText View. There are other ways around this but this is the standard way for validation in a GUI (using SWING for example) A On Jul 20, 10:52 pm,

[android-developers] Some time URL links are not opened in HTML viewer

2010-07-21 Thread vipendra katre
Hi All, I am invoking HTML viewer for display HTML file from sdcard, this file contain a URL link. some time the link from HTML page doesn't open. Does anybody has solution for this post. Vipendra Katre -- You received this message because you are subscribed to the Google Groups

[android-developers] URL links are not opened in HTML viewer

2010-07-21 Thread vipendra katre
Hi All, I am invoking HTML viewer for display HTML file from sdcard, We have links displayed on the HTMLViewer. Tapping on those links sometimes opens the browser and sometimes doesn't open the browser on tapping the links. However it works fine with the track ball. Please let me know if

[android-developers] Touch event noisy

2010-07-21 Thread billconan
Hello everyone. I'm working on a simple game: when you press a button on the screen, a character will run to certain direction. it's easy to support keyboard input. but, some phone doesn't go with a keyboard or even no a track ball. so I decided to draw a virtual run key on the screen (with

[android-developers] Re: ListView and a button inside the list item... How to process long presses?

2010-07-21 Thread metal mikey
Typically one doesn't longclick a button, rather one would simply click a button... I've implemented buttons within childViews and groupViews in an ExpandableList (similar, but more hardcore than your situation ;), so it definitely can be done...how'd I do this? Well I don't have the code at

[android-developers] Added Interface of is not resolving at runtime

2010-07-21 Thread chetan
Hi, I have downloaded eclair source code and created an application which is having UI, native code and externel interfaces (not android interfaces) which are imported in one service class of package. This interfaces directory is not part of installation package. We compiled our code

[android-developers] Re: Twitter / Facebook source code

2010-07-21 Thread metal mikey
On the intercloudz On Jul 20, 12:23 pm, oriharel ori.ha...@gmail.com wrote: Where can I find the source code of Twitter / Facebook? -- 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] HTC tattoo List separators and menu separator lines are not visible

2010-07-21 Thread Amit
Hi All, I am testing my android application on HTC Tattoo device. I have written some custom list views with my own adapters. The problem i am facing is that i can see my list properly in the emulator but when i run the same application on HTC tatto, the divider line between individual list item

Re: [android-developers] Touch event noisy

2010-07-21 Thread Miguel Morales
Try sleeping at the end of the event, such as Thread.sleep(30). On Tue, Jul 20, 2010 at 11:50 PM, billconan billco...@gmail.com wrote: Hello everyone. I'm working on a simple game: when you press a button on the screen, a character will run to certain direction. it's easy to support

Re: [android-developers] HTC tattoo List separators and menu separator lines are not visible

2010-07-21 Thread Kostya Vasilyev
Amit, Did you define supports-screens in the manifest? If not, you need to add it for proper scaling, besides the usual uses-sdk.. -- Kostya 21.07.2010 11:36, Amit пишет: Hi All, I am testing my android application on HTC Tattoo device. I have written some custom list views with my

[android-developers] EditText wrapped in ScrollView

2010-07-21 Thread mongd
Hi all, I have an issue with EditText when it's wrapped in ScrollView. Please see the following layout setup: ?xml version=1.0 encoding=utf-8? ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

[android-developers] Re: Delete Call Log entry Exception

2010-07-21 Thread Shyam
Hi I this this code would solve your Purpose. * This class newly added by Shyam Ananthakrishnan, is meant to manipulate with the Android call log. * Author : Android Automation Team - Shyam Ananthakrishnan (shyam.ananthakrish...@lntinfotech.com) * Date : 2nd July 2010 * Purpose: ASE

Re: [android-developers] Re: Socket in AsyncTask - application crashesso the UI won't be blocked

2010-07-21 Thread Jerry Fan
You can register a handler in your code and send message to update your UI component in Handler. I used this way to solve a similar problem like urs before. For exapmpel if (socket.isConnected()) { OutputStreamOut = new ObjectOutputStream(socket.

[android-developers] Re: how centralize view in absolutelayout

2010-07-21 Thread claesh
You'll need to calculate the x,y positions in code for the textview. You also need to listen in to changes in device orientation and re- calculate. On Jul 21, 6:45 am, CMF manf...@gmail.com wrote: i want to centralize the textview in the absolutelayout. but there is not setgravity in

[android-developers] am trying to start my service on device boot up.

2010-07-21 Thread A N K ! T
.i write a app but it is not doing anything..code is given below if anybody can help. *manifest file:::* application android:icon=@drawable/icon android:label=@string/app_name receiver android:name=myBR intent-filter action

[android-developers] i am trying to write an application in which it shud start service by recieving boot_completed action

2010-07-21 Thread A N K ! T
.i write a app but it is not doing anything..code is given below if anybody can help. *manifest file:::* application android:icon=@drawable/icon android:label=@string/app_name receiver android:name=myBR intent-filter action

[android-developers] Re: why I can't see my phone

2010-07-21 Thread cindy
I found the answer. Need to install usb driver. On Jul 20, 9:43 pm, cindy ypu01...@yahoo.com wrote: I am using my g1 phone and andorid 1.5. On my phone, I have enabled the USB debug. However my phone is not show when i use simulator. how to fix the problem? -- You received this message

[android-developers] Android unable to play MP3 files 50ms long?

2010-07-21 Thread Mark Carter
I've tried playing very short mp3 files on both my Nexus One (2.2) and HTC Hero (2.1-update1) but both are unable to do so (either crashing or giving some error). Can anyone else confirm this? If you're wondering why anyone would want to play such a short MP3, its to implement a workaround for

Re: [android-developers] Re: how centralize view in absolutelayout

2010-07-21 Thread Kostya Vasilyev
Or use something more reasonable - RelativeLayout. With it, you can still position some views at fixed positions using layout_marginLeft (etc) and position others at center, top, bottom, etc. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 21.07.2010 12:42 пользователь claesh

[android-developers] Android unable to play MP3 files 50ms long

2010-07-21 Thread Mark Carter
I've tried playing very short (0ms, 10ms and 20ms) MP3 files on both my Nexus One (2.2) and HTC Hero (2.1-update1) but both are unable to do so (either crashing or giving some error). 50ms+ work fine. Can anyone else confirm this? If you're wondering why anyone would want to play such a short

[android-developers] Widget update problem

2010-07-21 Thread NightGospel
Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- You received this message because you are subscribed to the

Re: [android-developers] Android unable to play MP3 files 50ms long

2010-07-21 Thread Carlos Silva
On Wed, Jul 21, 2010 at 10:32, Mark Carter mjc1...@googlemail.com wrote: Note: I would attach the sample MP3 file, but that doesn't seem possible here. It is possible and we got your first email (with the attach) -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android unable to play MP3 files 50ms long

2010-07-21 Thread Mark Carter
Thanks for confirming. Strange it doesn't show up here: http://groups.google.com/group/android-developers On Jul 21, 11:35 am, Carlos Silva r3...@r3pek.org wrote: On Wed, Jul 21, 2010 at 10:32, Mark Carter mjc1...@googlemail.com wrote: Note: I would attach the sample MP3 file, but that

[android-developers] Handling events from the soft Keyboard

2010-07-21 Thread wedyan
Hi, I have an application in which I need to perform certain acts when the user presses + or - on the soft keyboard. I searched alot and still did not find out a solution or an example. Can anyone please tell where to strat reading? Thanks -- You received this message because you are subscribed

[android-developers] Re: how to show the CPU usage on the real devices?

2010-07-21 Thread coolbanana
Thanks, i get it! On Jul 20, 10:19 pm, sws-vinpa vincepascu...@gmail.com wrote: That is how I go about doing it as well: # busybox top Cheers, sws-vinpa. On Jul 20, 11:54 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Do you want this number available to the app itself?

Re: [android-developers] am trying to start my service on device boot up.

2010-07-21 Thread Wojciech Topolski
Hi Below is my code. Maybe you find something interesting... *manifest file:::* receiver android:enabled=true android:name=.broadcastreceiver.BootCompletedBroadcastReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED /

[android-developers] Re: i am trying to write an application in which it shud start service by recieving boot_completed action

2010-07-21 Thread Wojciech Topolski
Hi Below is my code. Maybe you find something interesting... manifest file::: receiver android:enabled=true android:name=.broadcastreceiver.BootCompletedBroadcastReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED /

[android-developers] Re: am trying to start my service on device boot up.

2010-07-21 Thread mac-systems
Add: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / To you Manifest -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Anyone has expereiences in developing an audio visualizer?!

2010-07-21 Thread mac-systems
U just need the RAW data. On 12 Jul., 08:56, CMF manf...@gmail.com wrote: Seems that there is no API in doing theaudiovisualizer? -- 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] slide to unlock - is it possible

2010-07-21 Thread Károly Holczhauser
Hi all! Can anyone give me some advice/tutorial how can I make an own slide to unlock bar on my app? Thank: Karoly -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Resolution Problem in Nexus One

2010-07-21 Thread Engin Arslan
any suggestions?? thanks On Jun 29, 2:22 pm, Engin Arslan enginarsla...@gmail.com wrote: Hi all, In may application I support multi-language. For this purpose, I set locale as user choice as follows:                         languageToLoad  = language code here;                        

[android-developers] How to see database files of my phone?

2010-07-21 Thread Nency Robert
HI, I want to see the database files of my phone is it possible? Nexus one Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] What are the testing tools for android applications?

2010-07-21 Thread Nency Robert
HI, Is there any way to test the performance of the apk files or to automate the behavior of the the applications which are developed in android? Please share info if any. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Medium density resources for v1.5 problems with workaround

2010-07-21 Thread richarth
Hi, I've created three versions of my app logo for the three different screen densities and placed them in the relevant folders. I want my app to be backwards compatiable with v1.5 of Android. I'm aware from the following talk at IO that there is a problem with the density matching in 1.5:

[android-developers] How to Configure ssh for submitting patches? I am getting ssh: connect to host review.source.android.com port 29418: Connection refused Error

2010-07-21 Thread vikram
Hi all, I am trying to submit patches to android , i have followed the steps provided in http://source.android.com/source/submit-patches.ht. I am able to get repo for bluez project and i did a commit for the changes. When i am trying to upload the commit using repo upload I am getting connection

[android-developers] Re: requestRouteToHost always returns false on AVD

2010-07-21 Thread Tina
Yes, it is not possible. On emulator nf.getType() always returns TYPE_MOBILE. But I don't understand why requestRouteToHost(TYPE_MOBILE, intHost) returns true on device and false on emulator in case if internet connection is available... -- You received this message because you are subscribed to

Re: [android-developers] How to see database files of my phone?

2010-07-21 Thread Jerry Fan
You need to root it first and then use adb to connect to your phone. App dbs are normally sotred at /data/data/(name of the app)/databases/(name of the db).db Just use sqlite3 name of the db).db to view it On Wed, Jul 21, 2010 at 7:44 PM, Nency Robert avayam...@gmail.com wrote: HI, I want

Re: [android-developers] Re: am trying to start my service on device boot up.

2010-07-21 Thread A N K ! T
ya i have added itactually problem was sumthing else after restarting the pc it is working fine .thanks to all On Wed, Jul 21, 2010 at 4:40 PM, mac-systems jens.h...@gmx.de wrote: Add: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / To

[android-developers] can we start application after installing .apk file

2010-07-21 Thread A N K ! T
i am trying to make application run just after installing it. -- Thanks Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Medium density resources for v1.5 problems with workaround

2010-07-21 Thread Kostya Vasilyev
Hi, Compile against 1.6 or higher; Put 'regular' resources in 'drawable' Put 'special' resources in 'drawable-hdpi-v4' and 'drawable-ldpi-v4' The latter hides 'special' resources from 1.5 at runtime. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 21.07.2010 16:00 пользователь richarth

Re: [android-developers] can we start application after installing .apk file

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 8:44 AM, A N K ! T ankit.awasth...@gmail.com wrote: i am trying to make application run just after installing it. That is not possible, sorry. Please allow the user to click on your icon in the launcher to start your application after installing it, if the user so

[android-developers] Detecting lock_layer timed out

2010-07-21 Thread Matty
I have looked through many posts on this issue, and I've concluded that there's not much I can do to prevent it... I am able to reproduce this error when repeatedly rotating an Activity that uses OpenGL. W/SurfaceComposerClient( 749): lock_layer timed out (is the CPU pegged?) layer=2,

Re: [android-developers] What are the testing tools for android applications?

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 7:46 AM, Nency Robert angelgirl4...@gmail.com wrote: Is there any way to test the performance of the apk files or to automate the behavior of the the applications which are developed in android? http://developer.android.com/guide/topics/testing/testing_android.html --

Re: [android-developers] Re: how to get function call trace on android phones?

2010-07-21 Thread Shuo Deng
Thanks! I tried this but I can only get trace for a few seconds :( Is there any tool that can get longer trace? Do you think we can write a debugger by ourselves and attach it to the VM? 2010/7/15 fadden fad...@android.com On Jul 13, 11:44 pm, Shuo Deng dengshuoama...@gmail.com wrote: Does

[android-developers] Re: Touch event noisy

2010-07-21 Thread Matty
I'm not positive, but maybe the issue is that you're getting touch events for each time you draw your scene? Try to skip drawing, and just print debug about when your finger is down... I think that will shed some light on the issue. You could also just capture the touchdown, record it's

[android-developers] Re: Widget update problem

2010-07-21 Thread Matty
How are you delaying 5 seconds, and what operation are you doing once that 5 seconds is complete? Could it be taking more than 5 seconds, thus slowly building up the number of processes that are running? On Jul 21, 5:32 am, NightGospel wutie...@gmail.com wrote: Hi all, I wrote one widget that

[android-developers] Re: how to get function call trace on android phones?

2010-07-21 Thread Matty
Can't you put a breakpoint (in eclipse) at the function you want information about, then just run the code? When you hit a breakpoint, eclipse should show you a call stack. On Jul 14, 2:44 am, Shuo Deng dengshuoama...@gmail.com wrote: Does anybody know how can I get the build-in function call

Re: [android-developers] can we start application after installing .apk file

2010-07-21 Thread A N K ! T
but it is starting .when am installing apk file ..application is starting cause i can see the app by long pressing home button. but its UI is not showing in front... On Wed, Jul 21, 2010 at 6:16 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jul 21, 2010 at 8:44 AM, A N K ! T

[android-developers] Problem running android unit tests from the command line

2010-07-21 Thread folone
I'm trying to run unit tests on the android platform in accordance with tutorial. Say, for example, I want to run tests for Email application. I open /apps/Email/tests/AndroidManifest.xml file, look for the manifest element, and look at the package attribute, which is com.android.email.tests, and

Re: [android-developers] Touch event noisy

2010-07-21 Thread Dianne Hackborn
That sounds like normal, expected behavior. A touch screen is a very analog device -- the position never remains constant, and no matter how still you try to hold your finger, there are slight changes in the position that will be seen. You just need to do correct touch tracking: define the

Re: [android-developers] Detecting lock_layer timed out

2010-07-21 Thread Dianne Hackborn
What problem is this causing you that you are trying to fix? On Wed, Jul 21, 2010 at 5:47 AM, Matty busbus...@gmail.com wrote: I have looked through many posts on this issue, and I've concluded that there's not much I can do to prevent it... I am able to reproduce this error when repeatedly

Re: [android-developers] Re: Resolution Problem in Nexus One

2010-07-21 Thread Dianne Hackborn
Don't replace the current configuration with a new one you make and haven't initialized completely. Actually I would recommend not doing this at all; it is not really supported for the app to override the configuration, and even if you do fix this to use a proper Configuration object you are

[android-developers] Re: Android Force close dialog

2010-07-21 Thread veradis
Thnaks Kotsya. It works On Jul 17, 11:10 pm, Kostya Vasilyev kmans...@gmail.com wrote: Veradis, You can't prevent the ANR/FC dialog from appearing, since it's there for a reason. But you can eliminate its cause - your application taking up time in the UI thread, making it unresponsive.

[android-developers] Detect user idle time

2010-07-21 Thread Kim D.
Hi, I would like to know if android has some kind of 'idle time broadcast message'. So for example if the user is currently using one activity of my application but haven't touched the screen or used any keyboard (and doesn't have the autolock at phone level or any screensaver) for a while, I

[android-developers] Charts in Android

2010-07-21 Thread veradis
Hi, I want display pie chart in android. Is there is any chart API or JARs available. Regards Veradis -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Detect user idle time

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 9:32 AM, Kim D. kdame...@gmail.com wrote: I would like to know if android has some kind of 'idle time broadcast message'. ACTION_SCREEN_OFF. I am not aware of anything else beyond that. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] can we start application after installing .apk file

2010-07-21 Thread A N K ! T
it is just showing in background , when i long press home button it is showing there but it is not working till i once click on it... i want to make it run just after installing...it shoud work...wot can i do for this On Wed, Jul 21, 2010 at 6:30 PM, A N K ! T

Re: [android-developers] can we start application after installing .apk file

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 9:42 AM, A N K ! T ankit.awasth...@gmail.com wrote: it is just showing in background , when i long press home button it is showing there That does not mean it is running in the background. Long-pressing the HOME button has nothing to do with what is running in the

[android-developers] Re: Resolution Problem in Nexus One

2010-07-21 Thread Engin Arslan
Thanks Dianne, How can I support multi language for my application instead of changing Locale Configuration? For example, is it possible to specify values folder to be used by the program to change language of program? On Jul 21, 4:24 pm, Dianne Hackborn hack...@android.com wrote: Don't

[android-developers] Re: General Activity Order Question

2010-07-21 Thread Gaelin
Thanks guys, I guess from what I read that the way I have it (much like MB's suggestion) is probably the best. It just seems weird with all the activity destroying and recreating that is going on and causing minor issues. Is there a way to keep my main activity alive while they login? Its a

[android-developers] Re: Medium density resources for v1.5 problems with workaround

2010-07-21 Thread richarth
Thanks for the help. I'd already had the answer in front of me just hadn't spotted it http://androidappdocs.appspot.com/guide/topics/resources/providing-resources.html#ScreenCompatibility. On Jul 21, 1:45 pm, Kostya Vasilyev kmans...@gmail.com wrote: Hi, Compile against 1.6 or higher; Put

[android-developers] Removing copy protection from my market app?

2010-07-21 Thread pcm2a
If I publish a new version of my application and remove copy protection will any of my users be impacted? For example if users using 1.6 and greater will not be impacted but users still running 1.5 would have to reinstall and resetup the application I could live with that. Thanks! -- You

Re: [android-developers] Re: Resolution Problem in Nexus One

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 10:02 AM, Engin Arslan enginarsla...@gmail.com wrote: How can I support multi language for my application instead of changing Locale Configuration? Don't use string resources. String resources are designed to support Android's configuration framework, where the user's

[android-developers] Detecting slow or unavailable network and black screen

2010-07-21 Thread Gaelin
My application for the most part prefers to be online, I have of course added an offline mode so that it works perfectly well when not attached and then re-syncs when connected again. I do, however, have an issue with the initial start of the main activity black screening on me while (i assume)

[android-developers] android application error reports

2010-07-21 Thread nick
Are there any details on this? There is an 'official' blog post, but that tells us very little. Is this a Froyo only feature? Or does it work for certain devices only? I've being getting reports from Motorola Droid for some time, and that are supposedly running Eclair only (at the time). I

[android-developers] Re: Detecting slow or unavailable network and black screen

2010-07-21 Thread blcooley
You're doing the AsyncTask wrong. Replace your call to doInBackGround() with execute(): new downloadData().execute(); doInBackground is a callback. You shouldn't be calling it yourself. Also, you probably want to use a ProgressIndicator to let the user know you are working. You would do

[android-developers] Re: Charts in Android

2010-07-21 Thread Maps.Huge.Info (Maps API Guru)
If you have internet access in your app, you can use the chart API from Google, it's incredibly simple to use and results in pretty pictures. -John Coryat -- 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] Re: Cannot play MPEG4 video stream on Android SDK 1.6

2010-07-21 Thread Yadnesh
Thanks for helping. But I still do not see any Video :( I was using application created using VideoView for playing the RTSP stream. Now I use a application created using MediaPlayer, and have onVideoSizeChangedListener() implemented. Logs show that onVideoSizeChangedListener() gets called. I

[android-developers] Re: Detecting lock_layer timed out

2010-07-21 Thread Matty
Thanks for the quick response Dianne. I have an activity that uses OpenGL, and if I rotate at just the right time, the log prints W/SurfaceComposerClient( 749): lock_layer timed out (is the CPU pegged?) layer=2, lcblk=0x420d0120, state=000e (was 000e) I basically don't want the

[android-developers] Re: how to get function call trace on android phones?

2010-07-21 Thread Shuo
I want to collect the trace for a running app, which I don't have the source code. The 'am profile' allow me to trace a certain process, but the tracing records I got is only for several seconds... On Jul 21, 5:59 pm, Matty busbus...@gmail.com wrote: Can't you put a breakpoint (in eclipse) at

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
Hello, I create one service and use AlarmManager to send broadcast per 5- seconds to update CPU usage and let widget show result. I'm sure the calculation of cpu usage will not take more than 5 seconds. I made a test that creates one widget on home screen and does nothing and use top command to

[android-developers] Re: Widget update problem

2010-07-21 Thread DanH
Stupid question: Are you sure you're just updating the widget and not stacking one widget on another on another...? On Jul 21, 4:32 am, NightGospel wutie...@gmail.com wrote: Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time,

[android-developers] Re: Added Interface of is not resolving at runtime

2010-07-21 Thread DanH
It requires that you do a little song and dance to get the foreign JAR file packaged into the build for the phone. I've never done it so I can't tell you how, but there have been several discussions of this. On Jul 21, 2:15 am, chetan chetanchauha...@gmail.com wrote: Hi,           I have

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
Hello, ah, I'm not sure actually, but I tested it in emulator and my phone (X10). They both have such a problem. Emulator has nothing but my widget in home screen, but it still occurs. I'm not very learned in Android, but if you have any constructive suggestions, I'll appreciate it. :)

[android-developers] Muting the Android

2010-07-21 Thread ranjan ar
Hello, I am trying to toggle the microphone of Android mobile. App. freezes if I run the mute and unmute in a loop, With a delay of say 500ms. Is there a specific reason mobile behaves this way? (Motorola Droid is not even able to mute the phone) however all other mobiles are able to do it. This

[android-developers] Is there only 1 main UI thread per app process?

2010-07-21 Thread Jin Chiu
Are the UI threads for each Activity and Service in an app separate threads, or is there actually 1 underlying UI thread per app that processes the UI message queue for each Activity and Service? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Removing copy protection from my market app?

2010-07-21 Thread Sam
If you are using a Sqllite database in your app then users on android 1.5 will need to uninstall and then re-install. That's it.. On Jul 21, 10:08 pm, pcm2a reeeye...@gmail.com wrote: If I publish a new version of my application and remove copy protection will any of my users be impacted?

Re: [android-developers] Twitter / Facebook source code

2010-07-21 Thread Yi Ling
what does it mean? the source code of twitter/fb's client for android platform? google would help you, i think. 2010/7/20 oriharel ori.ha...@gmail.com Where can I find the source code of Twitter / Facebook? -- You received this message because you are subscribed to the Google Groups

[android-developers] How to access and edit call phone voice stream

2010-07-21 Thread zain mustafa
i need to encrypt the outgoing voice stream and decrypt the incoming phone voice stream in real time. Please guide me if this project is possible with the android sdk -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: trying to override OEM(Incoming call screen) screen

2010-07-21 Thread Yi Ling
when the call is comming, you app should capture the signal and make it blind to the default one. im not sure, but may it help! have fun! 2010/7/20 A N K ! T ankit.awasth...@gmail.com please somebody guide me in thisat least a way in which i should make efforts. On Tue, Jul 20, 2010

[android-developers] Battery level and memory inforamttion from Androd emulator

2010-07-21 Thread HM
I am doing thesis work entitled with “Mobile Operating system feature Comparison and designing benchmark to evaluate their performance”. My proposal was to compare security, power management, multitasking and memory management features of android, symbian, Blackberry, palm, iphone and windows

[android-developers] Hello

2010-07-21 Thread haymanot minalu
Hello Dear. My name is Haymanot Minalu. I am From Ethiopia. I am learning Msc. in Computer Engineering. Now I am a second year graduating class student. I finish my courses and I got A in all courses. I am doing thesis work entitled with “Mobile Operating system feature Comparison and designing

[android-developers] How to Draw Vertical Bar Graph in Android?

2010-07-21 Thread Ankit Nigam
Hello Friends, I am developing one statics application and i want to draw a vertical Bar Graph depending upon the value received from the server,so can anyone help me out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] skin resource

2010-07-21 Thread diegomon...@gmail.com
Hi everyone Can this kind of files (buttons) be used to create android applications, or you must use predefined buttons? http://graphicriver.net/item/tabletphone-user-interface-professional-set/96335?ref=diegomonzon thanks in advanced Diego -- You received this message because you are

[android-developers] Why FileOutputStream cannot effect immediately

2010-07-21 Thread Ryan Wang
We made a special device just look like a T-flash card. The program need to communicate with the device by the files. If we write something in a.txt, the COS run in the T-card like thing will write something in b.txt to answer. Here is the problem. If I use code like: FileOutputStream fOutputS =

[android-developers] Re: soft keyboard selection from app?

2010-07-21 Thread Johan Abramsson
Hi, The Sony Ericsson X10 emulator is basically only a skin which is put on top of the standard google emulator, which is why the IME of the emulator doesn't behave as the IME of the phone. Kind regards /Johan Sony Ericsson Developer Support On Jul 16, 5:53 pm, Dan Dumont ddum...@gmail.com

[android-developers] GeoPoint in Maps API - use of micro degrees

2010-07-21 Thread Dave Bryson
I'm curious, why does GeoPoint uses micro degrees ( Ex: lat/lng * 100 ) versus just a double lat/lng ? Thanks, Dave -- 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] Intents:Battery Information

2010-07-21 Thread Stephanus Susanto
http://i-learnedandroid.blogspot.com/ this source code is to read battery state and view it. import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import

[android-developers] Re: Javascript execution stops on scrolling or zooming any page

2010-07-21 Thread Milutin
Hi Jaybee, have you solved this problem? I have same problem on my android Hero with android 2.1 and 1.5 and my simple javascript timer. I did my own android application with webview, which catches all gesture events by GestureDetector.OnGestureListener. After it catches fling, scroll events, my

[android-developers] Android and Silverlight

2010-07-21 Thread shaish
Hi, Is Android supports Silverlight? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Maximum number of http connection in Android is too small

2010-07-21 Thread joshua
I can check the maximum number of http connection on the web page below. = http://www.browserscope.org/?category=networkv=top I can also find the number, 4, in the source code of Android. As I know, Maximum connection was 30 in Android version 0.5. And, other browsers for mobile device, iPhone

Re: [android-developers] Using + from the soft Keyboard to increase the value in an EditTex

2010-07-21 Thread Yi Ling
just analyze the value by yourself based on the string value. strongly recommend the calculator's source code. may it help! 2010/7/20 wedyan wedi...@gmail.com Hi, I have an application in which I'm using an EditText to enter numbers. Howwever, I need to inlucde another option where the user

[android-developers] no database directory in package

2010-07-21 Thread stoney
Hope someone can help me. I followed the tutorial how to include a db file from your package: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ I've got it working perfectly! But now when I want to run my application it says unable to open database file. I

[android-developers] Sexy Boobs and Nude Sexy Girls

2010-07-21 Thread Pavan Prem
$ http://123maza.com/25/fruits526/ $ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Issue with the Unnamed unions in Android.

2010-07-21 Thread bvatsa
Hi guys, I have some peculiar problem, where in .cpp file is including v4l2 kernel header ( videodev2.h ) and it has structure with an unnamed variable as defined below, struct v4l2_ext_control { __u32 id; __u32 size; __u32 reserved2[1]; union {

[android-developers] PV omx_test_app missing in Froyo source code

2010-07-21 Thread praji
Hi Guys, In the froyo source code, the PV omx_test_app omx_test_app_enc folders are missing. path - external/opencore/codecs_V2/omx/ But i can see these folders in the android GIT. I want to run the PV test application for testing MP4 files. For that, i compiled the froyo code after adding

[android-developers] Workaround

2010-07-21 Thread Leandro M. Peralta
I was googling and found a workaround. Looks like you can't bind the service under a TabSpec, so you have to bind it to the Application Context: getApplicationContext.bindService(...); Hope it helps. -- You received this message because you are subscribed to the Google Groups Android

  1   2   3   >