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
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
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
"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
e1,
postData1);
Code:
/**/
/*** tinyClark Development 2011(Matt
Clark)**/
/***ht
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
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
>
> 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}
>
> 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)
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
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
, 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
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
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
.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
> &
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
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
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
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
>
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
rameters.FLASH_MODE_OFF.equals(flashMode)) {
> // Turn off the flash
> if
> (flashModes.contains(Parameters.FLASH_MODE_OFF)) {
>
> parameters.setFlashMode(Parameters.FLASH_MODE_OFF);
>
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:
> >>
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();
>
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
> написал:
>
>
>
>
>
>
&
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
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 пользова
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
}
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.
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
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
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
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
61 matches
Mail list logo