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

2011-02-04 Thread joshbeck
'fastboot oem unlock'. (Note that unlocking the bootloader will void your warranty.) -- Trevor Johns Developer Programs Engineer, Android http://developer.android.com On Thu, Feb 3, 2011 at 9:08 PM, joshbeck josh.beck2...@gmail.com wrote: Hello, I'm a developer and I recently got

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

2011-02-03 Thread joshbeck
Hello, I'm a developer and I recently got a grant approved to buy hardware for an Android developer class. I'd like to get my hands on 15 Nexus 1's. The limit listed is 10. Is there anyone I can contact? Can I get the Nexus S unlocked at Best Buy does anyone know? Thanks for any assistance.

[android-developers] Detect Default Camera Directory

2011-01-28 Thread joshbeck
Hello: I have an app that uses this standard code to get a list of pictures stored on the phone: (It seems to only works when the device in question utilizes /DCIM/ camera) --Many use different folders for default picture storage. --My question: What might be the best way to detect what the

[android-developers] Re: Detect Default Camera Directory

2011-01-28 Thread joshbeck
Forgot to mention the CAMERA_IMAGE_BUCKET_ID string: It is defined as: public static final String CAMERA_IMAGE_BUCKET_ID = getBucketId(CAMERA_IMAGE_BUCKET_NAME); On Jan 28, 12:22 pm, joshbeck josh.beck2...@gmail.com wrote: Hello: I have an app that uses this standard code to get

[android-developers] Middle School Android Programming Class

2011-01-05 Thread joshbeck
Hello all, My name is Josh Beck and I teach course to advanced eighth grade students. There are 26 students in the class and right now we only have 4 development devices to work with. (Everyone else uses the emulator right now, which can be limiting.) I've qualified as a finalist in a

[android-developers] Live Wallpaper Screen Orientation

2010-09-23 Thread joshbeck
Hello All, I have a series of live wallpapers out and one major sticking point I have with a certain set is that when devices switch to Landscape, the wallpaper, which in most cases is an image designed to fit the screen in portrait mode, appears off center. What is the conventional way to

[android-developers] Android Programming Class

2010-05-20 Thread joshbeck
Hello everyone: I've been developing a curriculum designed to teach middle school students Android programming this year. Here's an end of the year article that covers it really well. http://linuxclassroom.com Thanks to the dev community. Big support over the last few years! -- You received

[android-developers] Re: 14-year-old Android Developer:

2010-04-29 Thread joshbeck
is available. I only make money if someone chooses to buy the donate version (there are ads on the free verison, but they aren't really effective). Good job though. :) On Apr 21, 8:26 pm, joshbeck josh.beck2...@gmail.com wrote: Hello, I'm writing a curriculum this year

[android-developers] 14-year-old Android Developer:

2010-04-21 Thread joshbeck
Hello, I'm writing a curriculum this year that is designed to get high- achieving 8th grade students to write and publish Android apps. One of my students broke the $50 this week. Here's an article: http://www.neisd.net/ComRel/News/Krueger_PaidApp_10.htm He's basically spent the last 2 months

[android-developers] Re: Creating Simple Serial Output:

2010-03-11 Thread joshbeck
the specific parts and sources, but you're probably better off googling and choosing what best fits your needs. On Mar 10, 7:11 pm, joshbeck josh.beck2...@gmail.com wrote: I've got a fairly unique situation:    -I'm a teacher with a magnet school that focuses on rocketry and technology

[android-developers] Creating Simple Serial Output:

2010-03-10 Thread joshbeck
I've got a fairly unique situation: -I'm a teacher with a magnet school that focuses on rocketry and technology. -I've got a rocket payload that has a video overlay board which does the following: -Takes input from a camera. -Takes input from a serial

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread joshbeck
Pretty sweet deal if true. I'm teaching a middle school Android class. If Google sees fit to send me one, I'll donate it to the classroom! http://www.neisd.net/ComRel/News/Krueger_Smartphone_10.htm-- Roman Look Please! On Mar 2, 5:53 pm, Larry lar...@gmail.com wrote: Dear all, I just

[android-developers] Advice on Swipe Direction and Velocity

2010-02-20 Thread joshbeck
Hello all, I'm looking for a starting point on this: Here's a good example: -When you create a 'ListView', as the user swipes up or down the list scrolls in accordance with how fast the user swiped. Give it a fast swipe, and the list scrolls farther, faster. Same thing is true within the web

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread joshbeck
); break; { This way a faster swipe results in a higher value? Sound logical or am I off? Thanks again, Josh Beck On Feb 20, 12:52 pm, joshbeck josh.beck2...@gmail.com wrote: Hello all, I'm looking for a starting point on this: Here's a good example:    -When you create a 'ListView

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread joshbeck
Actually, I'm working with openGL. So, it looks like I'm supposed to set up a GestureListener and override onFling to increment Y or X. Then use Y and X from there to rotate my object and slow it down and stop it using a math function. On Feb 20, 1:28 pm, joshbeck josh.beck2...@gmail.com wrote

[android-developers] OpenGL Textures

2010-02-17 Thread joshbeck
Hello All, I'm learning OpenGL on my own atm and I have a question about texturing a surface: I can create a simple polygon like this: public class Square { // Our vertices. private FloatBuffer colorBuffer; float[] colors = { .5f, .5f, 0f, .2f, // vertex 0

[android-developers] Re: OpenGL Textures

2010-02-17 Thread joshbeck
I meant to state I'm 'also' looking for suggestions on a good book on JOGL as a general study guide. On Feb 17, 2:35 pm, joshbeck josh.beck2...@gmail.com wrote: Hello All, I'm learning OpenGL on my own atm and I have a question about texturing a surface: I can create a simple polygon like

[android-developers] Re: OpenGL Textures

2010-02-17 Thread joshbeck
I'm going to answer my question here: http://insanitydesign.com/wp/projects/nehe-android-ports/ Excellent resource for Android OpenGL On Feb 17, 2:36 pm, joshbeck josh.beck2...@gmail.com wrote:  I meant to state I'm 'also' looking for suggestions on a good book on JOGL as a general study

[android-developers] Live Wallpaper --OpenGL Help/Advice.

2010-02-14 Thread joshbeck
Hello all, I can construct an Activity that utilized OpenGL to draw a square, set properties, and make it rotate around a fixed point by implementing android.opengl.GLSurfaceView,Renderer and configuring: public void onSurfaceCreated(GL10 gl, EGLConfig config) {} public void onDrawFrame(GL10

[android-developers] Re: Live Wallpaper --OpenGL Help/Advice.

2010-02-14 Thread joshbeck
/group/android-developers/browse_thread/threa... On Feb 14, 3:06 am, joshbeck josh.beck2...@gmail.com wrote: Hello all, I can construct an Activity that utilized OpenGL to draw a square, set properties, and make it rotate around a fixed point by implementing

[android-developers] Re: Live Wallpaper --OpenGL Help/Advice.

2010-02-14 Thread joshbeck
analysis! I'm extending the code found here: http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers On Feb 14, 4:19 am, joshbeck josh.beck2...@gmail.com wrote: I was afraid you might say that: I've gone through and incorporated GLWallpaperService per his instructions

[android-developers] Re: Live Wallpaper --OpenGL Help/Advice.

2010-02-14 Thread joshbeck
} } finally { if (c != null) holder.unlockCanvasAndPost(c); } // Reschedule the next redraw mHandler.removeCallbacks(mDrawCube); if (mVisible) { mHandler.postDelayed(mDrawCube, 1000 / 25); } } Remove all of the above. On Feb 14, 10:47 am, joshbeck josh.beck2

[android-developers] Android Programming Class

2010-01-30 Thread joshbeck
Hello everyone: I teach an 8th grade programming class in San Antonio Texas. We're learning Android and I convinced the school to buy us 3 dev phones for the kids. Here's an article about what we're doing: http://www.neisd.net/ComRel/News/Krueger_Smartphone_10.htm I'd like to purchase a

[android-developers] Phone Calls

2009-02-25 Thread joshbeck
Apparently my home phone number, where my wife and kid are asleep at 7:30, is listed directly under my application. I'm good for customer support. I just prefer, and I would imagine google might agree with this, to take care of people over email. Does my developer number have to remain there?

[android-developers] Unable to Download Paid App Upgrade

2009-02-22 Thread joshbeck
Hello All, -I have a paid app on the market. -I uploaded an upgrade -The market download manager hangs on 'Starting Download' when I try to download the newest version. -Has anyone experienced this? (If the problem is resolved shortly, I'll post here.) Thanks, Josh Beck

[android-developers] Re: Unable to Download Paid App Upgrade

2009-02-22 Thread joshbeck
in most cases. On Sun, Feb 22, 2009 at 9:52 PM, joshbeck josh.beck2...@gmail.com wrote: Hello All, -I have a paid app on the market. -I uploaded an upgrade -The market download manager hangs on 'Starting Download' when I try to download the newest version. -Has anyone experienced

[android-developers] Re: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)

2009-02-22 Thread joshbeck
I agree. I've worked pretty darn hard to produce a clean application. The end-user is going to blame the developer most of the time on this one. It's a frustrating situation that I hope Google makes a top priority. On Feb 21, 8:15 pm, Stoyan Damov stoyan.da...@gmail.com wrote: That is, while

[android-developers] Paid App Question

2009-02-15 Thread joshbeck
If a Person Purchase my app through the store, and I push out an update, I would assume they will be eligible for the update free of charge. Can anyone confirm this? Also I'm interested in seeing how the end user will see the price and be prompted whether or not to purchase. Thanks, Josh Beck

[android-developers] Re: MapActivity Problem --Debugs but won't launch from signed apk.

2008-12-10 Thread joshbeck
On Dec 10, 6:23 am, Ludwig [EMAIL PROTECTED] wrote: I would assume that there is an additional check on the app that there is a map key for it on the phone that is not present in the emulator. Try it with a map key and see what happens on the phone. Ludwig 2008/12/10 joshbeck [EMAIL

[android-developers] Marketplace --Demo vs Full Version--

2008-12-09 Thread joshbeck
Hello all, I have an app on the marketplace right now that is doing fairly well. When paid apps arrive, I'd like to change a few variables in my code and republish the code so a 'demo' and a 'full' version exists. I did some experimenting with this about a month ago and I'd like to get some

[android-developers] Re: Out Of Memory issue

2008-12-09 Thread joshbeck
I can maybe help here. I'm an amateur, but the 'out of memory' error is a familiar adversary. The VM only allows you to use 640k at any given time. I have a program that utilizes hundreds of large bitmap files. Here is how I decided to handle it. (It's clunky and inefficient, but it works.) -I

[android-developers] Re: Out Of Memory issue

2008-12-09 Thread joshbeck
I can maybe help here. I'm an amateur, but the 'out of memory' error is a familiar adversary. The VM only allows you to use 640k at any given time. I have a program that utilizes hundreds of large bitmap files. Here is how I decided to handle it. (It's clunky and inefficient, but it works.) -I

[android-developers] Re: Out Of Memory issue

2008-12-09 Thread joshbeck
My bad. I'll defer to Romain on this. My apologies. Josh Beck On Dec 9, 8:36 am, Romain Guy [EMAIL PROTECTED] wrote: There is absolutely no such limitation of 640k. On Dec 9, 2008 6:21 AM, joshbeck [EMAIL PROTECTED] wrote: I can maybe help here. I'm an amateur,  but the 'out of memory

[android-developers] MapActivity Problem --Debugs but won't launch from signed apk.

2008-12-09 Thread joshbeck
Problem: -I have the simplest MapActivity known to Android. (Code Below) -In Eclipse I run as-Android Application (G1 connected in debug mode.) -Works fine. Gray Grid is displayed. -Once I export, sign, and download it to my phone as an apk it says: -Install Successful!

[android-developers] screen orientation question

2008-11-29 Thread joshbeck
Hello all, I am trying to determine exactly what happens when the screen orientation changes. (What I mean is, what happens to the lifecycle of an app when the user slides the screen out.) Reason: I show a dialog in my app. If the user slides the screen out, the app crashes with 'View not

[android-developers] ACTION_VIEW uri.parse options (System Settings)

2008-11-25 Thread joshbeck
Ok, If I create a new intent like this: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(market:// search?q=pname:com.android.MY_PACKAGE_NAME)); It launches the market. A couple of questions: -Where is this Market:// uri intent documented? (I can't seem to find it.) -What would I use

[android-developers] Camera Question: Off on Pause?

2008-11-22 Thread joshbeck
Here is what my app does: It opens the camera. It draws a preview to a surface. Now, if the user pauses the app, is the camera still siphoning the battery? How can I make sure it is off? Thanks Josh Beck http://globedroid.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: Camera Question: Off on Pause?

2008-11-22 Thread joshbeck
will conserve battery life.) ? Thanks again, Josh On Nov 22, 3:30 pm, Dave Sparks [EMAIL PROTECTED] wrote: Call the release() method on the Camera object and set it to null. In onResume, create a new Camera object. On Nov 22, 1:23 pm, joshbeck [EMAIL PROTECTED] wrote: Here is what my app does

[android-developers] Write PNG to PIcture Directory (FileOutputStream)

2008-11-15 Thread joshbeck
Hello all, How can I write an image so that it shows up under 'Pictures'? I've got a FileOutputStream like this: --Mypic is a valid bitmap. try { FileOutputStream stream = super.openFileOutput(picture.png, MODE_PRIVATE); Mypic.compress(CompressFormat.PNG, 100,

[android-developers] Re: Write PNG to PIcture Directory (FileOutputStream)

2008-11-15 Thread joshbeck
Actually, that code above isn't quite correct. I am writing png files to the sdcard with no problem. I'd like them to show up when the user chooses wallpaper - Pictures or camera - menu - Pictures. Are those displays databased or something? Thanks again, Josh Beck

[android-developers] extend MapActivity not Working

2008-11-13 Thread joshbeck
I am trying to extend the MapActivity class, but it's stumping me tonight. Notes: The first This post contains: -Working Code -Non-Working Code --I only change the extend MapActivity line and add unimplemented isRouteDisplayed() -- -Error Log Any Insight is

[android-developers] System Timeout: Force Close/Wait

2008-11-08 Thread joshbeck
Is there a way to increase the system timeout so it won't throw the 'Force Close' screen so soon. I have an app that relies on web requests, and if they take too long, the user gets the Force Close prompt. (Push Wait and it works fine.) Thanks! Josh Beck

[android-developers] Re: System Timeout: Force Close/Wait

2008-11-08 Thread joshbeck
instead. Any long operation (anything that might take more than half a second or so; and even half a second is very long) should be performed in a background thread. On Sat, Nov 8, 2008 at 10:59 AM, joshbeck [EMAIL PROTECTED] wrote: Is there a way to increase the system timeout so it won't throw

[android-developers] Re: How to install software in the G1

2008-11-06 Thread joshbeck
I use a Tomcat webserver. You have to set the MIME settings so they recognize .apk files and serve them correctly. Josh Beck On Nov 6, 7:25 am, dailyLife[EMAIL PROTECTED] wrote: My os is Windows ,IEDeclipse How to install software in the  G1.

[android-developers] Use Bundle to Pass Bitmap

2008-11-06 Thread joshbeck
Is it possible to pass a bitmap between activities using a bundle? Thanks, Josh Beck --~--~-~--~~~---~--~~ 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] Button Resource Invalid?

2008-11-06 Thread joshbeck
Ok, I am trying to get a button to pop up. When I add : b.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { int z = 5; } Logcat tells me the resource is invalid. Code: b.setOnClickListener(new View.OnClickListener() {

[android-developers] Re: Thread Question

2008-11-05 Thread joshbeck
a message back to the main thread when the background thread has finished its work. On Nov 5, 3:54 pm, joshbeck [EMAIL PROTECTED] wrote: I have a function that utilizes a thread. A variable the is needed for the program is populated after the thread call is made. The thread takes a while

[android-developers] Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
Hello all, Is this correct? View: The android screen is divided up into views. Views are basic layout objects. Canvas: You need to have at least one canvas if you want to do any drawing. Each view potentially has its own canvas. Drawable: ---)This is where my 10:30 bedtime turns into a 2:30

[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
I'll go ahead and add this too: I wrote two programs last night: -One added a Drawable to an ImageView Layout. -The other used onDraw and invalidate to repeatedly render out a canvas. Under what circumstances is the Drawable beneficial is my question I guess. Thanks again, Josh

[android-developers] Create Drawable and Store Resource from Bitmap

2008-11-04 Thread joshbeck
I need a series of images loaded into an array like this: // Load an array with BitmapDrawable resources. private Integer[] mThumbIds = { R.drawable.sample_thumb_0, R.drawable.sample_thumb_1, R.drawable.sample_thumb_2, R.drawable.sample_thumb_3, R.drawable.sample_thumb_4 };

[android-developers] All apps are free right now?

2008-11-03 Thread joshbeck
It seems like all of tha apps on the marketplace are free right now. I'm trying to find some information about why this is. Thanks, great help here. Josh Beck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Simple Level App

2008-11-03 Thread joshbeck
Ok, so I wrote an app tonight that reads the 'Roll' data from the compass and levels a line on the screen. (It's on marketplace. It's also here: http://www.imakmud.com/level.apk ) --Source Code Below: Here's how it works: -Basically every time the compass data changes, the canvas is

[android-developers] SImple Draw Program --Advice Needed

2008-11-02 Thread joshbeck
I watered this code down as much as possible for easy reading. Here is what it does: It draws a bitmap image to the screen. --darkcleanlinux (This part works.) It's the OnTouchEven(MotionEvent event) function that doesn't work. -I'm not sure I'm using the mCanvas object correctly. I would

[android-developers] Re: SImple Draw Program --Advice Needed

2008-11-02 Thread joshbeck
Here's the code: Thank You! package com.android.picturetest; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint;

[android-developers] Re: SImple Draw Program --Advice Needed

2008-11-02 Thread joshbeck
Thanks a million. I'll try this today and report back. I appreciate it. When you say 'set a flag.' Do you mean like an int? 0 or 1 kind of thing? Thanks again, Pros --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: SImple Draw Program --Advice Needed

2008-11-02 Thread joshbeck
On Nov 2, 9:04 am, joshbeck [EMAIL PROTECTED] wrote: Thanks a million. I'll try this today and report back. I appreciate it. When you say 'set a flag.' Do you mean like an int? 0 or 1 kind of thing? Thanks again, Pros One more thing: If I set a flag in OnTouchEvent that is something

[android-developers] Changing the system Wallpaper --Intent Broadcast ?--

2008-11-02 Thread joshbeck
Ok, I have a short program written that I'd like to see change the system wallpaper. I use setWallpaper(Bitmap bitmap); It is crashing my system. I think it is because it is broadcasting an intent and I'm not set up to receive it correctly. Any help is appreciated. Thank you! --Here is the

[android-developers] Re: Changing the system Wallpaper --Intent Broadcast ?--

2008-11-02 Thread joshbeck
Thank you very much. I'll look it up. Much appreciated. prospero --~--~-~--~~~---~--~~ 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] Emulator Calendar Code --What's up?

2008-11-01 Thread joshbeck
Here is a very simple code segment I am running on the emulator. It creates a new Calendar cal and reads cal.HOUR and cal.MINUTE it then prints those values to the screen. The emulator always reads 10 12 ? Any ideas? Thanks, package com.android.date; import android.app.Activity; import