[android-developers] Re: Unable to open my own apk

2012-01-24 Thread Rémy CASTALDI
Thanks for your answer. - 1st question : The way you describe is exactly what I did to obtain the 3 values I gave in my question : Microsoftware version : 2.1-update 1 Kernel version : 2.6.29 Build version : 2.0.2.A.0.24 That's the reason why I asked : What is the version of my android in those 3

[android-developers] Re: How to Increase frame rate (fps) from onPreviewFrame??

2012-01-24 Thread skink
muhammad.ume...@hotmail.com wrote: hi, I am getting frames from onPreviewFrame, compress to jpeg image with YUV and send over the network(TCP), but the problem is, i want to increase the frame rate. Now it is 4fps but i want 15fps and my image size is 4- 6 kb what can i do to increase

[android-developers] Re: Encoder???

2012-01-24 Thread skink
muhammad.ume...@hotmail.com wrote: hi, Please anyone tell me that, which encoder i can use on onPreviewFrame to create a video, and i want to send this encoded video to network, please suggest me which encoder that android support. Thanks and Regards umer -- You received this

[android-developers] Re: Unable to open my own apk

2012-01-24 Thread Zsolt Vasvari
The Android version is 2.1, which API Level 7. Make sure that in your Manifest, you have: uses-sdk android:minSdkVersion=7 android:targetSdkVersion=15/ The important value is the minSdkVersion. On Jan 24, 4:08 pm, Rémy CASTALDI remy.casta...@gmail.com wrote: Thanks

Re: [android-developers] Runtime exception while audio recording

2012-01-24 Thread Glen Cook
A couple of things to try: 1. Make sure permission is set in your manifest: uses-permission android:name=android.permission.RECORD_AUDIO/ 2. Make sure the source file's permissions are okay 3. Try calling reset() on the MediaRecorder prior to setting the source. On Fri, Jan 20, 2012 at 11:55

RE: [android-developers] Re: How to Increase frame rate (fps) from onPreviewFrame??

2012-01-24 Thread Muhammad UMER
hi, Thanks for your kind reply, I studied about MediaRecorder to capture video, but i want to send video to my server (TCP socket) live. and save this video on a file. also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to

RE: [android-developers] Re: Encoder???

2012-01-24 Thread Muhammad UMER
hi, I recive your reply empty ,Please can you do it again. Thanks umer Date: Tue, 24 Jan 2012 00:35:18 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com muhammad.ume...@hotmail.com wrote: hi, Please anyone

[android-developers] Re: Encoder???

2012-01-24 Thread skink
On Jan 24, 10:15 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: hi,        I recive your reply empty ,Please can you do it again. Thanks umer Date: Tue, 24 Jan 2012 00:35:18 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To:

Re: [android-developers] Re: How to Increase frame rate (fps) from onPreviewFrame??

2012-01-24 Thread skink
Muhammad UMER wrote: also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. just little googling gives the answer for your problem pskink -- You

RE: [android-developers] Re: Encoder???

2012-01-24 Thread Muhammad UMER
hi, Thanks for your kind reply, I studied about MediaRecorder to capture video, but i want to send video to my server (TCP socket) live. and save this video on a file. also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how

[android-developers] Contact Number

2012-01-24 Thread Bharath kumar Thota
Hi, I am a newbie to android and while developing i got stuck up at a point and there by i could not move further.Please some one help me to solve my problem. My problem is as follows.. I wanna get the phone number of a particular contact into the edit text i.e., When i select a contact from the

[android-developers] Re: Unable to open my own apk

2012-01-24 Thread Rémy CASTALDI
Thanks a lot. It works perfectly ! I didn't know this parameter to manage versioning. Thanks again. -- 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

Re: [android-developers] Re: Encoder???

2012-01-24 Thread skink
Muhammad UMER wrote: hi, Thanks for your kind reply, I studied about MediaRecorder to capture video, but i want to send video to my server (TCP socket) live. and save this video on a file. also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the

Re: [android-developers] Re: Encoder???

2012-01-24 Thread skink
Muhammad UMER wrote: also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. e.g, pfd = ParcelFileDescriptor.fromSocket(socket);

Re: [android-developers] Is Android developers website down?

2012-01-24 Thread hooman os
Cool. Thanks guys. Apparently, it was my ISP problem. On Tue, Jan 24, 2012 at 7:17 AM, Oli Wright oli.wri...@gmail.com wrote: No issues here connecting using sky broadband or 3 mobile broadband in London. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Contact Number

2012-01-24 Thread poncho
Hi, 1) You should call the contact picker using startActivityForResult 2) You should override onActivityResult and parse the data returned from the contact picker. Something like: ... Uri result = data.getData(); String id = result.getLastPathSegment(); Cursor cursor =

Re: [android-developers] Contact Number

2012-01-24 Thread Bharath kumar Thota
Hi, Thanks for the help, Could be some more clear in the ans please becoz I did not get the requirement. On Tue, Jan 24, 2012 at 3:28 PM, poncho poncho...@gmail.com wrote: Hi, 1) You should call the contact picker using startActivityForResult 2) You should override onActivityResult and

[android-developers] Re: How to reload app without restarting emulator

2012-01-24 Thread Harpreet Singh
Just re-built your project and select run as android app, even if your old app is currently running on the emulator, it'll will reinstall the new app and old one will be deleted itself (no need to uninstall your app from emulator). To check this process See CONSOLE while app is getting installed

[android-developers] Re: Possible to protect settings menu with an android app?

2012-01-24 Thread Chris Mawata
That would make sense. At the application level it is an invitation to chaos. Chris On Jan 23, 7:38 pm, Zsolt Vasvari zvasv...@gmail.com wrote: I assume the real requirement is prevent employees with messing with the phone's settings. IMO, this should probably a part of the android.app.admin

[android-developers] Re: Failed to register input channel

2012-01-24 Thread William Ferguson
Anyone? On Jan 23, 11:38 am, William Ferguson william.ferguson...@gmail.com wrote: I get about one of these errors occurring roughly every 50,000 app starts, so it's starting to occur pretty regularly now. I have never managed to make it occur on a local device so I can't check the logs for

Re: [android-developers] Re: Failed to register input channel

2012-01-24 Thread Marcelo Henrique
Device or Emulator ? Logcat ... DDMS ... is checked? 2012/1/24 William Ferguson william.ferguson...@gmail.com Anyone? On Jan 23, 11:38 am, William Ferguson william.ferguson...@gmail.com wrote: I get about one of these errors occurring roughly every 50,000 app starts, so it's starting

[android-developers] SlidingDrawer - Setting height moves the view up

2012-01-24 Thread joaocruz04
Hi, i'm having a problem: i've created a sliding drawer with a specific height, at the bottom of the screen. The problem is, when the height of the SlidingDrawer is set as fill_parent, everything works great, but when i set the height as for instance, 150dip, the SlidingDrawer moves to the top

[android-developers] Re: SlidingDrawer - Setting height moves the view up

2012-01-24 Thread Marcelo H
http://developer.android.com/guide/practices/screens_support.html On 24 jan, 08:42, joaocruz04 jtcru...@gmail.com wrote: Hi, i'm having a problem: i've created a sliding drawer with a specific height, at the bottom of the screen. The problem is, when the height of the SlidingDrawer is set

[android-developers] Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Jan Skarvall
Hi all I have discovered a problem with getting correct DST saving value, . TimeZone.getDSTSavings() normally returns 360 (1 hour), but should for timezone ID Australia/Lord_Howe return 180 (30 minutes). (See http://www.timeanddate.com/worldclock/clockchange.html?n=750) I believe that

Re: [android-developers] Re: How I use Web Services in android.?

2012-01-24 Thread unicus unicus
ok then learn how to consume soap based website in android. -- *More info*, http://androidbasic-answer.blogspot.com/ On Mon, Jan 23, 2012 at 7:18 PM, Harpreet Singh harry...@gmail.com wrote: Actually the website is developed in .NET, they are going to provide me WebServices information. I

[android-developers] Further Question

2012-01-24 Thread L0rdAli3n
I have further questions on this particular problem. Dimitri Plotnikov you wrote: 2) In releases of Android from Eclair through Gingerbread integrated editing of 3rd party contacts is poorly supported. The trick is to insert a data row, Edit in MyApp, which would take the user to your app and

Re: [android-developers] Re: getApplicationContext() returns null?

2012-01-24 Thread Mark Murphy
On Tue, Jan 24, 2012 at 2:16 AM, Zsolt Vasvari zvasv...@gmail.com wrote: In a Service...   Actually, it's WakefulIntentService, extending your class. I only got a single report of this failure (I use ACRA) and it's in a commonly executed code. That's pretty bizarre. A fair amount of work

Re: [android-developers] Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Mark Murphy
I know some tricks are played with the time zone database, compared to regular Java environments, simply for performance issues. It used to be the first time you used something that touched time zones that your app would freeze for a full second while the database was loaded. Now, they pre-load

[android-developers] Question about animation

2012-01-24 Thread Daniel Rindt
Hello, i would animate a VideoView what scales up and switch then to fullscreen. My code looks like: final VideoView videoView = (VideoView) findViewById(R.id.video_view); final ObjectAnimator x = ObjectAnimator.ofFloat(this, x, 0); x.setTarget(videoView); final ObjectAnimator y =

Re: [android-developers] Re: NFC Secure Element

2012-01-24 Thread s.rawat
Hi Michael* ** *. Yes i have followed the aforesaid method but as soon as I execute these commands.: *Step 1) Polling for the MIFARE 1K/4K Tags, 106 kbps* FF 00 00 00 04 D4 4A 01 00 * d5 4b 00 90 00* ( I am getting this) - which shows no NFC tag. and 63 00 for rest of the of the commands. I am

Re: [android-developers] Question about animation

2012-01-24 Thread Mark Murphy
I doubt that will work, as VideoView is backed by a SurfaceView, which doesn't play by the same rules. On Android 4.0, you could try replacing the VideoView with a MediaPlayer and a TextureView. TextureView can be animated, IIRC. On Tue, Jan 24, 2012 at 7:27 AM, Daniel Rindt

[android-developers] android.holo.cts.HoloTest CTS Failure

2012-01-24 Thread anup Jaipurkar
Hi all, Observing CTS test failure with the following logs. Can someone please help on this. 01-02 00:30:59.539 W/InputManagerService( 319): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@420123e0 (uid=10072 pid=2762) 01-02 00:30:59.569 D/memalloc(

Re: [android-developers] android.holo.cts.HoloTest CTS Failure

2012-01-24 Thread Mark Murphy
Visit http://source.android.com for firmware-related issues, which includes CTS. On Tue, Jan 24, 2012 at 7:53 AM, anup Jaipurkar androida...@gmail.com wrote: Hi all, Observing CTS test failure with the following logs. Can someone please help on this. 01-02 00:30:59.539

[android-developers] Re: How I use Web Services in android.?

2012-01-24 Thread Harpreet Singh
Thanks Sir. Today I also get requirements what I need. So I had to use Soap Service, in which I have to access a checklogin method and match my UserName and Password with the method data and then get the access to next service. Any suggestion regarding this. Thanks for the link, studying that

[android-developers] Re: How I use Web Services in android.?

2012-01-24 Thread Harpreet Singh
Actually I have to develop the app in form that the user access id pwd has to be checked from site and get the response. User should always be on app, I dont have to take him to any website, he has to access everything on app. :) On Jan 24, 4:28 pm, unicus unicus unicus...@gmail.com wrote: ok

[android-developers] por favor, divulguem!!! Pinheirinho

2012-01-24 Thread Guilherme Lunhani
Sorry for this message in forum, but what is happening in Brazil IS VERY, VERY IMPORTANT, and needs visibility... For those who not speak portuguese to... READ THE EMAIL below the news in portuguese ...Please share this, please... https://www.facebook.com/guzz.junqueira/posts/142712285845718

Re: [android-developers] por favor, divulguem!!! Pinheirinho

2012-01-24 Thread Marcelo Henrique
Olha o que foi para no Android Dev Internacional. so repassando 2012/1/24 Guilherme Lunhani gcravi...@gmail.com Sorry for this message in forum, but what is happening in Brazil IS VERY, VERY IMPORTANT, and needs visibility... For those who not speak portuguese to... READ THE EMAIL below

[android-developers] Re: Failed to register input channel

2012-01-24 Thread William Ferguson
Remote device so I don't have added to logcat or DDMS. On Jan 24, 8:39 pm, Marcelo Henrique marceloh...@gmail.com wrote: Device or Emulator  ?  Logcat ...  DDMS  ... is checked? 2012/1/24 William Ferguson william.ferguson...@gmail.com Anyone? On Jan 23, 11:38 am, William Ferguson

Re: [android-developers] Can´t create an AudioRecorder object

2012-01-24 Thread Ben Taliadoros
Hi Gabriel, I would like to express I am facing the same issue as you stated below, have you fixed it yet? I have found using a sample rate of 8192 works too, although I still get the same errors. at least 8192 goes into the buffersize exactly (and is power of 2). Also I read your other

Re: [android-developers] Question about animation

2012-01-24 Thread Daniel Rindt
Thanks for your quick answer, i have API Level 11 available for the application, so the compatibility package may help here? Another idea is to render one frame of the video in a hidden fullscreen element, then shrink it down and animate it. I think poeple can neglect that the video is not

Re: [android-developers] Question about animation

2012-01-24 Thread Mark Murphy
On Tue, Jan 24, 2012 at 9:43 AM, Daniel Rindt daniel.ri...@googlemail.com wrote: i have API Level 11 available for the application, so the compatibility package may help here? No, sorry. Another idea is to render one frame of the video in a hidden fullscreen element, then shrink it down and

RE: [android-developers] Unable to send text messages on some Android Phones using SmsManager

2012-01-24 Thread Admin
Any idea how to fix this guys? I posted this on StackOverflow, tried the IRC channel and I am posting this here, where else I should look for answers? Can I contact anybody at Google about this? Thanks! -Original Message- From: android-developers@googlegroups.com

[android-developers] Android update location problem

2012-01-24 Thread suresh
Hi Friends Am using alcatel 890D mobile. Recently we have developed one location tracking application. the app is working in Samsung mobile but it is not working in alcatel it is continuously giving same location even if mobile is moving some where. please help me on this. Regards Suresh K --

[android-developers] What should be the layout to view the data and the menu here?

2012-01-24 Thread Satyajit Sarangi
package com.example.testcode; import android.app.Activity; import android.app.ListFragment; import android.app.LoaderManager; import android.content.CursorLoader; import android.content.Loader; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import

[android-developers] Google cloud print

2012-01-24 Thread aru padam
Hi all, Any idea about the google cloud print in android application. Thanks and Regards -- 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

Re: [android-developers] Re: How to set the preferred APN through code?

2012-01-24 Thread Tom
I haven't actually tried it myself so I can't answer your question definitively, but my understanding was that it is no longer possible to write any elements of the access point. See this issue: http://code.google.com/p/android/issues/detail?id=24227 -- You received this message because you

Re: [android-developers] Google cloud print

2012-01-24 Thread Kristopher Micinski
http://www.slideshare.net/wolfpaulus/android-print-intent-8431140 On Tue, Jan 24, 2012 at 10:25 AM, aru padam deepesh...@gmail.com wrote: Hi all,    Any idea about the google cloud print in android application. Thanks and Regards -- You received this message because you are subscribed to

[android-developers] Re: Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Jan Skarvall
Thanks! I forgot to include main.xml. You may either remove the lines: ((TextView) findViewById(R.id.getdstsavings)) .setText(TimeZone.getDSTSavings() == + String.valueOf(getdstsavings)); ((TextView) findViewById(R.id.caldstsavings))

Re: [android-developers] Re: Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Mark Murphy
Oh, sorry, the I would file meant that I suggest that *you* file the issue... :-) On Tue, Jan 24, 2012 at 11:33 AM, Jan Skarvall jan.skarv...@telia.com wrote: Thanks! I forgot to include main.xml. You may either remove the lines:                ((TextView) findViewById(R.id.getdstsavings))

[android-developers] Re: Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Jan Skarvall
I just reported it, se http://code.google.com/p/android/issues/detail?id=24684 Jan On Jan 24, 5:33 pm, Jan Skarvall jan.skarv...@telia.com wrote: Thanks! I forgot to include main.xml. You may either remove the lines:                 ((TextView) findViewById(R.id.getdstsavings))          

Re: [android-developers] Re: Does GregorianCalendar use another TimeZone implementation than what is available to an App?

2012-01-24 Thread Mark Murphy
On Tue, Jan 24, 2012 at 12:02 PM, Jan Skarvall jan.skarv...@telia.com wrote: I just reported it, se http://code.google.com/p/android/issues/detail?id=24684 Cool, I'll keep an eye on it. I really feel like adding a joke here about Lord Howe needing a watch that kept better time and wasn't always

Re: [android-developers] Android update location problem

2012-01-24 Thread TreKing
On Tue, Jan 24, 2012 at 9:07 AM, suresh sureshmca.sv...@gmail.com wrote: it is not working in alcatel it is continuously giving same location even if mobile is moving some where. please help me on this. First question: do other apps show the same behavior or is it just you?

[android-developers] What is the error in this code?

2012-01-24 Thread Satyajit Sarangi
What is the error in this code? How to debug it? package com.example.testcode; import android.app.ListActivity; import android.app.LoaderManager; import android.content.CursorLoader; import android.content.Loader; import android.database.Cursor; import android.net.Uri; import android.os.Bundle;

Re: [android-developers] What is the error in this code?

2012-01-24 Thread TreKing
On Tue, Jan 24, 2012 at 11:15 AM, Satyajit Sarangi writetosatya...@gmail.com wrote: What is the error in this code? Are you quizzing us or do you just want us to do your work? How to debug it? With the aptly named debugger.

Re: [android-developers] What is the error in this code?

2012-01-24 Thread Satyajit Sarangi
Erm. This doesn't compile. Else, I would have debugged and found my problem. Implementing loaders for the first time thus facing such problems. The initial code was in fragments. Removed that to implement ListActivity. Do tell me where I am going wrong. On Tue, Jan 24, 2012 at 10:55 PM, TreKing

[android-developers] Re: Scroll View

2012-01-24 Thread Oliviu Vais
Anybody? I am really stuck with this. Any idea is useful. On Jan 23, 5:18 pm, Oliviu Vais oliviu.v...@gmail.com wrote: I am trying to scroll a HorizontalScrollView by 2 buttons, one left, one right. What am i doing wrong? Which one to choose? sw - scroll view public boolean onTouch(View v,

Re: [android-developers] What is the error in this code?

2012-01-24 Thread Jim Graham
On Tue, Jan 24, 2012 at 11:01:57PM +0530, Satyajit Sarangi wrote: Erm. This doesn't compile. Else, I would have debugged and found my problem. Implementing loaders for the first time thus facing such problems. The initial code was in fragments. Removed that to implement ListActivity. Do

Re: [android-developers] UI requirement

2012-01-24 Thread tarun sablok
Use scroll view as the root element .. and use a composite view i.e extend the Linear Layout class and provide your implementation of the Header and the checkboxes which you want ... and every time add that to your scroll view when ever the button is clicked. hope this pointer

[android-developers] How to merge two amr files to a single file?

2012-01-24 Thread Raneez
I have recorded two amr files using MediaRecorder. Now i want to combine them. Please direct me to achieve this task. -- 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

Re: [android-developers] Google cloud print

2012-01-24 Thread Oli Wright
Hang on, didn't you post this same question a while 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

Re: [android-developers] What is the error in this code?

2012-01-24 Thread TreKing
On Tue, Jan 24, 2012 at 11:31 AM, Satyajit Sarangi writetosatya...@gmail.com wrote: Erm. This doesn't compile. Else, I would have debugged and found my problem. 7) You have to learn Java and how to use your IDE to fix basic compiler errors. This is not an Android problem, thus does not

Re: [android-developers] Re: How to set the preferred APN through code?

2012-01-24 Thread Sayed Atif Ali
Hi, What I infer from your code is that you haven't added the APN first into the database. You need to first write the APN settings into the database before updating the preferred APN code. The following links will be helpful in making you understand and resolve the issue:

Re: [android-developers] SlidingDrawer - Setting height moves the view up

2012-01-24 Thread YuviDroid
Are you setting fill_parent to the SlidingDrawer or RelativeLayout (in your code there is 200dp, so I'm not sure)? Anyway, since you are using a RelativeLayout you can try setting on the SlidingDrawer android:layout_alignParentBottom=true. (maybe though you'll need to set the RelativeLayout height

Re: [android-developers] Scroll View

2012-01-24 Thread TreKing
On Mon, Jan 23, 2012 at 9:18 AM, Oliviu Vais oliviu.v...@gmail.com wrote: What am i doing wrong? Well you didn't really explain what the problem is. I'm trying to do X is not a problem. What have you debugged and learned so far? What is actually not working?

[android-developers] Re: How to keep -pre-build across android update project?

2012-01-24 Thread petter
Seem to be a known issue: http://code.google.com/p/android/issues/detail?id=23225 -- 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

Re: [android-developers] Scroll View

2012-01-24 Thread Marcelo Henrique
xml logcat ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/ScrollView02 android:layout_width=wrap_content android:layout_height=wrap_content xmlns:android=http://schemas.android.com/apk/res/android; HorizontalScrollView

[android-developers] Re: Scroll View

2012-01-24 Thread Oliviu Vais
I thought it's clear enough. I have a HorizontalScrollView at the bottom of my screen. I want to scroll it left and right by using 2 buttons that are on each side(one for left scroll, one for right). I do not need help in setting the Xml. I need help for the Java class, i cant get my buttons to

Re: [android-developers] Re: Scroll View

2012-01-24 Thread Marcelo Henrique
you need viewpager http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html http://developer.android.com/reference/android/support/v4/view/ViewPager.html 2012/1/24 Oliviu Vais oliviu.v...@gmail.com I thought it's clear enough. I have a HorizontalScrollView

[android-developers] android browser

2012-01-24 Thread cindy
Hi All. I read the news that google is going to open android browser. Where can I find the source code ? Thanks! Cindy -- 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] Re: Scroll View

2012-01-24 Thread Oliviu Vais
I don't think so. This viewpager is for dragging. On Jan 24, 11:23 pm, Marcelo Henrique marceloh...@gmail.com wrote: you need viewpager http://android-developers.blogspot.com/2011/08/horizontal-view-swipin... http://developer.android.com/reference/android/support/v4/view/ViewPa...

Re: [android-developers] Re: Scroll View

2012-01-24 Thread TreKing
On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais oliviu.v...@gmail.com wrote: I thought it's clear enough. Nope =) I need help for the Java class, i cant get my buttons to scroll continous, they scroll only once when i click them. I need them to scroll to the end of the View but not at once,

Re: [android-developers] android browser

2012-01-24 Thread Mark Murphy
http://source.android.com The source code to the stock Browser has been available since sometime in 2008 IIRC. For further assistance with the source code, visit http://source.android.com and find a suitable Google Group under the Community tab. This list is for developing applications with the

[android-developers] system/bin/dalvikvm command/

2012-01-24 Thread nir apple
Hi, I want to use the adb shell command: dalvikvm in order to start a new dalvik virtual machine When i try to use it like this: dalvikvm Myclass .it doesn't work When looking at logcat i see that the following error: can't open dex cache /data/dalvik-cache.. As i read this is because i don't

[android-developers] Re: system/bin/dalvikvm command/

2012-01-24 Thread nir apple
slight correction. after changing the ANDROID_DATA variable my new dex errors are: that it can't find system.framework.jar.classes.dex and more. sounds reasonable that is can't find them since they are probably at / data/... but why do we need them? and this returns me to my first questions: is

Re: [android-developers] Re: system/bin/dalvikvm command/

2012-01-24 Thread Kristopher Micinski
http://www.milk.com/kodebase/dalvik-docs-mirror/docs/hello-world.html http://www.netmite.com/android/mydroid/2.0/dalvik/docs/embedded-vm-control.html will be of interest to you.. kris On Tue, Jan 24, 2012 at 6:16 PM, nir apple apple@gmail.com wrote: slight correction. after changing the

Re: [android-developers] Re: system/bin/dalvikvm command/

2012-01-24 Thread Kristopher Micinski
I should mention: why are you doing this? If you feel like you need to do this, you are probably doing something wrong. There aren't too many reasons you would need to do this, the only time I've ever done this was when I was actually hacking the vm source. If this is what you intend to do,

[android-developers] Re: getApplicationContext() returns null?

2012-01-24 Thread Zsolt Vasvari
Is there a particular reason why you are calling getApplicationContext().getResources(), rather than just getResources()? getResources() is available on Service as well. I honestly don't know/remember why Let me turn the question around, why are you using getApplicationContext()? For

Re: [android-developers] Re: getApplicationContext() returns null?

2012-01-24 Thread Mark Murphy
On Tue, Jan 24, 2012 at 7:27 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I honestly don't know/remember why  Let me turn the question around, why are you using getApplicationContext()? For example, your sendWakefulWork() looks like this, why?    public static void sendWakefulWork(Context

[android-developers] Re: getApplicationContext() returns null?

2012-01-24 Thread Zsolt Vasvari
Ok, thanks. That makes sense. I will try changing my code to not to use getApplicationContext() On Jan 25, 8:37 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jan 24, 2012 at 7:27 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I honestly don't know/remember why  Let me turn the

[android-developers] Are NPOT textures compressed to ETC format supported on SGX540 GPUs?

2012-01-24 Thread markusn82
I noticed today that my OpenGL game was crashing when attempting to load an NPOT texture compressed using ETC format into an SGX540 (Galaxy Nexus to be specific). The stacktrace in the log showed that the crash was happening in the SGX driver. When I run the same code by only change the texture to

[android-developers] Another free lunch tomorrow for SF devs, from Flurry

2012-01-24 Thread Peter Farago
Hi everyone, As you may have seen from previous emails, we're doing a series of insanely popular free lunches by our office in SF with top, gourmet food trucks. They fill up super fast, but there are still a few spots left for tomorrow. Just sign up here:

[android-developers] Re: android browser

2012-01-24 Thread cindy
Thank you for the information. Then what is the meaning of following news release: http://androidcommunity.com/android-web-browser-goes-open-source-chrome-incoming-20110823/ Dose it means the open source android browser will get better? Thanks! April On Jan 24, 2:39 pm, Mark Murphy

[android-developers] Re: Logcat is broken every time phone is unplugged

2012-01-24 Thread Keith Wiley
The following appears in the Console window when I plug the usb cable into the phone. Any ideas? [2012-01-24 18:27:21 - Unexpected error while launching logcat. Try reselecting the device.] device not found com.android.ddmlib.AdbCommandRejectedException: device not found at

[android-developers] Re: Strange behavior with Theme.DeviceDefault.Light

2012-01-24 Thread Ricardo Amaral
No one else noticed this problem? Are you all using the default/dark theme? This isn't an issue for you guys? -- 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

[android-developers] RelativeLayout created in Java not XML - is this possible?

2012-01-24 Thread Guy Smith
I want to create a RelativeLayout in Java code, rather than using the XML format. It seems RelativeLayout.LayoutParams.addRule() would be the way to add relative positioning constraints. However, this doesn't take a View anchor argument, just an int anchor argument. Does this mean you can only

Re: [android-developers] Spinner example has no prompt

2012-01-24 Thread Ray Tayek
At 02:21 AM 1/23/2012, you wrote: At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... found clue:

[android-developers] Re: RelativeLayout created in Java not XML - is this possible?

2012-01-24 Thread Kookamonga
If I understand you correctly, this is certainly possible. The integer argument is an ID, so you just have to call setId() on your programmatically created views first (where each ID is unique...), and then use view.getId() in the addRule() method. See here for a somewhat more complete

[android-developers] Android GPS within a rectangular area

2012-01-24 Thread coollearner
This is my code objective: I want an android application to start to trigger connecting to server and sending the latitude and longitude only when the phone (being used in a car) is within a road area ( say an area 1km x 30m ). It is continuously listening to its location but will start sending to

[android-developers] Re: Another free lunch tomorrow for SF devs, from Flurry

2012-01-24 Thread John Coryat
There's no such thing as a free lunch! -- 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

Re: [android-developers] Spinner example has no prompt

2012-01-24 Thread Ray Tayek
At 07:07 PM 1/24/2012, you wrote: At 02:21 AM 1/23/2012, you wrote: At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... found clue:

Re: [android-developers] Re: How I use Web Services in android.?

2012-01-24 Thread Bhaumik Thaker
u can refer stackoverflow for this it may help u a lot On Tue, Jan 24, 2012 at 6:59 PM, Harpreet Singh harry...@gmail.com wrote: Actually I have to develop the app in form that the user access id pwd has to be checked from site and get the response. User should always be on app, I dont

Re: [android-developers] Re: How I use Web Services in android.?

2012-01-24 Thread Shubhangi
hello I have used a web service created in .NET in android in my application. so please let me knw what exactly you want to do. so that i can send u demo example for this thank you regards On Wed, Jan 25, 2012 at 10:12 AM, Bhaumik Thaker bgtha...@gmail.com wrote: u can refer stackoverflow

[android-developers] CTS on android emulator

2012-01-24 Thread anup Jaipurkar
Hi All, We are running CTS on android emulator. android.holo.cts.HoloTest is failing on emulator. Is this failure because, I am using an emulator and it wont be the case on actual target?? In other words, if some package is failing on emulator, is it sure that the same will fail on target also??

Re: [android-developers] Android GPS within a rectangular area

2012-01-24 Thread Kristopher Micinski
The problem you are trying to solve is very common, google point in polygon kris On Tue, Jan 24, 2012 at 10:14 PM, coollearner josephmmagt...@gmail.com wrote: This is my code objective: I want an android application to start to trigger connecting to server and sending the latitude and

[android-developers] Re: Re : onclick button

2012-01-24 Thread vivek elangovan
Hi Ratheesh, Here is my scenario i m listing images with text using ListActivity,what i have to do is on clicking the text or imgae i have to display another list of details for the corresponding one.When i m using ImageAndTextAdapter activity i can build my application but

Re: [android-developers] Re: Re : onclick button

2012-01-24 Thread Mukesh Srivastav
Please Paste your Logs here so that it will be easy to understand your issue. secondly check the activity is declared in the AndroidManifest file. Third, instead of calling the activity directly , have a console message see whether it appears on the loglist. -- Warm Regards, *Mukesh Kumar*,

Re: [android-developers] Re: Another free lunch tomorrow for SF devs, from Flurry

2012-01-24 Thread Mukesh Srivastav
Out of Android Development topic. Mate, find a different forum. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Jan 25, 2012 at 9:05 AM, John Coryat cor...@gmail.com wrote: There's no such thing as a free lunch! -- You received this message because

[android-developers] Re: ACTION_POWER_CONNECTED broadcast receiver not recognize by ICS

2012-01-24 Thread cl
I hope this is a software bug, and can be fixed in next firmware release, maybe 4.0.4. On Jan 24, 8:36 am, Mark Murphy mmur...@commonsware.com wrote: You cannot register for ACTION_BATTERY_CHANGED from the manifest. It has to be via registerReceiver() in Java code. On Mon, Jan 23,

[android-developers] Re: ACTION_POWER_CONNECTED broadcast receiver not recognize by ICS

2012-01-24 Thread cl
I hope this (ACTION_POWER_CONNECTED) is a software bug, and can be fixed in next firmware release, maybe 4.0.4. On Jan 25, 2:17 pm, cl cllam2...@gmail.com wrote: I hope this is a software bug, and can be fixed in next firmware release, maybe 4.0.4. On Jan 24, 8:36 am, Mark Murphy

[android-developers] help on uploading image to server

2012-01-24 Thread chowdary nani
Hi all, I am trying to upload image to php server but it is not up loading here is my following code public class ImageUpload extends Activity { Bitmap bm; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

  1   2   >