Re: [android-developers] Re: OpenJDK on Android

2011-02-04 Thread Kostya Vasilyev
Yes, it would be really convenient if Android supported Java EE spec. It would also be really great if it supported all the other Java specs, like Java 3D, Swing, AWT, RMI... And .Net applications. And native Windows x86 applications (including 64 bit executables). And MacOS applications

[android-developers] Re: api used for connecting to the exchange sever on android

2011-02-04 Thread JAlexoid (Aleksandr Panzin)
The default email app is in the sources. Start there. http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary On 28 дек 2010, 09:40, kampy narasimha1...@gmail.com wrote: hi i found an email app on the emulator by which we can synchronize our mail and exchange accounts to

[android-developers] Re: Rooting internals

2011-02-04 Thread JAlexoid (Aleksandr Panzin)
www.xda-developers.com Android doesn't use exploits for rooting, it's not iPhone jalibreak. On 29 янв, 00:52, Eknath Venkataramani eknath.i...@gmail.com wrote: All, Could someone explain how rooting occurs in detail? right from the stage of detecting an exploit on a particular firmware on a

[android-developers] Re: logic used by google for displaying map in Android

2011-02-04 Thread JAlexoid (Aleksandr Panzin)
It does render with the new version of maps. On 3 фев, 21:11, ip332 iprile...@gmail.com wrote: Google does not render maps on the device but gets the bitmaps from the server. Honestly speaking, I don't see any reason to do your own map application unless you are going to make a turn-by-turn

Re: [android-developers] In app billing...

2011-02-04 Thread String
On Friday, February 4, 2011 1:03:26 AM UTC, Mark Carter wrote: I can't see a nice way to do it. The best way I can think of is to introduce in-app billing to the Lite version and convert the Pro version into some kind of pro key token app. The Lite version would check for existence of this

Re: [android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-04 Thread Kostya Vasilyev
An AppWidgetProvider is transient. It's only instantiated as needed, and is destroyed soon after that. That's why you can't use an API that requires a long-lasting reference to the app widget provider (or receiver). This includes binding to a service (but you can start one, though) or

Re: [android-developers] Post on Facebook wall post for beginner

2011-02-04 Thread Robin Talwar
ok i got it i think there is a problem with the facebook application whose api key i am using. It should be mobile facebook application and the code which i am using now is :- parameters.putString(attachment, {\name\:\My Test Image\, +\href\:\+http://www.google.com+\,;

Re: [android-developers] TimerTask

2011-02-04 Thread Kostya Vasilyev
Take a look at AlarmManager, use it with a manifest-declared broadcast receiver. -- Kostya 04.02.2011 10:05, A N K ! T пишет: nO I dont want to add background Service...so i started it from Outgoing Call Receiver.. but after certain number of times it goes stopeed On Thu, Feb 3, 2011 at

Re: [android-developers] In app billing...

2011-02-04 Thread Kostya Vasilyev
In this lite/pro conversion scenario, can the user cancel his purchase of Pro key to revert back to the Lite version (for whatever reason)? There is a 15 minute window for refunds with the current scheme (separate Lite / Pro applications) - is there one for in-app purchases? The middle

Re: [android-developers] Re: Question about bug reports

2011-02-04 Thread fourhend...@gmail.com
May I ask, what's the one line of code to send a report? On Feb 3, 2011 2:01 PM, String sterling.ud...@googlemail.com wrote: On Tuesday, February 1, 2011 11:10:00 PM UTC, Thomas wrote: About your log debug option, it is recommended to disable it just before releasing

[android-developers] Re: Diacritics/international characters in AutoCompleteTextView

2011-02-04 Thread svebee
Can you post some basic example how could I integrate it into my case? On Feb 2, 9:30 am, Kostya Vasilyev kmans...@gmail.com wrote: You could implement your own filter, by overriding getFilter() in your adapter, and implementing a Filter that does what you want.

Re: [android-developers] Re: Diacritics/international characters in AutoCompleteTextView

2011-02-04 Thread Kostya Vasilyev
I don't have an example exactly for this case, but you can see the interaction between a MultiAutoCompleteTextView and the adapter, in the platform's email application. http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary The file you want is EmailAddressAdapter:

[android-developers] Re: Video play resume on Activity Switching

2011-02-04 Thread Amit
HI All, Waiting for any response! Thanks Best Regards Amit On Feb 1, 5:53 pm, Amit amitmishr...@gmail.com wrote: Hi All, I have created an activity( VideoViewActivity) having a VideoView and some Buttons. These buttons are used to perform Share Video  on various social channels. On click

[android-developers] Re: SKIA Bitmap loading ??

2011-02-04 Thread Yahel
A little up on this. No one really ? Yahel On 3 fév, 19:49, Yahel kaye...@gmail.com wrote: Hi all, I'm starting to implement a lazy image loader for the listview in my new project so I was gathering informations and came across Romain Guy full featured implementation in the project Android

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-02-04 Thread Yahel
My problem is that I don't choose the file I want to use, they are picked by the user from internet. I'm wondering if the way Romain Guy handles things in my other question is not about that kind of problem. I'll give it a shot. Yahel On 21 jan, 16:33, nagarjuna lingala

Re: [android-developers] Re: SKIA Bitmap loading ??

2011-02-04 Thread Kostya Vasilyev
The only difference I can see would be meaningful if BitmapFactory sometimes couldn't decode from a socket stream. There is something about something like that (sorry, can't be more specific) here: http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html Perhaps

[android-developers] Android RSS Library

2011-02-04 Thread Alex Horn
I have been working on an open-source (Apache 2.0) Android library to read parts of RSS feeds [1]. The library specifically targets the Android platform by using (Level 1) APIs such as android.net.Uri. The design features stream parsing with SAX. As a result, the memory footprint tends to be

Re: [android-developers] In app billing...

2011-02-04 Thread Mark Carter
Yeah, I wasn't thinking of killing all the functionality (in the Pro) straight away - rather when, say, 95% of users had already installed the Lite version. Anyway, it's all way too messy to seriously consider. Ideally, I would rather the Pro version becomes free (supporting in-app upgrades),

[android-developers] Re: Disable landscape orientation in Android Browser?

2011-02-04 Thread Grev
I have been suggested - activity android:name=.MyActivity android:label=Jorge´s Activity android:screenOrientation=portrait But this only applies to an App, is there any way to do this in the browser? -- You received this message because you are subscribed to the

[android-developers] Re: OpenJDK on Android

2011-02-04 Thread giangiammy
Hi guy, I'm just now looking at this problem: how to run a Java applet (j2se) on Android! Surely a phone is small, but now we have 10 pads running android, or netbook running android ... (the toshiba AC100 for example is a dual core ARM9 running at 1GHz). I do not think that the power is a

[android-developers] How to fetch own mobile number in android

2011-02-04 Thread vimal
I want to get mobile number of own mobile. I searched android telephony class but i can not find any useful function over there. thanks in advance for your help. Thanks, Vimal Rajpara -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
Hi, I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire HD) but not when I use power off and then start it up. The receiver is never called and it seems as if the BOOT_COMPLETED action is never sent. I also noticed

Re: [android-developers] Re: OpenJDK on Android

2011-02-04 Thread Daniel Drozdzewski
Koala, Try this for starters: http://stackoverflow.com/questions/4491720/why-android-is-built-on-a-vm-dalvik and follow various pointer that appear there (like the video from Google I/O 2008). It should shed some light on why there was a need to rewrite JVM for speed and small memory footprint.

[android-developers] Re: MediaPlayer getCurrentPosition problems on Android 2.2

2011-02-04 Thread mort
On 2 Feb., 09:57, roguel6 miguel.rode...@gmail.com wrote: I am having the same issue with 2.2.2. The method getCurrentPosition() in MediaPlayer doesn't return the correct value. It is lower than real value. I have tried the same code in 2.1 and that works perfectly. Any fix for this? At least

[android-developers] Re: SKIA Bitmap loading ??

2011-02-04 Thread Yahel
Excellent link and info Kostya, thank you. I believe you're right it's not the same implementation but it's the same principle. I hadn't seen this article. Very interesting. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Adding Slide Button on Key lock screen

2011-02-04 Thread mort
As Mark stated correcly, you can't modify the original except with an own ROM. However, you can respond to ACTION_SCREEN_OFF or ACTION_SCREEN_ON (note you must register it manually with registerReceiver, it's not enough to add it in the manifest!) to show your own Activity. You can either use

Re: [android-developers] Re: SKIA Bitmap loading ??

2011-02-04 Thread Kostya Vasilyev
It's really a shame that that blog has no search function. But I think I remember reading somewhere that Shelves is too old to be useful as a sample these days. The blog post is I linked to is, I believe, more recent. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.02.2011 13:27

Re: [android-developers] How to fetch own mobile number in android

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 11:06, vimal vimalrajpara2...@gmail.com wrote: I want to get mobile number of own mobile. TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber = tMgr.getLine1Number(); but be aware it's not guaranteed you get it (so

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire HD) but not when I use power off and then start it up. The receiver is never called and it seems as if the BOOT_COMPLETED action is never sent. I also noticed

Re: [android-developers] Development strategies

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 17:12, Roman Mazur mazur.ro...@gmail.com wrote: Android 3.0 is designed specifically for tablet devices, and it has a lot of changes in core frameworks. So what is the best strategy for android developers: create a separate application for android 3.0 version or provide a

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
nope, not even rooted or anything. just a phone off a shop shelf, untouched :) On Fri, Feb 4, 2011 at 12:51 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Kostya Vasilyev
Is the app installed on the memory card? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.02.2011 13:55 пользователь Yorgos X yor...@gmail.com написал: nope, not even rooted or anything. just a phone off a shop shelf, untouched :) On Fri, Feb 4, 2011 at 12:51 PM, Marcin Orlowski

Re: [android-developers] How do certain application backup the APK files?

2011-02-04 Thread Marcin Orlowski
On 28 January 2011 23:02, Rahul rahul...@gmail.com wrote: I just came across Astro File Manager that lets you make backups of applications installed on the device. I just tested the application and it doesn't seem to require root on the device. So this application is somehow able to access the

Re: [android-developers] how to disable the Clear data Button (Froyo)

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 02:36, Takanawa minatoshinagaw...@gmail.com wrote: Please teach me about android:allowclearuserdata=false in Android2.2(Froyo). don't post your question on daily basis. You asked - now wait if anyone would wish to respond. -- You received this message because you are

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
well, i run it from eclipse to install it and then restart and power off the phone to test if it works. Are the apps run straight from eclipse stored on the SD card? i don't know about that to be honest. I haven't done that explicitly though 2011/2/4 Kostya Vasilyev kmans...@gmail.com Is the

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 11:54, Yorgos X yor...@gmail.com wrote: nope, not even rooted or anything. just a phone off a shop shelf, untouched :) Then it shall just work as it does here. Checked device logs? Also if you rely on that broadcars make sure your app prevents SD card installation as SD card

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: well, i run it from eclipse to install it and then restart and power off the phone to test if it works. Are the apps run straight from eclipse stored on the SD card? i don't know about that to be honest. I haven't done that explicitly though No, they are

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
I basically start an activity which is the main activity of my app on startup (I want the app to appear straight when you turn on the phone). So my main activity is declared as launcher in the manifest and in my receiver class I start an intent that launches it as well: . activity

Re: [android-developers] Re: Question about bug reports

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 23:01, String sterling.ud...@googlemail.com wrote: Yes, whoever posted log.d() gets stripped at runtime was wrong. Really? http://developer.android.com/reference/android/util/Log.html It's up to you to do so. Never investigated too deeply, but from I rememeber I saw no

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: I basically start an activity which is the main activity of my app on startup (I want the app to appear straight when you turn on the phone). So my main activity is declared as launcher in the manifest and in my receiver class I start an intent that launches

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
yeah, i have checked the logs and thre is no indication of the app starting or the action boot_completed received. the sd is not mounted neither when the app is installed or at anytime during the testing process. As I've said before, on other devices that only provide power off functionality and

[android-developers] Re: SIP Demo and Android 2.3 problem

2011-02-04 Thread jan telega
Actually emulator supports SIP. All you have to do to make it works is described here: http://code.google.com/p/android/issues/detail?id=13037 On 9 Gru 2010, 20:30, WindowsNT windows...@gmail.com wrote: I am waiting for them to fix it. The emulator simply doesn't support SIP. Too bad. On Dec

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to use some Market apps) and this apparently causes the device to start after a power off without sending the BOOT_COMPLETED action. Can any of you test this on

[android-developers] Re: How to fetch own mobile number in android

2011-02-04 Thread vimal
Thanks for your reply , getLine1Number() only guaranteed to get mobile number if MSISDN number seted for mobile device , we can check from Setting - About Phone --- MSISDN. Other things happen with me is that recently i am using new sim card - for new sim card MSISDN number didnt change, MSISDN

[android-developers] Problem passing array from vertex to pixel shaders

2011-02-04 Thread Deltaflux
I've discovered a problem passing an array from a vertex shader to a pixel shader. Somewhere the array ends up overlapping with other constants, for example if I have an array of UV coordinates and a colour being passed though, then changing the UV coordinates will affect the colour. Using

[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2011-02-04 Thread Deltaflux
The tutorials and samples are both really useful, although sometimes misleading. For example the CubeLiveWallpaper uses a canvas for rendering the 3D cube, but this is a really slow way of rendering animated content. I spent a while trying to work out why it was so slow before realising I

Re: [android-developers] Re: SKIA Bitmap loading ??

2011-02-04 Thread Romain Guy
Shelves is still relevant, but it should be updated to show newer APIs and take advantage of multiple resolutions and densities. There might be better samples out there though :) 2011/2/4 Kostya Vasilyev kmans...@gmail.com It's really a shame that that blog has no search function. But I think I

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 12:31, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to use some Market apps) and this apparently causes the device to start after a power off without

[android-developers] Facebook = Done ; Twitter = Pending ; Developers please guide

2011-02-04 Thread Abhishek Talwar
Hey guys I have completed my quest over facebook to post a simple text , image , link in facebook. Now i have to do the same for twitter, any word over this topic will be appreciated . Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
HTC Desire HD On Fri, Feb 4, 2011 at 1:54 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 4 February 2011 12:31, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to

[android-developers] Network I/O in background thread

2011-02-04 Thread Amit
Hi, Is it possible to trigger periodic network I/O from a pocess, who is currently in background. And in my case it is possible that none of activiy is in foreground at the time when network i/o is requested. This I/O is client driven. Thanks in advance -Amit -- You received this message

Re: [android-developers] Network I/O in background thread

2011-02-04 Thread Kostya Vasilyev
Yes, use AlarmManager, possibly with an IntentService or WakefulIntentService. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.02.2011 15:14 пользователь Amit agrawalamit2...@gmail.com написал: Hi, Is it possible to trigger periodic network I/O from a pocess, who is currently in

Re: [android-developers] Facebook = Done ; Twitter = Pending ; Developers please guide

2011-02-04 Thread Robin Talwar
This is the code which i am using :- package org.myTweet; import oauth.signpost.OAuthProvider; import oauth.signpost.basic.DefaultOAuthProvider; import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer; import oauth.signpost.exception.OAuthCommunicationException; import

[android-developers] Re: On-the-fly decryption of large files

2011-02-04 Thread Peter Sutton
Never worked with JNI or the NDK. However, programming's programming. How difficult do you think this task would be? 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] Re: SKIA Bitmap loading ??

2011-02-04 Thread Yahel
Thanks for your input Romain, could you comment on the original question as well ? What was the point of the SKIA testing and what are the difference between the two way of downloading an image ? Yahel On 4 fév, 12:53, Romain Guy romain...@android.com wrote: Shelves is still relevant, but it

Re: [android-developers] Re: On-the-fly decryption of large files

2011-02-04 Thread Kostya Vasilyev
Peter, Is your content provider serving data to other (not written by you) applications? I'm thinking perhaps you could change the interface somewhat, I have some ideas, but it only makes sense if you can use something other than ContentResolver.openInputStream. -- Kostya 04.02.2011

Re: [android-developers] Re: On-the-fly decryption of large files

2011-02-04 Thread Kostya Vasilyev
Oh, one other thing - it should be possible to use a socket to send the data across. ParcelFileDescriptor.fromSocket is API level 1. In theory, less secure, but it probably requires rooted firmware to listen to traffic going over the local interface, and then a pipe would be compromised too.

[android-developers] Re: Maintaining a free and paid version maybe other version

2011-02-04 Thread Régis
Yes, I somehow also miss precompilation in Java ;-) I suppose you could simply define a constant somewhere in your code like {{boolean Constant.FULLVERSION}} and then use if(Constant.FULLVERSION) { // interesting code } else { throw new UnimlementedException(Please buy the full version); }

[android-developers] TableLyaout getting invalidated

2011-02-04 Thread astegic astegic
HI, I am using a TableLayout in my activity but because of some reason it is getting Invalidated (columns of table layout are falling towards one side of the screen) and I have to call table.requestlayout() to make it look fine again and again. I found a scenario in which my TableLayout is

[android-developers] TableLayout getting invalidated

2011-02-04 Thread astegic astegic
HI, I am using a TableLayout in my activity but because of some reason it is getting Invalidated (columns of table layout are falling towards one side of the screen) and I have to call table.requestlayout() to make it look fine again and again. I found a scenario in which my TableLayout is

Re: [android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-04 Thread Mark Murphy
On Fri, Feb 4, 2011 at 1:13 AM, Jeffrey jeffisagen...@gmail.com wrote: Okay, figured it out. I guess I can't have anything from the AppWidgetProvider class activate a registerReceiver so I have to make a service to do it. I don't keep it running, just launch it to update everything then it

Re: [android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-04 Thread Mark Murphy
On Thu, Feb 3, 2011 at 9:30 PM, AndroidDevTime androiddevd...@gmail.com wrote: what are the power battery performance implications of maintaining a service? Will this drain the battery more to keep a service up and running?  Especially if you bind to the service from the widget to call service

[android-developers] Silent Installation for Android

2011-02-04 Thread dacky
Hi, I am wondering that now android has a market web store already and installing applications through the web client simply pushes the application you want to install to your device painlessly and silently. Is silent installation possible for 3rd party developers? If it is availabe where can we

Re: [android-developers] Playing an audio file during a call

2011-02-04 Thread Mark Murphy
On Fri, Feb 4, 2011 at 12:10 AM, Nagesh nagesh.go...@gmail.com wrote: I am new to android development, i am developing one application which needs to play an audio song to callee when call is lifted by callee, and automatically call has to be disconnected automatically when audio song playing

Re: [android-developers] Re: How to fetch own mobile number in android

2011-02-04 Thread 陈彧堃
That's almost impossible. Use short message to do it. -- 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] Silent Installation for Android

2011-02-04 Thread Mark Murphy
On Fri, Feb 4, 2011 at 8:14 AM, dacky harvey.dac...@gmail.com wrote: I am wondering that now android has a market web store already and installing applications through the web client simply pushes the application you want to install to your device painlessly and silently. Is silent

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Mark Murphy
Egad. Can you tell me where in the Settings app (or elsewhere) this checkbox resides? Thanks! On Fri, Feb 4, 2011 at 7:06 AM, Yorgos X yor...@gmail.com wrote: HTC Desire HD On Fri, Feb 4, 2011 at 1:54 PM, Marcin Orlowski webnet.andr...@gmail.com wrote: On 4 February 2011 12:31, Yorgos X

[android-developers] Re: Silent Installation for Android

2011-02-04 Thread dacky
So this feature is just for android. Are there any plans in the future to make this available for developers? On Feb 4, 2:16 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Feb 4, 2011 at 8:14 AM, dacky harvey.dac...@gmail.com wrote: I am wondering that now android has a market web

Re: [android-developers] Re: Silent Installation for Android

2011-02-04 Thread Mark Murphy
On Fri, Feb 4, 2011 at 8:30 AM, dacky harvey.dac...@gmail.com wrote: So this feature is just for android. Are there any plans in the future to make this available for developers? I rather doubt it. Device manufacturers may have access to it for their own markets (e.g., SHOP4APPS) -- I haven't

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
it is in menu - settings - applications there are the five below options there: - unknown sources - manage applications - running services - development - fast boot On Fri, Feb 4, 2011 at 3:30 PM, Mark Murphy mmur...@commonsware.com wrote: Egad. Can you tell me where in the Settings app (or

[android-developers] Re: LVL behavior on client side license validity check for free apps

2011-02-04 Thread MarcoAndroid
@rojorshi: here's the link you were looking for I think. Seems you should be fine for free apps. Just search for the word 'free' in this link: http://developer.android.com/guide/publishing/licensing.html It looks like you won't be able to upload a free version with the LVL permission in it... if

RE: [android-developers] Re: Can't get android sources

2011-02-04 Thread Massimo Messore
Hi, same issue here. It seems like froyo branch is not yet present in the manifests. Is there any chance to get it back? Thanks in advance. Pizza67 -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Anees Sent:

Re: [android-developers] Re: Can't get android sources

2011-02-04 Thread Mark Murphy
On Fri, Feb 4, 2011 at 9:50 AM, Massimo Messore massimo.mess...@gmail.com wrote: same issue here. It seems like froyo branch is not yet present in the manifests. Is there any chance to get it back? Sure there is a chance. This list has nothing whatsoever to do with it, however. Questions

[android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-02-04 Thread mot12
Looks like I screwed up big time. I retrieved the wrong revision when checking this users code. The null pointer was actually the line following: if (Settings.System.getString(getContentResolver(), Settings.System.ACCELEROMETER_ROTATION)).equals(1)) which should have been

Re: [android-developers] Urgent Need : Oracle PL/SQL Developer in Cambridge, MA for 6+ Months(F_2_F)

2011-02-04 Thread Haroon Khalid
Agay On Thu, Feb 3, 2011 at 4:42 PM, Kowshik Prakasam kows...@gmail.com wrote: Dickhead. On Tue, Feb 1, 2011 at 7:21 AM, Ajay - Gain America, Inc. a...@gainam.net wrote: Hi, * * We *Gain America, Inc* one of the fastest growing IT Consulting Company in US. We have an urgent

[android-developers] Re: Need to buy 15 Nexus One Unlocked

2011-02-04 Thread joshbeck
Thanks, a few wrote me with good suggestions. I'll contact Best Buy and find out what the unlocked price is. I have 3 N1's in use in the class right now running Cyanogen. Wireless AP only. Can't afford 15 plans. Thanks to all of you who responded or emailed with suggestions. Very helpful. Josh

Re: [android-developers] Finish Activity from Dialog.. Not finishing

2011-02-04 Thread TreKing
On Thu, Feb 3, 2011 at 11:09 PM, Aruna Shidling aruna.shidl...@gmail.comwrote: Yes.. If your activity is the Home activity, what do you expect finish() to do? - TreKing

[android-developers] Re: ServiceTestCase and Contexts

2011-02-04 Thread nate
I checked my setUp() method and I do call super.setUp() as the first line. The reason I believe the contexts are the same are two-fold: I tried both: getSystemContext().getAssets().list(.) getContext().getAssets().open(.); and neither of them listed any files. The second reason is that I read

[android-developers] Re: ServiceTestCase and Contexts

2011-02-04 Thread nate
Also, i put the test assets in the target project's directory and was able to access them with: getSystemContext().getAssets().list(.) On Feb 4, 10:31 am, nate nroy...@gmail.com wrote: I checked my setUp() method and I do call super.setUp() as the first line.  The reason I believe the contexts

Re: [android-developers] Refreshing running activity from a background service

2011-02-04 Thread TreKing
On Tue, Feb 1, 2011 at 10:07 AM, Ilja N ilja.nevd...@gmail.com wrote: The thing I don't get is - how to perform UI refresh in the main activity (if it's on the foreground) when MessageSyncBroadcastReceiver gets its job done? Send another broadcast that your activity dynamically registers

Re: [android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 16:07, mot12 martin.hu...@gmail.com wrote: Looks like I screwed up big time. I retrieved the wrong revision when checking this users code. The null pointer was actually the line following:                if (Settings.System.getString(getContentResolver(),

[android-developers] Re: Suggestions on best way to draw a laser in a 2d game

2011-02-04 Thread niko20
Peter's idea sounds like a good one to start with to try and see if you like it. For the best realism though I think a bitmap would be the solution. You don't have to rotate the bitmap - just make a bitmap that is known as a billboard (google billboarding graphics), with some alpha in it.

[android-developers] How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mystique
I have the following, how do I get current position, value C during onItemClick? Many Thanks. adapterS = new SimpleAdapter(this, list, R.layout.sort_by_name, new String[] {A,B, C}, new int[] {R.id.A, R.id.B, R.id.C} ); lv.setAdapter(adapterS); --- lv.setOnItemClickListener(new

Re: [android-developers] How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Kostya Vasilyev
The current position is position. The value is in the adapter, you can call a.getAdapter() to get it, then call adapter.getItem(position) to get the value. -- Kostya 04.02.2011 18:46, Mystique пишет: I have the following, how do I get current position, value C during onItemClick? Many

Re: [android-developers] How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mark Murphy
The parameter named position to onItemClick() is your position. In terms of how to get value 'C', that depends on what list is. On Fri, Feb 4, 2011 at 10:46 AM, Mystique joven.ch...@gmail.com wrote: I have the following, how do I get current position, value C during onItemClick? Many Thanks.

[android-developers] Re: Android activity forces close.

2011-02-04 Thread niko20
There is probably a bug in your Hangman.class's OnCreate or other startup code in that class. -niko On Feb 3, 5:27 pm, TreKing treking...@gmail.com wrote: On Mon, Jan 31, 2011 at 1:41 PM, Traveler jadkins...@gmail.com wrote: Any advice is appreciated. Read the log cat and post the exception

[android-developers] Re: Samsung-Specific Media Player Errors

2011-02-04 Thread Andrey Yasinetskiy
Hello, I have the same issue in my application? Did anyone already resolved that? -- 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

[android-developers] Re: How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mystique
Hi Master Murphy, The list is a ArraryListHashMapString, String ArrayListHashMapString,String list = new ArrayListHashMapString,String(); while (eventType != XmlResourceParser.END_DOCUMENT) { if (eventType == XmlResourceParser.START_TAG)

Re: [android-developers] Re: How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mark Murphy
Then it would appear to be: list[position].get(C) On Fri, Feb 4, 2011 at 11:08 AM, Mystique joven.ch...@gmail.com wrote: Hi Master Murphy, The list is a ArraryListHashMapString, String ArrayListHashMapString,String list = new ArrayListHashMapString,String();                        while

Re: [android-developers] Re: How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mark Murphy
Oh, no wait, this is an ArrayList. Scratch that, it would be: list.get(position).get(C) On Fri, Feb 4, 2011 at 11:13 AM, Mark Murphy mmur...@commonsware.com wrote: Then it would appear to be: list[position].get(C) On Fri, Feb 4, 2011 at 11:08 AM, Mystique joven.ch...@gmail.com wrote: Hi

[android-developers] Re: How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mystique
Typo during cut/past for: String C = pullParser.getAttributeValue(null, c); On Feb 5, 12:08 am, Mystique joven.ch...@gmail.com wrote: Hi Master Murphy, The list is a ArraryListHashMapString, String ArrayListHashMapString,String list = new ArrayListHashMapString,String();                  

[android-developers] Re: Dual mode (Honeycomb Gingerbread) is the same APK.

2011-02-04 Thread Ed Burnette
They could have a wrapper class that detects and uses the 3.0 API if it's there, and otherwise does some fall back behavior that looks good on older versions. On Feb 3, 6:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I read this on android-developers.blogspot.com, from

[android-developers] Android 3.0 questions

2011-02-04 Thread Victor lyamtsev
Can someone help to clarify what Android 3.0 platform is: is that new version of SDK i can use to create applications for Froyo, or will I also have to upgrade OS image on the phone? Any idea when it will be available for phones ( for Nexus One in particular) ? Thank you, -V -- You received this

[android-developers] Android Layout Editor for 'Honeycomb (Preview)' issue with color values: Exception thrown in Eclipse.

2011-02-04 Thread Streets Of Boston
Hi, The Android Layout Editor has been somewhat problematic for me when it shows the layout of the widgets on the screen. Some of the widgets are all shown crowded to the top. However, when showing the outline of the widgets, the outlines are drawn in the correct spot. However, when i select

Re: [android-developers] Android 3.0 questions

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 17:38, Victor lyamtsev vlyamt...@gmail.com wrote: Can someone help to clarify what Android 3.0 platform is: is that new version of SDK i can use to create applications for Froyo, If you want to create namely for Froyo it'd be better to use Froyo SDK as your target. or will

[android-developers] Re: On-the-fly decryption of large files

2011-02-04 Thread Peter Sutton
Is your content provider serving data to other (not written by you) applications? The content provider is private to my application and does not server data to others. I'm thinking perhaps you could change the interface somewhat, I have some ideas, but it only makes sense if you can use

[android-developers] import protected static interface

2011-02-04 Thread Alberto
Can you import these interfaces? and how? -- 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] Re: How to retrieve value from onItemClick(AdapterView)?

2011-02-04 Thread Mystique
Many Thanks to all of you. Both methods work :) -- 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] Finish Activity from Dialog.. Not finishing

2011-02-04 Thread Aruna Shidling
yes, you are correct.. i got it fixed .. Thanks, On Fri, Feb 4, 2011 at 8:52 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 3, 2011 at 11:09 PM, Aruna Shidling aruna.shidl...@gmail.comwrote: Yes.. If your activity is the Home activity, what do you expect finish() to do?

[android-developers] Re: Maintaining a free and paid version maybe other version

2011-02-04 Thread mat
Surprised this wasn't mentioned before but a library project would be a good way of doing this. So pro and free versions implement the library project, and you could have the pro version extend classes in your library, or even have the free version extend and override methods to ask to

  1   2   3   >