Re: [android-developers] Protecting Apps - listening for application launches

2010-10-26 Thread Mark Murphy
On Tue, Oct 26, 2010 at 1:58 AM, Mark Murphy mmur...@commonsware.com wrote: And if you are able to pull that off, you are exploiting a security hole. Somebody else could create an app that does what you propose, but the only way to get the password is to pay a ransom. To clarify: I don't have

[android-developers] Re: MediaRecorder create the file almost 10 seconds later after start recording

2010-10-26 Thread cindy
following is my code: mRecorder=null; mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);

[android-developers] Re: How register weekly alarm?

2010-10-26 Thread Tim
Thanks Mark. I am using INTERVAL_DAYwith setRepeating(...,long interval,...). Still, any workaround/solution for weekly alarm? On Oct 26, 1:56 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 26, 2010 at 1:50 AM, Tim tim.ka...@gmail.com wrote: Hi Guys, AlarmManager.setRepeating()

[android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread AJ
Hi Mark, And if you are able to pull that off, you are exploiting a security hole. Somebody else could create an app that does what you propose, but the only way to get the password is to pay a ransom. This also be achived by making some app which will ask for password and listen to

Re: [android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread Mark Murphy
On Tue, Oct 26, 2010 at 2:08 AM, AJ ajeet.invinci...@gmail.com wrote: This also be achived by making some app which will ask for password and listen to ACTION_PACKAGE_INSTALL broadcast action. Then nobody will be able to install app without the password. Is this also a loop hole? No, because

Re: [android-developers] Re: How register weekly alarm?

2010-10-26 Thread Mark Murphy
On Tue, Oct 26, 2010 at 2:06 AM, Tim tim.ka...@gmail.com wrote: Thanks Mark. I am using INTERVAL_DAYwith setRepeating(...,long interval,...). INTERVAL_DAY is used with setRepeatingInexact(). The value happens to be correct for use with setRepeating(), though. Still, any workaround/solution

[android-developers] Facebook connect for android

2010-10-26 Thread Prajakta Shitole
Hi, I am trying to use the Facebook SDK for android but It gives me runtime errors (ClassCastException) when i include the com.facebook.android.LoginButton as the login button. Please can anyone let me know if they have used Facebook connect in their application and the steps that are to be

[android-developers] Re: please, fix website

2010-10-26 Thread Bob Kerns
The site works fine for me on my Android device, and on my iPhone, and my PC, straight out of the box. You DO know how to pan and zoom your device's browser, right? I really do NOT understand why anyone would set their text size on a mobile device! Exactly how is that going to make the site more

[android-developers] Re: Limitations of the MapView and MapActivity design

2010-10-26 Thread gjs
Hi, I found that one map activity will interfere (greatly) with another map activity if the second is started from the first. But if you display some other non map activity between these two map activities then both map activities seem work ok. To get around these issues of needing to have two

[android-developers] Re: How register weekly alarm?

2010-10-26 Thread Tim
Mark, I found a pieces of codes in Android, as below: // com.android.server.BackupManagerService.startBackupAlarmsLocked(long) mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, when, BACKUP_INTERVAL + random.nextInt(FUZZ_MILLIS), mRunBackupIntent); // where

[android-developers] Re: New ADT available.

2010-10-26 Thread Zarah Dominguez
Is it just me, or did I also lose the hierarchyviewer when I upgraded the ADT? It is not in the /tools folder anymore. *grumpy* On Oct 14, 1:44 am, authorwjf author...@gmail.com wrote: My conclusion is that 0.9.9 is not ready for prime time; I recommend everyone to avoid it. Well said,

[android-developers] Re: How to handle Home Button

2010-10-26 Thread mort
On 25 Okt., 20:11, Miguel Morales therevolti...@gmail.com wrote: Try overriding your onFinish() or onPause(), you might be able to do what you're trying to do there. onFinish() is only invoked for the back button, unless you finish() in onPause(). Handling the Home button is only possible if

Re: [android-developers] Re: How to handle Home Button

2010-10-26 Thread Kumar Bibek
I am a bit confused as to under what circumstances one would like to handle the Home Screen button. On Tue, Oct 26, 2010 at 12:22 PM, mort m...@sto-helit.de wrote: On 25 Okt., 20:11, Miguel Morales therevolti...@gmail.com wrote: Try overriding your onFinish() or onPause(), you might be able

[android-developers] Re: android game

2010-10-26 Thread fairfriend
HI, Try running your application in debug mode and put a check point in onTouchEvent method so that u can check why and where its giving error. On Oct 26, 8:54 am, nena joy nenaj...@gmail.com wrote: Hello,      Now I am trying to create an android game. Game is in the book    Apress - pro  

[android-developers] View.playSoundEffect(SoundEffectConstants.CLICK); is not playing sound.

2010-10-26 Thread Mutturaj
Hi All, I am using view.playSoundEffect(SoundEffectConstants.CLICK); to play the sound on clicking the view. But i am not getting any sound. Can any one help me to come out of this??? Thanks, Ajj -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] urgent help-- how to send audio record out in real time mode

2010-10-26 Thread cindy
Hi Friend, I have faced on big problem. I can use AudioRecord to pull the audio data out. But the format is PCM, which is too huge to sent out through network. Does any one know how to change it to AMR ? A lot of thanks! Cindy -- You received this message because you are subscribed to the

[android-developers] Application Losing Connectivity after 30 minutes (on Wifi)

2010-10-26 Thread Alok Kulkarni
Hi, I have an application which continuously fetches data from the server , downloads and plays songs ..My app runs on WiFi. After around 30 minutes , the application loses connectivity .. At that point of time if a browser is opened it connects to the internet.. But my app has lost

Re: [android-developers] Application Losing Connectivity after 30 minutes (on Wifi)

2010-10-26 Thread Mark Murphy
You may need a WakeLock and WifiLock, if the device is falling asleep. On Tue, Oct 26, 2010 at 3:28 AM, Alok Kulkarni kulsu...@gmail.com wrote: Hi, I have an application which continuously fetches data from the server , downloads and plays songs ..My app runs on WiFi. After around 30 minutes

[android-developers] Re: Animation startOffset failing, 2.1 bug?

2010-10-26 Thread Cardy
If anyone else encounters this problem, there is a work around here: http://stackoverflow.com/questions/4014331/android-animation-startoffset-broken-or-buggy On Oct 25, 1:00 pm, Cardy andy.ca...@gmail.com wrote: Anyone? No-one can relate to this, or even try to see if they get the same results?

[android-developers] Re: Facebook connect for android

2010-10-26 Thread Zarah Dominguez
Hi Prajakta, Did you include the actual class of the LoginButton? You must also refer to the login button class in your xml instead of the normal button class. your.package.name.LoginButton/your.package.name.LoginButton Best regards, Zarah. On Oct 26, 2:26 pm, Prajakta Shitole

[android-developers] Re: urgent help-- how to send audio record out in real time mode

2010-10-26 Thread cindy
I found a class called AmrInputStream.java in Android's open source tree. But it is not included in android SDK? has anyone use that? On Oct 26, 12:21 am, cindy ypu01...@yahoo.com wrote: Hi Friend, I have faced on big problem. I can use AudioRecord to pull the audio data out. But the format

Re: [android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread Dianne Hackborn
And it is sent after the package is already installed. On Mon, Oct 25, 2010 at 11:10 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 26, 2010 at 2:08 AM, AJ ajeet.invinci...@gmail.com wrote: This also be achived by making some app which will ask for password and listen to

[android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread AJ
Thanks Mark and Dianne for the clarification Thanks, AJ On Oct 26, 1:08 pm, Dianne Hackborn hack...@android.com wrote: And it is sent after the package is already installed. On Mon, Oct 25, 2010 at 11:10 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 26, 2010 at 2:08 AM, AJ

[android-developers] Widget Configure Activity Issue - ANRs on device, OK in debugger

2010-10-26 Thread Alex
I have a Configure Activity for a simple widget. Everything works fine with the debugger attached, but when I run the app on a standalone device it ANRs when loading the Configure Activity view. It is proving difficult to debug, as with the debugger attached, it always works fine. The LogCat

[android-developers] To open a new image after clicking a imageButton/how to use onclick

2010-10-26 Thread Alok Upadhyay
Hii all, I have three Image buttons as: 1.Sequences(This is an image having) 2.Videos(a video file) 3.Information(this is an image file) Now what i want is that as user clicks on the imageButton Sequences a new image should be open .when clicks on Videos, a new video shoul be open and when

Re: [android-developers] How to support hard T9 keyboard on android?

2010-10-26 Thread Marcin Orlowski
On 22 October 2010 08:56, cee1 fykc...@gmail.com wrote: Hi all, I've got a cell phone with a hard T9 keyboard and running android 2.1. I need to get T9 keyboard function well on android, How? I searched some information (http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html), can I

Re: [android-developers] Startup App

2010-10-26 Thread Marcin Orlowski
On 22 October 2010 06:47, BostonGuy sant...@sharan.me wrote: I have been assigned the task to use an android tablet to run a single app in an enterprise setting. Ideally, when one switches on the tablet this app should be loaded perhaps during startup Register receiver on BOOT_COMPLETED and

[android-developers] Re: Spinner: crash when selected

2010-10-26 Thread Khetzal
No, i've try with this for the context, with getApplicationContext() too, with getParent() and with getContext(), but always the same problem. I've read somewhere that is because i try to make my spinner in an Activity created by an other Activity which is in a tabview. Finally, i use a simple

[android-developers] Re: How to handle Home Button

2010-10-26 Thread mort
On 26 Okt., 08:55, Kumar Bibek coomar@gmail.com wrote: I am a bit confused as to under what circumstances one would like to handle the Home Screen button. As said, the most common use I stubled upon are lock screen widgets (usually rather Activities with FLAG_SHOW_WHEN_LOCKED). Esp. if such

[android-developers] Re: applying a theme to an appwidget

2010-10-26 Thread mort
It seems that the background property is one thing that cannot be updated through RemoteViews. Indeed, even the generic reflection functions (setInt, setLong, ...) didn't seem to work for me. But you can use a combination of FrameView and ImageView, and then use setImageViewResource for the

[android-developers] Re: How register weekly alarm?

2010-10-26 Thread Tim
I have a mistake. Actually, weekly alarm works with interval set to 7*INTERVAL_DAY. The question changed to how make monthly/yearly alarm? Thanks! On Oct 26, 2:12 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 26, 2010 at 2:06 AM, Tim tim.ka...@gmail.com wrote: Thanks Mark. I

[android-developers] Remove tabs on click event

2010-10-26 Thread umakantpatil
Im developing android app which uses tabwidget in android. There 5 tabs which has 5 activities to do. Like my first tab shows list of articles. When i click on any article i call setContentView(R.layout.singlearticle); and detail page is opened. Now at the same time when detailed page is open.

[android-developers] TranslateAnimation doesn't animate straight (X-only) but also in Y-direction (diagonal)

2010-10-26 Thread Mathias Lin
I have a TranslateAnimation that shall animate a LinearLayout (isScrollContainer) to the left and to the right along the x-axis. The animation to the left works and the animation is straight - means that the view is animated horizontally only. But the animation left to right doesn't work:

[android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread Suwon Ganesh
Can any one help me out in this ?? Give me some suggestion atleast.. Br, ganesh r. On Oct 26, 12:38 pm, Jack Ganesh ganesh...@gmail.com wrote: Hi All., My appication is used across different devices. For all device (SPH- D800,MOTO-Droid. etc) i force to make use of one string.xml and one

[android-developers] EditText

2010-10-26 Thread yanamala siddaiah
In editText I set text as $ . I dont want to edit before $ symbol . i.e edit text doesnt want take any value before $ . ex: $adfdfd correct ad$dsdff wrong . like this . how to restrict this one .pls help me . -- You received this message because you are

[android-developers] Re: Application still Running After Exit

2010-10-26 Thread mort
On 25 Okt., 20:18, Kostya Vasilyev kmans...@gmail.com wrote: Yes, I also get those, and respond back that Android is different. I mostly do that as well, sometimes in pretty long mails... Educating users is better than implementing kludges that users wish on a whim. ... but I think it's a

[android-developers] Re: New ADT available.

2010-10-26 Thread Lance Nanek
Isn't it in tools/lib, not tools? I used it recently... On Oct 26, 2:49 am, Zarah Dominguez zarahj...@gmail.com wrote: Is it just me, or did I also lose the hierarchyviewer when I upgraded the ADT? It is not in the /tools folder anymore. *grumpy* On Oct 14, 1:44 am, authorwjf

[android-developers] Speed from GPS

2010-10-26 Thread tarek attia
Dear all, Just in my application I want to get the speed of the android device using the GPS,so I use the api of location.getspeed() http://developer.android.com/reference/android/location/Location.html#getSpeed%28%29 However all the speed I got is just incorrect ,,,and the values are very

[android-developers] Re: New ADT available.

2010-10-26 Thread Zarah Dominguez
The .jar is in tools/lib, but there should be a .bat file in /tools. Found this thread: http://groups.google.com/group/android-developers/browse_thread/thread/30124afa7a708c96 with instructions on how to recreate the lost .bat file. Best regards, Zarah. On Oct 26, 6:23 pm, Lance Nanek

[android-developers] Context Menu long press and onTouch event conflicting

2010-10-26 Thread stanchat
I have a situation where I have some textview on a framelayout that I have a onTouch event wired in order to simulate dragging. I alos want to enable the ability to have a context menu display when the user long presses the textview. Now that I have implemented the context menu functionality

RE: [android-developers] Speed from GPS

2010-10-26 Thread lloyd
I recently tried this myself and found it to be correct. The speed given is in Meters/Sec. I wrote logic to convert to MPH. I then went for a drive in my car. The displayed speed matched the speedometer in my car from 0 to 65 MPH. I was happy. -Original Message- From:

[android-developers] android automation testing tools for std android apps and other apps??

2010-10-26 Thread Nency Robert
Hi all, Can you suggest automation testing tools for std android apps? Thanks, Nency -- 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,

[android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread Noah
Thanks for your responses, Mark. I understand your reasoning. I guess I'm just confused how there are so many app protector applications in the Market if this isn't officially supported. Are they all using security holes to listen for application launches and protect them via password? On Oct 26,

Re: [android-developers] Speed from GPS

2010-10-26 Thread Daniel Drozdzewski
On Tue, Oct 26, 2010 at 11:54 AM, tarek attia tarek.m.at...@gmail.com wrote: Dear all, Just in my application I want to get the speed of the android device using the GPS,so I use the api of location.getspeed()

[android-developers] WebView and scrollTo

2010-10-26 Thread momojo
I have a WebView rendering content via loadURL. I am trying to implement a bookmarking system, so I can go back to a given url/y Position pair. I am attempting to do this via scrollTo. It works if the page is already loaded, however if it is not loaded yet The WebView does not scroll. I am sure I

Re: [android-developers] Re: Application still Running After Exit

2010-10-26 Thread Kostya Vasilyev
26.10.2010 14:03, mort пишет: On 25 Okt., 20:18, Kostya Vasilyevkmans...@gmail.com wrote: [ snip ] Educating users is better than implementing kludges that users wish on a whim. ... but I think it's a sign of a not user friendly design if you have to explain common users what's going on in

[android-developers] reading contacts...

2010-10-26 Thread A N K ! T
while am trying to pick a contact from phone book it is returning another contact... i dont know what happening.. this is my code .//*contactData is uri getting from onActivity result* *String[] parts = contactData.toString().split(/); long id = Long.parseLong(parts[parts.length -

Re: [android-developers] reading contacts...

2010-10-26 Thread Prakash Iyer
You might be using the contact id as id of raw contact. Isn't clear that's the problem as I didn't bother to go thru your logic for contactData but that would result in a problem like what you are describing... On Oct 26, 2010 7:40 AM, A N K ! T ankit.awasth...@gmail.com wrote: while am trying to

[android-developers] Resize the application for the soft-keyboard

2010-10-26 Thread Donald
hi guys, i have a layout like this ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent RelativeLayout

Re: [android-developers] reading contacts...

2010-10-26 Thread A N K ! T
am using this way to get _id of selected contact String column[]={RawContacts._ID}; Cursor temp=activity.managedQuery(contactData, column, null, null, null); if(temp.moveToFirst()) { id=temp.getLong(0);} and then creating rawContacturi... Uri

[android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2010-10-26 Thread RS
At last found one on net that almost answers it all: http://www.glbenchmark.com/result.jsp (Had to a phone/device and then 'OpenGL ES Environment Variables' there.) On 20 Oct, 09:54, RS rajeshs...@gmail.com wrote: A good compilation by Ellis Markov:

[android-developers] Re: TranslateAnimation doesn't animate straight (X-only) but also in Y-direction (diagonal)

2010-10-26 Thread Mathias Lin
Better read the api doc more carefully... I just see that I switched the params by mistake, it's not x,y,x,y but x,x,y,y On Oct 26, 5:12 pm, Mathias Lin m...@mathiaslin.com wrote: I have a TranslateAnimation that shall animate a LinearLayout (isScrollContainer) to the left and to the right

Re: [android-developers] EditText

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 4:26 AM, yanamala siddaiah siddaiahforj...@gmail.com wrote: how to restrict this one .pls help me . Don't put the $ in the edit text. Put it in a text view to the left of the edit text ...

Re: [android-developers] Re: How to speed up the Android emulator.

2010-10-26 Thread James Burley
Wow, I thought the startup time (of 30-60 seconds) on my two-year-old Gateway laptop (with 4GB RAM) was slow!! No idea what's wrong with your setup, but something must be wrong with it or with the emulator startup config or something On Sat, Oct 23, 2010 at 6:50 AM, gbarros

[android-developers] TextView doesn't show complete text.

2010-10-26 Thread umakantpatil
Hey all... I'm stuck around issue of TextView. I have string which has around 2000+ characters also has some HTML in it. I'm using below code to display this TextView. TableRow tr = new TableRow(this); TextView conV = new TextView(this); conV.layout(0, 15, 0, 0);

[android-developers] Security unlock swipe effect

2010-10-26 Thread acr
Hi, I'm looking to mimic the swipe effect like the one used for unlocking an android phone in security settings. I have a grid of objects and I would like the straight bar to appear as I touch/move across the screen. Anyone know ho to accomplish this? Thanks -- You received this message because

Re: [android-developers] Create Sitemap

2010-10-26 Thread TreKing
On Mon, Oct 25, 2010 at 10:55 PM, fosist fos...@gmail.com wrote: Can someone test it on Android whether it is working or not Why can't you test it yourself? - TreKing

Re: [android-developers] To open a new image after clicking a imageButton/how to use onclick

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 3:26 AM, Alok Upadhyay maddy.luck...@gmail.comwrote: Now what i want is that as user clicks on the imageButton Sequences a new image should be open .when clicks on Videos, a new video shoul be open and when clicks on Information An information image opens. Either you

Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 4:14 AM, Suwon Ganesh ganesh...@gmail.com wrote: Give me some suggestion atleast.. I suggest you clarify what you're asking. This: Can any please tell me how can i make the conditions inside the all xml file. - makes no sense.

Re: [android-developers] Context Menu long press and onTouch event conflicting

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 6:08 AM, stanchat stanc...@tccons.com wrote: Does anyone know of a workaround for this. Add a separate button next to the TextView with an obvious icon that the user uses to drag the item, leaving the long-press on the text view itself for the context menu.

[android-developers] Re: Problem With Thread !

2010-10-26 Thread MarcoCanali
Thanks a Lot , i'Ve Discover New World !! Now It Work ! On 23 Ott, 11:59, Kostya Vasilyev kmans...@gmail.com wrote: Marco, If you're going to control periodic / scheduled events, then you don't need a thread at all. Take a look at AlarmManager, and schedule an alarm at appropriate time.

[android-developers] Re: How to create a reminder

2010-10-26 Thread avigadl
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 email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: Android Market Licensing: Now Available!

2010-10-26 Thread Mark Carter
On some Motorola devices, I get an NPE when calling LicenseChecker.onDestroy(): android.os.MessageQueue.enqueueMessage:183 android.os.Looper.quit:173 com.android.vending.licensing.LicenseChecker.onDestroy:281 Example device: Motorola CLIQ / DEXT model: MB200 display: CUPCAKE.1.4.8 Also:

[android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread Suwon Ganesh
Hi Treking., Thanks for u r replay., Let me make my query more detail.., We have done one project for one device. Now we planned to do for another two set of devices with the same workspace. Both devices are different operators. So now i need make some change in string.xml for operator specific

[android-developers] Recommendations for Android app development and test hardware

2010-10-26 Thread Michael
I’m looking for recommendations for what people are using to get access to development hardware for developing and testing Android Apps. I see three choices that make sense: 1. Buy Nexus One devices off contract from Google’s developer program (http://www.google.com/phone/detail/nexus-one)

Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 8:58 AM, Suwon Ganesh ganesh...@gmail.com wrote: We have done one project for one device. Now we planned to do for another two set of devices with the same workspace. Why are you making different builds for different devices? Both devices are different operators. So

[android-developers] Providing Security to JAR file.

2010-10-26 Thread RamaMohan
Hi , I am creating an SDK .I have got some problems as follows: I want to create an encrypted jar ,i used Obfuscation.But My jar is not recognizing when i used in any other application. Please suggest me any method to do this,any methods to provide security to my jar . One more thing i need to

[android-developers] how to keep images inside the JAR and How to access the files

2010-10-26 Thread RamaMohan
Hi , I am creating an SDK .I have got some problems as follows: i need to have some predefined images along with the jar.please suggest any method to do this thing. like 1) how to keep the files in jar and 2) how to use it in code. If any code is very helpful or just any information is very

[android-developers] ugly looking shaded png. premultiplied alpha messed it up ?

2010-10-26 Thread Hatch
Hi all. I load an 'alpha enabled' png icon and use it in the layout xml file. In simulator everything looks excellent ! But when I try it on the Device (des...@froyo 2.2) it looks BAD :( The icon itself is ok but the fading out alpha (shade) looks like it's been rendered in cga graphics :) The

Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread Ganesh Kumar R - .
That is the request came from my client. They need one workspace should contain all the operator specific code might be to reduce the source code size in server. Is this possible in android or not ? Any one tried earlier. ? br., ganesh r. On Tue, Oct 26, 2010 at 11:34 PM, TreKing

[android-developers] Re: how to keep images inside the JAR and How to access the files

2010-10-26 Thread Bret Foreman
You can put images into /res/drawable and access them with R.drawable.imagename. You can also create multiple resolutions of the image and put files by the same name into drawable-hdpi, drawable- ldpi, and so on. On Oct 26, 7:38 am, RamaMohan rama.mohan...@gmail.com wrote: Hi , I am creating an

[android-developers] mt9p031 sensor integration

2010-10-26 Thread ashwani
Hi All, I want to integrate mt9p031 sensor on android platform. My kernel have mt9p031 driver and V4l2 support can any body help me? What are the changes requires in Android HAL layer. just any information is very helpful. Regards Ashwani -- You received this message because you are

[android-developers] java.util.Date vs android.text.format.Time

2010-10-26 Thread Aaron
Which one should I use java.util.Date or android.text.format.Time? It seems you can accomplish what one needs to do with either. What I need to do is at times get the current date and time and sometimes set a date and time specified by the user. -- You received this message because you are

[android-developers] isUserAMonkey bug (and workaround) documented as issue 12166

2010-10-26 Thread Bret Foreman
People in other threads here have complained about isUserAMonkey throwing an exception but I couldn't find a bug report about it. I was able to demonstrate the behavior on a Motorola Droid and also created a workaround, which can be found on b.android.com at issue 12166. It would be nice if people

Re: [android-developers] java.util.Date vs android.text.format.Time

2010-10-26 Thread Filip Havlicek
Hi Aaron, Time (as stated here http://developer.android.com/reference/android/text/format/Time.html ) should be faster and looks more programmer friendly to me (you can set the date directly with numbers, in case of Date you have to do it through Calendar), although right now I'm using Date +

Re: [android-developers] java.util.Date vs android.text.format.Time

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 10:37 AM, Aaron aaron.chan...@gmail.com wrote: Which one should I use java.util.Date or android.text.format.Time? Looking at the docs, the Date class is pretty much obsolete (nearly completed deprecated), and says to use Calendar instead. Then the Time docs says: The

[android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread Bret Foreman
When you say 'operator', do you mean carrier, user, or phone manufacturer? Which classes and methods are operator specific? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 10:21 AM, Ganesh Kumar R - . ganesh...@gmail.comwrote: That is the request came from my client. Figures. They need one workspace should contain all the operator specific code might be to reduce the source code size in server. They probably don't, but think they do

Re: [android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-26 Thread Frank Weiss
OK, I can reproduce now with geo fix. telnet localhost 5554 geo fix 1 1 Then the location sent to my app is 1.0016, 1.0016. Note that it's off by 1/600. It works OK when manually entering locations via the DDMS UI. -- You received this message because you are subscribed to the

Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-26 Thread Ganesh Kumar R - .
Ya using ANT it is possible. I have done same with build.xml using ANT compiler. Example : property name=message textsize = 100 if=ACTIVATE_SMS/ In properties file or in compiler we ll give -DACTIVATE_SMS=1 Now i required the same in android. thanks., ganesh r. On Wed, Oct 27, 2010 at 12:52

Re: [android-developers] Re: Facebook connect for android

2010-10-26 Thread Prajakta Shitole
Hi Zarah, Thanks for your reply. I did include the LoginButton class as it was showed in the Example. Also i had included it in my xml file as below: com.facebook.android.LoginButton android:id=@+id/login_fb android:src=@drawable/login_button

[android-developers] Re: Speed from GPS

2010-10-26 Thread MB
What device/OS are you trying it on? It works fine on my droid. On Oct 26, 3:54 am, tarek attia tarek.m.at...@gmail.com wrote: Dear all, Just in my application I want to get the speed of the android device using the GPS,so I use the api of location.getspeed()

[android-developers] Re: Recommendations for Android app development and test hardware

2010-10-26 Thread Bret Foreman
If you can make a good business case for you app, you can get devices at cost (and sometimes even free) from the manufacturers. This includes beta version of new devices. The best example is Motorola's Motodev program, which has been quite helpful to me. -- You received this message because you

Re: [android-developers] java.util.Date vs android.text.format.Time

2010-10-26 Thread Filip Havlicek
Date is now used only to store the time information you get from Calendar if you want current date and time (that's why all the setters and getters are deprecated). 2010/10/26 TreKing treking...@gmail.com On Tue, Oct 26, 2010 at 10:37 AM, Aaron aaron.chan...@gmail.com wrote: Which one should

[android-developers] Re: How can I get the the soft keyboad render information ?

2010-10-26 Thread ivanchan
Hi all, I think this can be solved, if I can get the current KeyboardView/ Keyboard instant, is there any way to do that? Regards, Ivan On Oct 25, 9:28 pm, ivanchan ivanm...@gmail.com wrote: Hi all, When a edittext is tapped, the soft keyboad will show up, can I get the soft keyboard render

[android-developers] Re: guitar tuner

2010-10-26 Thread Wall-E
I don't have any suggestions but I just wanted to say that implementing a guitar tuner, even if it may not be possible, is an excellent idea. I agree that getting the frequency is the first step and am not sure this is even possible. Sorry I couldn't be of any help. On Oct 17, 10:30 pm, Dave

Re: [android-developers] Re: Application still Running After Exit

2010-10-26 Thread Dianne Hackborn
On Mon, Oct 25, 2010 at 10:31 AM, Bret Foreman bret.fore...@gmail.comwrote: Does Clear Data restore the preferences to their default state? It does a force stop (kills all app processes, removes notifications, unregisters alarms), and then erases all of the app's data. -- Dianne Hackborn

[android-developers] Accessibility with ImageViews, custom views

2010-10-26 Thread vol
I'm attempting to make my app more usable for users who need accessibility support, so I am attempting to have my app perform better for users who use TalkBack. I would like to have a custom description spoken for a widget I have made. The widget contains a LinearLayout, and that layout contains

[android-developers] Re: guitar tuner

2010-10-26 Thread Bret Foreman
Here's the MediaRecorder doc: http://developer.android.com/reference/android/media/MediaRecorder.html As a first cut I would set up two files, record to one while doing an FFT on the other. Alternate the roles of the files every 200mS and display the latest frequency. Do you have experience with

[android-developers] Re: Recommendations for Android app development and test hardware

2010-10-26 Thread Alex
Wow. I didn't know about MotoDev. It looks like an excellent resource. On Oct 26, 5:05 pm, Bret Foreman bret.fore...@gmail.com wrote: If you can make a good business case for you app, you can get devices at cost (and sometimes even free) from the manufacturers. This includes beta version of

[android-developers] Re: guitar tuner

2010-10-26 Thread Bret Foreman
On further reflection, I realize that you don't really need a full FFT, since you are not interested in anything except the fundamental. Check a basic signal processing text and you should find a way to truncate the FFT and save a lot of processing. -- You received this message because you are

Re: [android-developers] Re: Application still Running After Exit

2010-10-26 Thread Dianne Hackborn
On Tue, Oct 26, 2010 at 4:37 AM, Kostya Vasilyev kmans...@gmail.com wrote: Besides, non of the Twitter apps I've seen so far offers anything but a general update interval option in the preferences. And Twitter's only an example. Ah. So the issue is with applications. What you're saying

[android-developers] Circular Redirect Issue

2010-10-26 Thread Kevin
One of my users reported that my app wouldn't update over a 3G connection, but would over a WIFI connection. I had him send me a log after a failure and it showed a CircularRedirectException for the URL. Yet, when I try with my phone (3G and WIFI) or the emulator, each with the same request, I

[android-developers] Re: Animation List View Help!!!!

2010-10-26 Thread Dev Android
ping? On Mon, Oct 25, 2010 at 9:47 AM, Dev Android devandroid1...@gmail.comwrote: Hi all, Anyone has idea how to create animation from top to bottom for List View with increasing the height of each list item view ? Any Idea please share with us. Cheers! Dev -- You received this

[android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread Bob Kerns
I'm confused, too; all the approaches I can think of have serious drawbacks. I'm not going to spend the time to figure it out -- but I *will* comment that I think this is functionality best provided by the Android platform, on every device. Although I must say, this is really only useful for two

[android-developers] How to take a picture using the Camera App and have it NOT appear in the Gallery?

2010-10-26 Thread Aaron
Hi All, Thanks for all your help on my past questions. I have another one for you: How to take a picture using the Camera App and have it NOT appear in the Gallery? Here is what I have so far: Time time = new Time();

[android-developers] Re: java.util.Date vs android.text.format.Time

2010-10-26 Thread Aaron
I had thought as much, but I just wanted to get some external verification. Thanks! On Oct 26, 12:09 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: Date is now used only to store the time information you get from Calendar if you want current date and time (that's why all the setters and

Re: [android-developers] Providing Security to JAR file.

2010-10-26 Thread Marcin Orlowski
On 26 October 2010 16:36, RamaMohan rama.mohan...@gmail.com wrote: I want to create an encrypted jar ,i used Obfuscation.But My jar is not recognizing when i used in any other application. Unless I miss a point, obfuscation changes i.e. internall names like classes and methods. No doubt it

Re: [android-developers] Re: Protecting Apps - listening for application launches

2010-10-26 Thread Mark Murphy
On Tue, Oct 26, 2010 at 7:21 AM, Noah noah.belc...@gmail.com wrote: Thanks for your responses, Mark. I understand your reasoning. I guess I'm just confused how there are so many app protector applications in the Market if this isn't officially supported. Are they all using security holes to

Re: [android-developers] Re: How register weekly alarm?

2010-10-26 Thread Mark Murphy
On Tue, Oct 26, 2010 at 5:09 AM, Tim tim.ka...@gmail.com wrote: I have a mistake. Actually, weekly alarm works with interval set to 7*INTERVAL_DAY. The question changed to how make monthly/yearly alarm? I would not implement a monthly/yearly alarm via AlarmManager. -- Mark Murphy (a Commons

  1   2   >