[android-developers] Re: How to call from Android Native Dialers, ignore other dialers

2018-03-06 Thread Karl Clark
I have the same problem. I am working on an app that will call a pre-entered phone number in case of an emergency. If the user has to interact with the app during the emergency, then the purpose of the app is defeated. I am considering implementing my own chooser where the user can decide ahe

[android-developers] (beginner question) variables reset when I change device orientation?

2016-04-11 Thread Jesse Clark
I am new to Android development. I am experimenting with making a simple app that displays a number that increases by one when the Up button is pressed and decreases by one when the Down button is pressed. It works correctly, except when I rotate the device from landscape to portrait or vice

[android-developers] Re: Android "USB Host" and ISOC (Isochronus)

2012-09-06 Thread David Clark
http://developer.android.com/reference/android/hardware/usb/UsbEndpoint.html *Isochronous endpoints are currently unsupported. * On Wednesday, 18 January 2012 20:20:52 UTC, Marius Maximus wrote: > > I found this "USB Host" API at page > http://developer.android.com/guide/topics/usb/host.html >

[android-developers] Android USB Host API Asynchronous Requests Bytes Read

2012-09-06 Thread David Clark
Using the Host API how are you meant to know how many bytes have been returned from a UsbRequest.queue() function? In the UsbConnection.requestWait() function we return the request that was issued but we don't return the number of bytes. Asynchronous USB transfers can't work if we don't know

Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-19 Thread Clark kent
I know, i can disable it, so it will work, but i'd like to let the app can run many times again. So i disable the exit(), but when call the second times, it generates errors. Could you help? Thanks Clark On Sunday, July 15, 2012 5:52:38 AM UTC+7, Dianne Hackborn wrote: > > You j

[android-developers] Re: Add Email/Sync Account from an App

2012-07-19 Thread Matt Clark
Also, how would I request permission to use the account manager only when I click the button to add the account? On Thursday, July 19, 2012 8:35:22 PM UTC-4, Matt Clark wrote: > > I created an app that connects to my schools network and authenticates the > device when in range, using

[android-developers] Add Email/Sync Account from an App

2012-07-19 Thread Matt Clark
I created an app that connects to my schools network and authenticates the device when in range, using the users pre-configured username/password and the schools web based authentication. Several people have also approached me wondering how to configure their school email account on their device

[android-developers] Clearing a system set notification, can it be done?

2012-07-17 Thread Matt Clark
At my school we have an internet security system, that every time your network connection goes inactive, it disconnects you, and you have to use the web browser to log back into the network. I created an app for my campus that detects the disconnect, and loggs the user back in with broadcast re

[android-developers] How to stop terminate the Android application when using the native code

2012-07-14 Thread Clark kent
s: "*Invalid heap address in internal_realloc*". I think that came from the re allocation the memory. So if any one know how to free all memory of native call, please let me know. Thanks for any comments Thanks Clark -- You received this message because you are subscribed to th

[android-developers] Re: Per Google Terms of Service: Am I permitted to...?

2012-05-13 Thread Matt Clark
"The more you know" xD Well thanks anyway, I guess I will have to have an actual lawyer read over it for me. :p On Sunday, May 13, 2012 3:50:00 AM UTC-4, Matt Clark wrote: > > I am developing an android app that will utilize the Google Maps API. The > app is a Dispatc

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-13 Thread Matt Clark
e1, postData1); Code: /**/ /*** tinyClark Development 2011(Matt Clark)**/ /***ht

[android-developers] Per Google Terms of Service: Am I permitted to...?

2012-05-13 Thread Matt Clark
I am developing an android app that will utilize the Google Maps API. The app is a Dispatch Manager and Fleet Management system. It does all of the actual management system on my own server and SQL Databases using the GPS information from the phone, however, in the Google terms of service, it s

[android-developers] Distribution of App Containing Google Maps API

2012-05-13 Thread Matt Clark
Per Section 8.3, is it illegal to sell an app containing the Maps API without permission of Google? https://developers.google.com/maps/documentation/android/maps-api-signup -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Confirmation with pressing back button

2012-05-12 Thread Matt Clark
> > Probably not the most efficient way to do things... but it works on all >> devices that I have used... Not neat.. but hey, it works. xD > > > boolean quitOnBack = false; public void onBackPressed() { if (quitOnBack) > { finish(); } else { quitOnBack = true; Toast.makeText(this, "Press {Back}

[android-developers] Re: Confirmation with pressing back button

2012-05-12 Thread Matt Clark
> > Probably not the most efficient way to do things... but it works on all > devices that I have used... Not neat.. but hey, it works. xD boolean quitOnBack = false; public void onBackPressed() { if (menuLayout.getVisibility() == View.VISIBLE) { menuLayout.startAnimation(Anim_SlideOut_Bottom)

[android-developers] Get SubView Location in MapView

2012-05-12 Thread Matt Clark
In my app I am using a mapView with ImageViews within. When I click on one of the contained imageviews, how would I get its location withing the mapView so that I can center the mapview on the clicked ImageView. -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] In App Navigation

2012-05-09 Thread Matt Clark
I am working on an app that will utilize navigation, but I have no idea where to start when it comes to this. Does anyone have ans suggestions on something to read on learning navigation on android? Or would it just be better to bring the user just into the native Android Navigation app? ~Matt

Re: [android-developers] How to force quit a Thread

2012-04-29 Thread Matt Clark
, Ankita wrote: > > stop(),destroy() etc. methods were deprecated by JDK versions, so must > have not got support now. To stop thread, you should try to use flags, > AFAIK. > > On Mon, Apr 30, 2012 at 9:34 AM, Matt Clark wrote: > >> I am creating an app that sends variou

[android-developers] How to force quit a Thread

2012-04-29 Thread Matt Clark
I am creating an app that sends various HTTP requests in seperate threads, while doing so brings up a loading screen. If the network request is taking longer then the user expects, I want them to be able to press the back button to force quit the thread, and dismiss the loading screen. I have my

[android-developers] Find Image Resource Id From Image View

2012-04-05 Thread Matt Clark
I have a screen full of image views, and depending on which one is clicked, it opens a second activity passing the values. I.E.: Java Code: public void gridClick(View v) { Intent gridInfo = new Intent(Master.this, GridInfo.class); ImageView img = (ImageView)findViewById(v.ge

Re: [android-developers] New Windows Install <- AdMob Errors

2012-03-23 Thread Matt Clark
.google.com/u/0/109385828142935151413/posts/RL91VJd1yti> > > On Fri, Mar 23, 2012 at 12:35 PM, Matt Clark > wrote: > > I just had to reformat my install of windows, but was lucky enough to be > > able to save all of my apps, however, whenever i try and build them now, > i > &

[android-developers] New Windows Install <- AdMob Errors

2012-03-23 Thread Matt Clark
paths, the AdMob SDK is included in the projects, but every one of my apps that utilizes AdMob now error, and I have no idea how to fit it... Any and all suggestions would be greatly appreciated as I am completely stuck... ~Matt Clark -- You received this message because you are subscribed to

Re: [android-developers] Adjust Screen Size When Soft Keyboard Shown

2012-03-05 Thread Matt Clark
Ahhh, i always wrap everything in scroll view, but did not know to set this property. 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

[android-developers] Adjust Screen Size When Soft Keyboard Shown

2012-03-04 Thread Matt Clark
Right now in my app, when the soft keyboard is shown, it does not resize my activity to the upper half of the screen that is not being covered by the keyboard, higing some important elements. How would I detect that the soft keyboard has been shown, and then change my layout to fit? ~tinyClark

[android-developers] Re: Manifest Not Building : android:configChanges="screenOrientation"

2012-02-20 Thread Matt Clark
Thanks for that. Now i am feeling pretty stupid. xD On Feb 20, 3:50 pm, Kostya Vasilyev wrote: > It's > >   "orientation" > > not "screenOrientation" > > http://developer.android.com/guide/topics/manifest/activity-element.h... > > -- K >

[android-developers] Manifest Not Building : android:configChanges="screenOrientation"

2012-02-20 Thread Matt Clark
I am trying to get my app to handle its own Screen Orientation changing as opposed to the app reloading the activity every time. I found that to get the app to do this I need to add android:configChanges="screenOrientation" however the Manifest will no longer build giving me this error: error: Erro

[android-developers] Re: Fail to connect to camera service <- Camera.open();

2012-02-11 Thread Matt Clark
rameters.FLASH_MODE_OFF.equals(flashMode)) { >                             // Turn off the flash >                             if > (flashModes.contains(Parameters.FLASH_MODE_OFF)) { > > parameters.setFlashMode(Parameters.FLASH_MODE_OFF); >                                  

[android-developers] Re: Fail to connect to camera service <- Camera.open();

2012-02-07 Thread Matt Clark
ses, which frees > up the camera. > > Thanks > > 2012/2/8 v bobbywink > > > > > > > > > > > So strange, can u post all code in this activity? > > > 2012/2/8 Matt Clark > > >> Even using your code, in LogCat i get: > >>

[android-developers] Re: Fail to connect to camera service <- Camera.open();

2012-02-07 Thread Matt Clark
ters.FLASH_MODE_OFF.equals(flashMode)) { > // Turn off the flash > if (flashModes.contains(Parameters.FLASH_MODE_OFF)) { > > parameters.setFlashMode(Parameters.FLASH_MODE_OFF); > mCamera.setParameters(parameters); > mCamera.stopPreview(); >

Re: [android-developers] voice input for people with tremors (or large fingers)

2012-02-07 Thread Megan Clark
There is an app called Vlingo Virtual Assistant -- I'm not sure it will help but it might save your brother some frustration until someone comes up with something more accessible. I played with it on my phone a few months ago, but I can't remember much about it other than nice voice utility and big

[android-developers] Re: voice input for people with tremors (or large fingers)

2012-02-07 Thread Matt Clark
https://market.android.com/details?id=com.jb.gokeyboard ^ My favorite keyboard. There are hundreds, but this is one of the largest that i have seen, and they offer a lot of different themes, so it may be just as easy as to have the develop a new theme for it. On Feb 7, 1:24 pm, James Hadley wr

[android-developers] Re: Fail to connect to camera service <- Camera.open();

2012-02-07 Thread Matt Clark
Anything? On Feb 7, 12:14 am, Matt Clark wrote: > Even as hundreds of other have made them, i am trying my hand at a > flashlight app. I have the basic GUI and widget working and toggling, > and i just attempted to implement the actual flash from the phone. > I have found many plac

[android-developers] Re: Developing Android App For A Forum

2012-02-06 Thread Matt Clark
What I would do personally is, if you have access to the source of the forum, create small web scripts that will be called by the app. On the sever have a .php file that takes POST data and process it and returns a result to be processed by the app. I do however believe that vBulletin has an app of

[android-developers] Fail to connect to camera service <- Camera.open();

2012-02-06 Thread Matt Clark
Even as hundreds of other have made them, i am trying my hand at a flashlight app. I have the basic GUI and widget working and toggling, and i just attempted to implement the actual flash from the phone. I have found many places that this is most easily done with this snippet of code: Camera mCame

[android-developers] Re: Debugging native code using eclipse apart from Sequoyah/ndk guide

2012-01-22 Thread Matt Clark
What do you mean by 'native code' as in the OS itself? Or your application? If for your application code, on the left of the code. right click and click add breakpoint where you wish to start the debugging. When you deploy your code to your device, click the button to the left of the RUN button, wh

[android-developers] Dynamic Layout In Array

2012-01-22 Thread Matt Clark
I am making an application that takes data from a database and outputs it on the screen in various ways, one of the ways is that i need to take from a long list of strings, and put them into a homemade list, ie: TextView[] teamNumbers; TextView[] teamNames; TextView[] teamFavorites; RelativeLayout

[android-developers] Re: Dynamic ImageButtons

2012-01-22 Thread Matt Clark
What i am currently doing with my app, is using a PHP script on my server, that access an SQL Server to retrieve spectific information ,ad nthe it is returned to the device, allowing me to change global setting, such as allowing the app to run without a valid license, etc. You could do something li

[android-developers] Re: Database Access from Android Application

2012-01-22 Thread Matt Clark
AM, Matt Clark wrote: > > Is there some kind of SQL library that i could > > just use insted of sending HTTP requests parsed by PHP files? > > That is not a good idea, for security reasons. That would mean that > your database is open for the script kiddies of the world to

[android-developers] Re: ScrollView (fill_parent)

2012-01-22 Thread Matt Clark
As in my method worked? Or you are still experiencing a problem? On Jan 22, 4:08 am, "John" wrote: > This does appear to be the behavior. > > From: android-developers@googlegroups.com > [mailto:android-developers@googlegroups.com] On Behalf Of TreKing > Sent: Sunday, January 22, 2012 2:41 AM > To

[android-developers] Re: Dynamic ImageButtons

2012-01-22 Thread Matt Clark
So in short you need just 6 buttons (with images) that you can dynamically change their action? ImageView img_01 = (ImageView)findViewById(R.id.img_01); img_01.setClickable(true); img_01.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { switch(action){ ca

[android-developers] Re: ScrollView (fill_parent)

2012-01-22 Thread Matt Clark
I use RelativeLayout for everything, so i do not know if it works for LinearLayout, but you could try android:layout_alignParentBottom="true" On Jan 22, 1:55 am, "John" wrote: > Hi, > > I have a scroll view with height="fill_parent".  The child is a LinearLayout > with height="fill_parent".  I th

[android-developers] Database Access from Android Application

2012-01-22 Thread Matt Clark
I am making an application for users to take notes about other teams they are competing against at robotics competitions, which will be collaborative will all member of the same team across devices, so all information will be stored in an SQL database on my webhost. My first question is what would

[android-developers] Re: if() Statement Not Working Correctly...

2011-12-15 Thread Matt Clark
Wow... I feel pretty stupid right now... Thanks haha... Long Night xD On Dec 15, 11:20 pm, Kristopher Micinski wrote: > Pick up a Java book... :-)... > > you can't compare strings with == in java...  use .equals()... > > kris > > > > > > > > On Thu,

[android-developers] if() Statement Not Working Correctly...

2011-12-15 Thread Matt Clark
I am currently writing an application to easily retrieve the bus schedule for my school. I have a series of intents and content views that get information from the user such as Bus From Bus To Day The variables are passed to a final intent, where depending on what the user has selected it will cho

[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found

2011-12-03 Thread Matt Clark
public String getString(int Rid, Context passedContext){ Context masterContext = passedContext; return (String)masterContext.getResources().getText(Rid); } Woo, finally got it! Thanks for all the help! -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found

2011-12-03 Thread Matt Clark
ontext("your.package.name.here"...). Note the double quotes. > > Don't think you need the "ignore security" flag in this case, just to load > the resources. > > -- Kostya > > 3 декабря 2011 г. 22:45 пользователь Matt Clark > написал: > > > > > > &

[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found

2011-12-03 Thread Matt Clark
I have no idea how to set that up, I found an example that would use: Context r = Context.createPackageContext(tinyClark.android.libraries.LanguagePack,Context.CONTEXT_IGNORE_SECURITY); But i get an error that tinyClark.android.libraries.LanguagePack cannot be resolved to a variable, and when i t

[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found

2011-12-03 Thread Matt Clark
So what else do i need to use? That was just an example i found on referencing strings outside the main class. On Dec 3, 1:17 pm, Kostya Vasilyev wrote: > Why getSystem? > > You strings are in the language pack, not in the Andorid framework. > > 3 декабря 2011 г. 22:13 пользова

[android-developers] getString in a class with no context <- Runtime Error Resource Not Found

2011-12-03 Thread Matt Clark
I am making a multi-langual app that calls on a LanguagePack class to get all of the strings from the resources, which picks what it needs depending on the selected language, i have the LanguagePack class in a seperate librarise folder, and the problem that i am having is that i can not use this.ge

[android-developers] Failed to install apk on device

2011-10-31 Thread clark
Happy Halloween everyone! So, I've been working on this live wallpaper that uses OpenGL ES 2.0 and just recently ran into a big problem. I made some code changes and went to run it to test them out and I get the following in the console output in Eclipse. [2011-10-31 11:59:53 - hdgl-lwp] ---

[android-developers] Re: setOnClickListener Problems Crashing Application

2011-10-22 Thread Matt Clark
Ahhh Clean worked wonderfully. Thanks so much! -- 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+uns

[android-developers] Re: setOnClickListener Problems Crashing Application

2011-10-21 Thread Matt Clark
http://tinyclark.com/master.java.txt Full Source ^ On Oct 21, 10:07 pm, Matt Clark wrote: > 103: login_btn_submit.setOnClickListener(new View.OnClickListener() { -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: setOnClickListener Problems Crashing Application

2011-10-21 Thread Matt Clark
103: login_btn_submit.setOnClickListener(new View.OnClickListener() { -- 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 and

[android-developers] Re: setOnClickListener Problems Crashing Application

2011-10-21 Thread Matt Clark
10-21 20:52:07.157: ERROR/AndroidRuntime(11123): FATAL EXCEPTION: main 10-21 20:52:07.157: ERROR/AndroidRuntime(11123): java.lang.RuntimeException: Unable to start activity ComponentInfo{tinyclark.robotics/tinyclark.robotics.Master}: java.lang.NullPointerException 10-21 20:52:07.157: ERROR/AndroidR

[android-developers] Re: setOnClickListener Problems Crashing Application

2011-10-21 Thread Matt Clark
10-21 20:48:34.710: DEBUG/AndroidRuntime(11060): >> AndroidRuntime START com.android.internal.os.RuntimeInit << 10-21 20:48:34.710: DEBUG/AndroidRuntime(11060): CheckJNI is OFF 10-21 20:48:34.720: DEBUG/dalvikvm(11060): creating instr width table 10-21 20:48:34.910: DEBUG/AndroidRuntime(110

[android-developers] setOnClickListener Problems Crashing Application

2011-10-21 Thread Matt Clark
I have an application that once a user enters a username and password, they press a button which authenticates them with the system. I have used buttons before without problem... But for some reason i am now getting problems... I have this code in for a while and it has been working no problem.. bu

[android-developers] Re: BitmapFactory.decodeStream() returning null when trying to load image from SD card

2011-10-09 Thread clark
BitmapFactory.decodeFile() works, so I guess I'll use that for files and decodeStream() for images included in my assets. On Oct 8, 4:08 pm, clark wrote: > I'm currently working on a Live Wallpaper that uses OpenGL and ran > into a problem with decodeStream() always returning nu

[android-developers] BitmapFactory.decodeStream() returning null when trying to load image from SD card

2011-10-08 Thread clark
I'm currently working on a Live Wallpaper that uses OpenGL and ran into a problem with decodeStream() always returning null. I've had no problem when working with images in my assets folder, but I am adding an option to load an image from the SD card. I get file information from the gallery and t

[android-developers] Re: hello

2011-10-01 Thread clark
As Kristopher said, you will be much better off sticking with Java and the Android SDK. BASIC is fine for those that don't do a lot of programming but as a CS major you'll be doing quite a bit and you will benefit more from using Java than BASIC. I'm not knocking BASIC, I'm just letting you know

[android-developers] Re: Can I count the touches out of the app?

2011-09-28 Thread clark
Depending on how bad you need those statistics you could always build android from source. If CyanogenMod is available for your device, that may be the way to go with obtaining source that can be built and ran on your device. It really depends on how badly you need those "statistics". Otherwise

[android-developers] Re: SOAP Implementation

2011-09-28 Thread clark
Check out this thread over at StackOverflow http://stackoverflow.com/questions/297586/how-to-call-soap-web-service-with-android. That should give you a good start and provide you with some direction in using SOAP in android. On Sep 28, 2:45 am, Sivaprakash wrote: > Hi > > Can some one give me a

[android-developers] Re: How to read data from an Xml file

2011-09-27 Thread clark
What a surprise. Yet another witty reply from the TrollKing. On Sep 27, 4:55 pm, TreKing wrote: > On Mon, Sep 26, 2011 at 5:20 AM, sumit garg wrote: > > I am trying to read data from an XML file which is in an external storage. > > I think following things are involved in it- > > 1. how do i r

[android-developers] Re: Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread clark
Pay no attention to the TrollKing. He's still working on building his troll portfolio in this group. On Sep 27, 5:15 pm, Snowdream wrote: > yes,i have googling it until the middle night,but can not get my answer. > > TreKing 编写: > > > > > > > > >On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 wrote: > > >>

[android-developers] Re: Call to System.loadLibrary() causes process to die

2011-09-18 Thread clark
e Hackborn wrote: > Why are you building the SDL stuff as shared libraries instead of just > statically linking them into your main .so? > > > > > > > > > > On Sun, Sep 18, 2011 at 10:21 AM, clark wrote: > > 've decided to take on porting a game, that

[android-developers] Re: Call to System.loadLibrary() causes process to die

2011-09-18 Thread clark
I was sImply following the SDL example project that they provided that did the same. I'll statically link them and see what the outcome is. Thanks, -clark- On Sep 18, 2:37 pm, Dianne Hackborn wrote: > Why are you building the SDL stuff as shared libraries instead of just > statica

[android-developers] Call to System.loadLibrary() causes process to die

2011-09-18 Thread clark
oot cause. I've worked on porting another game which was just plain old C code, which worked out, so I am not sure if there is an issue with the fact that this particular game is heavy on the C++ side. Thanks in advance for any help with this headache of mine! -clark- -- You received this mes

Re: [android-developers] Graphs in Android

2011-08-29 Thread Chris Clark
Thanks very Much. Chart Droid is actually it's own app, i need a chart to be embedded in mine but i found this which is brilliant! http://www.jjoe64.com/p/graphview-library.html On Mon, Aug 29, 2011 at 10:33 AM, saurabh rawat wrote: > > Hi , > I have done quiet some research and still doing it fo

[android-developers] Native SIP Client Device Support List?

2011-08-22 Thread Shaun Clark
So we're finding out a lot of Gingerbread devices don't seem to be supported with the native client, which kind of makes it less useful. Is there a list of currently supported devices or perhaps a plan to support roughly all Gingerbread devices in the future? In the meantime is there another SIP s

[android-developers] Re: Google Development phones

2011-08-15 Thread Matt Clark
If you will just be developing on them market apps, i would recommend buying one off of ebay with a bad esn, or if you want it for a phone as well go from your carrier, you will spend less. The only difference in these phones is that they are not assigned to any specific carrier. -- You receiv

[android-developers] Re: recommended icon size.

2011-08-15 Thread Matt Clark
The phone will only load that icon on an HDPI device. In your Res: folder there are 3 folders. drawable-ldpi drawable-mdpi drawable-hdpi, each with their own icon.png file. This is where the icons will be taken from depending on the screen resolution. -- You received this message because you a

[android-developers] Clickable ImageView

2011-08-15 Thread Matt Clark
I have an application which implements a clickable image view, however, when i add the following code: team_background = (ImageView) findViewById(R.id.home_background); team_background.setClickable(true); team_background.setOnClickListener(new View.OnClickListener() { @Override public vo

[android-developers] VideoView only works on some devices

2011-08-14 Thread Matt Clark
I am developing an application which implements a videoview on one of the pages. I have the video load automatically onCreate, and it imediatly begins to play. On my HTC Evo Shift, and Archos 101 Tablet the video loads with no problems, but after sending the app to others for beta testing, Some

[android-developers] Re: Tricky layout

2011-08-13 Thread Matt Clark
If you use instead of or you can use [android:layout_x="xx:px"][android:layout_y="xx:px"] to move your stuff around, you will also be able to layer things based on the order in the XML. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Re: Home screen's Icon

2011-08-13 Thread Matt Clark
Your post is not very clear, what would you like to do? Change the programs icon? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Call Function When Intent Closed

2011-08-13 Thread Matt Clark
I have a program where the background has a video in it, when i click on an icon it open a new intent, but when i hit the back button to close the intent the video does not resume playing. Is there a listener to set up to see when the intent closes, where it can then restart the videoview? Thanks M

[android-developers] Re: Test Project Question

2011-08-11 Thread Matt Clark
Try this and let me know how it works. This is the method that i use: final Button button = (Button) findViewById(R.id.textbutton); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { //Put your button press code here. }

[android-developers] Re: Cheap Bluetooth devices sought

2011-08-11 Thread Matt Clark
wow... i may have to pick myself up a few of those xD if you are doing high density data transfer may i also suggest WiFi? http://www.sparkfun.com/products/10004 I have this and it works great. It is a bit more, but it works great, and i am sure that you can get other similar devices for less.

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Matt Clark
lbl_team228.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Master.this.startActivity(new Intent(Master.this, Team228.class)); } }); lbl_about.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Mas

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Matt Clark
what do you mean missing break in switch? I launch one, press back, and then go into the next. I also tred using: final TextView lbl_teamhometext = (TextView) findViewById(R.id.lbl_teamhometext); lbl_teamhometext.setText(R.string.info_firsthome); and: final TextView lbl_infoabout = (Tex

[android-developers] A problem about Launcher2

2011-06-15 Thread Clark
elect Launcher2 as the default Home step4. After that, every time pressed Home key, Launcher2 will be restart(means invoke onCreate(), not onNewIntent()), as Launcher Activity's launchMode is singleTask, why I got this problem? Any ideas will be appreciate. Best rega

[android-developers] Re: Replace Stock Voicemail?

2011-05-25 Thread Shaun Clark
Any ideas? Thanks! On May 17, 3:41 pm, Shaun Clark wrote: > I noticed Google Voice is able to replace the stock voicemail app or > at least the voicemail number. How can I do this with my app? Thanks! > > Shaun -- You received this message because you are subscribed to the G

[android-developers] Re: Failed SIP Call

2011-05-19 Thread Shaun Clark
I was able to solve this by simply putting the full address in, so for example if trying to dial extension 900, instead of just putting 900, I had to put in "900@asterisk_server_address" to get it to work. Hope this helps! On May 18, 4:07 pm, Shaun Clark wrote: > When I try to fire

[android-developers] Re: SIP API in Android 2.3 with IP/Port problems

2011-05-18 Thread Shaun Clark
Did you ever find a solution? I have this same issue. Thanks! On May 1, 6:45 am, Sebastian wrote: > Hello everyone, > > for a while now I've been playing around with the SipDemo in the 2.3 > SDK. > The documentation on Android's developer page is nicely written, but > not a lot. > It does not exp

[android-developers] Failed SIP Call

2011-05-18 Thread Shaun Clark
When I try to fire off a SIP call I get: 05-18 16:01:50.303: DEBUG/dalvikvm(1179): GC_EXPLICIT freed 11K, 6% free 6240K/6595K, paused 2ms+1ms 05-18 16:01:55.273: DEBUG/BatteryService(162): level:88 scale:100 status:2 health:2 present:true voltage: 8325 temperature: 357 technology: Li-ion AC power

[android-developers] Replace Stock Voicemail?

2011-05-17 Thread Shaun Clark
I noticed Google Voice is able to replace the stock voicemail app or at least the voicemail number. How can I do this with my app? Thanks! Shaun -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: Android Beginner Having Problems

2011-03-23 Thread Matt Clark
wow.. thanks. dont know what i was missing but it works now. I just used: import android.view.*; ~Matt -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Android Beginner Having Problems

2011-03-21 Thread Matt Clark
I tried using the MenuInflation off of the android developers site: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } with an xml in the res/meno directory by the name of game_m

[android-developers] Resuming Previous Activity Properly

2011-03-19 Thread Shaun Clark
I have two Activities which both share a toolbar component that extends a linear layout, the toolbar looks like this: public class Toolbar extends LinearLayout { ... public Toolbar(final Context con, AttributeSet attrs) { super(con, attrs); setGravity(Gravity.BOT

[android-developers] Switch back to my application after phone call ends

2011-03-11 Thread Shaun Clark
>From my application I am currently launching the dialer: newCallIntent = new Intent(Intent.ACTION_DIAL); PhoneCallReciever receiver = new PhoneCallReciever(); telephonyManager.listen(receiver, PhoneStateListener.LISTEN_CALL_STATE); startActivityForResult(newCallIntent, DIAL_RESULT); Then I have

[android-developers] Does camera support preview formats other than NV21?

2011-02-28 Thread Clark Chen
Hi, When I am looking into the format support by camera preview, the only one returned to me is NV21, even though the SDK reference listed several. I am using Nexus One and Nexus S. Is there any way to get the camera frames in other formats like NV16 or YV12? Thanks a lot! Clark

[android-developers] AEC supported on Android? (Acoustic Echo Cancellation)

2011-02-15 Thread Clark Chen
l app? and how to make it possible? It may not limit to SDK APIs, but refer to the platform capabilities. Anybody could give me some information or hints on this? appreciate very much! Clark -- You received this message because you are subscribed to the Google Groups "Android Developers&

[android-developers] seeing GENERIC_FAILURE in logs of network selection

2011-01-26 Thread Bryan Clark
Hi - I'm trying to debug why my phone doesn't seem to like connecting to roaming networks and I'm hoping someone can help me make a little more sense of the radio debug logs I'm seeing. I'm running a Nexus One with Android 2.2.2. I have a Canadian service provider, WIND Mobile, and when I travel

[android-developers] Re: How to use the lib(.jar) which android sdk didn't contain

2010-04-16 Thread Clark Guan
Hi, I have the same problem using dom4j in Android project. It can be compiled but output some warning... On 4月16日, 下午2时24分, javame_android wrote: > Hi, > > Android has Dalvik Virtual Machine and not Java Virtual Machine. So, I > don't think you will be able to use this class in Android. > > In

Re: [android-developers] How to provide animation when calling another activity in Android?

2010-04-16 Thread Clark Guan
e default animation should not occur and the > animation that I want should occur. > > Can we actually give the animation when calling another Activity? > > Hope to get a quick response. > > > Regards > Sunil > > -- > You received this message because you ar

[android-developers] Re: Creating custom button looks?

2010-01-15 Thread clark
I had added a D-Pad image button to a game, and the transparent areas still registered hits. This was using the 1.5 SDK so I am not sure if any of the newer SDKs have changed this. On Jan 15, 12:30 pm, Kevin Duffey wrote: > You can use a png I believe with transparency to produce any style butt

[android-developers] Re: Pretty code program (for all developers)...

2010-01-13 Thread clark
Since this is an android development forum I can suggest using the code formatter built into eclipse rather than re-invent the wheel. You can always adjust the settings to your liking and create your own profile for formatting if you do not like some of the built in ones. You can go to Window->Pref

[android-developers] Re: Copying database off device

2009-12-31 Thread Clark Hunter
Link to SDK Tools Info: http://developer.android.com/guide/developing/tools/index.html Rather than pulling db to workstation, just open a 'adb shell' and look at the db directly - see the sqlite3 section in the above tools link. If you need pull/push, see the tools adb section. On Dec 31, 5:56 am

[android-developers] Re: Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-07 Thread Clark Hunter
raffic, and send it here so I can > have a look at it. > > Also see -help-proxy for details about the parameter. > > Hope this helps. > > On Fri, Dec 4, 2009 at 10:19 AM, Clark Hunter wrote: > > This link has some suggestions for proxy setting for early (pre-1.5) > &g

[android-developers] Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-04 Thread Clark Hunter
This link has some suggestions for proxy setting for early (pre-1.5) and later (1.5 thru 1.6) Android emulators: http://www.coderanch.com/t/462906/Android/Mobile/connect-internet-behind-proxy Basically, the older emulator used a “com.android.provider.setting.db” database or -http-proxy command lin

[android-developers] Re: Accessing Market from Cupcake on Dev phone

2009-04-29 Thread clark
I have a G1 and loaded the ADP cupcake image and I too can see the app inside the market, including paid and protected apps. On Apr 27, 8:11 pm, Marc Lester Tan wrote: > I can access Market and download free apps from it using my ADP on cupcake. > I'm from Philippines. > > -Marc > > > > On Tue,

  1   2   >