Thalisson wrote:
I'm working on a android project and we're wondering if there is any
way to access all the data on the /data folder. I'm asking this
because we need to copy (and paste) all the data on that folder and,
so far, we couldn't find a way to do that.
I know that normally we don't
Just curious since you and others have asked similar questions in the
past. I just wrote a simple App with ActivityA and ActivityB where A
is singleTask launchMode. If I go A-b-Home-relaunch I get gack to
B. So I cannot replicate the scenario you describe. The code and all
files for the app
Hi,
1. Implemented an application, that does a webservice call to our
servers. when the response size is around 200 Kb, iam receiving the
content length as -1. It works well in Droid/ADP1/etc (receiving the
original length) but fails in HTC My Touch and HTC DREAM.
2. When i replace, the
You can send an Activity to the background by calling the
moveTaskToBack() operation. This seems to work perfectly. But when I
later on want to retrieve my Activity to the foreground again, how can
I do this programatically ?
Can someounde illustarte with a small example ?
--
You received this
Hi Thank you for Read this thread.
i tryed for apps sms blocker
first i get sms inbox message like this
public class CsmsHandler extends BroadcastReceiver {
public void onReceive(Context arg0, Intent arg1) {
Bundle bundle = arg1.getExtras();
SmsMessage[] msgs =
Hi All,
In android eclair 2.1 is dialup networking through usb possible?
Is there any Support for usb tethering present in kernel layer.
I am trying to make my own app, if needed ready to do some kernel
related code chage also.
I have seen in \kernel\drivers\usb\gadget\f_derial.c file some
I have a texture with 8 equally sized stripes that I am using as a
wall with OpenGL. On my Nexus One it scales it properly, as the
stripes get smaller the further away they get (
http://lbarrettanderson.com/pongGood.png
).
However, in emulators and on a G1 (and probably on other hardware), it
Hi
I want to get current time accurately.
I tried to get the time by System.currentTimeMillis() but it has the
effect on the modificaion by User. So it is not useful for me.
Could you kindly tell me how to get current time accurately?
Thanks.
--
You received this message because you are
Hi all,
I have an array list of a view in my application. The view has
both single click and long click
listeners. To detect a particular view that is selected I'm using
isPressed() for single click listener. Now how can I detect that a
particular view is longclicked from the array list of
Hi All,
For changing from portrait to landscape mode i have done some changes
in manifest.xml and included some code in test.java file
In manifest.xml i have included activity_name
android:configChanges=orientation/
i entered some data in portrait mode.
but when i rotate my mobile from portrait
Dear,
We are looking to add a new android locking screen (a password based
one) with the same behaviour of the current unlock pattern.
In fact we have been able to create a custom locking screen but we
haven't found the way to disable the home key.
Any ideas ?
Cheers
--
plouck
--
You
Hi All:
Greetings!!!
I'm newbie to Android and developed a widget for my application. I
want to use gesture to open up some of my application features inside
the widget. As far I know implementation of gesture inside my
application is possible and my question is will it be possible to
implement
Hi,
I have created a game that uses SurfaceView and need input for player
to enter there name so I created a View xml that allows the player to
enter there name with the virtual keyboard.
The problem I have is when I call setContentView(nameView) it destroys
the surfaceview and everything
Hello,
I'm using the MediaPlayer to play a video and I need to get some
frames of the video while it is being played.
I found that SurfaceHolder has the method lockCanvas() returning a
Canvas object, using it I can draw thing on the surface, but how can I
get the pixels that are currently on the
I've come across a curious problem:
I have a simple horizontal LinearLayout: Button A - ViewGroup
(vertical LinearLayout containing TextViews) - Button B
It's important to note that the views are defined in the XML in the
above order i.e. Button A, ViewGroup, Button B.
I have a simple
As per normal content observer, you will just get to know that content
has been changed but not the data.
So how can I exactly find out what changes has been made using Content
Observer?
Is there any alternative way to obtain the changes done on specific
content URI?
Thanks a lot in advance !!
Try this:
ContentValues values = new ContentValues();
values.put(Contacts.People.NAME, Dummy Contact+i);
Uri uri =
Contacts.People.createPersonInMyContactsGroup(getContentResolver(),
values);
Uri
Dear,
We are looking to add a new android locking screen (a password based
one) with the same behaviour of the current unlock pattern.
With some ugly hacks we have been able to create a custom locking
screen but we haven't found a way to disable the home key.
Any ideas ?
Cheers
--
plouck
--
What am I doing wrong here? I have a listview of items (songs on the
sd card). The user has an option to load all the songs on the sd card
to into a current playlist -- those songs are what is displayed in the
listview. Because this can take few seconds to load if they have a lot
of songs on the
plouck wrote:
We are looking to add a new android locking screen (a password based
one) with the same behaviour of the current unlock pattern.
In fact we have been able to create a custom locking screen but we
haven't found the way to disable the home key.
Write your own firmware. Blocking
I have an Android app where users can add items to a ListView, and I'd
like them to be able to re-order the items in the list however they
want (as opposed to just offering them different sort orders). It's
easy enough to add a position setting for the items (they come from
the DB) but what kind
Could someone on the android team please tell us what we should use
for the password when connecting to the SampleSyncAdapter server?
On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote:
as for 1)
- The source tree is not available for download that I can tell. You
have to cut and paste each
So I would need to write an activity that listens for a certain key
sequence and then launches a second activity?
On Feb 18, 9:08 am, Mark Murphy mmur...@commonsware.com wrote:
BillS wrote:
Sorry, I meant the key sequence would launch my activity. Can you
elaborate on what it would take?
can u try using onclickpress() and implement there
On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote:
Hi all,
I have an array list of a view in my application. The view has
both single click and long click
listeners. To detect a particular view that is selected I'm using
sorry meant onlongpress
On Thu, Feb 18, 2010 at 12:36 PM, social hub shubem...@gmail.com wrote:
can u try using onclickpress() and implement there
On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote:
Hi all,
I have an array list of a view in my application. The view has
Use AsyncTask instead od Java threads. I'm not kidding, it's that simple.
On Thu, Feb 18, 2010 at 10:21 AM, Ken H hunt1...@gmail.com wrote:
What am I doing wrong here? I have a listview of items (songs on the
sd card). The user has an option to load all the songs on the sd card
to into a
Data recovery is a tricky thing, and if you've somehow deleted or had
your important files corrupted or lost due to human error, business
espionage, faulty hardware or software or any other reason; the good
news is that your lost data is probably recoverable.
BillS wrote:
So I would need to write an activity that listens for a certain key
sequence and then launches a second activity?
Yes.
I suspect you're trying to get it such that arbitrary other
applications, or the operating system, will register the key events and
start up your activity for
Ernest,
Your response is helpful. I am not using
android.opengl.GLSurfaceView, but I did try to get my EGL config
chooser routine to look like what is provided therein. Are you saying
that if I did use GLSurfaceView from Android I would not have the
issue? If so, is there any specific
Course, some of it -is- just spammers. EG olipo...@gmail.com (http://
groups.google.com/groups/search?
hl=enq=olipol66%40gmail.comqt_s=Search) Spams everywhere, hasn't
been shut down yet. Fun :/
On Feb 17, 8:36 pm, Disconnect dc.disconn...@gmail.com wrote:
Its not a forum. Its an email list with
I don't know if this will help your situation at all, but note that there is
the option for users to set keyboard shortcuts, so you could set a shortcut
for yourself for your own app.
On Thu, Feb 18, 2010 at 12:51 PM, Mark Murphy mmur...@commonsware.comwrote:
BillS wrote:
So I would need to
Hello,
I can access android.R.string.ok value from java code, but can't see
how to do the same in layout xml file - I only have @string/xxx in
autocompletion list which does not have system string values.
thank's
--
You received this message because you are subscribed to the Google
Groups
TreKing wrote:
I don't know if this will help your situation at all, but note that
there is the option for users to set keyboard shortcuts, so you could
set a shortcut for yourself for your own app.
*smacks forehead*
I keep forgetting about that, particularly now that I'm using a
No. You have to do this all yourself :(
1. Query from the mediastore all the info for your original image,
including its file-path (DATA column).
2. Query from the thumbnail mediastore the info of all the thumbnails
(can have more than one) for the given image.
3. Copy your image-file to another
Hello all, newbie question...
I want my android.jar to include the calendar provider class..this is
not in the normal .jar
It's hidden for the sdk build by @hidden lines in the source.
i have read somewhere that by removing some @hidden's i can build a
android.jar with the calendar class..
But i
arnoldl wrote:
I want my android.jar to include the calendar provider class.
Please don't do that.
this is
not in the normal .jar
It's hidden for the sdk build by @hidden lines in the source.
Correct. It is not for SDK developer use at this time. It is subject to
modification by the core
On Thu, Feb 18, 2010 at 1:13 PM, fry bender...@gmail.com wrote:
I can access android.R.string.ok value from java code, but can't see
how to do the same in layout xml file
Try @android:string/ok - though even if that works, note that that's
probably discouraged, as the value of that resource
On that note, Can I launch an activity from the called 'Camera App'
within my own activity on the press of Capture button?
Abhi
On Feb 18, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote:
TreKing wrote:
I don't know if this will help your situation at all, but note that
there is the
Hi,
I want to either use WiFiManager to toggle wifi from inside a thread
or call another activity to do this, whichever is possible. I tried
using the wifimanager class inside the thread but it didn't work.
Could anyone tell me how to call an activity using Intents from inside
a thread?
Thanks,
Hi,
I am trying from few days but don't get any information related to issue as
below.
Which KEYCODE to send to input dev ( /dev/input/event2 here ) on headset
button press event from my
headset driver so can answer / hang-up call ?
Please let me know if I am missing something here.
--
Have you read the tutorial?
http://developer.android.com/intl/de/resources/tutorials/views/hello-listview.html
On Feb 17, 7:07 pm, Reno Akbar robotijo.be...@gmail.com wrote:
Hai Guys
any body share with me how to use lisview ?
thanks
--
You received this message because you are
The Z adjustment only works for window animations. I thought this was
documented, but apparently not.
On Thu, Feb 18, 2010 at 8:25 AM, mc_sunw mlcaun...@googlemail.com wrote:
I've come across a curious problem:
I have a simple horizontal LinearLayout: Button A - ViewGroup
(vertical
Please don't do that.
I understand that it's not the right way to build an app.
And i'm aware that if i link to this class , any change by the android
team will break my app.
her comes the but :-)
- i want to make a app only for personal use..so i take the change of
failing with code update.
-
On Wed, Feb 17, 2010 at 11:25 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote:
I need like that tab bar in android .
How to do that?
Any suggestions ?
Yes.
1 - Get a book or two or three on Android.
2 - Read the online documentation.
3 - Read through the samples.
4 - (This one is
I am stacking two galleries on top of each other... I know no other
way to do this than to include two galleries in a layout. The one
that's last added is the one that will properly scroll. Work around?
On Feb 18, 11:51 am, social hub shubem...@gmail.com wrote:
I am also having the same issue
Ok, so it's not me doing something stupid. :)
Any thoughts as to the best solution?
I wrote a simple test whereby I created a RelativeLayout rather than a
LinearLayout and defined the ViewGroup first and the buttons after,
relative to the ViewGroup, which seemed to work ok in the test. So
did
sorry stack u mean in z axis or one below the other. I may have solution for
the one below the other not the other case i guess.
On Thu, Feb 18, 2010 at 1:59 PM, racx182 drobe...@gmail.com wrote:
I am stacking two galleries on top of each other... I know no other
way to do this than to include
On Thu, Feb 18, 2010 at 10:08 AM, Luke Meyer luke.rt.me...@gmail.comwrote:
The best I can think of is to use a long click and context
menu to move up or move down. Any better ideas?
This is what I do and it works well enough for small lists. I would like to
do drag-n-drop at some point but
Thank's for hint - this works.
On Feb 18, 10:30 pm, TreKing treking...@gmail.com wrote:
On Thu, Feb 18, 2010 at 1:13 PM, fry bender...@gmail.com wrote:
I can access android.R.string.ok value from java code, but can't see
how to do the same in layout xml file
Try @android:string/ok - though
Hi, friends!
I have got a problem and hope you could help me:)
I have application in landscape orientation, I set it as
android:screenOrientation=landscape in AndroidManifest.xml. But
when my app starts another activity - default internet browser - it
starts in portrait orientation.
Any ideas?
Hi jotobjects, that would be really helpful if you could post your
example. My simple example is below. Behavior I am seeing is:
-App Tray
-ActivityA
-btn click, start ActivityB
-home button
-resume
-ActivityA is shown
import android.app.Activity;
import android.content.Intent;
import
Has any one seen this?
02-18 14:31:49.159: ERROR/AndroidRuntime(23066): Uncaught handler:
thread android.server.ServerThread exiting due to uncaught exception
02-18 14:31:49.159: ERROR/AndroidRuntime(23066): *** EXCEPTION IN
SYSTEM PROCESS. System will crash.
02-18 14:31:49.169:
Hello all,
I'm trying to add audio to my game and following the jetboy tutorial
and dev pages I'm doing it as follows:
I'm initialising like this:
JetPlayer JET_PLAYER = JetPlayer.getJetPlayer();
JET_PLAYER.clearQueue();
JET_PLAYER.loadJetFile(p_resources.openRawResourceFd(R.raw.ingame1));
byte
Tatyana Ulyanova wrote:
I have got a problem and hope you could help me:)
I have application in landscape orientation, I set it as
android:screenOrientation=landscape in AndroidManifest.xml. But
when my app starts another activity - default internet browser - it
starts in portrait
I wasn't able to get the AsyncTask to work (although I have used it
successfully in another app). What I did was use the Looper.prepare();
in my run() method:
public void run(){
Looper.prepare();
loadsongs(CURRENT_PLAYLIST);
mHandler = new Handler() {
Ken H wrote:
I wasn't able to get the AsyncTask to work (although I have used it
successfully in another app).
Here's an example of using AsyncTask to asynchronously populate a ListView:
http://github.com/commonsguy/cw-android/tree/master/Threads/Asyncer/
--
Mark Murphy (a Commons Guy)
Thank you very much. That's made it much clearer for me.
Cog
--
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
On quick inspection your app looks almost like the one I tested. My
test is with the emulator with Android 2.0.1. I am NOT running this
from eclipse. Any difference from your scenario?
What do you mean by resume in your scenario? Do you mean pulling
down the tray and clicking on the App icon
HI,
is there a way for an app to know when a data sync happens?
It would be just great to be able to Register a BroadcastReceiver and
handle that action, in my case instead of fire a data synchronization
i would like to detect when it happens.
is it possible?
On Jan 25, 6:59 pm, Dianne
Hi,
We are looking to add a new android locking screen (a password based
one) with the same behaviour of the current unlock pattern but we did not
found any documentation about that.
With some ugly hacks we have been able to create a custom locking
screen but we haven't found a way to disable
Hi,
Can you please tell me how can I create a TextAppearanceSpan which
looks like an anchor (a blue text with a blue underline under the
text)?
Thank you.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
2010/2/18 Clément Lecigne plo...@gmail.com
With some ugly hacks we have been able to create a custom locking
screen but we haven't found a way to disable the home key.
You can't do this. See this
This is what logcat shows.
02-18 16:39:19.505: WARN/System.err(25664):
java.net.SocketTimeoutException: Socket is not connected
02-18 16:39:19.505: WARN/System.err(25664): at
org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native
Method)
02-18 16:39:19.515:
Hi,
I have uploaded the zipped source files for this sample at:
http://code.google.com/p/apps-for-android/downloads/list
Sorry about the server related python source files not being visible
on developer.android.com. We will fix it soon.
This sample source will be available with the next sdk
But what if you're using a custom ArrayAdapter? Also, I *think*
AsyncTask is meant for one shot type tasks. A user of this app may
update this listview multiple times.
But here is something I've discovered: if I change the orientation of
the screen, the list is properly updated. Question: how can
Thank you!
On Feb 18, 3:18 pm, Megha mjo...@google.com wrote:
Hi,
I have uploaded the zipped source files for this sample
at:http://code.google.com/p/apps-for-android/downloads/list
Sorry about the server related python source files not being visible
on developer.android.com. We will fix
Hi,
I don't see my mails sent to these groups. is that any issue ?
--
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send
if you have a gmail address, you won't see the copy coming back.
gmail swallows it thinking it's its own copy it uses for conversation
tracking. at least i *think* that's what's going on, i've never heard
a peep out of google after asking many times. this used to work
properly up until last
Would those buffers' memory space be able to be reallocated when the
activity dies, or the process, or on a total OS shutdown? This
particularly is something I was wondering about on a broader scope
than MediaPlayers.
Thanks for your answers.
On Feb 18, 7:08 am, Mark Murphy
Ken H wrote:
But what if you're using a custom ArrayAdapter?
And that matters...how, exactly?
Also, I *think*
AsyncTask is meant for one shot type tasks. A user of this app may
update this listview multiple times.
:: shrug ::
Fire new instances of the AsyncTask. It uses a thread pool. It
Hi,all.
I want to set Bold-style or TextColor one by one in TextView.
Can I do it?
I thought use InputFilter, but the Class could not set style.(may be..)
Please teach if it is good idea.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Fire new instances of the AsyncTask. It uses a thread pool. It is
designed for the specific purpose we are telling you to put it to.
or you could use AsyncTasks's progress reporting mechanism to
communicate the loading of each list entry.
AsyncTask is *fab*
--
jason.vp.engineering.particle
Using a custom ArrayAdapter doesn't seem to me to relate to your
question, unless your problem is that it's broken. For example, if
yours doesn't notify the registered DataSetObservers that the data has
changed.
As for async tasks -- what you're describing IS a one-shot task, in
any sense that
It looks like my example refuses to work with spreadsheets.google.com list
worksheet feed.
Here is the code snippet
authenticate() succeeds and I get the proper auth token.
However getWorksheetContents() fails with 404 Not found error.
I have double check the URL (worksheetsheetURL) using curl
I just read you other post and it covers pretty much the same subject
matter:
http://groups.google.com/group/android-developers/browse_thread/thread/26f577bca4cee64d#
I will try to step through to determine what EGL config is choosen.
I find is strange in my case because I have one user who
There is really no such thing as a global data sync. You can write a
SyncAdapter to take care of syncing with a particular content provider, and
decide when to sync. You can register a ContentObserver to see when the
data inside of a content provider changes. A global concept of sync isn't
ok...
On Fri, Feb 19, 2010 at 1:16 AM, TreKing treking...@gmail.com wrote:
On Wed, Feb 17, 2010 at 11:25 PM, Sasikumar.S
sasikumar.it1...@gmail.comwrote:
I need like that tab bar in android .
How to do that?
Any suggestions ?
Yes.
1 - Get a book or two or three on Android.
2 -
AFAIK, AbsoluteLayout does not support variable screen size like WVGA.
On Feb 16, 6:59 am, Mina Samyhttp://android-pro.blogspot.com;
m.s.ra...@gmail.com wrote:
Hi all
the absolute layout class is deprecated
but still can write it in code and it works.
will there be any problems if I use
To use vertical progressbar, you have to make your own widget
extending View, not ProgressBar.
the source of ProgressBar widget may help.
On Feb 16, 6:24 am, Jonathan jonathanmschm...@gmail.com wrote:
HI, I am extending the normal android.widget.ProgressBar. I want to
make it vertical. This is
See ApiDemos in SDK
On Feb 16, 9:33 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Hi,
Any simple cursor adapter with listview example ?
--
Thanks Regards
Sasikumar.S
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi TreKing,
Thank you for the prompt reply.. :)
I will try your solution to see how it solves the problem..
Thanks
On Feb 18, 9:17 pm, TreKing treking...@gmail.com wrote:
On Thu, Feb 18, 2010 at 8:47 AM, Babasaheb babadam...@gmail.com wrote:
Is it possible to send an intent so that a
Thanks a lot megha.. this is a relief, I'd try this and get back
--
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,
Some times at the time of application starting up two processes
are created one has default process as parent and second has first as
parent.
In this scenario neither activity nor application is coming up.But
application code is being executed.
Any idea.
Thanks,
--
You received
Okay, I tried the user1/test on emulator and it added account
succesfully, and on the web side I added few handles and added few
friends on the same handle, and tried syncing the same on emulator,
and I am getting 500 internal server error, is there still something
wrong? I added one more user on
Do you have a reference to the activity's context in your thread? If
so, I think you could do something like this:
Intent _intent = new Intent(yourContext, yourActivity.class);
yourContext.startActivity(_intent);
provided that yourActivity was declared in your manifest.
On Feb 18, 1:39 pm, Abhi
Wow, dude...thanks! That was a thorough answer. Usually get a vague,
one sentence response that leaves me more confused than before.
I don't know why I said that thing about the custom adapter...I think
because I don't truly understand what it's doing and this activity
revolves around it.
Well,
One thing that comes to mind is using an AlertDialog for the name
prompt instead of a View.
On Feb 18, 4:39 am, Adrian Hirst adrian.hi...@gmail.com wrote:
Hi,
I have created a game that uses SurfaceView and need input for player
to enter there name so I created a View xml that allows the
Ah ok thank you!!
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Shrenik Vikam
Sent: Thursday, February 18, 2010 12:52 AM
To: Android Developers
Subject: [android-developers] Re: Google Chart API
You can use google
I have a simple style like this:
style parent=android:Theme.Light.NoTitleBar name=MyTheme
item name=android:colorBackground#FF/item
item name=android:textAppearance@style/PrimaryText/
item
/style
And a simple style like this:
style
Hi,,\
I'm using a listview with cursoradapter. How to set Text filter for that
listview ?.
--
Thanks Regards
Sasikumar.S
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Feb 18, 9:44 am, Yoshinori yoshinori...@gmail.com wrote:
Hi
I want to get current time accurately.
I tried to get the time by System.currentTimeMillis() but it has the
effect on the modificaion by User. So it is not useful for me.
Could you kindly tell me how to get current time
you have to save the necessary data as part of the bundle in the
method, onSaveInstanceState and onCreate(bundle), you should if there
is any data in the bundle. if there is get the data from the bundle
and use that data.
-Ravi
On Feb 18, 1:29 pm, sid wakeupsi...@gmail.com wrote:
Hi All,
For
Ok Thanks Dianne,
What interest me is detecting when new GMail is being received.
Wich is the uri of the Gmail content provider?
content://gmail-ls ???
is there any documentation somewhere about how the information is
being stored in this Content-Provider.
On Feb 19, 4:03 am, Dianne Hackborn
Just tried the asynctask again, and it works. Basically I put the time
consuming part in doInBackground(), and then launched a progressDialog
in onProgressUpdate() to let users know nothing froze, and finally
dismissed the progrssDialog in onPostExecute(). Also added the final
refresh of the
101 - 194 of 194 matches
Mail list logo