Re: [android-developers] Help Needed on Android Widget

2010-11-22 Thread Dev Android
Rocky, Thanks for your reply. We don't have method startActivityForResult available in the android widget provider. We have to use pendingIntent only. Hope you can try to understand the problem. -- Eng. On Tue, Nov 23, 2010 at 1:16 PM, Rocky wrote: > use start activity for result, and from the

[android-developers] Re: is it faster to load a layout in java or xml

2010-11-22 Thread bruce
Seems like there are other things going on if it takes 2 seconds. On orientation change, you can save data in onSaveInstanceState() to be later retrieved in onCreate() which could possibly save some time. Not that I would advocate it but you could cache the layout so it doesn't need inflating agai

Re: [android-developers] Help Needed on Android Widget

2010-11-22 Thread Rocky
use start activity for result, and from the next activity use bundle to pass the result to back On Tue, Nov 23, 2010 at 1:05 PM, Dev Android wrote: > In android widget, > > Is there any mechanism available to get the activity result. > > Scenario: > > On widget we have button and click of this bu

[android-developers] Re: Listview similar to call logs of 'contacts' app

2010-11-22 Thread deepak
Hi manas, I forgot to mention 1 more thing. In the xml also, instead of ImageView give the name of the class which extends ImageView. Thanks, Deepak On Nov 23, 12:38 pm, deepak wrote: > Hi manas, > > It is actually a single list view, where we don't press the call icon > when the parent is pres

[android-developers] Re: Listview similar to call logs of 'contacts' app

2010-11-22 Thread deepak
Hi manas, It is actually a single list view, where we don't press the call icon when the parent is pressed. Just add a onClickListener for your view (i.e., similar to call button) in your ListActivity and implement the desired function in that. And for eg. if you are using a ImageView, then just c

[android-developers] Help Needed on Android Widget

2010-11-22 Thread Dev Android
In android widget, Is there any mechanism available to get the activity result. Scenario: On widget we have button and click of this button will launch the new activity and after destroying of this activity, this will send some results to widget. Is there any callback available to catch the info

Re: [android-developers] Is it possible to using a url image in ImageView

2010-11-22 Thread Kumar Bibek
The answer to both your questions is Yes. http://developer.android.com/reference/android/widget/ImageView.html#setImageURI%28android.net.Uri%29 http://techdroid.kbeanie.com/2010/06/textview-with-html-content.html Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Nov 20,

Re: [android-developers] How to edit Calendar in Android

2010-11-22 Thread Kumar Bibek
2 Options : --- 1. Use the Calendar Content Provider 2. Use Google APIs to update the user's Google Calendar (If this is his main calendar, else, use Option 1) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Nov 21, 2010 at 12:24 AM, Majdan wrote: > Hi,

Re: [android-developers] Re: Android app naming policy

2010-11-22 Thread Kumar Bibek
1 package 1 app. However, if you are trying to create something like (Tabs of a browser), then please put your question in detail. The text really doesn't tell us much. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Nov 20, 2010 at 4:43 AM, Leon Moreyn-Android Developme

[android-developers] Re: Andriod Trainer(10-15k per day)

2010-11-22 Thread Zsolt Vasvari
What are you, a slave driver? I refuse to do for under 20k a day, sorry. On Nov 20, 12:49 pm, syed sameer wrote: > We need an Android trainer; the compensation will be 10-15k per day > for a span of 2weeks, (this training can be extended for 4 months). > Please send your profile to sameer36...@g

Re: [android-developers] Android calls to web service slow? Using .NET web service

2010-11-22 Thread Kumar Bibek
Well, my guess would be the long time can be attributed to the while loop you have. That is probably where your code is getting stuck. HttpResponse response = client.execute(request); Try putting the log after this line, and see the times. If its still quite a lot, then you have to worry. Kumar

Re: [android-developers] Hello World doesn't work

2010-11-22 Thread Kumar Bibek
Wait for some time. Let it run. The first run of the emulator always takes longer that you would expect. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 12:23 AM, Naveen wrote: > Hey folks, > > Couple of days back, I read some articles about Android

Re: [android-developers] Disabling a button until a set day

2010-11-22 Thread Kumar Bibek
btn.setVisibility(View.GONE) or btn.setEnabled(false) You should save your time somewhere, preferences/files/database, and on start of your application, check this value and do as required... Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Nov 21, 2010 at 3:11 AM, Garr

Re: [android-developers] What is an Adapter??

2010-11-22 Thread Kumar Bibek
Search for a few articles on how to use it. One example from my blog :) http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Nov 21, 2010 at 2:46 PM, Abhishek Talwar < r.o.b.i.n.abhis...@gmail.com> wrote:

Re: [android-developers] Change Activity in Tabs on Button Click

2010-11-22 Thread Kumar Bibek
Currently this is not supported. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Nov 21, 2010 at 4:06 AM, Sanchit wrote: > Hi All, > > I am creating an android application in which uses tabs. There are > three tabs which runs different activities. Activity which runs

Re: [android-developers] Help getting screen number

2010-11-22 Thread Kumar Bibek
There is no such API. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Nov 21, 2010 at 7:38 PM, Pedro Duque wrote: > Hi, > > I need to get the screen number a user is seeing and the total screens in > home application. I can't find this info anywhere in the API. > > Can

Re: [android-developers] help me understand: upper case characters in layout file names are disallowed

2010-11-22 Thread Kumar Bibek
Hmm, Never thought about that. But interesting observation. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 5:30 AM, Justin Collum wrote: > I understand that these files map to R classes (generated). So I see > why punctuation characters (most) are

Re: [android-developers] Multiple Spinners

2010-11-22 Thread Kumar Bibek
You can add spinners/views anything you want through code. It doesn't have to be in your layout files. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 3:33 PM, JV wrote: > Hi all, > i am working on an app where i would like to use multiple spinners so

Re: [android-developers] Android Browser 'Uncaught SyntaxError'

2010-11-22 Thread Kumar Bibek
Well, seems like a jQuery issue. Which one are you using? I tried the mobile version, and it wasn't working a few days back, while it worked pretty well on all the browsers and iPhone. :D Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 11:51 PM, Greg Tay

[android-developers] 2.2.1 FRG83D: Existing map tiles are unnecessarily reloaded when panning, is it just me?

2010-11-22 Thread JP
The Maps API always had its issues... since updating my Nexus One to 2.2.1 FRG83D earlier today, I see a problem more serious than anything prior. This applies to both Google Maps and (any) app that uses the Maps API (that I have tested). It's pretty obvious and simple, and cannot be remedied by re

Re: [android-developers] How to push the code change to Android open source project.

2010-11-22 Thread Kumar Bibek
Umm, there's a long long procedure for this. You should contact the team at source.android.com and wait for their response. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 8:12 AM, Feng Chris wrote: > Hi all, > > How to push the code change to Android o

Re: [android-developers] ADB device name show invalid characters

2010-11-22 Thread Kumar Bibek
Drivers fro your devices are not installed properly. Once you do that, it will tell you your device name. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 8:29 PM, Jim Qiu wrote: > Hi all, > > I am using a Chinese version of android phone, when I type t

[android-developers] Re: Android Testing

2010-11-22 Thread kampy
hi as u said i read the doc and there i found that i can do these testing on the emultor terminal adb shell but for every command i typed it is giving the permission denied . how to obtain the permissions for this .. On Nov 23, 11:22 am, welly tambunan wrote: > have u try this one > > htt

Re: [android-developers] twitter integration

2010-11-22 Thread venkat kumar
Hi, Pass username and password.. Add external jar as twitpic4j.jar which is available here.. http://code.google.com/p/twitpic4j/ We can post text and picture in twitter. Thanks, venky On Tue, Nov 23, 2010 at 10:24 AM, Kumar Bibek wrote: > I would suggest that you don't write your own Twitter

[android-developers] Re: Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Leon Moreyn-Android Development
I believe there was a recent sweep of the market. And i think there was also a market update. So this maybe some of the reasoning for this. On Nov 22, 4:45 pm, "Jonas Petersson" wrote: > Hi Kostya, > > On 11/22/2010 09:00 PM, Kostya Vasilyev wrote: > > > I've am seeing some pretty mysterious cras

[android-developers] test

2010-11-22 Thread made nadi
test -- 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.com For more options, vi

[android-developers] Re: streaming mp4 from Internet

2010-11-22 Thread Leon Moreyn-Android Development
If this video is your video is stored locally on your computer. If its not video, ie you are trying to steam from Youtube or something like that that is streaming this video on the web then you will not be able to do so. You must have admin access to the video for it to be "your video". MP4Box is

[android-developers] Looking for sources of Searchable Dictionary v2

2010-11-22 Thread Christian Brehm
Hi, I have the sample code packages for eclipse installed. On the webpage about Searchable Dictionary v2 http://developer.android.com/resources/samples/SearchableDictionary/index.html it is noted that the project source code is contained in the SDK. But the SDK only contains V1 without database us

[android-developers] Seeking Senior Android Developer for AppMakr platform

2010-11-22 Thread AppMakr
An active user of this group recommended I post here. We're a platform that lets non-developers create iPhone apps, no coding experience required. We're based in San Francisco and launching for Android soon and are looking for a hardcore senior Android developer. Anyone interested? If so please

[android-developers] Creating 2D games with Android and Blender

2010-11-22 Thread Ruben
I have just written an in-depth article covering the workflow of 2D game creation for Android with blender, based in my own experience with the game "Egg Savior". I hope you find it usefull. Feel free to share your knowledge and propose other alternatives to these ideas. http://organicandroid.blog

[android-developers] Bluetooth SPP control signals (DTR, DSR, RTS, CTS)

2010-11-22 Thread Troy
I would like to remotely reprogram my Arduino via Android over Bluetooth SPP. The first step is to reset the ATMEGA microcontroller. This is accomplished on the Arduino by toggling the DTR line. Is there any API to control the Bluetooth SPP control lines from the Android environment? -- You recei

[android-developers] Re: make JPEG image has map

2010-11-22 Thread Leon Moreyn-Android Development
Im not sure of sample code for this, but here is how I would implement this. You dont necessarily need a map. An image view with a moving curses could be possible. You would set the location on the cursor in the image by using GPS location. You can receive lat and lon to your device. You would then

[android-developers] Android Browser 'Uncaught SyntaxError'

2010-11-22 Thread Greg Taylor
I've been trying to get http://ligonier.org to render correctly on Android's Browser, but am running into a snag We recently moved all of our CSS/JS/Images to Amazon S3, which apparently broke Android rendering. The page renders just fine on iPhone and desktop browsers (Chrome, Safari, IE, Firefox)

[android-developers] Reg: Accessing a service in other package.

2010-11-22 Thread Aluvala Suman
Hi All, I am trying to access a service in other package, but not able to get the binder. Attached my file hierarchy. This is the manifest file for the ExampleService package http://schemas.android.com/apk/res/android"; package="example.service" android:versionCode="1" android:versionName="1

[android-developers] Re: Using cache or sdcard as a temporary buffer. Good idea?

2010-11-22 Thread ramdroid
I think an app is not able to perform some action during un- installation. So if you have some cache on the SD card and someone is un-installing your app, then your cache is still left there. From this point of view, I would prefer using the phone's cache. -- You received this message because you

Re: [android-developers] Re: guitar tuner

2010-11-22 Thread Nathaniel Warner
I just published a guitar tune app myself (Guitar FreaQ)...mostly for fun and to teach myself android development. I found that the FFT didn't use that much cpu at all (custom rendering did though) The fft algorithm computes N log(N) calculations. So if you do a 1024 point fft you are only doin

[android-developers] How to push the code change to Android open source project.

2010-11-22 Thread Feng Chris
Hi all, How to push the code change to Android open source project? Anyone could provide a push command for me? Many thanks for your help! Thanks, Chris -- 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] Need Help !!

2010-11-22 Thread Anis Ben Nsir
I'm using a TabActivity to run two activity. In the first activity I'm using GestureDetector.Fling for flipping between views of the first Activity. I have tested the first activity and it works well. But when I have add it into the TabHost using TasSpec setContent(new Intent(this,MyFlipper.class)

[android-developers] Google Sky maps API

2010-11-22 Thread Douglas Fonseca
Is there a way to use Google Sky maps on my app? I know we have Google maps API, but is there a Google Sky Maps API? Thanks, Douglas Fonseca -- 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] Multiple Spinners

2010-11-22 Thread JV
Hi all, i am working on an app where i would like to use multiple spinners so the user can choose from multiple parameters for different options. the problem i am having is that i dont want it to display a fixed number of spinners when the activity is called but different numbers of spinners (which

[android-developers] Android community

2010-11-22 Thread kokila vani
http://123maza.com/35/access159/ -- 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...@googlegr

[android-developers] Re: Where are ldpi version of built-in icons

2010-11-22 Thread nextgen
So does this imply that if the developer creates drawables of different densities via scaling and does not do different artwork or "polishing after scaling" in each density, one may as well put only the highest density (now 512x512) in the app and let android do the scaling? On Nov 21, 6:28 pm, Di

[android-developers] ADB device name show invalid characters

2010-11-22 Thread Jim Qiu
Hi all, I am using a Chinese version of android phone, when I type the $./adb devices it gives me the following: List of devices attached device My DEV computer is Ubuntu 10.10, locale is en_US.utf-8. Is there a way that I can rename my device to a name of only simple letter

[android-developers] 1.5 quits for apparently no reason whilst animating (WIN DEATH)

2010-11-22 Thread Muleskinner
Hi, I have an app that is working fine in 1.6 and up but crashing for apparently no reason in 1.5. The app suddenly quits with the following message... I/WindowManager( 563): WIN DEATH: Window{43717218 com.bitbull.meat.android/com.bitbull.meat.android.MEATActivity paused=false} I/WindowManager(

[android-developers] help me understand: upper case characters in layout file names are disallowed

2010-11-22 Thread Justin Collum
I understand that these files map to R classes (generated). So I see why punctuation characters (most) are disallowed. But I can't for the life of me think of why "main" would be allowed but "Main" would not. Why not something like "firstScreen"? Is there something about generated files that I'm m

[android-developers] Add view to an layout by Z index?

2010-11-22 Thread dannylin
I have a project that needs to change the displayed content dynamically I know i can remove then add a new view to my layout. the problem in my project is we need to split the screen into different layers. for example: | --

[android-developers] Display Video in two surface views

2010-11-22 Thread Ramaseshi
Hi I am trying to implement 2 mediaplayer concept with two surface views but it is not allowing me to display videos on two surfaces. I have the following layout http://schemas.android.com/apk/res/ android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:o

[android-developers] Android SDK Error

2010-11-22 Thread JCC
I'm trying to get the android SDK running on my computer so I can start working on some apps but when I open the android sdk and avd manager and try to download a package, I get the following error: XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: The

[android-developers] Detect the SoftKeyboard is displayed or not?

2010-11-22 Thread Walid
Hi, Is there any event which i can use to detect that the softkeyboard is on the screen or not? -- 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 th

[android-developers] Loop Mount system.img file of Android emulator

2010-11-22 Thread ale
Hi, is there a way to mount the system.img file included in the Android emulator from the SDK. I tried to loop mount the file but mount keeps telling me that I need to specify the FS-Type. I think they are YAFFS type but I am sure that this forum knows how to mount the image so I can access the fi

[android-developers] Help getting screen number

2010-11-22 Thread Pedro Duque
Hi, I need to get the screen number a user is seeing and the total screens in home application. I can't find this info anywhere in the API. Can you help me? Thanks, Pedro Duque -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Unable to access all the pixel data of a Bitmap image from the native camera app

2010-11-22 Thread James Burnstone
In short I have a bitmap image and need to access all the pixels to use the RGB for an image processing algorithm. When I use the dimensions from getHeight()/getWidth() in my for loops to cycle through the image and use getPixel(x,y) I get an out of bounds error and the app crashes. By trail and er

[android-developers] Sliding screen controlled by button

2010-11-22 Thread timecatcher3
How do I set up a button in the middle of each item of a list view (or is it expandable?) such that the horizontal movement of the button to either end of the screen in portrait mode will lead to the activity page to slide and display another activity based on the direction the button is moved? --

[android-developers] Pubish: Target phones with fast hardware.

2010-11-22 Thread DutchAndroidGuru
(seems like my previous post was not even posted, so this is a repost) I have an application that loads a 3dmodel and renders it. These models are rather big and i can only get it to work fast on faster hardware phones such as the Nexus One. However there is no way to target faster hardware phones

[android-developers] Re: Default Media Button Application

2010-11-22 Thread Micah
Looks like the media button situation changes in Android 2.2; see here: http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html They added a function called registerMediaButtonEventReceiver that you are supposed to call when you show the GUI for a music app. This

[android-developers] best layout for app, dynamic set of 2 rows which consist of icons and text

2010-11-22 Thread Rustam Kovhaev
Hello, I am developing simple web app, It gets data from url, then parses it with htmlcleaner + xpath. That was easy part. Now I am trying to present data and populate my RelativeLayout with data and icons(I store icons in local resources) I am trying to populate my Activity with multiple sets, ev

[android-developers] What is an Adapter??

2010-11-22 Thread Abhishek Talwar
Hi guys i am a newbie. Could you please let me know what is an adapter and how can i use it?? It seems to be powerfull stuff -- 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@googlegroup

[android-developers] Pubish: Target phones with fast hardware.

2010-11-22 Thread DutchAndroidGuru
I have an application that loads a 3dmodel and renders it. These models are rather big and i can only get it to work fast on faster hardware phones such as the Nexus One. However there is no way to target faster hardware phones. Now i get very good ratings (on phones where it work) and very bad rat

[android-developers] button on screen that controls page sliding

2010-11-22 Thread timecatcher3
Hi, I am new to android development. I wanted to make a button on one of my activities that I can drag to slide my current activity page to the next activity page. The button will be in the center of the screen and I want to be able to press and drag it horizontally to one end of the screen while

[android-developers] Change Activity in Tabs on Button Click

2010-11-22 Thread Sanchit
Hi All, I am creating an android application in which uses tabs. There are three tabs which runs different activities. Activity which runs tab 1, has a button. I want to change content of Tab 1 by clicking on that button. But If I call another activity it doesn't start in tab1 but replaces tab. P

[android-developers] Android apps crashing on different phone models

2010-11-22 Thread Gabriel Brandao
Hi, I recently created a new feature in my apps that allows the user to check if there is an update by getting an HTML page, looking through it, and comparing the versions. However, this is causing the application to force close on startup for many of my users using Samsung and HTC phones, but work

[android-developers] Calling ImageSwitcher.setImageURI() in a thread

2010-11-22 Thread Jherry
Hi, I want to display pictures into an ImageSwitcher and change image every 3 seconds. I instanciate a Thread that call the setImageURI(URI) and I schedule it every 3 seconds. It does not update the view and I don't know how to do it. If I call the same code that call the setImageURI() from the On

[android-developers] Monthly Calendar

2010-11-22 Thread alchemix
Hi Fellas, I'm very new to android development. Currently i'm trying to develop an application that can display monthly calendar. Is there any way i can set this using the xml? or should i use different methods? Really appreciate the help guys. Thanks -- You received this message because you a

[android-developers] Disabling a button until a set day

2010-11-22 Thread Garrett
Here is the scenario: User opens app, they press a button and some activity launches. After the button is pressed and the activity is executed, I want to disable the button until the week starts over. Even if they close the app and come back, it should still be disabled unless it has reset. For e

[android-developers] SeekBar problem

2010-11-22 Thread Roberto Previdi
Hello list.I would like to know why this code don't work: seekTime.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { public void onStopTrackingTouch(SeekBar seekBar) { seekBar.setMax(seekBar.getProgress() * 2); } [...] I'm sure that the function get called because i tried to set a br

[android-developers] Re-size Tab child when soft keyboard is shown

2010-11-22 Thread Walid
Hi, I'm developing an application for Android. There are some tab in that app. In a particular tab when Softkeyboard is on screen, I need to resize the child activity. I don't want to re-size the tab activity. How can I do that? One more question, Is there any way to get the current state of Soft

[android-developers] Re: Pubish: Target phones with fast hardware.

2010-11-22 Thread Dutch Android Guru
What i need is target hardware like Memory, CPU, and OpenGL 2. I read a comment on this article http://androinica.com/2010/05/12/dear-google-please-let-android-developers-target-their-apps-for-specific-devices/ I really like this comment: *"The problem here is not (and should never be) fixed by

[android-developers] Re: SeekBar problem

2010-11-22 Thread Roberto Previdi
Ok I've been able to obtain the slider update with this funny trick: seekTime.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { public void onStopTrackingTouch(SeekBar seekBar) { final int progress = seekBar.getProgress(); seekBar.setMax(progress * 2); *seekBar.setProgress(progress+1

[android-developers] SharedPreferences are not stored

2010-11-22 Thread Claudio M. Camacho
Hello everybody, This is my first question. I tried to ask in android-beginners, but the group is discontinued. My problem is using SharedPreferences. I just created a which holds inside a with an array of 5 different values. Very simple! The array of values are different numbers: 1, 2, 5, 10 a

[android-developers] IllegalStateException in MediaPlayer (Redux)

2010-11-22 Thread Jason
Hi folks, Some time ago I posted an issue relating to an IllegalStateException in the Media Player (http://groups.google.com/group/android-developers/ browse_thread/thread/46c7c2cd4f4a6958/5551d47aac93632c) I have just launched the app into the "wild" and this error is flooding in. I just can't

Re: [android-developers] Google Android Map Overlay

2010-11-22 Thread devian yudha
yeah i think SDK doesn't provide us to that functionality, so you must included other things like .XML which give us a layout resource, etc. On 11/21/10, Frank Weiss wrote: > The Android SDK doesn't provide this functionality ready-to-go, but it can > be easily implemented with a custom view clas

[android-developers] Hello World doesn't work

2010-11-22 Thread Naveen
Hey folks, Couple of days back, I read some articles about Android and from that moment I fell in love with Android development :) I explored "Developing Android apps" for the past few days and done the following, * Installed the latest Android SDK i.e., 2.2 version. Also updated all the installe

[android-developers] How to Dismiss a PopupWindow when Switching Among TabActivities?

2010-11-22 Thread Derek Brameyer
Hi, I posted a StackOverflow question here (http://stackoverflow.com/ questions/4226898/dismiss-android-popupwindow-when-switching-to-a-new- tab-in-tabactivity/4227034#4227034) but it didn't get any responses. Basically, how can one dismiss a PopupWindow when changing to a different TabActivity?

[android-developers] Help with LiveWallpaper and Camera

2010-11-22 Thread Pedro Duque
Hi, I'm trying to understand camera development and started with a very simple live wallpaper: package com.example.LiveCamera; import java.io.IOException; import android.hardware.Camera; import android.service.wallpaper.WallpaperService; import android.util.Log; import android.view.SurfaceHolder;

[android-developers] Re: How to make a trial version which starts a limited amount of times?

2010-11-22 Thread PaulJ
On Nov 8, 4:01 pm, MobileVisuals wrote: > I want to make a trial version, where the application functionality > works a limited amount of times. The consumer will then be given the > option to buy the complete version on Android market. How can I > implement that? Depends of your functionalities

[android-developers] Bluetooth connection refused

2010-11-22 Thread christmas
hi erveryone, i have a problem when i use BluetoothSocket.connect(), it cause the "connection refused" error as follow: 11-21 00:25:11.086: DEBUG/dalvikvm(16199): Debugger has detached; object registry had 1 entries 11-21 00:25:11.086: INFO/ActivityManager(85): Start proc com.liqiang.bluetooth fo

[android-developers] View not attached to window manager

2010-11-22 Thread PaulJ
Hello, I'd like to ask about how to proper handle progressDialog in Thread, since getting the error from subject. My code: Thread logThread = new Thread() { String result = new String(); @Override public void run() { Looper.prepare(); try { result = ofsomesomeoperation(); } catch (NoSuchAlgori

[android-developers] Send video through socket and playing problem

2010-11-22 Thread Charlie
Hi all, I have two simple programmes, one server and one mediaplayer client, both at localhost. The problem is I can send byte/text through the socket, but when I try to send a video file, from the sdcard to the socket, the client side mediaplayer cannot play it. Anyone know how to solve this prob

[android-developers] DBus in android

2010-11-22 Thread sivaramkrishna
hi all, My intention is to let two applications communicate using DBus . i know that DBus is already integrated into android,Dbus binaries DBus send,DBus-monitor,DBus-daemon are already available. i am trying to create an application which will connect to the Dbus and start sending signals and m

[android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-22 Thread Leon Moreyn-Android Development
So here is my question to this. I have two places I can develop out of. I can develop out of Latvia and out of the USA. So if I was posting a new app in Latvia the currency would be LAT? And if I posted the app here in the USA the currency would be USD? On Nov 19, 11:28 am, sblantipodi wrote: > g

[android-developers] setOnTouchListener

2010-11-22 Thread dmodroid
I've created a view that extends MapActivity called myMapActivity. I need to get the latitude and longitude when a user taps the map. I can capture it by creating an overlay which extends ItemizedOverlay, and overriding onTouchEvent(...). But how do I bubble that up to the MapActivity view? I f

[android-developers] Andriod Trainer(10-15k per day)

2010-11-22 Thread syed sameer
We need an Android trainer; the compensation will be 10-15k per day for a span of 2weeks, (this training can be extended for 4 months). Please send your profile to sameer36...@gmail.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] GPU

2010-11-22 Thread Nathaniel Warner
How do I force my application to use the current devices GPU if one is available? -- 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] Re: DBus in android

2010-11-22 Thread siva ram krishna
the above logcat msg was for another project. please see this logcat msg, Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x1000 comp={com.example.android.simplejni/com.example.android.simplejni.SimpleJNI} } D/AndroidRuntime( 14

[android-developers] How to change color of ListView child items on focus

2010-11-22 Thread Francesco
Hi all. i have a list View in my app (this is the xml layout): http://schemas.android.com/apk/res/android"; android:id="@+id/arrayList" android:layout_width="fill_parent" android:layout_height="fill_parent" android:textFilterEnabled="true" android:scrollbars="vert

[android-developers] computer bluetooth's UUID

2010-11-22 Thread christmas
Hello all, I have some problems about computer bluetooth's UUID, when my phone was paired with my computer bluetooth, i want to connect to my computer bluetooth,it must have computer bluetooth's UUID for below to create an RFCOMM BluetoothSocket: BluetoothDevice.createRfcommSocketToServiceRecor

[android-developers] It seemed so simple...

2010-11-22 Thread Carl Brown
Get in on the App inventor to easily implement code, and reference/ research the code I needed to learn app develop quickly.. Make a far better phone call recorder by utilizing a stereo audio format, grab the downlink voice and plug into the right channel while gabbing the uplink voice. Fixing th

[android-developers] Waking phone via softkeys

2010-11-22 Thread chrisexv6
I was wondering if there is a way to wake a sleeping phone via softkeys instead of just the power button. Ive debugged and can see that the events arent firing during sleep, but wondered if there is a way to have them listen for input even during sleep (I assume at the cost of battery life) Ive s

[android-developers] I want mms number,sent/received , body and attachment details from MMS db in android… How to do that?

2010-11-22 Thread Mini
I am using "content://mms" Content resolver and getting mms database. How to get number,sent/received, body and attachment details from that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Connect a device which is over LAN from Android Emulator...???

2010-11-22 Thread Nitesh Jain
I am having problem to connect any device which is over LAN of my system, with the Android-Emulator. As I create the socket by giving the IP and Port of the LAN-Device my application hangs?? I also included the tag for INTERNET permission in AnderoidMenifest.xml file.. -- You received this messa

RE: [android-developers] Re: Instantiating a layout defined via XML at runtime

2010-11-22 Thread hanika
hi Thanks & Regards, cid:image002.jpg@01CA2AEF.10F60770 Vijay Patel Test Engineer Elitecore Technologies Ltd. 904, Silicon tower, off C.G Road, Ahmedabad-380 006 Gujarat (INDIA), Tel: +91-79-66065606 | HYPERLINK "mailto:vijay.pa...@elitecore.com"vijay.pa...@elitecore.com HYPERLINK "ht

[android-developers] How to edit Calendar in Android

2010-11-22 Thread Majdan
Hi, I am about to write an application with calendar functionality. It would be a waste to write own calendar module in my app, so I would like to use Calendar included with Android. Is there any possibility to edit calendar directly from my application? If not, is there any better way to solve my

[android-developers] Listview similar to call logs of 'contacts' app

2010-11-22 Thread manas
We are trying to create a listview exactly similar to 'call log listview' of 'contact' application (which is a default one). There is one listview item but two clickable controls. 1. Left one - for viewing call log details 2. Right one - for calling that person Any pointer on how to achieve that?

Re: [android-developers] Having too many errors when compiling applications

2010-11-22 Thread Kumar Bibek
You are definitely doing something wrong. Can you tell more about the kind of errors you get? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Nov 19, 2010 at 8:15 AM, JC Dev wrote: > OS: WIN7 > Tools: Eclipse IDE for Java Developers (Version: Helios Service > Release 1

[android-developers] java.lang.IllegalArgumentException: View not attached to window manager

2010-11-22 Thread PaulJ
Hi there brainiacs, I'd like to ask about how to proper handle progressDialog in Thread, since gettings the error from subject. My code: Thread logThread = new Thread()

[android-developers] Android Camera Preview — How to 'freeze' the camera?

2010-11-22 Thread BillyFordson
Hi everyone! I'm currently trying to build an android application to take pictures and I need to freeze the camera preview on a given event (i.e. picture taken) and restart it only after another event. What I want, in other words, is for the view to display whatever the camera sees until the free

[android-developers] Unexpected extra byte occurring in binary logcat entry stream

2010-11-22 Thread Hal
I've been implementing a logcat reader in java which uses the binary output of logcat (-B switch) rather than the text based formats. My code works for many of the entries, but frequently the binary log entries have an extra byte inserted which I can't account for, making the payload the wrong size

[android-developers] To connect a LAN device from Android Emulator......!!

2010-11-22 Thread Nitesh Jain
How to connect an RFID device connected over LAN at some IP & port i.e 192.0.0.4, 4001 with Android Emulator..??? -- 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 un

[android-developers] Re: AT&T HTC ARIA - Can not install APK

2010-11-22 Thread Leon Moreyn-Android Development
Hm I develop for Sony Ericsson X10 and I still havent been able to get the adb to work for me. H maybe ATT is dropping its restrictions. On Nov 19, 11:18 am, Néstor wrote: > PROBLEM SOLVED!!! > Yes, I am using Eclipse and I tried adb.  I did not try sideload but I > was able to in

[android-developers] HTC Desire HD has eaten all my texts

2010-11-22 Thread cumblech...@googlemail.com
There was No Warning. But I have no entries now. I wouldn't ordinarily mind but there's about 1000 messages lost + My brother passed away about 3 weeks ago just after I got the phone so all the correspondence from that has been lost too!!! WTF -- You received this message because you are

  1   2   3   >