[android-developers] Re: Google Data APIs Client Libraries

2009-06-13 Thread Sujay Krishna Suresh
I also tried using it... But according to one of the developers its not usable in android (or any other mob platform) if u jus need a lil data from google then try this... This piece of code prints all methods in the class & invokes the static method getAccount... try { for (Method ele : Cla

[android-developers] Re: How to get root access of my android phone

2009-06-13 Thread Delta Foxtrot
2009/6/13 Joe Petruchi > Is there any way to get the root permission in G2 ? > If you are talking about the HTC Magic, no idea, but it isn't going to be labelled the G2 when T-Mobile starts selling it, try looking about on the XDA forum. --~--~-~--~~~---~--~~ You

[android-developers] Re: Change sdcard permission

2009-06-13 Thread Delta Foxtrot
2009/6/13 Nithin Varamballi > Ya i agree with your point that sdcards are formatted to be fat32 > and fat32 doesn't support linux permission system, Suppose if i give > in my application like this "/bin/sh /sdcard/myapplication", what will > i get,weather i can change the permission of my applic

[android-developers] how can i launch the intent to pick image from SD card?

2009-06-13 Thread Meryl Silverburgh
Hi, Can you please tell me how can i launch the intent to pick image from SD card? 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-deve

[android-developers] Intel® Atom™ Processor N270 and Mobile Intel® 945GSE Express Chipset

2009-06-13 Thread whatn...@gmail.com
The 45nm Intel(R) Atom(tm) Processor N270Δ at 1.6 GHz core speed and 2.5 W TDP is power-optimized tIntel(R) Atom(tm) Processor N270 and Mobile Intel(R) 945GSE Express Chipset o deliver robust performance/watt. This single- core processor is validated with the Mobile Intel(R) 945GSE Express Chipset

[android-developers] Re: How to tell when application exits?

2009-06-13 Thread Saurav Mukherjee
i have a round about solution: if u need the application to exit, call system.exit.. so now u know wen its gonna exits and hence now u can write the program accordingly... (wat u wanna do wen the system exits) but please do tell me if there is a straight forward way! cheers. On Sat, Jun 13, 200

[android-developers] How to set minimum value for SeekBar?

2009-06-13 Thread Makrand
Hello I am using SeekBar in my application, currently seek bar minimum value is zero, but as per application requirement seek bar value should not be zero. how to set minimum value for SeekBar. --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-13 Thread Shyam Dasgupta
i guess this group has grown too large to expect a response from the Android team.. --~--~-~--~~~---~--~~ 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@go

[android-developers] Where is com.android.providers.googleapps??

2009-06-13 Thread Francesco Pace
Hi, I don't find package com.android.providers.googleapps on my internal memory. I use cupcake emulator. Somebody help meplease --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Scrollview and GestureDetector

2009-06-13 Thread SurtaX
I'm making sort of a book app. I have the text displayed as a textview in a scrollview: XML: I then have Java: private GestureDetector gestureScanner; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); gestu

[android-developers] Cannot get Log.isLoggable working as documented

2009-06-13 Thread westmeadboy
This is a very simple problem and I've searched to find that no one else seems to be having it, anyway... My code is something like: if (Log.isLoggable("mytag", Log.DEBUG)) { Log.d("mytag", "Logged at debug level"); } The documentation says that by default logging is enabled at INFO level.

[android-developers] Manipulating WebKit Form-Data

2009-06-13 Thread sdz
Hi, is there any way to manipulate form-data of a specific website (for example fill in information in a login-field and hit the login- button). Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: Where is com.android.providers.googleapps??

2009-06-13 Thread Mark Murphy
> I don't find package com.android.providers.googleapps on my internal > memory. There is no such package in the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~-

[android-developers] Re: Manipulating WebKit Form-Data

2009-06-13 Thread Mark Murphy
> is there any way to manipulate form-data of a specific website (for > example fill in information in a login-field and hit the login- > button). Not that I am aware of. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-developers] Re: Where is com.android.providers.googleapps??

2009-06-13 Thread Francesco Pace
Ehm...So, how can I read received mail from db? 2009/6/13 Mark Murphy > > > I don't find package com.android.providers.googleapps on my internal > > memory. > > There is no such package in the SDK. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android

[android-developers] Re: Manipulating WebKit Form-Data

2009-06-13 Thread sdz
sadly... thank you On 13 Jun., 13:05, "Mark Murphy" wrote: > > is there any way to manipulate form-data of a specific website (for > > example fill in information in a login-field and hit the login- > > button). > > Not that I am aware of. > > -- > Mark Murphy (a Commons Guy)http://commonsware.c

[android-developers] Re: Where is com.android.providers.googleapps??

2009-06-13 Thread Mark Murphy
> Ehm...So, how can I read received mail from db? I am interpreting this to mean "how do I access emails saved on the device". Option #1: Write your own email client and convince users to use it, as then it is your own database. Option #2: Work with the K9 team to integrate whatever you are loo

[android-developers] Re: How to tell when application exits?

2009-06-13 Thread Mark Murphy
> Could I suggest an update to documentation then? > Do you guys need a bug report to be lodged to do this kind of thing? Either a bug report (http://b.android.com) or a patch would help increase the odds that the change gets made. > Does this also apply to services? There is no onTerminate() i

[android-developers] Re: Cursor for service component?

2009-06-13 Thread Mark Murphy
> In application there is Service running in background, and appl > having private database, When appl runs in back ground with service. I > want to retrieve Cursor for query on appl database. Use SQLiteDatabase. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-developers] Re: Google Data APIs Client Libraries

2009-06-13 Thread peeyush varshney
Hi, Activity A is running and i start Activity B from A then start one more new Activity C from B.. Now I want to launch Activity A from C.. What should be right procedure. On Sat, Jun 13, 2009 at 12:33 PM, Sujay Krishna Suresh < sujay.coold...@gmail.com> wrote: > I also tried using i

[android-developers] Re: In need of a developer...

2009-06-13 Thread Maps.Huge.Info (Maps API Guru)
You might want to consider figuring this out for yourself. It's not that difficult if you use the tutorial book ($35) written by Mark Murphy at http://commonsware.com/ - tutorial 17 did it for me... I wrote a similar program without much prior knowledge myself in about three days of study. Your m

[android-developers] Re: How to force hierarchy change to PreferenceActivity?

2009-06-13 Thread Jason Parekh
The preference framework will refresh the UI when a preference has a UI-visible attribute changed, for example the summary. So, you can just do myPreference.setSummary(myPreference.getValue()) (assuming you want to show the selected item as the summary of the preference). On Fri, Jun 12, 2009 at

[android-developers] Checking the Hardware (Phone model) programatically

2009-06-13 Thread Gavin Aiken
Hi All, I was wondering if there is a way of finding the hardware on which the Android software stack is currently running. Specifically I'd be interested to get the processor on which the application is being run so that I can adjust the intensity of calculations performed. Thanks in advance! G

[android-developers] Re: Getting my app in the featured section

2009-06-13 Thread intbt
As an aside - when I searched Apps with 'scan' your app did not appear, when I searched 'pdf' it was on the list. Good luck with your application and with Google. intbt On Jun 12, 12:39 pm, guruk wrote: > just make your app so successfull that it reach 50.000 installations > than from my own ex

[android-developers] Email App and IM App on cupcake branch

2009-06-13 Thread Lucius Fox
Hi, I download and compile cupcake branch. But the Email App and IM App (not Gmail and GTalk) is not installed on the emulator. Can you please tell me how to install Email App and IM app? Thank you. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] How to know how long the key is pressed?

2009-06-13 Thread patpat
here is my code public boolean onKeyUp(int keyCode, KeyEvent event) { Message m = new Message(); m.what = theGamev2.REDRAW; switch(keyCode) { case KeyEvent.KEYCODE_DPAD_CENTER: releaseTime = System.currentTimeMillis(); this.mBall.createNewCircle(pointerCurrentXCoord, 30, ((int) (releaseTime - pr

[android-developers] Re: How to know how long the key is pressed?

2009-06-13 Thread Mark Murphy
patpat wrote: > i am using system time here to get the differencebut it doesnt > work like the way i want.. > i wonder is there method or concept to know how long the key is > pressed?? You could try getDownTime() and getEventTime() on the KeyEvent. -- Mark Murphy (a Commons Guy) http://com

[android-developers] Re: develop a simple game like tic toc

2009-06-13 Thread Gavin Aiken
http://bakhtiyor.com/category/30-days-of-android-apps/page/2/ If you're talking about tic-tac-toe you could look here :) Good luck On Sat, Jun 13, 2009 at 5:22 AM, jaimin wrote: > > hi. > i am new to android i have develop a some e book for android mobile > but i never develop a game > in andr

[android-developers] js painfully slow on 1.5

2009-06-13 Thread skink
hi, i heard somewhere that cupcake has brand new, very fast javascript engine. recently i tried to use jquery and in my opinion it's not fast: i tried local (stored in assets folder) version of smallest possible i could get (packed v1.1.2) and it seems that loading it takes ~5sec. this is when i

[android-developers] Re: Bug? LocationMasfClient / GPS keeps sending updates even after locationmanager.removeupdates?

2009-06-13 Thread Brad Gies
Have you tried moving the lm.removeUpdates(locationListener); to Before the super.onPause ? Sincerely, Brad Gies - Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com www.truckerphone.com www.EDI-

[android-developers] Dialogs don't fill width in landscape mode

2009-06-13 Thread Keith Wiley
Does anyone know how to make a dialog fill the screen width in landscape mode? Setting the layout's width to fill_parent doesn't do it. It always comes up portrait width, or something suspiciously similar. --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: how can i launch the intent to pick image from SD card?

2009-06-13 Thread Mark
I think you might want something like this: // start the image picker activity - the 999 is just a unique request code startActivityForResult( new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI), 999); at this point, the Gallery app will start and your

[android-developers] Re: File System Root '/' name has extra characters?!

2009-06-13 Thread Urs Grob
This looks like a bug. To not forget it again, please file a bug at b.android.comBest would be if you could also attach some code that reproduces the problem. Thanks for finding this (again) (Maybe this has to do with some code from harmony where also windows drives could be returned ... "c:\" or

[android-developers] expandlistview user selection detection?

2009-06-13 Thread Bob
Hi, How do I handle the selection in an expandablelistview? I have tried using both the setOnItemClickListener and the setOnItemSelectedListener and neither seems to fire when I click either the parent or child level elements. Thanks, Bob SimpleExpandableListAdapter mAdapter = new SimpleExp

[android-developers] Re: incomingNumber -> contact name - What is the right way?

2009-06-13 Thread Doug
I did some experimentation yesterday on just this topic. For a start, it was easy enough to just throw a non-specific query at the People provider and get back the values for the columns I was interested in. I don't know why, but I found that the "NUMBER_KEY" column has the original phone number,

[android-developers] Re: File System Root '/' name has extra characters?!

2009-06-13 Thread Urs Grob
The problem seems to be an error in porting the native code from harmony to android. In harmony there's a method that should return a string where the roots are null separated and a second null at the end. http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/lun

[android-developers] Re: Why did Google Groups not post my comments?

2009-06-13 Thread Urs Grob
Someone posting for the first time gets moderated, so if that was your first post then it might have had to wait for someone letting it pass. On Sat, Jun 13, 2009 at 12:31 AM, Sundog wrote: > > Or, maybe you're a noob that needs to calm down a bit. > > On Jun 11, 10:14 pm, Dennis wrote: > > I p

[android-developers] Re: incomingNumber -> contact name - What is the right way?

2009-06-13 Thread Doug
Wow! Turns out the query code in ContactsProvider does pretty much what I thought... it uses the Sqlite 'glob' operator, which is like 'like' (but uses '*' as wild-card... which is strange, since phone numbers could conceivably have *'s and #'s in them). Both GLOB and LIKE in Sqlite don't let you

[android-developers] Re: Listening to Double Taps in MapView

2009-06-13 Thread Georgy
I was able to make it work but now the navigation on the map is not working. any ideas? thanks On Jun 12, 3:11 pm, Georgy wrote: > Would please provide me a copy of your code? I don't know why I can't > gget it to work. > > thanks > > On Jun 12, 2:58 pm, Keith Wiley wrote: > > > Hmmm, I just

[android-developers] Missing application icon in All Application drawer

2009-06-13 Thread Lucius Fox
Hi, Can someone please help me understanding why in my emulator, i can * in my settings-> manage application, see an entry for an application there * but i cant' find the icon for launching that in All Application. Can you please tell me how can I make my application launches on the emulator? T

[android-developers] Re: Missing application icon in All Application drawer

2009-06-13 Thread Mark Murphy
Lucius Fox wrote: > Can someone please help me understanding why in my emulator, i can > * in my settings-> manage application, see an entry for an application there > * but i cant' find the icon for launching that in All Application. > > Can you please tell me how can I make my application launc

[android-developers] Understanding MenuCallback code

2009-06-13 Thread Daniel Dreiberg
Hi, I see this example of MenuCallback code, but i don't understand where is the reference 'ImageManager.IImage image' comes from? How is that image get created and passed it to MemuCallback? MenuItem item1 = menu.add(IMAGE_SAVING_ITEM, MENU_IMAGE_SHARE, 10, R.string.camera_

[android-developers] Re: Understanding MenuCallback code

2009-06-13 Thread Mark Murphy
Daniel Dreiberg wrote: > Hi, > > I see this example of MenuCallback code, but i don't understand where is > the reference 'ImageManager.IImage image' comes from? > How is that image get created and passed it to MemuCallback? > > MenuItem item1 = menu.add(IMAGE_SAVING_ITEM, MENU_IMAGE_SHARE, 10

[android-developers] Re: Getting my app in the featured section

2009-06-13 Thread codethief
On Jun 13, 5:28 pm, intbt wrote: > As an aside - when I searched Apps with 'scan' your app did not > appear, when I searched 'pdf' it was on the list. Good luck with your > application and with Google. But that's rather due to the Market's search function itself. > On Jun 12, 12:39 pm, guruk

[android-developers] Re: How to force hierarchy change to PreferenceActivity?

2009-06-13 Thread yoshitaka tokusho
Thanks for helpful comment, Jason. I got an answer for this. I pasted for those who want to do similar. - protected void onCreate(Bundle savedInstanceState) { createPreferenceHierarchy(); setPreferenceScreen(mRoot); } private void createPreferenceHierarchy() { // Root

[android-developers] NinePatchDrawable as ItemizedOverlay

2009-06-13 Thread skyman
Hello, Is it possible to use "stretchable" graphic as pin in ItemizedOverlay? If not how can I draw NinePatchDrawable on Canvas? Regs, Skyman --- http://skyman.pl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: ClassNotFoundException

2009-06-13 Thread Mike Lanin
Of course I included. No problems earlier. I've tried it on 1.0, 1.1 and 1.5 sdk and it never worked. On 12 июн, 08:47, iDeveloper wrote: > Have you included the activity in your AndroidManifest file? > > On 11-Jun-09, at 10:01 PM, Mike Lanin wrote: > > > > > > > I have a problem and cant reali

[android-developers] Re: incomingNumber -> contact name - What is the right way?

2009-06-13 Thread Doug
Reported as bug #2983 http://code.google.com/p/android/issues/detail?id=2983 On Jun 13, 1:34 pm, Doug wrote: > Wow! Turns out the query code in ContactsProvider does pretty much > what I thought... it uses the Sqlite 'glob' operator, which is like > 'like' (but uses '*' as wild-card... which i

[android-developers] which width and height for a 2*1 cell widget? 160*100? Bug in Widget?

2009-06-13 Thread Hastala
I use 160*100 but it becomes 3*2 cells. Is this a bug? --~--~-~--~~~---~--~~ 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

[android-developers] AbsoluteLayout deprecated & Drag and Drop

2009-06-13 Thread Mooretis
I noticed that AbsoluteLayout is deprecated in the latest SDK. AbsoluteLayout is an important piece to implementing drag and drop. If it disappears in a later release, what will be the solution to implement drag and drop? --~--~-~--~~~---~--~~ You received this me

[android-developers] Strategies for alerting users about new versions of your app in the appstore?

2009-06-13 Thread pawpaw17
Guys, Is there a methodology for pushing out new versions of appstore apps to customers in Android/or via the appstore? Or is this something each app needs to cook up for itself? Thanks! pawpaw17 --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: How to set minimum value for SeekBar?

2009-06-13 Thread Keith Wiley
My solution in similar situations has been to set the seekbar max to the required range, not the true max, then to perform a mapping between seekbar values and underlying variables by adding/subtracting the minimum during transformation. Of course, one step further in extrapolation would demonstr

[android-developers] Preference#setSummary does not properly repaint

2009-06-13 Thread bo
When I use runtime Preference#setSummary(CharSequence) I see new value painted on the top of the old one. Looks very ugly. Is there any settings I'm missing? Behaves the same way in both 1.1 and 1.5 --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Intel Drops an ‘Atom` Brand

2009-06-13 Thread whatn...@gmail.com
The chip maker’s new Atom brand includes its Diamondville chip for low- cost laptops and its Silverthorne processor for mobile Internet devices. for more info visit http://www.intel-intel99.blogspot.com --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: Scrollview and GestureDetector

2009-06-13 Thread SurtaX
bump On Jun 13, 8:18 pm, SurtaX wrote: > I'm making sort of a book app. I have the text displayed as a textview > in a scrollview: > > XML: >           android:id="@+id/chatview" >           android:orientation="vertical" >           android:layout_width="fill_parent" >           android:layout

[android-developers] Re: how to get the first frame of a video file ?

2009-06-13 Thread Ty
If anyone has a clue let us know! Thanks much! On May 5, 9:34 pm, Ty wrote: > Apparently this was added with Cupcake.  I cannot find it.  Anyone > know how to create a video thumbnail? > > Ty > > On Apr 5, 8:54 pm, Wei wrote: > > > Hi Dave, > > > Are you meaning I can not use this class in my

[android-developers] Re: Strategies for alerting users about new versions of your app in the appstore?

2009-06-13 Thread TjerkW
This is al implemented in the Android market and it comes for free when publishing your app in the market. And any is evert body staking about an "app store", ita called the Android market On 14 jun, 05:30, pawpaw17 wrote: > Guys, > > Is there a methodology for pushing out new versions of app