[android-developers] XML files and SQLITE Database

2011-09-13 Thread Bishan
i have a xml file.(pls see attachement). and i need insert data in my xml file to a sqlite database in my android project. hw can i do this ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Multi apk normal to xlarge

2011-09-13 Thread Droid
I am trying to specify one apk for normal and another for large layouts. But market always seems to specify small to xlarge and normal to xlarge. I have no xlarge or large folders and manifest defines xlarge and large as false. What am I doing wrong or is this expected behavior? -- You received

Re: [android-developers] [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting

2011-09-13 Thread androidhub trainer
If with emulator restart it doesn't work, then do the following: Go to .android folder from Users folder. Once you are in .android go to avd folder. Select the emulator, which you are using. Inside that folder you will see two folders: cache.img.lock and userdata-qemu.img.lock. Delete both these f

[android-developers] Re: how can i get data value from ArrayList> weatherlist to string

2011-09-13 Thread Jhew SAN
I want to get value from weatherlist to write in XML -- 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+

[android-developers] Re: WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread Conny
:) On man.. this drove me crazy for a while. Thanks Dan. Very helpful. Mark, your comments are always insightful. Thanks for you too. Siddharth On Sep 13, 7:31 pm, IcedNet wrote: >                 android:layout_below="@id/searchResultPages" > > is a pretty good indication you are doing someth

[android-developers] Re: how can i get data value from ArrayList> weatherlist to string

2011-09-13 Thread skink
On Sep 14, 7:26 am, skink wrote: > On Sep 14, 7:12 am, Jhew SAN wrote: > > > I want to get value from weatherlist to write in XML > > First of all: I already told you to store your data in sqlite not in > xml file. > > Second: if your weatherlist is a List you can either use an Iterator > or us

[android-developers] Re: how can i get data value from ArrayList> weatherlist to string

2011-09-13 Thread skink
On Sep 14, 7:12 am, Jhew SAN wrote: > I want to get value from weatherlist to write in XML First of all: I already told you to store your data in sqlite not in xml file. Second: if your weatherlist is a List you can either use an Iterator or use get() method to access particular element of you

Re: [android-developers] ExpandableListView Question

2011-09-13 Thread Ash
Well basically here is the breakdown: Time when operator clicks on button = 15:17:46:351 Time when the button on click function finishes = 15:17:46:414 Time when the final display was updated = 15:17:47:179 I found that all the time was spent in displaying the list view on the screen. Basically

[android-developers] Re: how can i get data value from ArrayList> weatherlist to string

2011-09-13 Thread skink
On Sep 14, 6:50 am, Jhew SAN wrote: > listViewInfo.setOnItemClickListener(new OnItemClickListener() { > > @Override > public void onItemClick(AdapterView a, View v, > final int position, long id) { > // TODO Auto-generated method stub > AlertDialog.Builder adb = new AlertDialog.Builder( > EditCi

[android-developers] how can i get data value from ArrayList> weatherlist to string

2011-09-13 Thread Jhew SAN
listViewInfo.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView a, View v, final int position, long id) { // TODO Auto-generated method stub AlertDialog.Builder adb = new AlertDialog.Builder( EditCity.this); adb.setTitle("Delete?"); adb.setMessage("Are

Re: [android-developers] ExpandableListView Question

2011-09-13 Thread Ash
I hear you. Let me try that out. Thanks Ash -- 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+unsubscr..

Re: [android-developers] [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting

2011-09-13 Thread aditya prakash
Restart Your Emulator. It should work. On Wed, Sep 14, 2011 at 9:13 AM, venugopal reddy wrote: > Hi , > > I am always getting below error , can u please tel me wgat is the > reason behide that > [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image > is used by another emulator. a

[android-developers] Re: Out Of Memory Error with Images loaded through XML

2011-09-13 Thread Sorab
Solved the issue by having a separate Bitmap object for each Image and then when the user navigates to the next page, decode the next bitmap, show it on the ImageView and then recycle the previous one. For eg. in my gotoNext() switch(index) { case 1: h2=BitmapFactory.decodeResources(

Re: [android-developers] ExpandableListView Question

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 6:49 PM, Ash wrote: > well the expandablelistadapter already has all the contents which is loaded > when onstart function is called. When the user clicks on the button, I > simply set this adapter in the expandablelistview. So the only code line > that is being executed is

[android-developers] [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting

2011-09-13 Thread venugopal reddy
Hi , I am always getting below error , can u please tel me wgat is the reason behide that [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] Android Alarm application

2011-09-13 Thread Craig Sparks
sqlite or xml? What would be better? On Tue, Sep 13, 2011 at 11:46 PM, Hassy wrote: > Hi, > > I want to create an android Alarm application but I don't know how to > save alarm settings and get saved settings for the background service. > > que. > > 1. should I use sqlite database? or can I use t

[android-developers] Android Alarm application

2011-09-13 Thread Hassy
Hi, I want to create an android Alarm application but I don't know how to save alarm settings and get saved settings for the background service. que. 1. should I use sqlite database? or can I use text files? 2. can I create the alarm using the alarm manager? Please help me . Thank you Hassy

[android-developers] Re: Why is the default to use dpi instead of screen size for drawables

2011-09-13 Thread ArcDroid
My layout is the same for both apps, I simply want to use higher quality graphics for the tablets 90dpi vs 200dpi. >From the link I assumed from the below example that you should have similar drawable buckets if the layout is actually the same. res/layout/main_activity.xml # For phones

Re: [android-developers] Inapp Billing: Security best practices

2011-09-13 Thread Nikolay Elenkov
On Wed, Sep 14, 2011 at 12:56 AM, androidmediadeveloper wrote: > We are integrating with market to provide inapp billing on our app. > The implementation guide says for additional security, we can use a > server to do the key verification process. This is so we dont bake the > apk with the public

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread Ash
Thanks for the info. The change didn't make any difference, but I have learned about the priority parameter. Appreciate for your input. Cheers Ash -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] emulator: android.process.acore has stopped unexpectedly.

2011-09-13 Thread Mark Murphy
On Tue, Sep 13, 2011 at 3:46 PM, John Goche wrote: > > Thanks Mark Murphy for your reply, > > I am developing on a brand new Sony laptop with: > > - Intel Core i5-2410M CPU 2.30 GHz > - 6 GB RAM > > Is this configuration not good enough? That should be fine for Android 2.x. Android 3.x will proba

Re: [android-developers] Re: Enable android:hardwareAccelerated, but build against a target earlier than 3.0

2011-09-13 Thread Mark Murphy
On Tue, Sep 13, 2011 at 8:12 PM, Tom wrote: > This approach doesn't allow me to build against Android 2.1, though, > as adding android:hardwareAccelerated requires me to build against > android 3.0. I want to build against my min target sdk in order to > make sure no developers on my team (myself

[android-developers] Re: Enable android:hardwareAccelerated, but build against a target earlier than 3.0

2011-09-13 Thread Tom
This approach doesn't allow me to build against Android 2.1, though, as adding android:hardwareAccelerated requires me to build against android 3.0. I want to build against my min target sdk in order to make sure no developers on my team (myself included) accidentally refer to an API that isn't ava

Re: [android-developers] ExpandableListView Question

2011-09-13 Thread Ash
well the expandablelistadapter already has all the contents which is loaded when onstart function is called. When the user clicks on the button, I simply set this adapter in the expandablelistview. So the only code line that is being executed is expandablelistview.setadapter(myadapter); Hence

Re: [android-developers] Need help for Android news alert program

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 12:24 PM, Rathna Kumara Premadasa < rathnakumar...@gmail.com> wrote: > Please help me to find a any tutorial or any path to get a help to my > project. http://developer.android.com/index.html http://www.google.com/

Re: [android-developers] emulator: android.process.acore has stopped unexpectedly.

2011-09-13 Thread John Goche
In case anyone else has been experiencing the same problem. My solution was to delete the AVD and recreate it. Now I no longer get the error messages. Regards, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: Nexus-S SDK Skin.

2011-09-13 Thread sblantipodi
ok, solved. Thanks anyway. On Sep 14, 12:27 am, sblantipodi wrote: > Hi, > I founded tons of guides that explains how to install NexusS skin on > SDK but it doesn't work. > > They all says to copy the skin folder in > c:\android-sdk-windows\platforms\android-9\skins\NEXUS-S > > I've done it but I

[android-developers] Nexus-S SDK Skin.

2011-09-13 Thread sblantipodi
Hi, I founded tons of guides that explains how to install NexusS skin on SDK but it doesn't work. They all says to copy the skin folder in c:\android-sdk-windows\platforms\android-9\skins\NEXUS-S I've done it but I can't find the skin in my AVD Manager when trying to create a simulator with that

[android-developers] Changing the Android SDK Device ID.

2011-09-13 Thread sblantipodi
As title. Is this possible? -- 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+unsubscr...@googlegroups.c

Re: [android-developers] Fill a LinearLayout with an ArrayAdapter

2011-09-13 Thread TreKing
Please respond back to the whole group. On Tue, Sep 13, 2011 at 4:37 PM, Isambert wrote: > Le mardi 13 septembre 2011 12:30:31 UTC+2, TreKing a écrit : > >> On Tue, Sep 13, 2011 at 1:28 AM, Guillaume LACHAUD >> wrote: >> >>> My linear layout is in a scrollview >> >> >> So what? A ListView scro

[android-developers] Re: Create videos for android market.

2011-09-13 Thread sblantipodi
Can't find a valid solution... No one else solved the problem? On Sep 13, 10:23 pm, TreKing wrote: > On Tue, Sep 13, 2011 at 11:25 AM, sblantipodi > wrote: > > > what do you mean? > > I mean, did you evaluate every video recording software package available to > determine that none was good enoug

Re: [android-developers] Changing the "scaled pixel" size

2011-09-13 Thread Dianne Hackborn
This is for a global system setting, which is not currently available to users. If you want to have a local font scale setting in your app, you will need to implement that yourself. On Tue, Sep 13, 2011 at 12:50 PM, Doug Gordon wrote: > In a number of places the documentation recommends specify

[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile
On 9/13/2011 4:38 PM, Tor Norbye wrote: He's probably asking about soft wrapping. Eclipse does not support it directly; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779 (though from a quick skim it looks like there might be some support in the framework and some plugins to enable it.) --

Re: [android-developers] Re: word wrapping

2011-09-13 Thread Tor Norbye
He's probably asking about soft wrapping. Eclipse does not support it directly; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779 (though from a quick skim it looks like there might be some support in the framework and some plugins to enable it.) -- Tor On Tue, Sep 13, 2011 at 1:28 PM, Kenn

[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile
On 9/13/2011 4:22 PM, bob wrote: Is there a way to make Eclipse do word wrapping? Do you all use word wrapping or no? You mean word wrapping your source code? I've never seen anyone want to or do that ever in my entire development career. -- You received this message because you are subsc

[android-developers] showing the default A icon on google maps

2011-09-13 Thread guich
Hi, I would like to know how can i place the default (A) baloon icon that Google Maps has at the point i asked it to open. I don't need custom icons, neither a custom text, just an icon or something showing the center of the screen. My code is this one. I saw some things about ItemizedOverlay but

Re: [android-developers] Re: Create videos for android market.

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 11:25 AM, sblantipodi wrote: > what do you mean? > I mean, did you evaluate every video recording software package available to determine that none was good enough? > The only option I know is to record the phone screen, I don't like this > way. > The other option is to

[android-developers] Re: Drawing errors during a shrink animation in Android 2.3.4

2011-09-13 Thread buda gavril
did you trued to invalidate the view? maybe if you draw it again it will look good On Sep 13, 6:10 pm, neuromit wrote: > I have 12 ImageButtons setup in a 3x4 grid. When the user clicks on an > image button it grows to fill the screen, holds, and then shrinks down > to its original location. > >

[android-developers] word wrapping

2011-09-13 Thread bob
Is there a way to make Eclipse do word wrapping? Do you all use word wrapping or no? -- 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, s

[android-developers] Analytics Tracking

2011-09-13 Thread Mullins
Whilst trying to determine what is causing significant data on my Android device I noticed the following packet in Wireshark. http://www.google-analytics.com/__utm.gif?utmwv=4.5ma&utmn=8572**408&utmt=event&utme=5(2.2.16*Startup*FIRST_STARTUP)8(1!Device)9(1!Nexus%20S%40samsung)11(1!2)&utmcs=UTF-8&u

[android-developers] Changing the "scaled pixel" size

2011-09-13 Thread Doug Gordon
In a number of places the documentation recommends specifying font sizes in "sp" (scaled pixels) because the size can then be adjusted by "user preference". However, AFAIK there is no global way to do this. So if I want to allow users to increase or decrease the font size in my app, I assume th

Re: [android-developers] emulator: android.process.acore has stopped unexpectedly.

2011-09-13 Thread John Goche
Thanks Mark Murphy for your reply, I am developing on a brand new Sony laptop with: - Intel Core i5-2410M CPU 2.30 GHz - 6 GB RAM Is this configuration not good enough? I need to solve this problem soon but don't know what I should do. Thank you for your help, John Goche On Tue, Sep 13, 2011

[android-developers] Re: AccountManager.getAuthTokenByFeatures() with null authTokenType

2011-09-13 Thread richf
I realize this is a bit of an old thread, but this might be what you're looking for: http://code.google.com/apis/gdata/faq.html#clientlogin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: Gallery View and SQLite database

2011-09-13 Thread lbendlin
There's a thing called The Google. Try it... http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html -- 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@googlegr

[android-developers] Re: Textview from thread

2011-09-13 Thread Kristoffer
Thanks. Its now up and running with Handler On 10 Sep, 12:53, HideCheck wrote: > You need to use the Handler. > > http://developer.android.com/reference/android/os/Handler.html > > Handler handler = new Handler(); > > ex) >  public void run() { > >         handler.post(new Runnable() { > >      

Re: [android-developers] Dialog dismiss()

2011-09-13 Thread Miguel Morales
It really isn't that hard. I went ahead and created a test project to show the way I'm doing it. I'll probably write a blog post about it. See: https://github.com/therevoltingx/android_orientation_test/blob/master/src/com/solrpg/orientation_test/DefaultActivity.java On Tue, Sep 13, 2011 at 9:50

[android-developers] Gallery View and SQLite database

2011-09-13 Thread Abhi
Hi all, I have a sqlite database of 100+ low res images saved as Blob data. I am creating an App that has a GalleryView and I would like to display the 100+ images from my database in this view. The user can scroll through the horizontally scrolling list and select the one he wants to see full scr

[android-developers] Why is my ImageView (wrap_content) bigger than the Image itself?

2011-09-13 Thread Martin
Hi! I want to put a Button in a RelativeLayout on top of an Image and also at the bottom. The Image should be scaled with the scaletype "centerInside". The ImageView has the height and width "wrap_content". Why does the ImageView take more space than the image itself? Like this I cannot use the

Re: [android-developers] Re: Need a gud UI designer for my project

2011-09-13 Thread rambabu mareedu
hi ..we have a mobile apps dev company...if u r intrested then drop me a word to rambabu.mare...@gmail.com On Tue, Sep 13, 2011 at 10:39 AM, martypantsROK wrote: > sure. I'll do it - how much will you pay me? > > On Sep 12, 4:00 pm, pa1ani wrote: > > Hi I need a gud UI designer for my project

[android-developers] Re: Need a gud UI designer for my project

2011-09-13 Thread martypantsROK
sure. I'll do it - how much will you pay me? On Sep 12, 4:00 pm, pa1ani wrote: > Hi I need a gud UI designer for my project.. > Interested people can ping me.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Need help for Android news alert program

2011-09-13 Thread Rathna Kumara Premadasa
Hi all, I've wanted to create a android application to display the news alerts which are recently updated using RSS feed from corresponding web sites.Actually I've already not any idea about that kind of project.Please help me to find a any tutorial or any path to get a help to my project. I appre

[android-developers] Scroll not working on 'div's with overflow:auto set

2011-09-13 Thread archana
Hi, In my web-application, we need to use the 'overflow:auto' property to enable scrolling in multi-page documents. Any scrolling functions from javascript stops working when a 'div' has the the overflow set to 'auto'. The scrolling starts working if the overflow is changed to 'hidden'. We tr

Re: [android-developers] Dialog dismiss()

2011-09-13 Thread Greg Donald
On Friday, September 9, 2011 10:44:24 PM UTC-5, TreKing wrote: > > At this point I'm going with >> >> setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT ); >> > > > It's a sure thing. > > > It's not > Yup, it's not. I have crash logs (many of them, and for multiple resolution

[android-developers] Re: Create videos for android market.

2011-09-13 Thread sblantipodi
what do you mean? The only option I know is to record the phone screen, I don't like this way. The other option is to use a recording software but no one as far as I know is fast enough to record a smooth animation or transition. I'm searching for a solution. On Sep 13, 1:38 pm, TreKing wrote: >

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread Dianne Hackborn
You can't do this. BOOT_COMPLETED isn't shown until the Launcher is running, so the user doesn't have to wait for the BOOT_COMPLETED broadcast to complete before they can use their device. On Mon, Sep 12, 2011 at 7:50 PM, Ash wrote: > It does not matter which lock screen the OS is set to. > > T

Re: [android-developers] Dynamically loading code in Android application

2011-09-13 Thread Kristopher Micinski
2011/9/13 Raffaele Sgarro : > I'm only evaulating if it's viable.. My plan is to download the code from a > server. What's the warning about code injection? If you store it on SD card: it can happen. Kris -- You received this message because you are subscribed to the Google Groups "Android Deve

Re: [android-developers] Re: Why is the default to use dpi instead of screen size for drawables

2011-09-13 Thread Dianne Hackborn
If you are writing drawable-large, you are almost certainly doing it wrong. On Tue, Sep 13, 2011 at 6:02 AM, ArcDroid wrote: > So it appears I need to have the same higher res images in drawable- > hdpi and drawable-large buckets. This is going to make the install > big if an app has many pictu

[android-developers] Re: MediaRecorder.start() fails

2011-09-13 Thread Matthew Fleming
Thanks, I will. I would have already, but don't have a device with me at the moment. Also, when I last played with audio recording -- which admittedly was some time ago -- I recall it did work on an AVD. Matthew Fleming On Sep 13, 10:58 am, Michael Banzon wrote: > I would try it on a device. The

Re: [android-developers] MediaRecorder.start() fails

2011-09-13 Thread Michael Banzon
I would try it on a device. The emulator usually makes audio handeling a pain (for me) and generally doesn't work (for me). On Tuesday, September 13, 2011, Matthew Fleming wrote: > Hi, > > I have the following ridiculously simple code which for some reason is > not working: > > recorder = new Med

[android-developers] Inapp Billing: Security best practices

2011-09-13 Thread androidmediadeveloper
We are integrating with market to provide inapp billing on our app. The implementation guide says for additional security, we can use a server to do the key verification process. This is so we dont bake the apk with the public key I suppose. Having a server side presence for us for right now is ov

[android-developers] MediaRecorder.start() fails

2011-09-13 Thread Matthew Fleming
Hi, I have the following ridiculously simple code which for some reason is not working: recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

[android-developers] Re: SSL certificate error for authenticating the credentials

2011-09-13 Thread b0b
use this for your SSL factory: SSLSocketFactory sslFactory = SSLSocketFactory.getSocketFactory(); sslFactory.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); But since you didn't specify a truststore with the certificate of the server, you'll probably have another error. --

Re: [android-developers] info about ARMV6 processor type and phone model

2011-09-13 Thread David Turner
ARMv6 doesnt use the same VFP instruction set than ARMv7 (ARMv6 is VFPv2, while ARMv7 is VFPv3) The two are completely incompatible, I really doubt that Firefox is going to work on this device. On Sat, Sep 10, 2011 at 4:49 PM, netuser501 wrote: > Hi, > > I'm looking for the following information

[android-developers] Drawing errors during a shrink animation in Android 2.3.4

2011-09-13 Thread neuromit
I have 12 ImageButtons setup in a 3x4 grid. When the user clicks on an image button it grows to fill the screen, holds, and then shrinks down to its original location. The animation works except that when the button is shrinking it sometimes leaves lines behind. (I've attached images below). The a

[android-developers] Starting an Activity from a service and then passing through the backkey

2011-09-13 Thread Sanjay
Hi, I'm starting an Activity from a Service, something like the Whitepages Application. Now in the Activity, I don't want to use any key inputs like Back Key etc. However these keys should be passed to another application (pl. note this application is not started by my Service, instead it's the P

[android-developers] Re: WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread IcedNet
wrote: > Try pressing the MENU button. If you see the options menu from the > browser app, that's because you're in the browser app, and you are not > looking at your WebView. That would be because the server issued a > redirect, which you did not handle in shouldOverrideUrlLoading() of a > WebVie

Re: [android-developers] WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread Mark Murphy
Try pressing the MENU button. If you see the options menu from the browser app, that's because you're in the browser app, and you are not looking at your WebView. That would be because the server issued a redirect, which you did not handle in shouldOverrideUrlLoading() of a WebViewClient. If, OTOH

[android-developers] WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread MCON Dev
Hello All, I am trying to use Webview in a relative layout with a progress bar and some buttons. But as soon as I run webview.loadUrl("my path"), the webview takes over the entire space. I need the webview to fit in the remaining space of my layout. Please help. http://schemas.android.com/apk/r

[android-developers] Re: Why is the default to use dpi instead of screen size for drawables

2011-09-13 Thread RichardC
> So it appears I need to have the same higher res images in drawable- > hdpi and drawable-large buckets. NO Go back and read the docs On Sep 13, 2:02 pm, ArcDroid wrote: > So it appears I need to have the same higher res images in drawable- > hdpi and drawable-large buckets.  This is going to

Re: [android-developers] Using the Ringtone class

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 7:09 AM, Antonio wrote: > The problem is that the Ringtone.play() method is static and the onCreate() > method of an Activity is not, so it won't compile. How can I use it then? > What have you tried that is not working? --

[android-developers] Using chimpchat

2011-09-13 Thread suman
I have read on one of the Android groups that it is better ti use ChimpChat rather than using MonkeyRunner. I have downloaded chimpchat source and jar file. Till now I have not found any documentation or code sample on how to use it. Is it in a stable state to be used in my automation project. Tha

[android-developers] SampleSyncAdapter synchronization interval

2011-09-13 Thread Claire Reynaud
Hi, I am trying out the SampleSyncAdapter application (android 2.2 API level 8), and I would like to know if it is possible to specify the synchronization interval programmatically. The SyncAdapter.onPerformSync method is only called when I select Sync Contacts in my SampleSyncAdapter account (Set

[android-developers] Using the Ringtone class

2011-09-13 Thread Antonio
Hi there, I've been trying to use the Ringtone class to ensure that I can play ringtones easily. So I'm using the Ringtone.play() method. The problem is that the Ringtone.play() method is static and the onCreate() method of an Activity is not, so it won't compile. How can I use it then? I feel li

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread jayaram p
Ash, You can try setting high priority to your intent-filter similar to the following snippet so that your application will be the first one to receive the BOOT_COMPLETED intent by which your application would avoid showing up Home screen in delta time

[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-09-13 Thread suman
Is the problem related to dispose() method of MonkeyDevice class resolved in ChimChat? If yes then where can I download the chimpchat.jar? Thanks Suman On Aug 23, 1:42 am, Bill Napier wrote: > We re-factored a bunch of code to take a lot of the MonkeyRunner source and > make it available as a li

[android-developers] How to close ADBMonkeyDevice and iDevice classes if device is disconnected

2011-09-13 Thread suman
I am trying to close instances of ADBMonkeyDevice and IDevice classes by calling ADBMonkeyDevice.dispose() method. But this method always throws "null pointer" exception. I am disposing adbMonkeyDevice when my device is no longer attached. When device comes online again I can not create new instanc

[android-developers] Communicating with widget

2011-09-13 Thread Vic
Hello I've been searching for some informations for few days and as I didn't found solution to my problem I'm writing here. I need to do a widget with one imagebutton. It displays green icon when a MyCommService is running and red icon when service is not ronning. When service is not running and I

[android-developers] Re: itemizedOverlay, onTap

2011-09-13 Thread Saket Agarwal
>From what i understand mContext is never initialized in your code. Instead of doing itemizedOverlay = new helloItemizedOverlay(drawable); try, itemizedOverlay = new helloItemizedOverlay(drawable,getcontext); On Sep 12, 3:30 am, rochi wrote: > hello, I'm having problems with this code: > >

[android-developers] Re: Why is the default to use dpi instead of screen size for drawables

2011-09-13 Thread ArcDroid
So it appears I need to have the same higher res images in drawable- hdpi and drawable-large buckets. This is going to make the install big if an app has many pictures. On Sep 10, 10:44 am, Dianne Hackborn wrote: > They are two completely different things. > > Please > read:http://android-devel

Re: [android-developers] Accessory Developer Kit on any phone running 2.3.4

2011-09-13 Thread TreKing
On Mon, Sep 12, 2011 at 11:15 AM, John Windberg wrote: > That ought be enough to get the accessory developer kit app working, > but I'm getting messages about a missing library. > > Does anyone know what it really takes to get the adk demo app working? > I don't, but posting the error and missin

Re: [android-developers] How do I filter out applications from system packages

2011-09-13 Thread TreKing
On Mon, Sep 12, 2011 at 12:29 PM, Taranasus wrote: > What can I do so that it doesn't exclude these apps that are somewhat > essential to be in an application launcher but are already part of the > Android OS? > How do you define "somewhat essential to be in an application launcher"? --

Re: [android-developers] How can i write name city from listview into SD Card

2011-09-13 Thread TreKing
On Mon, Sep 12, 2011 at 9:43 PM, Jhew SAN wrote: > How i can delete it in searchcity.xml in SD Card too ? Read your data from XML to memory, delete the entry in question, write it back. This is not Android-specific. ---

Re: [android-developers] Re: Emulator Help

2011-09-13 Thread Amol Sharma
RAM is 3GB.it's working fine now...i reinstalled the things..and it's performance is improved !! -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad

Re: [android-developers] ExpandableListView Question

2011-09-13 Thread TreKing
On Mon, Sep 12, 2011 at 10:02 PM, Ash wrote: > Is there way to get notified when all the items have been loaded and shown > on the screen? Do whatever is taking so long in an AsyncTask. Show your progress dialog on start, do your work, then hide your dialog when the work is done. -

Re: [android-developers] emulator: android.process.acore has stopped unexpectedly.

2011-09-13 Thread Mark Murphy
On Tue, Sep 13, 2011 at 7:56 AM, John Goche wrote: > P.S. Do all of these problems show up under Linux as well? They can. All of these are symptoms of a computer with either too slow of a CPU or insufficient RAM. What are the specifications of your development machine? -- Mark Murphy (a Commons

[android-developers] Re: Memory Usage and Garbage Collection issues on 1.6 and 2.1

2011-09-13 Thread MarcoAndroid
To better understand/how to analyse memory usage, you probably want to check: http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-android.html http://stackoverflow.com/questions/2298208/how-to-discover-memo

Re: [android-developers] How to make custom Spinner pop-up list radio button on Android

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 7:06 AM, petr.maza...@mautilus.com < petr.maza...@mautilus.com> wrote: > How can I define the custom check mark - ideally by using styles/ > themes for the whole application? I have tried many ways including > this one, but nothing works. If anyone has the working example p

[android-developers] Re: itemizedOverlay, onTap

2011-09-13 Thread android 4u
While creating the object of your class helloItemizedOverlay you are supposed to pass the current context. Use the constructor helloItemizedOverlay(Drawable defaultMarker, Context context). When you do this your context will not be null. This constructor in turn is calling the super constructor. T

Re: [android-developers] Hi

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 5:59 AM, Tushar Sahni wrote: > I have developed an application that is made in android 3.2. The project > contains 5 tabs and activity group. > You should not be using ActivityGroup. Use Fragments. Is it possible for me to run the same code in android 3.2 ..? > I thought

[android-developers] How to make custom Spinner pop-up list radio button on Android

2011-09-13 Thread petr.maza...@mautilus.com
Hello, I am able to customize the Spinner widget drop-down background by specifying the drawable resource in the Spinner XML element: Once the spinner drop down is tapped by user's finger the pop-up list with options appears. This I am able to customize as well by calling the adapter.setDropDo

Re: [android-developers] itemizedOverlay, onTap

2011-09-13 Thread androidhub trainer
While creating the object of your class helloItemizedOverlay you are supposed to pass the current context. Use the constructor helloItemizedOverlay(Drawable defaultMarker, Context context). When you do this your context will not be null. This constructor in turn is calling the super constructor. T

Re: [android-developers] itemizedOverlay, onTap

2011-09-13 Thread androidhub trainer
While creating the object of your class helloItemizedOverlay you are supposed to pass the current context. Use the constructor helloItemizedOverlay(Drawable defaultMarker, Context > > context). When you do this your context will not be null. On Mon, Sep 12, 2011 at 1:00 PM, rochi wrote: > hello,

[android-developers] emulator: android.process.acore has stopped unexpectedly.

2011-09-13 Thread John Goche
Hello, I am having some problems with the various emulators. I am running 64-bit Windows 7 with the latest JDK SE 6 Update 27 and Eclipse 3.7.0 (Indigo) classic. I downloaded release 12 of the android sdk starter kit and installed the ADT plugin. I then installed several android SDKs and compiled

Re: [android-developers] itemizedOverlay, onTap

2011-09-13 Thread Logesh rajendren
you have only one activity in your manifest file . include the HelloItemizedOverlay activity in your manifest file. On Mon, Sep 12, 2011 at 12:30 AM, rochi wrote: > hello, I'm having problems with this code: > > http://developer.android.com/resources/tutorials/views/hello-mapview.html > > > In m

Re: [android-developers] How to implement chat application in android

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 5:58 AM, Ratheesh Valamchuzhy wrote: > Plse share any ideas about implementing chat in android > application... Here are a few ideas. 1: Learn to spell "please". 2: Try to solve your own problem. 3: If you can't, read this: http://catb.org/~esr/faqs/smart

Re: [android-developers] Re: Create videos for android market.

2011-09-13 Thread TreKing
On Tue, Sep 13, 2011 at 5:53 AM, sblantipodi wrote: > the camera way is ugly and the screen capture software is too slow, > it completely cut off the animations. > You tried every single option you found? ---

[android-developers] Re: How to implement chat application in android

2011-09-13 Thread Ratheesh Valamchuzhy
NO ANSWER.?.. :) -- 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+unsubscr...@googlegroups.

Re: [android-developers] how to auto install apk programmatic

2011-09-13 Thread Mark Murphy
On Mon, Sep 12, 2011 at 10:00 AM, Kamala wrote: > I have two applications what i want when i install one application > other one should be installed automatically. This is not possible. You can arrange for the first application to initiate a download and installation of the second application, w

[android-developers] Re: Create videos for android market.

2011-09-13 Thread RichardC
Use a phone with a video out (there are quite a few available) and record it. On Sep 13, 11:53 am, sblantipodi wrote: > the camera way is ugly and the screen capture software is too slow, it > completely cut off the animations. > Will we ever see a decent SDK with decent speeds? > > On Sep 13, 4:

[android-developers] Hi

2011-09-13 Thread Tushar Sahni
Hi all,,, I have developed an application that is made in android 3.2. The project contains 5 tabs and activity group.Is it possible for me to run the same code in android 3.2 ..? But when i run the code its crashing.Its working fine in android 2.1 and above... Is dere any solution in which

  1   2   >