I'm new to android, I have experience in python cython lsl php html xhtml css java and OS script languages. I'm making a app using a payment system with in the app and sort of a photo album layout when choosing textures its a interactive business card using email and bluetooth. How do you resolve host linked packages with a Bluetooth or adhoc. Can I turn bluetooth off after its on with in the app. Receiving the card and excepting the terms closes the connection. On first time app use you send a email to the new prospective business card resipient if they don't already have the app
Sent from my HTC smartphone on the Now Network from Sprint! ----- Reply message ----- From: [email protected] To: "Digest Recipients" <[email protected]> Subject: [android-developers] Digest for [email protected] - 25 Messages in 16 Topics Date: Tue, Oct 18, 2011 10:52 pm Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics Intent call cannot start an Activity [1 Update] how to calculate area of a polygon of points on the map? [1 Update] Someone have code examples of a cube with different textures on each face? (OpenGL ES 1) [1 Update] Change default location of AVD [2 Updates] What is the work mechanism of all group following socket processname stream in init.rc file? [1 Update] guidelines to build an app for tech magzine at college level [2 Updates] RadioGroup [2 Updates] Retrieving Spinner Selection [2 Updates] ImageView dynamically added to AlertDialog drawing incorrectly [2 Updates] Sqlite Databases in Background Thread [1 Update] [HELP] Use TextView as a RadioButton [2 Updates] [ HELP ] please help me... [1 Update] error: device not found suddenly... [1 Update] how does the co-ordinate system of android work? [1 Update] honeycomb HW accelerated 2D bmp.copyPixelsFromBuffer(bf) not reupload texture to GPU [4 Updates] NFC demo example [1 Update] Topic: Intent call cannot start an Activity Ratheesh Valamchuzhy <[email protected]> Oct 19 10:58AM +0530 ^ hi give the full code ........ Topic: how to calculate area of a polygon of points on the map? Indicator Veritatis <[email protected]> Oct 18 10:26PM -0700 ^ Like Justin said, yes, there is a way. But you will have to write the code yourself. I suggest you do a little calculus using the formula INT(xdy-ydx) going around the curve traced by the polygon, where INT stand for integration along a path. Topic: Someone have code examples of a cube with different textures on each face? (OpenGL ES 1) Nightwolf <[email protected]> Oct 18 09:30PM -0700 ^ What are you trying to achieve? Just create a single texture with 6 different square images in it, modify texture coordinates in your example and you'll get different images on each face. This way is also faster than drawing each face separately and switching texture for each face. Topic: Change default location of AVD adamcodes <[email protected]> Oct 18 02:55PM -0700 ^ I haven't figured out the Eclipse setting to have it go into that directory. What you can do is create the avd in the default directory, then go into the ini file for the new avd and change the path to point to the alternate location. Move the directory for the avd (containing the image, etc) from C:\Users\User\.android\avd to the other location, keep the ini in its location. HTH hari lal <[email protected]> Oct 19 09:28AM +0530 ^ thanks adam that works for me... :) Topic: What is the work mechanism of all group following socket processname stream in init.rc file? gshzhong2005 <[email protected]> Oct 18 08:41PM -0700 ^ Dear all, Consult: what is the work mechanism of all group following socket stream such as "radio" of "socket rild stream 660 root radio" in init.rc file? For example, service ril-daemon /system/bin/rild socket rild stream 660 root radio Please point out the right way for me, thanks! Best Regards, Yours friend. Topic: guidelines to build an app for tech magzine at college level TreKing <[email protected]> Oct 18 09:14PM -0500 ^ > but want perfect guidelines nd exact directions That's a lofty request. Not perfect, but some guidelines / directions, if you want to be taken seriously: 1 - Learn to spell / proofread your posts. 2 - Learn to use the Shift key on your keyboard. 3 - Read the documentation: http://developer.android.com/index.html 4 - Read http://www.catb.org/~esr/faqs/smart-questions.html before posting. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices "[email protected]" <[email protected]> Oct 19 03:36AM ^ Thanks a lot sir ....this is my first time m posting something in a forum like this i ll definitely follow ur valuable suggestions. Sent from my Nokia phone -----Original Message----- From: TreKing Sent: 19/10/2011 7:44:09 am Subject: Re: [android-developers] guidelines to build an app for tech magzine at college level > but want perfect guidelines nd exact directions That's a lofty request. Not perfect, but some guidelines / directions, if you want to be taken seriously: 1 - Learn to spell / proofread your posts. 2 - Learn to use the Shift key on your keyboard. 3 - Read the documentation: http://developer.android.com/index.html 4 - Read http://www.catb.org/~esr/faqs/smart-questions.html before posting. ------------------------------------------------------------------------------------------------- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en Topic: RadioGroup Fahimul Islam <[email protected]> Oct 18 03:30PM -0700 ^ I am learning how to make android applications. I am trying to make a radiogroup with java code where i want to make some radiobuttons and include them in the radiogroup. can you please tell me how to make it with java not with the xml. It will be a great help. Justin Anderson <[email protected]> Oct 18 09:35PM -0600 ^ http://tinyurl.com/3d2zb3t Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware Topic: Retrieving Spinner Selection rbikerider 2005 <[email protected]> Oct 18 02:21PM -0700 ^ Hello, I am working on using spinners for an app, which is pulling from a SQLite database. So far I have been able to populate the spinner with records from the database, but I am running into problems retrieving the selected option in order to populate a second spinner based on a second query using the result of the first selection. It would be very much appreciated if anyone has any tips or websites that would help with the onItemSelected() method. Thank you. Justin Anderson <[email protected]> Oct 18 09:34PM -0600 ^ Show us what you have tried and exactly what is not working... Your current question is much to vague. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Oct 18, 2011 at 3:21 PM, rbikerider 2005 Topic: ImageView dynamically added to AlertDialog drawing incorrectly occorled <[email protected]> Oct 18 03:51PM -0700 ^ I'm trying to draw some varying number of images on an AlertDialog. Example (1 to 10 star images, based on some rating value I read from a database). So this is something that I think should be done dynamically, not from an XML file layout. The image shows up weird (I wish I could attach a screenshot). I see some of the image outline, but not the image itself. The image resource is a gold star (.png) with alpha background. Should I be using the function "setColorFilter()"? And if so, how/ why? I think there is something basic about ImageView resources that I am missing... Here is my code: AlertDialog alert = new AlertDialog.Builder(this).create(); alert.setTitle(title); alert.setMessage(author); { ImageView i = new ImageView(this); i.setImageResource(R.drawable.ic_star); alert.setView(i); } alert.show(); Justin Anderson <[email protected]> Oct 18 09:33PM -0600 ^ Just for kicks, have you tried loading the image from XML just to see if it displays differently? If it displays differently (meaning correctly) then there is probably some setting that gets set by default in XML that is not getting set in code. Another option... If the number of stars is always out of the same number (as you mention, out of 10) then you could define 10 image views in XML and do one of the following based on the value read from the database: - Hide the stars so that you only see the correct rating value - Always display all 10 images but have two images for the stars... Default them to a greyed out or disabled image, and replace the appropriate images with another image such as a yellow star. This seems to be a standard way of displaying ratings as stars and I would recommend this way... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware Topic: Sqlite Databases in Background Thread Rajbir Bhattacharjee <[email protected]> Oct 18 08:34PM -0700 ^ Thanks Kostya, lbendlin. This was very helpful. Rajbir Topic: [HELP] Use TextView as a RadioButton TreKing <[email protected]> Oct 18 08:35PM -0500 ^ > So, I want to know: There is a way to make the TextView selection become > "permanent"? Handle the touch / click event and update the style as you see fit. > Or even better: there's a way to make it works as a RadioButton? (Or use > one RadioButton with a selection square margin instead of that selection > circle?) The circle is simply the RadioButton's default drawable. You can change it at will. See the RadioGroup docs and search through the SDK resources where you can see how it's defined (using a StateListDrawable for its various states). ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices Igor Araujo <[email protected]> Oct 19 12:58AM -0200 ^ Thanks for the advice. I made one class that derivates from RadioButton and I've overrided the onDraw() method. So I'm able to use the RadioGroup and draw the view the way I wish. Att, Igor Araújo 2011/10/18 TreKing <[email protected]> Topic: [ HELP ] please help me... RAJU V <[email protected]> Oct 19 07:07AM +0530 ^ Hi am RAJU... Studying B.Tech IT final year... Now am eager to work for some software company..... Do u have any offer by vacancy please tell me i will work for that..... In this mail i attached my resume please check it and please do some thing for me... Waiting for u r replay.... ~~~~~~RAJU~~~~~~ ~~www.itdoall.co.cc~~ Topic: error: device not found suddenly... Eric <[email protected]> Oct 18 06:36PM -0700 ^ I meet the same issue, it is work properly at emulator, however, mobile phone always offline at Mac OS 10.6 Topic: how does the co-ordinate system of android work? TreKing <[email protected]> Oct 18 08:32PM -0500 ^ > How do I found the range of screen co-ordinates? Try this: http://developer.android.com/reference/android/util/DisplayMetrics.html ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices Topic: honeycomb HW accelerated 2D bmp.copyPixelsFromBuffer(bf) not reupload texture to GPU Josh <[email protected]> Oct 18 03:19PM -0700 ^ I'm having the same problem running API12, and using bmp.getGenerationId() shows these bitmaps are always the same ID, even after reloading them with the new pixel data. It seems that the generationID is supposed to change when these bitmaps are modified...but they aren't. Perhaps a bug? In any case my current workaround is to do view.setLayerType(1, null), essentially, as you mentioned, I'm just not using hardware acceleration. Sadly, it does slow down what I'm doing, but it seems to be manageable and it avoids that garbage collection. Let me know if you find another way to keep HW accel. Romain Guy <[email protected]> Oct 18 05:56PM -0700 ^ The OpenGL backend needs to know when the pixels have been modified, and copyPixelsFromBuffer() apparently does not notify the Bitmap of the change. I'll fix this tonight. -- Romain Guy Android framework engineer [email protected] Romain Guy <[email protected]> Oct 18 05:57PM -0700 ^ Update: fixed. -- Romain Guy Android framework engineer [email protected] Romain Guy <[email protected]> Oct 18 05:58PM -0700 ^ And I forgot: sorry for the inconvenience. Totally my fault! -- Romain Guy Android framework engineer [email protected] Topic: NFC demo example ANKUR GOEL <[email protected]> Oct 17 12:20PM +0530 ^ Hi , i am going through the NFC example its using the mock tags ... IF i want to use the random NFC tag how to change and read that part ,, Someone please help Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

