Re: [android-developers] Snow fall effect
This has absolutely nothing to do with Android specifically. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] installing eclipse
On Thu, Jul 12, 2012 at 2:05 AM, hafiz didarali hafizdidar...@gmail.comwrote: how to install eclipse if we get this error Try a Google search for the error. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Process 8769 terminated by signal (7)
Hi, We are still seeing the crash. This is the compile script build_android.sh that we are using (modified from the link as per you r suggestion): PREBUILT=/home/arun/android/android-ndk-r6b/toolchains/arm-linux- androideabi-4.4.3/prebuilt/linux-x86 PLATFORM=/home/arun/android/android-ndk-r6b/platforms/android-9/arch- arm CPU=armv7-a OPTIMIZE_CFLAGS=-mfloat-abi=softfp -mfpu=neon -marm -march=$CPU - mtune=cortex-a8 PREFIX=./android/$CPU ADDITIONAL_CONFIGURE_FLAG=--enable-neon ./configure --target-os=linux \ --prefix=$PREFIX \ --enable-cross-compile \ --extra-libs=-lgcc \ --arch=arm \ --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \ --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \ --nm=$PREBUILT/bin/arm-linux-androideabi-nm \ --sysroot=$PLATFORM \ --extra-cflags= -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 - Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums - fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS \ --disable-shared \ --enable-static \ --extra-ldflags=-Wl,-malign-double -rpath-link=$PLATFORM/usr/lib - L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog \ --disable-everything \ --enable-demuxer=h264 \ --disable-ffplay \ --enable-protocol=file \ --enable-avformat \ --enable-avcodec \ --enable-decoder=rawvideo \ --enable-decoder=mjpeg \ --enable-decoder=h263 \ --enable-decoder=mpeg4 \ --enable-decoder=h264 \ --enable-parser=h264 \ --disable-network \ --enable-zlib \ --disable-avfilter \ --disable-avdevice \ $ADDITIONAL_CONFIGURE_FLAG make clean make -j4 install $PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o $PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib -L $PLATFORM/usr/lib -soname libffmpeg.so -shared -nostdlib - z,noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/ libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog --warn-once --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm- linux-androideabi/4.4.3/libgcc.a And the Android.mk is as follows: LOCAL_PATH := $(call my-dir) FFMPEG:= /home/arun/ffmpegneon1103/android/armv7-a/lib include $(CLEAR_VARS) LOCAL_MODULE:= OnVRView LOCAL_SRC_FILES := OnVRView.cpp ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) LOCAL_CFLAGS := -DHAVE_NEON=1 LOCAL_MODULE := OnVRView LOCAL_SRC_FILES += VideoDecoder.cpp.neon LOCAL_ARM_NEON := true endif LOCAL_C_INCLUDES := /home/arun/ffmpegneon1103/android/armv7-a/include LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := cpufeatures LOCAL_LDLIBS:= -llog -L$(FFMPEG) -lswresample -lavformat - lavcodec -lswscale -lavutil -Werror include $(BUILD_SHARED_LIBRARY) $(call import-module,cpufeatures) This requires any changes? Thank you, B.Arunkumar. On Jul 12, 10:29 am, B.Arunkumar awsnetworkrecor...@gmail.com wrote: Hi, Actually, I am facing the same problem as Andrei and I posted to the android ndk googlegroups just yesterday that it is the same problem as his. http://groups.google.com/group/android-ndk/browse_frm/thread/495f7acf... I am yet to try out his suggestion. I will try it today and get back to the forum. Thank you,B.Arunkumar On Jul 11, 11:12 pm, Justin Buser justin.bu...@gmail.com wrote: You'd really have to provide some relevant information, telling us the sigspec and what your apps pid happened to be when it died is not really enough to go on. On Friday, April 20, 2012 3:44:40 AM UTC-4,B.Arunkumarwrote: Hi, We have designed an app which renders video from IP camera on the Android mobile (Samsung Galaxy SII) through RTSP, the video frames get decoded by ffmpeg and rendered on ImageView. We get the RTSP responses and video packets from the IP camera using a socketchannel and asynchronous selector. Sometimes we get this error Process 8769 terminated by signal (7) and the app crashes at the point where the asynchronous selector is read and the packets get processed. Could somebody give any clues on what could be the possible reasons why we get this error sometimes and the app crashes? Thank you, B.Arunkumar -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] sapserver web service
On Wed, Jul 11, 2012 at 7:27 AM, MERT TUNÇBİLEK merttuncbi...@gmail.comwrote: how can i cosume a web service WSDL file that generated by sapserver ? In android. Write code that connects to your web service and parses a WSDL file. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Programatically setting Linear Layout parameters i.e. Wrap_content and match parent
On Wed, Jul 11, 2012 at 2:24 PM, marcpolo marc.armstron...@gmail.comwrote: ViewB.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 1)); Don't use MATCH_PARENT with weight, leave it as WRAP_CONTENT. The Weight parameter takes care of it filling the required space. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to set loader on starting new android activity
On Wed, Jul 11, 2012 at 5:22 AM, Abdul Qadir qadir_clas...@hotmail.comwrote: can anyone tell me how to set loader on starting new activity in android on onCreate event. Set what loader? On what? http://www.catb.org/~esr/faqs/smart-questions.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Prasannakrishna Bhagwat has invited you to use Google Talk
Prasannakrishna Bhagwat has invited you to sign up for Google Talk so you can talk to each other for free over your computers. To sign-up, go to: http://www.google.com/accounts/NewAccount?service=talksendvemail=trueskipvpage=truereqemail=android-developers@googlegroups.comcontinue=http://www.google.com/talk/service/handleinvite?p%3DaH1-TjoBAAA.Qdnoo4ykysa50_heYj6cPl4i9Khm1x3dzOm_d4Yl6wZxUaQjxI0uo0Gq4zZGgTxp_b4mEMlzDdlyxNDoQBr7v6nhiEt35B0AFny0WpkcbdM.cYw4INjI5O9ZiGI1VXaF5wfollowup=http://www.google.com/talk/service/HandleEmailVerified?ee%3DaH1-TjoBAAA.Wx7zQC_vqzDm2F9-y-qHXrWRqTMRjcqubWrxL4b4tGE446KYo4nbFxYDrEPGKsBy.9SDmb9TLpeSqqm9jjz3f4w%26p%3DaH1-TjoBAAA.Qdnoo4ykysa50_heYj6cPl4i9Khm1x3dzOm_d4Yl6wZxUaQjxI0uo0Gq4zZGgTxp_b4mEMlzDdlyxNDoQBr7v6nhiEt35B0AFny0WpkcbdM.cYw4INjI5O9ZiGI1VXaF5w Google Talk is a downloadable Windows* application that offers: - Free calls over your computer anytime, from anywhere, and for as long as you want - A simple and intuitive user interface for sending instant messages or making calls--no clutter, pop-ups or ads - Superior voice quality through just a microphone and computer speaker - Fast file transfers with no restrictions on file type After signing-up, download Google Talk and sign in with your new Google Account username and password. You can then begin inviting anyone you want to talk to for free. Google Talk works with any computer speaker and microphone, such as the ones built-in to many PC laptops today, as well as with wired and wireless headsets and USB phones. Google Talk also works across all firewalls. Google Talk is still in beta. Just like with Gmail, we're working hard to add features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making it even better! Thanks, The Google Talk Team To learn more about Google Talk before signing up, visit: http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). * Not a Windows user? No problem. You can also connect to the Google Talk service from any platform using third-party clients (http://www.google.com/talk/otherclients.html). -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] AbsListAdapter.setAdapter() api 11 but why does it exists on api 8?
On Wed, Jul 11, 2012 at 5:53 AM, Allan Gregor Guevarra aggueva...@gmail.com wrote: so.. yeah.. the heck is happening?! Hover over setAdapter in Eclipse. What does it say? Probably that setAdapter is inherited from AdapterView, which AbsListView extends and which has had that method since API level 1. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Restriction in ContactsProvider has gone ?
Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source Project git repo, but i couldn't. I found the commit ed6bfd922fd84db21de08c1d12e93c501b86560d - Remove restricted white-listing I want to know why this feature removed from source. (What's happing??) (Because of removal feature, any application can access the restricted data of ContactsProvider freely? ) Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eclipse Juno: Does not want to play well with android SDK.
On Wed, Jul 11, 2012 at 10:53 AM, Cythes cytheshic...@gmail.com wrote: However, I cant find android anywhere in eclipse 4.2 What does this mean? What are you looking for, exactly, that you can't find? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] gridView item with different height in the same row
On Wed, Jul 11, 2012 at 4:10 AM, devAndroid poss.ora...@gmail.com wrote: I want to know if it's possible to build a gridView with items of one row that have not the same height? I'm going to go out on a limb and say yes, it's possible. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Restriction in ContactsProvider has gone ?
This was never a supported API in the SDK, and the design behind it was fundamentally flawed (which is one reason it was never in the SDK). On Thu, Jul 12, 2012 at 11:29 PM, jindog jin...@gmail.com wrote: Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source Project git repo, but i couldn't. I found the commit ed6bfd922fd84db21de08c1d12e93c501b86560d - Remove restricted white-listing I want to know why this feature removed from source. (What's happing??) (Because of removal feature, any application can access the restricted data of ContactsProvider freely? ) Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Start an Activity from a ContentProvider
On Tue, Jul 10, 2012 at 7:00 PM, Danny Shields vedos...@gmail.com wrote: Is it possible? Do you have a Context at the point you wish to show the Dialog? Then sure, why not? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] NFC game
I am doing Android project for NFC hunter game, in that i want some idea with sample code about how to search UID from google app engine database. On Fri, Jul 13, 2012 at 9:47 AM, TreKing treking...@gmail.com wrote: On Thu, Jul 12, 2012 at 7:41 AM, iconapp 2010 iconapp2...@gmail.comwrote: Android developers, can u help me in doing nfc hunter game, i want to create a monster how do i do.. Is anyone supposed to know what you're asking? http://www.catb.org/~esr/faqs/smart-questions.html waiting for reply Waiting for better question. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] query for contact
I have a question for querying contacts. I have the following code // Run query Uri uri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI; String[] projection = new String[] { PhoneLookup._ID, PhoneLookup.DISPLAY_NAME, ContactsContract.CommonDataKinds.Phone.NUMBER }; String selection = null; String[] selectionArgs = null; String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + COLLATE LOCALIZED ASC; // resolve all phone numbers Cursor results = resolver.query( // uri, // projection, // selection, // selectionArgs, // sortOrder); The result will give me all contacts on the phone. Can anyone tell me how query contact only on phone and only on sim card ? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Playing Audio During call so that other person on call can hear it
Hi Guys, I have been searching for the solution.I have tried all possible ways.but still that audio is not hearable to other end even low volume also.If any body give the solutions or suggestion I will pay for you. Thanks, Chaitanya On Wednesday, May 26, 2010 1:22:42 AM UTC+5:30, Amit Mangal wrote: Hi Everyone, I want to build an application which will play an audio file when call is connected so that other person on the call can hear this audio file. experts please guide me how to do that ? Thanks in advance Amit -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Restriction in ContactsProvider has gone ?
Hmm... But, I found the source code that the feature is implemented on ContactsContract ( Android 2.2 or higher including ICS). And in my phone (Galaxy S2 with ICS), the Contacts DB has the field is_restricted yet. According to your reply, how they (especially, facebook app.) can use this feature ?? ( Hacked ?? ) On Friday, July 13, 2012 3:34:10 PM UTC+9, Dianne Hackborn wrote: This was never a supported API in the SDK, and the design behind it was fundamentally flawed (which is one reason it was never in the SDK). On Thu, Jul 12, 2012 at 11:29 PM, jindog jin...@gmail.com wrote: Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source Project git repo, but i couldn't. I found the commit ed6bfd922fd84db21de08c1d12e93c501b86560d - Remove restricted white-listing I want to know why this feature removed from source. (What's happing??) (Because of removal feature, any application can access the restricted data of ContactsProvider freely? ) Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Recorded message
Even though I am Playing music through speaker phone that music is not hearable to other end.:-(..Please give me suggestions to work on that. Thanks, Chaitanya.K On Thursday, November 18, 2010 9:59:28 PM UTC+5:30, albertsmus wrote: Thnaks a lot Στις 18 Νοεμβρίου 2010 6:09 μ.μ., ο χρήστης Mark Murphy mmur...@commonsware.com έγραψε: 2010/11/18 ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com: Is it possible to play a recorded message when making a phone call. I mean to call a contact and when the call is answered to play immediately a recorded message. Android has no access to the in-call audio stream at this time. If the phone is in speakerphone mode, my understanding is that you can play a media file through the speakers, and that it may get picked up by the microphone and therefore go into the call. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Restriction in ContactsProvider has gone ?
This isn't a public API. You can't assume anything about implementation details like this. On Fri, Jul 13, 2012 at 12:13 AM, jindog jin...@gmail.com wrote: Hmm... But, I found the source code that the feature is implemented on ContactsContract ( Android 2.2 or higher including ICS). And in my phone (Galaxy S2 with ICS), the Contacts DB has the field is_restricted yet. According to your reply, how they (especially, facebook app.) can use this feature ?? ( Hacked ?? ) On Friday, July 13, 2012 3:34:10 PM UTC+9, Dianne Hackborn wrote: This was never a supported API in the SDK, and the design behind it was fundamentally flawed (which is one reason it was never in the SDK). On Thu, Jul 12, 2012 at 11:29 PM, jindog jin...@gmail.com wrote: Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source Project git repo, but i couldn't. I found the commit **ed6bfd922fd84db21de08c1d12e93c**501b86560d - Remove restricted white-listing I want to know why this feature removed from source. (What's happing??) (Because of removal feature, any application can access the restricted data of ContactsProvider freely? ) Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@** googlegroups.com android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
It is supposed to only show its *own* logs. And I confirm this behavior with CatLog on my own JB device. If you have a different behavior well I guess it's a bug ;) -- B.LUBEK On 07/13/2012 02:39 AM, Zsolt Vasvari wrote: What are we talking about this in this thread? I just tried the CatLog app on my official build (JRO03C) build on my Galaxy Nexus and it shows the logcat as it always has. On Friday, July 13, 2012 8:09:50 AM UTC+8, Mark Murphy (a Commons Guy) wrote: On Thu, Jul 12, 2012 at 8:02 PM, Peter Sinnott psinn...@gmail.com mailto:psinn...@gmail.com wrote: 3 devices with ICS ( HTC Desire / HTC One X / Asus Transformer ) and none of them seem to do it. Probably something obvious I'm doing wrong. Either that, or it's not universal. I just gave it a few tries on a Samsung Galaxy Tab 2 7.0, also running ICS, and could not seem to get it to trigger. Which is why we need some other trigger mechanism that isn't a button-ish form of the game Twister. The concept (let the user send system logs to who they wish) is sound, but it has to be something reasonable for users to accomplish. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.8 Available! -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- BoD -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
Phew, something I *don't* use is disappearing for a change :-) If you want the user to give you debugging information, you can have them generate a bug report with power + volume down + volume up which includes It's just power and vol down on my Nexus S 4.0.4. Could you mention since which OS version this is available ? It's already pretty fiddly with being different buttons and taking ages to show a sign of life, would be preferable if I don't ask users to try it when it's never going to work. Thanks, Pent -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] query for contact
be specific before asking question !!! -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?
i have same problem, did you solve it yet? whould u tell me how? 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Get Passwords from Webview
Yes, I found a solution that partially solves my problem. This is the link, upon which it is based. http://stackoverflow.com/questions/3613798/is-it-possible-to-access-html-form-data-posted-through-a-webview On Friday, July 13, 2012 1:19:31 PM UTC+8, Nobu Games wrote: On Thursday, July 12, 2012 9:07:53 PM UTC-5, Mani wrote: 1. Is there any straightforward event that is generated when a Submit happens inside the Webview ? You could add a submit event listener to the login form node via JavaScript: formTag.addEventListener('submit', onSubmitFunction); where formTag is your login form DOM node and onSubmitFunction is the name of a function that handles that event. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
On 12/07/2012 11:02, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs Don't you see any errors in Logcat ? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 'share_context' parameter of eglCreateContext()
Actually, sorry, I got the problem description messed up. It's not eglCreateContext() who generates BAD_MATCH, that function actually indicates no problem. It's the subsequent eglMakeCurrent() that fails with BAD_MATCH. My EGL (1.3) spec gives a number of conditions under which eglMakeCurrent() can fail with BAD_MATCH, like surfaces not being compatible with context, or surfaces not being able to fit into memory, or null context or surfaces. The way I understand this though, none of those would go away by just specifying EGL_NO_CONTEXT as share_context in eglCreateContext(). On Thu, Jul 12, 2012 at 11:40 PM, Latimerius l4t1m3r...@googlemail.com wrote: While creating a GLES context for off-screen rendering using eglCreateContext(), if I set the third parameter ('share_context') to the window context that's used for ordinary rendering to the screen to avoid having to upload textures etc. to the new context I get BAD_MATCH. EGL spec says BAD_MATCH may be generated by eglCreateContext() if GLES server context state for all sharing contexts does not exist in a single address space. I don't know how to verify this - I believe the contexts in my case (the window context created by GLSurfaceView and the other by my code) should meet the requirement, however I'm still getting BAD_MATCH. Could someone help me out with this? Not having to upload everything to the newly created off-screen context would be a performance boon... 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Layout issues
Hi All, I am having a problem with layouts. I am sure I have just missed something stupid but if someone could point me in the right direction I would really appreciate it. I have build a navigation system which works very well for my application, I have a scrolling tabBar which is a set of buttons inside a horizontal scrollView. When one of the buttons is hit I load a new Layout into the frameView. So the idea is I have a LinearLayout which contains a FrameLayout and a horozontalScrollView. Pretty simple, and worked fine while I gave the frameLayout a specific size. Now I want to support multiple device sizes I am having all sorts of issues. I used patch9s to sort out the graphics but if I pop a layout like this: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:background=@android:color/black android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent ListView android:id= @android:id/android:list android:layout_width=fill_parent android:layout_height=fill_parent/ /LinearLayout Into my frame and I loose some of the rows ie they are there but are outside of the scrollable area. In iOS I would alter the contentSize but I can find no way of doing that. My Tab controller adds the views like this private FrameLayout frame; private LocalActivityManager manager; ... frame = (FrameLayout) findViewById(R.id.tab_content_frame); if(manager == null) { manager = getLocalActivityManager(); } Intent preloader = new Intent(this,SSDEventsActivity.class); View childView = manager.startActivity(preloader.getAction(), preloader.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView(); frame.removeAllViews(); frame.addView(childView); Here is the layout in question: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=match_parent android:layout_height=match_parent android:gravity=bottom FrameLayout android:id=@+id/tab_content_frame android:orientation=vertical android:layout_height=fill_parent = if I set this it to a number it all works but looks awful on all but the one size. android:layout_width=fill_parent android:layout_marginTop=0dip /FrameLayout HorizontalScrollView android:id=@+id/tab_button_scroller android:orientation=vertical android:layout_height=60dip android:layout_width=fill_parent android:fillViewport=true android:layout_marginBottom=0dip android:background=@color/black RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_height=wrap_content android:layout_width=wrap_content ImageButton android:contentDescription=@string/tab_description_events android:layout_marginTop=5dip android:id=@+id/tab_button_zero android:layout_width=50dip android:layout_height=50dip android:layout_marginLeft=10dip android:layout_gravity=center android:text=@string/tab_title_events /ImageButton ImageButton android:contentDescription=@string/tab_description_buses android:layout_marginTop=5dip android:id=@+id/tab_button_one android:layout_width=50dip android:layout_height=50dip android:layout_marginLeft=80dip android:layout_gravity=center android:text=@string/tab_title_buses /ImageButton ImageButton android:contentDescription=@string/tab_description_map android:layout_marginTop=5dip android:id=@+id/tab_button_two android:layout_width=50dip android:layout_height=50dip android:layout_marginLeft=150dip android:layout_gravity=center android:text=@string/tab_title_map /ImageButton ImageButton android:contentDescription=@string/tab_description_help android:layout_marginTop=5dip android:id=@+id/tab_button_three android:layout_width=50dip android:layout_height=50dip
[android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?
Alfa wrote: i have same problem ... see TextView.getLayout() pskink -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
I've tested the adb shell pm grant pkg android.permission.READ_LOGS and can confirm that it enables READ_LOGS permission for my application. Here how persistent this granted permission is: 1) Granted permission survives reboot. 2) Granted permission survives application update (i.e. adb install -r). 3) Granted permission does not survive if application was uninstalled and then installed again. This is basically what I'd expect from this functionality. So basically the developer/tester flow I was worried about is actually covered by Jelly Bean. Which is good news. On Sunday, July 8, 2012 10:26:47 PM UTC+3, Ievgenii Nazaruk wrote: Hi all, I've been working on an application for developers that uses DropBoxManager. The DropBoxManager requires READ_LOGS permission to be granted in order to query information from it. Today I've tested my application on newest (api 16) emulator before releasing it to Google Play. It turned out that Android now refuses to grant this permission to 3rd party applications. This is weird because I've looked through all Jelly Bean's documented changes and couldn't find anything that mentions READ_LOGS permission. So basically my questions: - Did anyone see this change documented? - Can someone confirm this behavior on Galaxy Nexus with Jelly Bean on it (the one released to attendees of Google I/O)? And questions to someone from Android team: - Why this breaking change wasn't described in documentations like READ_EXTERNAL_STORAGEhttp://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGEwas? - What should developers and testers do in order to use those handy utility applications that require READ_LOGS to be useful? Is there any way to allow READ_LOGS to 3rd party applications without making custom build (i.e. something in Developer Options that I could've missed)? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
there is no errors in the Logcat nothing appears maybe the boot complete intent dont wok on ics anymore On Fri, Jul 13, 2012 at 11:38 AM, Fabien R theedge...@free.fr wrote: On 12/07/2012 11:02, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs Don't you see any errors in Logcat ? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?
than how to get the line count of textview. i already use TextView.getLayout() .getLineCount() but i have error. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Hwo to use getLineCount method in TextView? what is the internal Layout?
Alfa wrote: than how to get the line count of textview. i already use TextView.getLayout() .getLineCount() but i have error. you have to call it after internal layout has been built - you can for example post runnable after calling setText() - doing so you make sure the internal layout is built pskink -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Customize ListPreference (select_dialog_singlechoice) in the Preference screen
Hi, I didn't find a way to style it with themes and styles, as I found out these stylings are chaning and not consistent between Android versions. I finally solved it by extending ListPreference, a very nice example of this at: http://www.marvinlabs.com/2010/10/custom-listview-ability-check-items/ Regards Jonas. On Friday, July 6, 2012 4:22:48 PM UTC+2, powder366 wrote: Hi, When defining a ListPreference you get a CheckedTextView with android:checkMark to a drawable btn_radio (as I understand it). Im trying to change the look of the radio button, but don't find a solution: 1. Where in android source (line and file) is the radio button defined for a ListPreference? 2. Is there a way to change the radio button to another drawable than the standard one (I do understand how btn_radio.xml etc. works)? 3. The file select_dialog_singlechoice.xml does not seem to be used? 4. I also haven't found anything in themes.xml and styles.xml, is there something there I can use? Cheers Jonas. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Change Theme and Style for EditTextPreference and default color orange
I did solve this according to, maybe this helps someone: https://groups.google.com/d/topic/android-developers/7d0z0C-AqMU/discussion On Tuesday, March 13, 2012 12:05:23 AM UTC+1, powder366 wrote: Hi, I have managed to change the orange color of a EditText in styles.xml with: style name=edittext parent=@android:style/Widget.EditText item name=android:focusabletrue/item item name=android:focusableInTouchModetrue/item item name=android:clickabletrue/item item name=android:background@drawable/edit_text/item item name=android:textAppearance?android:attr/ textAppearanceMediumInverse/item item name=android:textColor@android:color/primary_text_light/ item item name=android:gravitycenter_vertical/item /style and in Themes.xml along with: style name=Theme.Dialog parent=android:Theme.Dialog item name=android:editTextStyle@style/edittext/item /style then also changed the drawables in my edit_text to get rid of the default orange color. But in Preference for a EditTextPreference (and ListPreference) I can't find the Style and Theme to get this working in a similar fashion? Did try with: item name=android:editTextPreferenceStyle@style/edittextpref/item and parent=@android:style/Preference.DialogPreference.EditTextPreference with no luck… Regards Jonas -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Linear Layout and Relative Layout
Normally by default it is Linear Layout (for me it is)...but there was some talk in last years Google I/O for promoting Relative Layout(is better)., May be because you are using the latest sdk it is creating a relative layout(Not sure). But you should not worry much, Relative seems to be better and if needed you can change to Linear manually. On Wednesday, July 11, 2012 9:39:16 AM UTC+5:30, Ocean wrote: Hello I hope you are fine. I am a newbie in Android Programming.By default when i open my XML in layout Folder it is in Relative Layout..Why not Linear Layout Please Help me -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Multiple build created using single library project are not working
LOGCAT OUTPUT: 07-13 15:23:23.954: E/AndroidRuntime(655): FATAL EXCEPTION: main 07-13 15:23:23.954: E/AndroidRuntime(655): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paulinrio.radio/com.paulinrio.radio.OnAir}: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2503) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost.setCurrentTab(TabHost.java:323) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:129) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:453) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View.performClick(View.java:2408) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View$PerformClick.run(View.java:8816) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.handleCallback(Handler.java:587) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.dispatchMessage(Handler.java:92) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Looper.loop(Looper.java:123) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.main(ActivityThread.java:4627) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.invokeNative(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.invoke(Method.java:521) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 07-13 15:23:23.954: E/AndroidRuntime(655): at dalvik.system.NativeStart.main(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): Caused by: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.checkmediastate(OnAir.java:302) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.onCreate(OnAir.java:99) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) 07-13 15:23:23.954: E/AndroidRuntime(655): ... 18 more On Fri, Jun 29, 2012 at 8:05 PM, Justin Anderson magouyaw...@gmail.comwrote: Can anyone tell me what am I doing wrong. Well, for starters, you didn't really give us any information to help you solve the problem. But, for the crash, take a look at the logcat output... It usually gives some pretty good information about the cause of a crash. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jun 29, 2012 at 8:20 AM, Tushar Lal tush...@gmail.com wrote: Hi, I have created a library project containing a service. When I first build it and install it on my phone it works fine, but when I create the second build using the same library project and install it on my phone, the first build works fine but the second one crashes. Also when I run the second build and I go into (SettingApplicationRunning Application) the service is running of the first application. That might explain the reason of crashing of second build. Can anyone tell me what am I doing wrong. Regards: Tushar +91-9711577561 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards: Tushar +91-9711577561 -- 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] Broadcast receiver not working in ICS
On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy livehap...@gmail.com wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Multiple build created using single library project are not working
Hi Log cat indicate that you have nullpointer exception on line number 302 of your OnAir.java class file. Check in file, what are you using on 302 line number? and is that proper instantiated before use? Regards Imran Ali On Friday, July 13, 2012 4:05:53 PM UTC+5:30, Tushar Lal wrote: LOGCAT OUTPUT: 07-13 15:23:23.954: E/AndroidRuntime(655): FATAL EXCEPTION: main 07-13 15:23:23.954: E/AndroidRuntime(655): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paulinrio.radio/com.paulinrio.radio.OnAir}: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2503) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost.setCurrentTab(TabHost.java:323) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:129) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:453) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View.performClick(View.java:2408) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View$PerformClick.run(View.java:8816) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.handleCallback(Handler.java:587) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.dispatchMessage(Handler.java:92) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Looper.loop(Looper.java:123) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.main(ActivityThread.java:4627) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.invokeNative(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.invoke(Method.java:521) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 07-13 15:23:23.954: E/AndroidRuntime(655): at dalvik.system.NativeStart.main(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): Caused by: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.checkmediastate(OnAir.java:302) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.onCreate(OnAir.java:99) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) 07-13 15:23:23.954: E/AndroidRuntime(655): ... 18 more On Fri, Jun 29, 2012 at 8:05 PM, Justin Anderson magouyaw...@gmail.comwrote: Can anyone tell me what am I doing wrong. Well, for starters, you didn't really give us any information to help you solve the problem. But, for the crash, take a look at the logcat output... It usually gives some pretty good information about the cause of a crash. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jun 29, 2012 at 8:20 AM, Tushar Lal tush...@gmail.com wrote: Hi, I have created a library project containing a service. When I first build it and install it on my phone it works fine, but when I create the second build using the same library project and install it on my phone, the first build works fine but the second one crashes. Also when I run the second build and I go into (SettingApplicationRunning Application) the service is running of the first application. That might explain the reason of crashing of second build. Can anyone tell me what am I doing wrong. Regards: Tushar +91-9711577561 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
[android-developers] Share information
Hi guys! I'd like to know how u guys share information from your app to facebook and twitter. Do you use facebook and twitter's apk or simple use Intent.ACTION_SEND? What do you think is more professional? what do you suggest? thanks. Lucas Diego -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] NFC game
You are very vaguely describing an abstract idea of a game. Your problem description need to be a bit more specific for anyone to understand and eventually provide anything resembling a useful answer. On Fri, Jul 13, 2012 at 9:01 AM, iconapp 2010 iconapp2...@gmail.com wrote: I am doing Android project for NFC hunter game, in that i want some idea with sample code about how to search UID from google app engine database. On Fri, Jul 13, 2012 at 9:47 AM, TreKing treking...@gmail.com wrote: On Thu, Jul 12, 2012 at 7:41 AM, iconapp 2010 iconapp2...@gmail.com wrote: Android developers, can u help me in doing nfc hunter game, i want to create a monster how do i do.. Is anyone supposed to know what you're asking? http://www.catb.org/~esr/faqs/smart-questions.html waiting for reply Waiting for better question. - TreKing - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Michael Banzon http://michaelbanzon.com/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- . -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App Name
Hi, I have an App whose name to be displayed under icon, i want to show the second word in new line in manifest file 1. is android:label=ABC\r\nMobile is it stable ? Thanks RK -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] track notification of facebook and twitter
hi, how to track the notification of the facebook and twitter in android? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
Yes - it is enough data to do the math. I vaguely remember stuff like this from pre grad school vector classes. Please google the related math - you should get a bunch of results. On Fri, Jul 13, 2012 at 8:35 AM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. - TreKing - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Michael Banzon http://michaelbanzon.com/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] XML
I have XMLs which am using in my Windows application. Can I use same XML files for android applications or do I need to modify them? 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] WebView / JavaScriptInterface / String []
I'm trying to return a String [] from a function call in my JavaScriptInterface object: public String [] test() { return new String [] { 'flowers' }; } When I call this in the WebView javascript, it just stops at that point. Is this just not supported ? Has anyone managed to get it working ? Thanks, Pent -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Multiple build created using single library project are not working
It is having a button which has already been declared. On Fri, Jul 13, 2012 at 4:34 PM, imran ali imran...@gmail.com wrote: Hi Log cat indicate that you have nullpointer exception on line number 302 of your OnAir.java class file. Check in file, what are you using on 302 line number? and is that proper instantiated before use? Regards Imran Ali On Friday, July 13, 2012 4:05:53 PM UTC+5:30, Tushar Lal wrote: LOGCAT OUTPUT: 07-13 15:23:23.954: E/AndroidRuntime(655): FATAL EXCEPTION: main 07-13 15:23:23.954: E/AndroidRuntime(655): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paulinrio.** radio/com.paulinrio.radio.**OnAir}: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread. **performLaunchActivity(**ActivityThread.java:2663) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread. **startActivityNow(**ActivityThread.java:2503) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.** LocalActivityManager.**moveToState(**LocalActivityManager.java:127) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.** LocalActivityManager.**startActivity(**LocalActivityManager.java:339) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$** IntentContentStrategy.**getContentView(TabHost.java:**651) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost.** setCurrentTab(TabHost.java:**323) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabHost$2.** onTabSelectionChanged(TabHost.**java:129) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.widget.TabWidget$** TabClickListener.onClick(**TabWidget.java:453) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View.** performClick(View.java:2408) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.view.View$** PerformClick.run(View.java:**8816) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.** handleCallback(Handler.java:**587) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Handler.** dispatchMessage(Handler.java:**92) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.os.Looper.loop(Looper.**java:123) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread. **main(ActivityThread.java:4627) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.**invokeNative(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): at java.lang.reflect.Method.** invoke(Method.java:521) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.** ZygoteInit$**MethodAndArgsCaller.run(**ZygoteInit.java:868) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.android.internal.os.** ZygoteInit.main(ZygoteInit.**java:626) 07-13 15:23:23.954: E/AndroidRuntime(655): at dalvik.system.NativeStart.* *main(Native Method) 07-13 15:23:23.954: E/AndroidRuntime(655): Caused by: java.lang.NullPointerException 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.* *checkmediastate(OnAir.java:**302) 07-13 15:23:23.954: E/AndroidRuntime(655): at com.paulinrio.radio.OnAir.* *onCreate(OnAir.java:99) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.Instrumentation.**callActivityOnCreate(** Instrumentation.java:1047) 07-13 15:23:23.954: E/AndroidRuntime(655): at android.app.ActivityThread. **performLaunchActivity(**ActivityThread.java:2627) 07-13 15:23:23.954: E/AndroidRuntime(655): ... 18 more On Fri, Jun 29, 2012 at 8:05 PM, Justin Anderson magouyaw...@gmail.comwrote: Can anyone tell me what am I doing wrong. Well, for starters, you didn't really give us any information to help you solve the problem. But, for the crash, take a look at the logcat output... It usually gives some pretty good information about the cause of a crash. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware On Fri, Jun 29, 2012 at 8:20 AM, Tushar Lal tush...@gmail.com wrote: Hi, I have created a library project containing a service. When I first build it and install it on my phone it works fine, but when I create the second build using the same library project and install it on my phone, the first build works fine but the second one crashes. Also when I run the second build and I go into (SettingApplicationRunning Application) the service is running of the first application. That might explain the reason of crashing of second build. Can anyone tell me what am I doing wrong. Regards: Tushar +91-9711577561 -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this
Re: [android-developers] XML
Are they compliant with the XML specifications? On Fri, Jul 13, 2012 at 5:42 PM, MMM monikamit...@gmail.com wrote: I have XMLs which am using in my Windows application. Can I use same XML files for android applications or do I need to modify them? 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood Please do not email private questions to me as I do not have time to answer them. Instead, post them to public forums where others and I can answer and benefit from them. http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How many Teslas you need to get correct magnetic field data
Hello. I'm using the magnetic field in my application and sometimes It doesn´t work properly because It doesn´t get enough Teslas from the magnetic field. So I am doing this to detect the how many teslas the device is detecting, but I don´t know how many it needs: SensorManager mSensorManager = (SensorManager) getSystemService( SENSOR_SERVICE); Sensor magField = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD ); Float power = magField.getPower(); Does anybody know another way to know when the device can detect properly where is the north? Thank you -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ADT hangs on eclipse
Hello, i have some problems with my eclipse ide for several days. if i connect my device, to run my android application, then my eclipse hangs in following dialog (see bottom). device: samsung galaxy s2 os: ubuntu 11.04 eclipse: 3.7.2 android sdk tools: r20 android sdk platform tools: r12 thank you for your help greet https://lh4.googleusercontent.com/-wg5z0cxyHqE/UAAZIZM2N4I/AC0/vk3vpGrBcOA/s1600/screen.png -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Rules for restoring game state after the process is killed
I understand that normally save point placement is subjective. I'll rephrase my question. For some games on the market, you will be presented with the splash screen when you re-enter the game after process was killed (but not if the game was merely paused and resumed). Is this generally considered bad practice? On Thursday, 12 July 2012 23:28:18 UTC-4, TreKing wrote: On Thu, Jul 12, 2012 at 8:50 PM, markusn82 markus...@gmail.com wrote: Is it necessary to be this aggressive when saving game state when the process is killed off? Depends on your game and your goals for it. Is this perfect restore a must-have feature of your game? Only you can answer that. After the process is killed, would it be acceptable to merely return the player to a place in the game that is reasonably close to where they previously were (i.e. a checkpoint). Depends on your game and your goals for it. Would this be considered bad practice I don't see why ... and would it lower the chance of our games being featured? The only people that can answer that with any authority are neither on this list nor would answer you if they were. What is the correct answer? IMO, there is no correct answer. Do what makes sense for your game and what you believe your players' expectation of it will be. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView / JavaScriptInterface / String []
I don't think it is supported. In our code, we communicate arrays of data by plain Strings, calling 'join()' on the JavaScript array and then parsing out the String into an array again on the Java side. On Friday, July 13, 2012 8:21:06 AM UTC-4, Pent wrote: I'm trying to return a String [] from a function call in my JavaScriptInterface object: public String [] test() { return new String [] { 'flowers' }; } When I call this in the WebView javascript, it just stops at that point. Is this just not supported ? Has anyone managed to get it working ? Thanks, Pent -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
so can u please explain to me how the whatsup work when the BroadcastReceivers will not work till u launch an activity!! On Fri, Jul 13, 2012 at 1:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy livehap...@gmail.com wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView / JavaScriptInterface / String []
I thought that might turn out to be necessary, thanks for confirming. Pent -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] voice mail
Hi, i have implemented a application activate the voice mail functionalilty but after install it a message play voice mail is not configure but voice mail still active in to device. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] remove percentage shown below the progress dialog
Hi all, I am getting the percentage below the horizontal progress dialog, as shown in the attached image. I want to remove that. I got the method setProgressPercentFormat(null), but that work in api level 11 or higher. I need to do in api level 8. So, how can I do that? Please help me. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=enattachment: progress_percent.png
Re: [android-developers] Rules for restoring game state after the process is killed
On Friday, July 13, 2012 1:58:16 PM UTC+1, markusn82 wrote: I understand that normally save point placement is subjective. I'll rephrase my question. For some games on the market, you will be presented with the splash screen when you re-enter the game after process was killed (but not if the game was merely paused and resumed). Is this generally considered bad practice? It depends, an OpenGL is probably going to have to re-load its assets (the context gets lost), which might time some time so a splash screen would be nice. For any game well it depends: 1. how long is it going to take until your game becomes active, leaving users looking a a unresponsive screen while you restore the state is not a good end-user experience. For some games (e.g. simple board games) the state can be restored very quickly so no splash screen is required. 2. does the user need a second or two to get ready e.g. long pressing home, choosing the game and diving straight into a action sequence might be a bit abrupt. 3. does the marking department want to cross sell on the enter game splash screen? It really comes down to the developer (or entity funding the development) deciding: 1. is the end-user experience good enough. 2. if not is it a good use of his time (development funds). On Thursday, 12 July 2012 23:28:18 UTC-4, TreKing wrote: On Thu, Jul 12, 2012 at 8:50 PM, markusn82 wrote: Is it necessary to be this aggressive when saving game state when the process is killed off? Depends on your game and your goals for it. Is this perfect restore a must-have feature of your game? Only you can answer that. After the process is killed, would it be acceptable to merely return the player to a place in the game that is reasonably close to where they previously were (i.e. a checkpoint). Depends on your game and your goals for it. Would this be considered bad practice I don't see why ... and would it lower the chance of our games being featured? The only people that can answer that with any authority are neither on this list nor would answer you if they were. What is the correct answer? IMO, there is no correct answer. Do what makes sense for your game and what you believe your players' expectation of it will be. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] remove percentage shown below the progress dialog
Stop updating the progress bar from your code? On Fri, Jul 13, 2012 at 7:37 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all, I am getting the percentage below the horizontal progress dialog, as shown in the attached image. I want to remove that. I got the method setProgressPercentFormat(null), but that work in api level 11 or higher. I need to do in api level 8. So, how can I do that? Please help me. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood Please do not email private questions to me as I do not have time to answer them. Instead, post them to public forums where others and I can answer and benefit from them. http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
2012/7/13 Mark Murphy mmur...@commonsware.com On Thu, Jul 12, 2012 at 7:39 PM, Peter Sinnott psinn...@gmail.com wrote: Is that new in JB? All I can manage to do is turn off the screen or reboot. I was able to get it working in a Galaxy Nexus running ICS, but only after several tries. Works for me on stock 4.0.4 as well, but the user experience is really weird: 1. There is a significant delay while the data is being collected / packed with no feedback of any kind. 2. The keys that make up the combo continue to perform their primary function: i.e. whlie doing this, I get the power off / airplane mode menu, and the ringer volume slides all the way up (or down). -- K -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] remove percentage shown below the progress dialog
On Fri, Jul 13, 2012 at 7:42 PM, Raghav Sood raghavs...@gmail.com wrote: Stop updating the progress bar from your code? What do you mean by 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 email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] get dailed number by the caller during the active call
Hi, During a call between two persons, if one of the callers dials a number (3 for example), can the other guy receive this number? In other words, can we, as developers, read the dialed numbers from one person to another during a conversation call. If so, would someone provide a small piece of code,please? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ADT Import Package Name Change
When using Eclipse and the ADT to import an Android Project, the name of the project displayed in the project Navigator comes up package.projectname (i.e. com.android.example.hello). If I import the Android Project using the import General option, the project name is just displayed as the name with no package. Is there an easy way to get the import Android Project method to behave like this. I know that if I create an Android Project, the name will just be the project name (not connected to package), so why does import not behave the same. I know you can go to Windows - Preferences, then Java - Appearance and setup a Abbreviate Package Name rule, however, this is per package name and if I try different package names for different projects this will become annoying. Thanks for the help. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Fullscreen Magnifire for Android4.0 or higher
Come on guys! Has no one of you an idea or a link for me? Or a link to a nother Forum, where I could get some more informations? Am Freitag, 13. Juli 2012 03:32:37 UTC+2 schrieb Norb: Hello Guys! I'am partially sighted and I new many other Android Users who realy like to have a feature like this Currently Google doesn't see to be intrested in a full screen magnification solution for Android. So I thought it will be cool to do it by my selft. The goal of the project is to build a screen magnifire like the one in iOS. The problem is, I'm new to Android and I don't know if there are some libs in the SDK which allows me to build this very quickly. Should I have to root my android to modifly the display stream or are there other ways to get the magnification layer at the top of the normal Android 4.0 launcher? Or will something like this be possible by writing my own Android Launcher? Or will I have to rebuild thow whole Android display stack to get something like this work? I have know real idea how to begin a project like this, but I will be very pleased if you could help me! It will be realy nice if some of you have some ideas where I will find more informations about this theme, or where I have to begin to realize a project like this. sincerely yours Norb -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ADT Import Package Name Change
Can you file a tools bug (b.android.com) for this? On Jul 13, 2012 7:27 AM, EpsilonOrion epsilonor...@gmail.com wrote: When using Eclipse and the ADT to import an Android Project, the name of the project displayed in the project Navigator comes up package.projectname (i.e. com.android.example.hello). If I import the Android Project using the import General option, the project name is just displayed as the name with no package. Is there an easy way to get the import Android Project method to behave like this. I know that if I create an Android Project, the name will just be the project name (not connected to package), so why does import not behave the same. I know you can go to Windows - Preferences, then Java - Appearance and setup a Abbreviate Package Name rule, however, this is per package name and if I try different package names for different projects this will become annoying. Thanks for the help. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Broadcast receiver not working in ICS
To request a permission you have to use the uses-permission element. http://developer.android.com/guide/topics/manifest/uses-permission-element.html What you have done is require that the sender of the BOOT_COMPLETED intent has been granted the RECEIVE_BOOT_COMPLETED permission. Don't think that is what you intended. http://developer.android.com/guide/topics/manifest/receiver-element.html#prmsn On Thursday, July 12, 2012 11:02:42 AM UTC+2, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Broadcast receiver not working in ICS
To request a permission you have to use the uses-permission element. http://developer.android.com/guide/topics/manifest/uses-permission-element.html What you have done is require that the sender of the BOOT_COMPLETED intent has been granted the RECEIVE_BOOT_COMPLETED permission. Don't think that is what you intended. http://developer.android.com/guide/topics/manifest/receiver-element.html#prmsn On Thursday, July 12, 2012 11:02:42 AM UTC+2, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: BluetoothSocket
I'm seeing some strangeness on the Samsung Galaxy SIII. I'm trying to bypass the call to doSdp() with the following code: Class c = socket.getClass(); Field msdp_field = c.getDeclaredField(mSdp); msdp_field.setAccessible(true); msdp_field.set(socket, null); Field port_field = c.getDeclaredField(mPort); port_field.setAccessible(true); port_field.set(socket, 1); socket.connect(); This seems to work on one of my ICS phones, but, on the Galaxy S3, it seems to throw a null. I didn't even know you could throw a null. On Thursday, July 12, 2012 5:02:47 PM UTC-5, Lew wrote: bob wrote: Does anyone know where I can get the correct and current source code for BluetoothSocket? I found this, but it's a little old, I think: And you think this why? http://hi-android.info/src/android/bluetooth/BluetoothSocket.java.html Did an online search reveal anything newer? -- Lew -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] remove percentage shown below the progress dialog
When I do that I use AlertDialog.Builder and supply my own custom view... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 8:17 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Fri, Jul 13, 2012 at 7:42 PM, Raghav Sood raghavs...@gmail.com wrote: Stop updating the progress bar from your code? What do you mean by 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 email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: query for contact
Sorry, I'm trying to ask if anyone can point to me which URI to use or selectionArgs or selection to make so that i can get contacts only from sim card or only from phonebook. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
Take a look at this info here: http://developer.android.com/about/versions/android-3.1.html#launchcontrols (if the link doesn't take you directly to this section, search for 'stopped' on that page.) Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGEShttp://developer.android.com/reference/android/content/Intent.html#FLAG_INCLUDE_STOPPED_PACKAGES On Friday, July 13, 2012 9:29:01 AM UTC-4, Live Happy wrote: so can u please explain to me how the whatsup work when the BroadcastReceivers will not work till u launch an activity!! On Fri, Jul 13, 2012 at 1:39 PM, Mark Murphy wrote: On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] XML
What are these XML files for? Data? UI? If it is data you should be able to use them, you just need to do your own parsing/writing or find a 3rd party library to do it for you... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 6:23 AM, Raghav Sood raghavs...@gmail.com wrote: Are they compliant with the XML specifications? On Fri, Jul 13, 2012 at 5:42 PM, MMM monikamit...@gmail.com wrote: I have XMLs which am using in my Windows application. Can I use same XML files for android applications or do I need to modify them? 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood Please do not email private questions to me as I do not have time to answer them. Instead, post them to public forums where others and I can answer and benefit from them. http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ADT hangs on eclipse
Does it hang even if you just switch to the DDMS perspective? Could you please file a bug here: http://code.google.com/p/android/issues/entry?template=Tools%20bug%20report On Fri, Jul 13, 2012 at 5:52 AM, BeEnder philipp.bender...@googlemail.comwrote: Hello, i have some problems with my eclipse ide for several days. if i connect my device, to run my android application, then my eclipse hangs in following dialog (see bottom). device: samsung galaxy s2 os: ubuntu 11.04 eclipse: 3.7.2 android sdk tools: r20 android sdk platform tools: r12 thank you for your help greet https://lh4.googleusercontent.com/-wg5z0cxyHqE/UAAZIZM2N4I/AC0/vk3vpGrBcOA/s1600/screen.png -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: connectNative()
I think the implementation is device specific and you cannot retrieve it from the Android source code. What are you looking for? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Application not visible in 'complete action using ...' after the update. Can not be reverted.
I have an application that is registered for opening PDF files. I have used the following in manifest file: activity android:name=.Fill android:label=@string/FillAndSign android:configChanges=orientation|keyboardHidden intent-filter action android:name=android.intent.action.VIEW / action android:name=biz.binarysolutions.fasp.FILL_AND_SIGN / category android:name=android.intent.category.DEFAULT / category android:name=android.intent.category.BROWSABLE / data android:scheme=file / data android:mimeType=application/pdf / data android:pathPattern=.*\\.pdf / data android:host=* / /intent-filter /activity Everything worked perfectly. Recently, I have added the Box OneCloud integration to my app and the following code snippet was added to the manifest file (the first one remained unchanged): receiver android:name=biz.binarysolutions.fasp.box.OneCloudReceiver intent-filter action android:name=com.box.android.EDIT_FILE / action android:name=com.box.android.CREATE_FILE / action android:name=com.box.android.VIEW_FILE / data android:mimeType=application/pdf / category android:name=android.intent.category.DEFAULT / /intent-filter intent-filter action android:name=com.box.android.LAUNCH / category android:name=android.intent.category.DEFAULT / /intent-filter /receiver After this change users started complaining that the application is no longer visible in 'complete action using' dialog when they try to open the PDF file directly from Dropbox or Google Drive. While I was trying to figure out what went wrong, I've sent them the old application version that worked earlier for sure. They have uninstalled the most recent version and installed the old one. However, even this app version did not restore the missing functionality - my application is still not listed in the dialog. I am trying to figure this out. What went wrong? How to fix it? Any ideas? Thanks in advance, Viktor. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
On Fri, Jul 13, 2012 at 11:06 AM, Streets Of Boston flyingdutc...@gmail.com wrote: Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGES That will not work for BOOT_COMPLETED, as Android is the one broadcasting the Intent -- FLAG_INCLUDE_STOPPED_PACAKGES is for the one sending the broadcast, not for the one receiving it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Fullscreen Magnifire for Android4.0 or higher
On Fri, Jul 13, 2012 at 10:30 AM, Norb richard.jentz...@googlemail.com wrote: I'am partially sighted and I new many other Android Users who realy like to have a feature like this Currently Google doesn't see to be intrested in a full screen magnification solution for Android. They are pursuing other accessibility options, such as Talkback. So I thought it will be cool to do it by my selft. The goal of the project is to build a screen magnifire like the one in iOS. The problem is, I'm new to Android and I don't know if there are some libs in the SDK which allows me to build this very quickly. It is impossible to implement with the Android SDK on unrooted devices, for obvious privacy and security reasons, except perhaps as a library that application developers could elect to include in their apps. It should be possible via custom firmware, but that is out of scope for this list (see http://source.android.com). It might be possible on a rooted device. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MediaPlayer.isPlaying() question
If you think the system is stopping your audio temporarily and you need to know about that, you probably instead want to pay attention to the callback defined in AudioManager.OnAudioFocusChangeListener. Doug On Sunday, March 13, 2011 12:24:04 PM UTC-7, Ken H wrote: What I'm really asking is for a way to test if the MediaPlayer was paused. I think my app is being paused by the OS for maybe a notification or something. It drives me up the wall when it just...stops. On Mar 13, 11:25 am, Ken H hunt1...@gmail.com wrote: Will android.media.MediaPlayer.isPlaying() return true if the MediaPlayer is paused? Ken -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Broadcast receiver not working in ICS
Whoops, forgot to realize that his app is not doing the sending of the broadcast. :-) On Friday, July 13, 2012 11:55:16 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Fri, Jul 13, 2012 at 11:06 AM, Streets Of Boston wrote: Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGES That will not work for BOOT_COMPLETED, as Android is the one broadcasting the Intent -- FLAG_INCLUDE_STOPPED_PACAKGES is for the one sending the broadcast, not for the one receiving it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Application not visible in 'complete action using ...' after the update. Can not be reverted.
Since not everybody is affected by that, my guess is that these people accidentally checked the remember my decision checkbox. Ask them whether an open with dialog pops up at all or whether a specific PDF viewer immediately shows up. If the latter is the case, you can tell them how to undo that open with default setting. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
here's a pointer to get you thinking http://www.movable-type.co.uk/scripts/latlong.html On Friday, July 13, 2012 7:37:37 AM UTC-4, Rajan wrote: Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- . -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] two options
What's the difference between these two options? http://postimage.org/image/ksyoqgosl/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ADT Import Package Name Change
I can do that. I wasn't sure if I should consider it a tools bug or just user error. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] two options
First, you couldn't have just explained the two options instead of making us click on a link? Second, to answer your question, the Google APIs is for thinks like using Google Maps and whatnot, AFAIK Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 11:19 AM, bob b...@coolfone.comze.com wrote: What's the difference between these two options? http://postimage.org/image/ksyoqgosl/ -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] most vexing error
Can someone please help me understand this error? 07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException 07-13 18:03:52.244: W/System.err(4597): at android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) 07-13 18:03:52.244: W/System.err(4597): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) 07-13 18:03:52.254: W/System.err(4597): at android.app.Activity.dispatchActivityResult(Activity.java:4654) 07-13 18:03:52.274: W/System.err(4597): at android.app.ActivityThread.deliverResults(ActivityThread.java:2990) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3037) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread.access$1100(ActivityThread.java:128) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1191) 07-13 18:03:52.284: W/System.err(4597): at android.os.Handler.dispatchMessage(Handler.java:99) 07-13 18:03:52.294: W/System.err(4597): at android.os.Looper.loop(Looper.java:137) 07-13 18:03:52.294: W/System.err(4597): at android.app.ActivityThread.main(ActivityThread.java:4514) 07-13 18:03:52.294: W/System.err(4597): at java.lang.reflect.Method.invokeNative(Native Method) 07-13 18:03:52.294: W/System.err(4597): at java.lang.reflect.Method.invoke(Method.java:511) 07-13 18:03:52.294: W/System.err(4597): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980) 07-13 18:03:52.294: W/System.err(4597): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747) 07-13 18:03:52.304: W/System.err(4597): at dalvik.system.NativeStart.main(Native Method) -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: most vexing error
What is com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) doing? On Friday, July 13, 2012 7:05:45 PM UTC+1, bob wrote: Can someone please help me understand this error? 07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException 07-13 18:03:52.244: W/System.err(4597): at android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) 07-13 18:03:52.244: W/System.err(4597): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) 07-13 18:03:52.254: W/System.err(4597): at android.app.Activity.dispatchActivityResult(Activity.java:4654) 07-13 18:03:52.274: W/System.err(4597): at android.app.ActivityThread.deliverResults(ActivityThread.java:2990) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3037) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread.access$1100(ActivityThread.java:128) 07-13 18:03:52.284: W/System.err(4597): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1191) 07-13 18:03:52.284: W/System.err(4597): at android.os.Handler.dispatchMessage(Handler.java:99) 07-13 18:03:52.294: W/System.err(4597): at android.os.Looper.loop(Looper.java:137) 07-13 18:03:52.294: W/System.err(4597): at android.app.ActivityThread.main(ActivityThread.java:4514) 07-13 18:03:52.294: W/System.err(4597): at java.lang.reflect.Method.invokeNative(Native Method) 07-13 18:03:52.294: W/System.err(4597): at java.lang.reflect.Method.invoke(Method.java:511) 07-13 18:03:52.294: W/System.err(4597): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980) 07-13 18:03:52.294: W/System.err(4597): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747) 07-13 18:03:52.304: W/System.err(4597): at dalvik.system.NativeStart.main(Native Method) -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] most vexing error
Can someone please help me understand this error? Sure... but this looks like something pretty straightforward that you should be able to figure out on your own... but that aside... 07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException Something in your code is null and you are trying to use it... 07-13 18:03:52.244: W/System.err(4597): at android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) 07-13 18:03:52.244: W/System.err(4597): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) Something having to do with Bluetooth in your code is null... 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) Something could be null in Blue_Client.attempt_first_connect() on line 133... 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) Something could be null in Remote_Control_Activity.onActivityResult() on line 299... Launch a debugger and figure out what is null... And then fix it. I would probably start with the lines in the exception that point to your code. And, I would probably consider changing your class and method naming convention to something more standard, but that is just a personal preference... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 12:05 PM, bob b...@coolfone.comze.com wrote: Can someone please help me understand this error? 07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException 07-13 18:03:52.244: W/System.err(4597): at android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) 07-13 18:03:52.244: W/System.err(4597): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) 07-13 18:03:52.254: W/System.err(4597): at com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Drawable is not drawn after setDrawableByLayerId
Since this hits the top of my search list for this issue, I thought I would give this thread an answer... From what I can tell, LayerDrawable. setDrawableByLayerId is useless on lots of devices (strangely works well on Nexus S). I suggest building a new LayerDrawable instead. On Wednesday, February 3, 2010 1:06:12 PM UTC-6, tt6 wrote: Hi, I'm having a problem with displaying a drawable. I have a ImageButton and a LayerDrawable. I set up an array of Drawable that has one Drawable for the background (index 0) and one for the image (index 1). The button would display different background on different states of the button. What I've done is when the button state changes I replace the background Drawable like: elements[0] = background drawable object elements[1] = image drawable object layers = new LayerDrawable(elements); layers.setId(0, 0); layers.setId(1, 1); ... LayerDrawable ld = (LayerDrawable)button.getDrawable(); boolean result = ld.setDrawableByLayerId(0, new backgroundDrawable); ... The problem is the initial old background is gone but the new one is not displayed. What have I done wrong or missed? Thank you! -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Inflate Exception -What can be the Cause?Error inflating class unknown
*I am wondering is this because of this mentioned in the doc.:* *Important* For performance reasons, view inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use LayoutInflater with an XmlPullParser over a plain XML file at runtime. I would say that's a pretty safe bet... Why is your XML file in the assets folder? Why can't it be in res/layout? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 12, 2012 at 10:33 PM, maccoy maccoy2...@gmail.com wrote: *I am wondering is this because of this mentioned in the doc.:* *Important* For performance reasons, view inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use LayoutInflater with an XmlPullParser over a plain XML file at runtime. On Thursday, July 12, 2012 4:44:55 PM UTC+5:30, maccoy wrote: 1. Trying to inlfate a XML file in the Activity class. 2. The XML file is stored in assets directory. 3. When calling the inflate method getting the Error inflating class unknown . 4. It shows the XML Tag(TableLayout or Linear Layout) with attributes. Any ideas? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] connectivity of android appliacation with sqllite
You only really need a content provider if you are wanting to provide data between different applications... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jul 12, 2012 at 10:32 PM, ashok chakravarthy ashoki...@gmail.comwrote: go through the content provider http://developer.android.com/guide/topics/providers/content-providers.html On Thu, Jul 12, 2012 at 1:18 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: On 02/07/12 13:34, Ashu wrote: can we connect a android application to sqlite database just like a connectivity of mysql to java code,, No plz help me ,i am new to android -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Problem : Compass Direction with 1km far latitude longitude
thanks, thanks a lot lbendlin -- Forwarded message -- From: lbendlin l...@bendlin.us Date: Fri, Jul 13, 2012 at 10:45 PM Subject: Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude To: android-developers@googlegroups.com here's a pointer to get you thinking http://www.movable-type.co.uk/scripts/latlong.html On Friday, July 13, 2012 7:37:37 AM UTC-4, Rajan wrote: Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. --**--** --**--- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- . -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- . -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
On Fri, Jul 13, 2012 at 6:37 AM, Rajan Thakrar r.d.thak...@gmail.comwrote: Thank you for replying me but i am new in android and this is my first app. That's great and all, but it doesn't matter if you're new to Android or not. The question you asked is about math related to distances and geographical locations. This question has nothing to do with Android specifically and is thus off-topic for this list. Again, you can use Google to find a plethora of sites dedicated to such topics. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] NFC game
On Fri, Jul 13, 2012 at 2:01 AM, iconapp 2010 iconapp2...@gmail.com wrote: I am doing Android project for NFC hunter game, in that i want some idea with sample code about how to search UID from google app engine database. That is not much clearer. Again: http://www.catb.org/~esr/faqs/smart-questions.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Snow fall effect
Keep an array of all the positions of snow flakes, update the positions each update for things like speed downward, and draw them out each draw. I've done this with rain when I wrote the Android version of this app: http://play.google.com/store/apps/details?id=com.speknid.autotrafego I implemented it both in a View subclass and in OpenGL ES. In the View subclass, the View is placed on top of the menu screens via both being in a FrameLayout. Both update and drawing is done in the draw method and drawing is done using the Canvas API. The draw method triggers another draw via via postInvalidate/postInvalidateDelayed. Frame rate was bad, but passable, although this was back before hardware acceleration for the Canvas API. OpenGL ES version, drawing was done in onDrawFrame of GLSurfaceView.Renderer, updates were done in a separate game update thread that passed arrays of sprites to draw to the render thread. It was triggered every time the render thread sent it a message with a used position update array to update. Frame rate was fine, but make sure you draw all the particles (be they snow flakes or rain) in a single draw call rather than one per particle. Similarly you are better off updating an array of positions and dumping it into a buffer than updating the buffer part by part. On Wednesday, July 11, 2012 11:33:57 PM UTC-7, Rupesh nerkar wrote: I want to show snow fall effect in my application.I have one image of snow fall,to make effect of snow fall,I want image of snow is move slowly from top to bottom and repeat again so feel like snow fall. Please suggest me which is the right way to do this task.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Snow fall effect
This is a good idea. I'd use an OpenGL texture with tiling and glTranslate the texture matrix every frame. On Thursday, July 12, 2012 1:33:57 AM UTC-5, Rupesh nerkar wrote: I want to show snow fall effect in my application.I have one image of snow fall,to make effect of snow fall,I want image of snow is move slowly from top to bottom and repeat again so feel like snow fall. Please suggest me which is the right way to do this task.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Service launch issues
Alright I got a good bit of help in my last question so instead of beat my head against the wall I have decided it would be better to post my code for my auto starter / service / manifest here and see what I can get. It goes like this: Auto starter(Just fixed) -- Service -- Main activity So I am not so much worried about the first and last steps as they are both taken care of. I just need to figure out how to get the auto starter to run the service which ties the main activity to the background. So the question: Why is it that when I run this it starts the app then promptly crashes it about 30 seconds later also why is the app not going to the background instead of staying up front? here is the code: package path.to.file; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class Monitor extends Service { private static final String LOG_TAG = ::Monitor; @Override public void onCreate() { super.onCreate(); Log.e(LOG_TAG, Service created.); Intent i = new Intent(); i.setAction(path.to.file.MainActivity); i.addCategory(Intent.CATEGORY_HOME); startActivity(i); } @Override public void onStart(Intent intent, int startId) { super.onStartCommand(intent, startId, startId); Log.e(LOG_TAG, Service started.); } @Override public void onDestroy() { super.onDestroy(); Log.e(LOG_TAG, Service destroyed.); } @Override public IBinder onBind(Intent intent) { Log.e(LOG_TAG, Service bind.); return null; } } As well as the updated manifest: manifest xmlns:android=http://schemas.android.com/apk/res/android; installlocation=internalOnly package=path.to.file android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=9 android:targetSdkVersion=15 / uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / uses-permission android:name=android.permission.VIBRATE / uses-permission android:name=android.permission.CALL_PHONE / application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=.MainActivity android:label=@string/title_activity_main intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity service android:name=Monitor intent-filter action android:name=path.to.file.Monitor /action /intent-filter /service receiver android:name=autoBot intent-filter action android:name=android.intent.action.BOOT_COMPLETED /action /intent-filter /receiver /application /manifest -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Service launch issues
In your manifest, the intent-filter matching action=path.to.file.MainActivity belongs to the service, and your code uses startActivity with this action. So first off, there is a mismatch in the component type. I'd guess this is the reason for the crash, but do check the logcat. Secondly, what is the purpose of MonitorService trying to start itself again from its own onCreate? -- K 2012/7/14 Cythes cytheshic...@gmail.com Alright I got a good bit of help in my last question so instead of beat my head against the wall I have decided it would be better to post my code for my auto starter / service / manifest here and see what I can get. It goes like this: Auto starter(Just fixed) -- Service -- Main activity So I am not so much worried about the first and last steps as they are both taken care of. I just need to figure out how to get the auto starter to run the service which ties the main activity to the background. So the question: Why is it that when I run this it starts the app then promptly crashes it about 30 seconds later also why is the app not going to the background instead of staying up front? here is the code: package path.to.file; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class Monitor extends Service { private static final String LOG_TAG = ::Monitor; @Override public void onCreate() { super.onCreate(); Log.e(LOG_TAG, Service created.); Intent i = new Intent(); i.setAction(path.to.file.MainActivity); i.addCategory(Intent.CATEGORY_HOME); startActivity(i); } @Override public void onStart(Intent intent, int startId) { super.onStartCommand(intent, startId, startId); Log.e(LOG_TAG, Service started.); } @Override public void onDestroy() { super.onDestroy(); Log.e(LOG_TAG, Service destroyed.); } @Override public IBinder onBind(Intent intent) { Log.e(LOG_TAG, Service bind.); return null; } } As well as the updated manifest: manifest xmlns:android=http://schemas.android.com/apk/res/android; installlocation=internalOnly package=path.to.file android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=9 android:targetSdkVersion=15 / uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / uses-permission android:name=android.permission.VIBRATE / uses-permission android:name=android.permission.CALL_PHONE / application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=.MainActivity android:label=@string/title_activity_main intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity service android:name=Monitor intent-filter action android:name=path.to.file.Monitor /action /intent-filter /service receiver android:name=autoBot intent-filter action android:name=android.intent.action.BOOT_COMPLETED /action /intent-filter /receiver /application /manifest -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Service launch issues
Why is it that when I run this it starts the app then promptly crashes it about 30 seconds later also why is the app not going to the background instead of staying up front? What does Logcat say? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 2:42 PM, Cythes cytheshic...@gmail.com wrote: Alright I got a good bit of help in my last question so instead of beat my head against the wall I have decided it would be better to post my code for my auto starter / service / manifest here and see what I can get. It goes like this: Auto starter(Just fixed) -- Service -- Main activity So I am not so much worried about the first and last steps as they are both taken care of. I just need to figure out how to get the auto starter to run the service which ties the main activity to the background. So the question: Why is it that when I run this it starts the app then promptly crashes it about 30 seconds later also why is the app not going to the background instead of staying up front? here is the code: package path.to.file; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class Monitor extends Service { private static final String LOG_TAG = ::Monitor; @Override public void onCreate() { super.onCreate(); Log.e(LOG_TAG, Service created.); Intent i = new Intent(); i.setAction(path.to.file.MainActivity); i.addCategory(Intent.CATEGORY_HOME); startActivity(i); } @Override public void onStart(Intent intent, int startId) { super.onStartCommand(intent, startId, startId); Log.e(LOG_TAG, Service started.); } @Override public void onDestroy() { super.onDestroy(); Log.e(LOG_TAG, Service destroyed.); } @Override public IBinder onBind(Intent intent) { Log.e(LOG_TAG, Service bind.); return null; } } As well as the updated manifest: manifest xmlns:android=http://schemas.android.com/apk/res/android; installlocation=internalOnly package=path.to.file android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=9 android:targetSdkVersion=15 / uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / uses-permission android:name=android.permission.VIBRATE / uses-permission android:name=android.permission.CALL_PHONE / application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=.MainActivity android:label=@string/title_activity_main intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity service android:name=Monitor intent-filter action android:name=path.to.file.Monitor /action /intent-filter /service receiver android:name=autoBot intent-filter action android:name=android.intent.action.BOOT_COMPLETED /action /intent-filter /receiver /application /manifest -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Service launch issues
http://stackoverflow.com/questions/11476906/service-launches-then-crashes If you feel like cross-posting your own questions then please take the advice of the guys over at Stackoverflow seriously and post the exception message / log cat / stack trace, too. It crashes after 30 seconds can have a billion different reasons. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Service launch issues
Wait, I just realized something... you are wanting your activity to run in the background? AFAIK this isn't possible... why are you wanting to do this? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 2:58 PM, Nobu Games dev.nobu.ga...@gmail.comwrote: http://stackoverflow.com/questions/11476906/service-launches-then-crashes If you feel like cross-posting your own questions then please take the advice of the guys over at Stackoverflow seriously and post the exception message / log cat / stack trace, too. It crashes after 30 seconds can have a billion different reasons. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en