I am wondering if there is a way to override the onkeydown for an
edittext view without making your own class? I just want my user to
type something in and hit enter, i put up the flag so enter doesn't
actually do anything now, but I want it to launch a function ive made.
--~--~-~--~~
I see.
Thank you Mark, I guess this shall be disposed from my feature basket,
since I'm planning to write a public app.
On 9月15日, 下午8时33分, Mark Murphy wrote:
> !oEL wrote:
> > Hi,
>
> > I'm trying to programmatically reboot the phone by pressing a button.
>
> > Currently I'm doing something lik
any-one?
On Tue, Sep 15, 2009 at 3:14 PM, for android wrote:
> <>
>
> This happens even before I unbind
>
> < could be>>
>
> Is there any work around for this? Are you sure that there is a limitation.
>
>
> On Tue, Sep 15, 2009 at 3:08 PM, Cyril ROQUES
> wrote:
>
>> May be you doesn’t clean ev
Hi,
When I use wake lock to screen at the specific time on the device as
follows code.
sScreenWakeLock = pm.newWakeLock(
PowerManager.FULL_WAKE_LOCK |
PowerManager.ACQUIRE_CAUSES_WAKEUP |
PowerManager.ON_AFTER_RELEASE, Log.LOGTAG);
But ever
What does the background service do, exactly? Sorry, I don't really
want to sort through the two versions of your code.
What I did see in the alarm version leads me to suggest that you can
set a repeating alarm in your Activity after collecting the initial
data rather than set a new Alarm each t
I'm trying to use the DDMS view to simulate GPS updates on an instance
of the Android Emulator, but the GPX I generated with My Tracks isn't
being accepted for an unknown reason.
I don't get any errors when I try to load the GPX file (using the Load
GPX... button in the Emulator Control), but it
Nevermind! I figured out what was causing my crash. I forgot to
declare the scrollview:
scrollview=(ScrollView)findViewById(R.id.scrollview);
it would be nice if I knew how to use the debugger =(
On Sep 15, 5:34 pm, Johnnyr wrote:
> Thank you for the reply. Unfortunatley, that code seems to th
Hi,
Second question of the day, how do I programmatically turn on/off
WIFI?
Currently I'm having something like this:
_iWifi.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
WifiManager wm = (W
Could you have any suggestions on how to get in touch with those
people?
On Sep 12, 7:44 pm, Dianne Hackborn wrote:
> I don't know, it is owned by the Google maps people.
>
> On Sat, Sep 12, 2009 at 10:27 AM, Arno den Hond wrote:
>
>
>
>
>
> > So are there any plans on making this API public?
>
What kind of access do you have to the PC? Will you be able to install
something on the PC? What kind of internet connectivity do you need
and what applications need the connectivity? Are these applications
that you have built or do you want the entire platform to continue
working as if it was nor
I am planning to do some exercise on Android 3D. To take a short cut
to test opengl ES on Android, I am thinking about to migrate some
famous iphone’s game to Android platform, for example: TouchFighter2
etc.
But I am wondering by doing so I may violate apple’s copyright. I read
about apple’s lic
Hi Dan
For what I haved experimented with my Galaxy from Kubuntu 9.04 :
I had to use the patched adb, dowloded from :
http://floe.butterbrot.org/external/adb.gz
the standard adb from android-1.5r3 did'nt detect the phone.
I had to put the following line in /etc/udev/rules.d/51-android.rules:
SUBS
Hi All,
The following errors occurred during startup of Android 1.6 SDK
Release Emulator:
What do the following errors mean?
Can these errors be ignored?
Emulator Details:
Target: Google APIs (API Level 4)
Skin: HVGA
SDCARD: 64MB image size
Errors:
09-16 13:16:00.072: ERROR/vold(550):
Hi all,
I'm using SoftKeyboard to simulate some KeyEvents to application.
Everything is done after I had set the system keyboard (LatinKeyboard)
in Setting screen. But I don't want to do this Settings action. I want
to run emulator with default setting. If I don't set the LatinKeyboard
in Settings
"E/MediaPlayer( 1455): stop called in state 4".It means that it is stopped
in the MEDIA_PLAYER_PREPARING
In MediaPlayer.cpp ,LOGE("error (%d, %d)", ext1, ext2), its log is
"E/MediaPlayer( 1455): error (-38, 0)".
In the MediaPlayer.h,it is said that the different value of the ext1 means
the differe
For SQLiteDatabase.beginTransaction(), it starts a new transaction.
And SQliteDatabas.insert() delete() update(), does these api starts a
new transaction too?
That's to say. If I use
db.beginTransaction();
try{
db.insert(..):
db.delete();
db.update();
db.setTransactionsSuccessful();
}fin
You can't, the purpose of InputMethodService is to write a global input
method service. If you just want to put a keyboard in your app, you could
try using the raw keyboard view classes.
On Tue, Sep 15, 2009 at 9:35 PM, HandsomeboyIT wrote:
>
> Hi all,
> I'm using SoftKeyboard to simulate some K
Um, 1.6 will do this, and is probably what I would say is the "right" way in
that the implementation is very closely integrated into the system to
monitor CPU usage, network usage, wakelock usage, screen usage, etc, etc.
On Tue, Sep 15, 2009 at 5:02 AM, Walles wrote:
>
> Good point :-), here's t
sms has its own table, separate with mms.
On Sep 16, 9:23 am, hap 497 wrote:
> Hi,
>
> Can you please tell me if SMS and MMS are saved in 1 sql tables on
> android phone?
> Or each saved in its own table?
>
> Thank you.
--~--~-~--~~~---~--~~
You received this mess
Well there is a limit of 16 active threads calling into a process at once.
You might to look in the debugger at what your threads are doing.
On Tue, Sep 15, 2009 at 8:22 PM, for android wrote:
> any-one?
>
>
> On Tue, Sep 15, 2009 at 3:14 PM, for android wrote:
>
>> <>
>>
>> This happens even b
This is very intentional. It prevents applications from being able to spam
the search results without the user's consent. If they want to see your
app's results, they can click on it, and pick one of the items there. As
they do so, your results will be promoted to the top-level list.
On Tue, Se
In "people table" there is none column for last modify time.
On Sep 15, 8:38 pm, Girish wrote:
> Dear All,
>
> I would like to the get the last modification time for each Contact in
> android.provider.Contacts.People table. I have the following queries,
>
> a) Is there any column to notify that
Thank you Roman, I will find some other solution.
On Sep 15, 11:58 pm, "Roman ( T-Mobile USA)" wrote:
> Using code in the Android source directly instead of the SDK API's is
> always a risk.
> Your application might work for only a temporary time. In cases of
> framework code changes the chances
HI
http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
see this this may helpful to you...
to make like iphone
On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy wrote:
>
> > How can i make something like this:
> >
> > http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
> >
> > So i m
Hi Dianne,
Works as expected. Thanks for the explanation!
On Wed, Sep 16, 2009 at 12:48 PM, Dianne Hackborn wrote:
> This is very intentional. It prevents applications from being able to spam
> the search results without the user's consent. If they want to see your
> app's results, they can cli
This commit might be of use to you.
http://android.git.kernel.org/?p=platform/system/core.git;a=commit;h=2f38b699713dc2587a771bd5d4c6a47329728f5e
Don't be evil.
-E
On Sep 15, 6:43 pm, Raphael wrote:
> adb currently only works over USB.
>
> R/
>
> On Tue, Sep 15, 2009 at 3:07 PM, Bao wrote:
>
So, does Donut has an updated APIdemos ? I would have been helpful is the
SDK image had APIDemos in it .. Do I just need to take the cupcake ApiDemos
and install it on Donut ..
-Dan
On Tue, Sep 15, 2009 at 7:02 PM, Dianne Hackborn wrote:
> In Donut that platform support is there, but none of th
Thx!! Your method REALLY work!!
On 8月21日, 下午5時51分, Panut Sunyakorn wrote:
> VideoView video = (VideoView) this.findViewById(R.id.VideoViewIntro);
>
> Uri uri = Uri.parse("android.resource:// com.android/" + R.raw.);
> video.setVideoURI(uri);
> video.setMediaController(new MediaController(this));
On 16 Sep, 05:26, Beth wrote:
> What does the background service do, exactly? Sorry, I don't really
> want to sort through the two versions of your code.
It has a thread that wakes up regularly to take a snapshot of /proc:
http://bazaar.launchpad.net/~walles/drain-o-meter/trunk/annotate/head%3A
The race is on then, we'll see who's the first to market! Cheers :-) /
J
On 16 Sep, 06:44, Dianne Hackborn wrote:
> Um, 1.6 will do this, and is probably what I would say is the "right" way in
> that the implementation is very closely integrated into the system to
> monitor CPU usage, network u
Hi All,
Trying to troubleshoot proxy, but command as indicated in SDK
Emulator documentation results in invalid command prompt:
Documented Command:
emulator -verbose-proxy -avd
Error indicated:
unknown option: -verbose-proxy
please use -help for a list of valid options
In pre
Hi every one,
I am trying to show the .kar files and .mid files which are located in
the sdcard.
For that I have written the code like:
class MyFileFilter implements FileFilter
{
public boolean accept(File pathname)
{
if (pathname.getName().endsWith(".mid")) //
THank you.
Sms has a column PERSON_ID which saves the person ID of the sender,
but why there is such equivalent column in MMS table?
/**
* The person ID of the sender
* Type: INTEGER (long)
*/
public static final String PERSON_ID = "person";
On Tue, S
Just started testing my games in 1.6 and the first thing I notice is
that on the landscape ones, the dpad up/down/left/right orientation
doesn't switch 90 degrees like it did on all emulators before.
The device trackball/dpad will still change with orientation (right
becomes up on landscape, etc.
Just compile ApiDemos from the Donut SDK.
On Tue, Sep 15, 2009 at 10:17 PM, dan raaka wrote:
> So, does Donut has an updated APIdemos ? I would have been helpful is the
> SDK image had APIDemos in it ..
> Do I just need to take the cupcake ApiDemos and install it on Donut ..
>
> -Dan
>
>
> On Tu
All you need to do is to set different request codes in your pending
intent parameters to avoid this situation:
"The setting of this new alarm, and the throwing out of the existing
alarm is what I want to avoid."
A correction to one line of code would let you use the alarm manager
(sorry if my ea
You can ignore these.
On Tue, Sep 15, 2009 at 9:30 PM, kk wrote:
>
> Hi All,
>
> The following errors occurred during startup of Android 1.6 SDK
> Release Emulator:
>
>
> What do the following errors mean?
>
> Can these errors be ignored?
>
>
> Emulator Details:
>
>
> Target: Google APIs (API Le
> Guys, is there any particular reason for you not to include sources in
> 1.6 as well?
Sources are available at source.android.com.
--
Romain Guy
Android framework engineer
romain...@android.com
Note: please don't send private questions to me, as I don't have time
to provide private support.
Hi Murphy,
Thanks for the reply.
Will the data connection over 3G/GPRS keep alive when the CPU sleep? Will
the CPU be waked up when there is data transmition on the data connection?
James
2009/9/16 Mark Murphy
>
> Yusuf Saib (T-Mobile USA) wrote:
> > Activity.onDestroy()
>
> onDestroy() is c
Hey I've been working on the next thing for months now. As good as shipped!
;)
On Tue, Sep 15, 2009 at 10:31 PM, Walles wrote:
>
> The race is on then, we'll see who's the first to market! Cheers :-) /
> J
>
> On 16 Sep, 06:44, Dianne Hackborn wrote:
> > Um, 1.6 will do this, and is probably
201 - 240 of 240 matches
Mail list logo