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 for
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
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 installed
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?
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
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);
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
PreferenceScreen which holds inside a ListPreference with an array
of 5 different values. Very simple! The array of values are
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
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 fewe...@gmail.com wrote:
The Android SDK doesn't provide this functionality ready-to-go, but it can
be easily implemented with a
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
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
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.
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
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
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
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
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
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
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,
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
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?
(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
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
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
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
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
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:
|
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
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
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
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
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,
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
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}
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
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
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
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
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
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,
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
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
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
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
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
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.
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
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
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,
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
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
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 jonas.peters...@xms.se wrote:
Hi Kostya,
On 11/22/2010 09:00 PM, Kostya Vasilyev wrote:
I've am seeing some pretty
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 coomar@gmail.com wrote:
I would suggest that you don't
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 if05...@gmail.com wrote:
have u try
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 bluefishe...@gmail.com wrote:
Hi all,
I am using a Chinese version of android
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 chris@gmail.com wrote:
Hi all,
How to push the code
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
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
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 flyingdutchman...@gmail.com wrote:
Hi all,
i am working on an app where i would like to
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 jcol...@gmail.com wrote:
I understand that these files map to R classes (generated). So I see
why punctuation
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 pmdu...@gmail.com 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
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 sanchitgupt...@gmail.com wrote:
Hi All,
I am creating an android application in which uses tabs. There are
three tabs which runs different activities.
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:
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,
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 naveen.ven...@gmail.com wrote:
Hey folks,
Couple of days back, I read some
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.
What are you, a slave driver? I refuse to do for under 20k a day,
sorry.
On Nov 20, 12:49 pm, syed sameer sameer36...@gmail.com 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
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
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
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,
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
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
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 deepakraor1...@gmail.com wrote:
Hi manas,
It is actually a single list view, where we don't press the call icon
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 devandroid1...@gmail.comwrote:
In android widget,
Is there any mechanism available to get the activity result.
Scenario:
On widget we have button
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
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 rkjhaw1...@gmail.com wrote:
use start activity for
201 - 274 of 274 matches
Mail list logo