[android-developers] UTF encoding of SMS

2009-11-15 Thread Jamie
Does Android encode SMS using UTF-7 or UTF-8?  I'm developing an app
that interfaces with an SMS processing backend that uses UTF-7.  If
Android uses UTF-8, is there a way to programmatically use UTF-7
instead?

Thanks,

Jamie

-- 
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: How to preserve old Db table, while adding new table columns for new version of app?

2009-11-16 Thread Jamie
Select and store all data currently in the db.  Wipe the old tables
and create the new ones.  Insert the old data into the new database
with some default values for new columns where old data is not
available.

On Nov 16, 8:17 am, "jagtap.jj"  wrote:
> Hello everybody
>
> Is there way for Android or in SQLite to preserve old version Db table
> columns, while adding new table columns for new version.
>
> The new application version should not vanish all user data from old
> version.
>
> Any suggestions?

-- 
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: How to create a project in android

2009-11-16 Thread Jamie
This topic is better suited on the Android-Beginners Group:

http://groups.google.com/group/android-beginners

On Nov 13, 3:09 pm, Dhir  wrote:
> hi all,,
>
> plz help me out...
> actually i'm  using eclipse and creating an android project properly.
> bt  in package explorer the folder is showing a red symbol.
> that means error is there,but as i haven't change anything.
> so as i feel it should not give any error.
> actually i'm a beginner,so plz help me out.
>
> With advance thanx.
> Dhir

-- 
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: Connecting multiple phones

2009-08-26 Thread Jamie

Does bonjour actually support sending data between two devices or just
a device and a PC?  There is no way to implement a P2P protocol
because the wi-fi doesn't support connecting to another devices via wi-
fi, is this correct?  What are the options to a device with root
access, are they different than listed?

Also, a patch has been introduced to android source but is not yet
approved.

https://review.source.android.com/#change,9714

On Aug 24, 1:31 pm, "Yusuf Saib (T-Mobile USA)"  wrote:
> There are two ways to do this:
> 1) have the phones running your app sign in to a central server with
> their location, and the server informs the phones of each other. Then
> they can contact each other however you like. One problem is that 50m
> is a small radius for the phone's ability to detect its location.
> 2) use zeroconf, also known as Bonjour, over WiFi. This is not built
> into Android, so you'd have to find a Java port, such 
> ashttp://jmdns.sourceforge.net/which is used in at least one other
> Android project:http://dacp.jsharkey.org/
>
> Yusuf Saib
> Android
> ·T· · ·Mobile· stick together
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Aug 23, 6:37 am, julia_robinson  wrote:
>
> > Hello . I am looking forward to developing an application which needs
> > a cellphone to connect with about 20 cellphones in its vicinity (say
> > about 50 metres) .
>
> > 1. Which technology allows this ?
> > 2. Does Android support it?
--~--~-~--~~~---~--~~
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: Disable 2g and 3g networks

2009-10-30 Thread Jamie

GPS receiver is independent of the cell receiver.  GPS can be turned
on while airplane mode is ON.

Good luck!!

On Oct 30, 10:59 am, Anton Pirker  wrote:
> Hi all!
>
> I am developing an application that is used for a sort of tournaments.
> The requirements are that if the application is running it should be
> impossible to make and receive phone calls.
>
> Can i disable 2g/3g from within my app?
> (Airplane mode is no option, because i still need GPS)
>
> Thanks in advance!
> Anton
--~--~-~--~~~---~--~~
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] Any way to intercept power button presses when running a service?

2010-02-11 Thread Jamie
I am creating an Android service which constantly runs in the
background. I'd like to be able to intercept calls to the power button
to: a) prevent the screen coming on and b) handle the power button
press in a different manner.

This is to enable the user to have a very simple interface to my
application and prevent wasting battery powering up the screen when it
is not required.

I will probably need an alternative mechanism to actually bring the
screen back up (such as an extended key press or similar), but this
only becomes relevant if what I'm after is possible.

Thanks for any advice!

Jamie

-- 
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] Android 2.1 Sensors with screen off

2010-02-15 Thread Jamie
Hi,

I am writing an application for the Nexus One where I require the
accelerometer and/or the orientation sensor to remain active while the
screen is off. I have taken a partial wake lock, but it is quite clear
that as soon as the screen goes off any sensor updates stop.

I have searched this forum and it appears this was an issue previously
which was fixed in Cupcake. Is this a new bug in 2.1 or is this a
limitation of the handset (or even a deliberate design decision?)

Thanks in advance,

Jamie

-- 
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] Bluetooth connect not working

2010-02-26 Thread Jamie
I am trying to establish a connection to another Bluetooth device on
my Nexus One (2.1) with the following code, which occurs when on the
broadcast receiver when a device is found.

BluetoothDevice device = (BluetoothDevice)
intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
BluetoothSocket btSocket = null;

try
{
btSocket = device.createRfcommSocketToServiceRecord(MY_UUID);
BluetoothClass btClass = device.getBluetoothClass();
Log.d("BLUETOOTH", "-- createRfcommSocketToServiceRecord
WORKED: " + btClass.toString());
btSocket.connect();
Log.e("BLUETOOTH", "ON RESUME: BT connection established, data
transfer link");
}
catch (IOException e)
{
Log.e("BLUETOOTH", "IOException: " + e);
}

I have tried both the following UUIDs for both the SPP and OOP
profiles:

private static final UUID MY_UUID =
UUID.fromString("1101--1000-8000-00805F9B34FB");
private static final UUID MY_UUID =
UUID.fromString("1105--1000-8000-00805F9B34FB");

Every time I call the connect command I get an IOException with
"Service discovery failed". I have tried connecting to a G1, iPhone
and a Nokia phone all with the same results.

What am I doing wrong?

-- 
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] Maps API v2 and WRITE_EXTERNAL_STORAGE permission

2013-01-08 Thread Jamie
The official documentation for MAPS API v2 states the following:

Besides permissions required by other parts of your application, you must 
add the following permissions in order to use the Google Maps Android API:

   - 
android.permission.INTERNET<http://developer.android.com/reference/android/Manifest.permission.html#INTERNET>
 Used 
   by the API to download map tiles from Google Maps servers.
   - com.google.android.providers.gsf.permission.READ_GSERVICES Allows the 
   API to access Google web-based services.
   - 
android.permission.WRITE_EXTERNAL_STORAGE<http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE>
 Allows 
   the API to cache map tile data in the device's external storage area.

My client has requested that we do not use the WRITE_EXTERNAL_STORAGE 
permission. So my question is, is it really true that this permission is 
mandatory when using the Maps V2 API and will bad things happen if I don't 
include it? Since the mapping functionality is not a key feature of the 
application I am more than happy to take any hit with regards to lake of 
map cacheing.

Many thanks,

Jamie

-- 
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] Maps API v2 and WRITE_EXTERNAL_STORAGE permission

2013-01-08 Thread Jamie
I think it's definitely option 3, as everything appears to work but I then 
live in fear that it can die at any random point in the future.

I think I'll give the client the option with a strong opinion that they 
really should include it and if they take the risk to exclude that is up to 
them!

Cheers,

Jamie

On Tuesday, January 8, 2013 12:28:12 PM UTC, Mark Murphy (a Commons Guy) 
wrote:
>
> I haven't tried withholding that permission. You are welcome to give 
> it a shot. I see three possible outcomes: 
>
> 1. You crash immediately, just as you will if you do not have the 
>  element for OpenGL ES 2.0, as Maps V2 checks some of 
> this stuff as part of its initialization. 
>
> 2. You crash almost immediately, when Maps V2 goes to store data on 
> external storage and fails due to not having the permission. 
>
> 3. You succeed today, but will still have the possibility of #1 or #2 
> in future updates to the Play Services library. 
>
> On Tue, Jan 8, 2013 at 3:58 AM, Jamie > 
> wrote: 
> > The official documentation for MAPS API v2 states the following: 
> > 
> > Besides permissions required by other parts of your application, you 
> must 
> > add the following permissions in order to use the Google Maps Android 
> API: 
> > 
> > android.permission.INTERNET Used by the API to download map tiles from 
> > Google Maps servers. 
> > com.google.android.providers.gsf.permission.READ_GSERVICES Allows the 
> API to 
> > access Google web-based services. 
> > android.permission.WRITE_EXTERNAL_STORAGE Allows the API to cache map 
> tile 
> > data in the device's external storage area. 
> > 
> > My client has requested that we do not use the WRITE_EXTERNAL_STORAGE 
> > permission. So my question is, is it really true that this permission is 
> > mandatory when using the Maps V2 API and will bad things happen if I 
> don't 
> > include it? Since the mapping functionality is not a key feature of the 
> > application I am more than happy to take any hit with regards to lake of 
> map 
> > cacheing. 
> > 
> > Many thanks, 
> > 
> > Jamie 
> > 
> > -- 
> > 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...@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 
>
> Localized Android Question-and-Answer Sites: http://www.andglobe.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] SubMenu MenuItem icon?

2008-12-10 Thread Jamie

Is it by design that we can't set icons in a submenu's menu item?

SubMenu sub = menu.addSubMenu(...);
MenuItem item = sub.add (...);
item.setIcon(...);  <--  icon does not show up

Any Idea?

Thanks,
J
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] html parsing and libraries

2008-12-19 Thread Jamie

I am wanting to parse through some HTML with minimal code so I went
looking for some libraries to do so.  How do libraries work with
android?  If I use libraries outside of Java and Android SDK  can
those be implemented?  Are they compiled into the project then
executed on the phone?

Anyone know of the easiest way to parse HTML.  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] Re: html parsing and libraries

2008-12-20 Thread Jamie

> If you are building with Eclipse, AFAIK, follow the standard Eclipse
> procedures for incorporating a JAR.

I tried importing the JAR from the htmlparser open source project.
Eclipse gives an error and doesnt import the library.

> If the project is open source, though, consider downloading the source
> and putting it in your build tree. That way, your code and the
> third-party code are all compiled with the same version of Java.

What do you mean by "putting it in your build tree"?  How would I go
about doing this?

--~--~-~--~~~---~--~~
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: How to track menu navigation focus changes?

2009-01-03 Thread Jamie

For more on the rationale behind touch-mode and ListView focus see:

http://android-developers.blogspot.com/2008/12/touch-mode.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
-~--~~~~--~~--~--~---



[android-developers] Re: Help How to lazy load images

2009-01-07 Thread Jamie

what about putting each download in its own thread??   doesnt this
speed things up on the processing side??  Download is still limited to
connection speeds, but you should be able to use a Runnable() in
threads to process each one individually.

On Jan 7, 7:55 am, Mike Reed  wrote:
> We don't support async image decoding yet (ala push model).
>
> On Tue, Jan 6, 2009 at 11:50 PM, jbpring...@gmail.com
>
>  wrote:
>
> > Hi
>
> > I am using the following code to display an image from the internet
>
> >  ImageView i = new ImageView(mContext);
> >  i.setImageDrawable(getDrawable("http://www.google.com/images/
> > nav_logo3.png"));
> > ...
>
> >        public Drawable getDrawable(String imgUrl) {
> >                try {
> >                        URL url = new URL(imgUrl);
> >                        InputStream is = (InputStream) url.getContent();
> >                        Drawable d = Drawable.createFromStream(is, "src");
> >                        return d;
> >                } catch (MalformedURLException e) {
> >                        e.printStackTrace();
> >                        return null;
> >                } catch (IOException e) {
> >                        e.printStackTrace();
> >                        return null;
> >                }
> >        }
>
> > but I would like to be able to load the image asynchronously so that
> > if I want to display a list of 10 images then the text would start to
> > render and then images would load one after the other (like a
> > browser...) . The problem with every code that I have seen so far is
> > that it is all synchronous that is not really good for user
> > experience. I am sure I am missing somthing and would really
> > appreciate your help
>
> > thanks
>
> > jb
--~--~-~--~~~---~--~~
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 Layout Ordering Problem

2009-01-08 Thread Jamie

Here is the layout XML:


http://schemas.android.com/apk/res/android";
android:id="@+id/scroll"
android:background="#699864"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
android:visibility="visible"
>











When I run this on the emulator and G1, the ImageButtons are drawn
vertically one after another, then the TextViews are drawn one after
another below the ImageButtons.  Why is this??  Why are the elements
drawn in groups instead of the order in the XML??
--~--~-~--~~~---~--~~
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: XML Layout Ordering Problem

2009-01-09 Thread Jamie

> Try to change the height of the LinearLayout from fill_parent to wrap_content.

This didn't work.  I tinkered with both the LinearLayout parameters
and ScrollView but haven't found the solution.  Thanks for the quick
response!!
--~--~-~--~~~---~--~~
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: REST Web Services and Android

2009-01-09 Thread Jamie

Thanks for the slides!! Do you know of any current resources for
accessing web API's (examples, explanations, etc.)?  The android
implementation has undergone some changes and most resources I have
found do not work any longer.  Also, I am not familiar with Web
protocol, so documentation is unclear both on the android and apache
sites.

Evertime I execute this code:

HttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new BasicHttpContext();
HttpGet get_request = new HttpGet(URI);
HttpResponse response = httpClient.execute(get_request, localContext);

It throws a Socket Exception on the last line.  Any ideas why??
--~--~-~--~~~---~--~~
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: XML Layout Ordering Problem

2009-01-09 Thread Jamie

> The height of ScrollView should be fill_parent, and the height of
> LinearLayout should be wrap_content.
>
> Does this work?
>
> If not, try to rebuild your project in Eclipse (sometimes changes in
> xml files are not immediately updated).

This did not work. Not sure what the problem is, I do not access the
views attributes in my code except, setContentView(R.layout.main), and
setting the content in each ImageButton and TextView.

> PS: What is "woot"?

its a great website that hosts One Deal, One Day: www.woot.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] Re: REST Web Services and Android

2009-01-09 Thread Jamie

Thank you sooo very 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: XML Layout Ordering Problem

2009-01-09 Thread Jamie

> Do you have extremely large images?

they are 480x360, is that too large??

> Set image sizes to "30dip" for height and weight, or all images and
> texts to wrap_content everywhere.
>
>
> So, just to be sure, you see:
> [image]
> [image]
> [image]
> [text]
> [text]
> [text]
>
> instead of
> [image]
> [text]
> [image]
> [text]
> [image]
> [text]
> ?
>
> Does this also happen if you comment out the scroll view for a test?
> 

your ordering is how it appears on the screen.  changing everything to
30dip or wrap_content did not work.
commenting out ScrollView also produces the same result.
--~--~-~--~~~---~--~~
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: Bug - my ("desktop") screen won't scroll sideways

2009-01-12 Thread Jamie

> I scrolled my screen so I can see the left side of the screen, played
> with the device a bit (say 10 mins) and wanted to go back to the
> central view - I couldn't scroll - not 1 inch, not 1 mm, neither to
> the left, nor to the right.
> Luckily, after I restarted the phone I am now able to scroll as usual.
>
> Anybody experienced that ever?


Yes. Using a G1, there have also been times the scroll-wheel stopped
working going left-right (and vise versa).  I called T-Mobile and they
said that shutting the phone down once a day maintains best
performance and not doing so can cause problems such as we have
experienced.  They mentioned that the phone has no fan so it can get
heated up and hardware can malfunction if not reset.  Not sure if
thats the real cause, but thats the response from T-Mo.
--~--~-~--~~~---~--~~
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: Future of Android

2009-01-23 Thread Jamie

This is a forum for discussion of using the SDK to build applications
for Android.

Also, Android is a continually-in-progress open-source software
stack.  As such, you should expect new features incrementally over
time, when they have been properly submitted, reviewed, finalized, and
released.  If you are not familiar with open-source development,
please look into it to inform yourself.
--~--~-~--~~~---~--~~
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] Web App

2008-11-09 Thread Jamie

Fellow Android Devs,

Im new to android!!  wondering where I might start (after the intro
tutorials), to develop an app that pulls info. from the web for the
user.  It may be via rss, web page, etc.  Which part of the API does
this work?? thanks in advance!!

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to put a dialog box to another activity's foreground?

2008-11-25 Thread Jamie

Anyone?

On Nov 24, 5:29 pm, "android dev" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an activity which listens to certain event from another application.
> In onReceive, I fire a dialog box.  How do I get the dialog box to appear on
> top of the other application?  What's happening is that the dialog box does
> not appear while the other application still running.  But as soon as I
> close the other application, it goes back to my activity, and the dialog box
> stays there.
>
> Do I need to convert the activity to a service?
>
> Thanks,
> J
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Want to help us port our iPhone app to Android?

2009-01-30 Thread Jamie

cool app, im game. email specifics: jamie.hu...@gmail.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] Re: Market Apps Not Really Protected

2009-02-20 Thread Jamie

Essentially, any rooted phone can pull apps using adb.  Apparently
there is no security tied to google accounts, phone id, or anything,
its simply a lock on folder access if you don't have root access.
Interesting, indeed!!
--~--~-~--~~~---~--~~
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] Facebook Android SDK randomly stopped working

2011-03-02 Thread Jamie
I have integrated Facebook into my Android app and was able to post to
my profile wall. After a few days, I go to do it again and I get "An
Error has occurred with MyApp. Please try again later."

Does anyone know why this is happening? It was working fine before.

-- 
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: Signup for C2DM ?

2010-07-23 Thread Jamie
I'm kinda of glad that I"m not the only one in this boat.  But still
sad that the app that I am writing depends on C2DM for it's core
function and I can't go any further without being on this whitelist.

I'd like to know what's going on.  Even a "thanks for your request.
you are number 1,423,423 in the queue" would be nice.

J


On Jul 16, 8:03 pm, Danny Shmueli  wrote:
> Will someone at Google wake up!
> Seems that some developers can already take advantage of thec2dm
> network while others are just hung out to dry in the sun.
> I've been waiting for 2 month now (and filled the sign up form couple
> times).
> My application is nearly ready for publishing but it is worthless with
> out thec2dmfeatures.
>
> The application is "nearly ready" because i can't test thec2dm
> features with no account.
>
> I was sure theC2DMnetwork will be available to all developers once
> Android 2.2 is out of beta
>
> On Jul 8, 1:41 pm, yone098  wrote:
>
>
>
> > Hi, all.
>
> > Me too. no reply yet.
> > anybody received a response?
>
> > On Tue, May 25, 2010 at 6:38 PM, qvark
>
> >  wrote:
> > > Eagerly waiting here to start testing... has anybody received a
> > > response?
>
> > > On 22 mayo, 01:12, brian  wrote:
> > >> Filled out the form requesting access.
> > >> I was wondering if anyone has started to work withC2DM?
> > >> Has Google responded to your signup request?
>
> > >> --
> > >> 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 
> > >> athttp://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
>
> > --
> > Masaaki YONEBAYASHIhttp://d.hatena.ne.jp/yone098http://twitter.com/yone098

-- 
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: Andriod Email Flaw

2010-07-23 Thread Jamie
I've noticed this in 2.2 as well.  It used to work though.  But now
when I'm on 3G and then switch to WiFi my email becomes inaccessible.
I'm assuming because, as you stated, it's not closing the connection
it initiated over 3G.

On Jul 23, 6:47 am, Shulbert  wrote:
> Hello I have noticed a flaw in Android,  When connecting to an IMAP
> server Doesn't matter if it is Exhange or Unix the Android Email
> client will not close the connection.  In order for IMAP to work
> correctly a client makes a conneciton and gets updates. If a
> connection to the IMAP server is left opened you will not see any new
> updates.
>
> Step by step on how it should work.
>
> Example will be Exchange server:
>
> Create a new connection point to your IMAP server (Exchange) port 143
> (cleartext) or 993 (Secure)
> add username: John Doe
> Add Domain: *Optional with VPN
> Password: **
> SMTP server (Exchange)
>
> How often to login and check 5 10 15 30 1hr
> Logout after checking email YES/NO (Ding ding ding grand prize winner
> option here)
>
> This is a simple fix for Google engineers to fix, they should include
> it in their next rev.

-- 
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] What error message are you getting from your not-yet-whitelisted C2DM application?

2010-07-23 Thread Jamie
I thought I had this C2DM stuff figured out and have both my app/
device registered and working nicely with my application server.  I'd
gotten to a point where my application server would try to send a
message and receive an Error=QuotaExceeded which I figured was because
I'm not on the 'whitelist'.  But then I went and tried it again today
(a week later), with ZERO changes to the code, and now I'm getting a
401 Unauthorized, which I'm supposed to get when the ClientLogin token
is not valid.  It has been refreshed and should be working.  Weird.

So what is everyone else getting when they try and send a C2DM message
and they're not on the whitelist?  The QuotaExceeded made sense
because if I'm not on the whitelist then my quota should be 0.  Has
anything changed?

Jamie

-- 
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] $5K for Lead Android Developer at Box

2011-03-07 Thread Jamie
I'm looking for an Lead Android Developer to join the mobile team at
Box. We just raised another $48 million from top tier VCs Andreessen-
Horowitz, Meritech, DFJ, Emergence, US VP and Scale VP, and are poised
to overtake the enterprise content management space.

If you know anyone who fits the bill, please send them my way or email
referr...@box.net and mention my name. There's a $5K referral fee.
While you're at it, here are other engineering/ops roles we need to
fill (same referral fee applies): 
http://www.box.net/company/careers/job_openings.

Thanks in advance!
Jamie
--
Jamie S. Perlman | http://flavors.me/jamieperlman

-- 
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: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread Jamie Williams
is there a good IRC channel for android

On Mon, Apr 13, 2009 at 9:42 PM, Anonymous Anonymous <
firewallbr...@googlemail.com> wrote:

> http://dl-ssl.google.com/android/ADT-0.9_pre.zip
>
>
> On Tue, Apr 14, 2009 at 10:10 AM, for android wrote:
>
>> When I do a click on update on my previous version of ADT,I get a message
>> that there are no updates
>>
>> On Tue, Apr 14, 2009 at 10:04 AM, Xavier Ducrohet wrote:
>>
>>>
>>> You are still using ADT 0.8 which is not compatible with Android 1.5 SDK.
>>> Please install ADT 0.9
>>>
>>> Xav
>>>
>>> On Mon, Apr 13, 2009 at 9:30 PM, for android 
>>> wrote:
>>> > When I give the path in Eclipse for the SDK 1.5,it gives the error
>>> message
>>> > no android.jar found.
>>> >
>>> > When i gave the path as the
>>> > ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the
>>> error
>>> > message "tools\adb.exe" not found.
>>> >
>>> > How to solve this?
>>> >
>>> > Thanks
>>> >
>>> > >
>>> >
>>>
>>>
>>>
>>> --
>>> Xavier Ducrohet
>>> Android Engineer, Google.
>>>
>>>
>>>
>>
>>
>>
>
> >
>


-- 
^_^ Booy
Sent from North Las Vegas, Nevada, United States

--~--~-~--~~~---~--~~
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: Early Look Android 1.5 SDK

2009-04-13 Thread Jamie Williams
im new at this so should i stay with 1.1 or move to 1.5

On Mon, Apr 13, 2009 at 9:19 PM, Dianne Hackborn wrote:

> A major goal for releases since 1.0 is to not break existing applications
> that are using the official SDK.  Some times there will be things that
> break, unintentionally, so you will want to test against current builds, but
> that should very much be the minority.
>
>
> On Mon, Apr 13, 2009 at 9:09 PM, JP  wrote:
>
>>
>> OK - I was more looking beyond the release at hand and concerned about
>> the "real thing" coming out. How about the build(s) that the carrier
>> (s) deliver(s) to their customers eventually. Say their build is 1.5.x
>> only (to safe space). Such a scenario would be disaster as the apps
>> would be stuck in no-mans-land either running on the G1/1.1, or the
>> new ones only, until all "old" G1/1.1 customers have received their
>> carrier OTA update to reach 1.5.x.
>>
>>
>> On Apr 13, 9:01 pm, Xavier Ducrohet  wrote:
>> > On Mon, Apr 13, 2009 at 8:53 PM, JP  wrote:
>> >
>> > > Hey, thanks Xavier!
>> > > I've read the blog but I am not clear re: backwards compatibility:
>> > > Will apps currently built against 1.0 or 1.1 run on handsets released
>> > > w/ 1.5, say the new keyboard-less devices? Or do we need to account
>> > > for the changes in 1.5 and re-release? (This would be hell)
>> >
>> > As long as you don't use private APIs you *should* be good (except for
>> > some minor permission changes.)
>> >
>> > That said, we fixed some bugs that may have some minor side effects.
>> > For instance, we changed the minimum size of some widgets in 1.5 that
>> > may impact on your layouts.
>> >
>> > This SDK contains both 1.1 and 1.5, so you should keep compiling your
>> > applications against Android 1.1 but test them on both 1.1 and 1.5
>> > emulators.
>> >
>> > Xav
>> > --
>> > Xavier Ducrohet
>> > Android Engineer, Google.
>>
>>
>
>
> --
> 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.
>
>
>
> >
>


-- 
^_^ Booy
Sent from North Las Vegas, Nevada, United States

--~--~-~--~~~---~--~~
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: Underline of TextView

2009-04-13 Thread Jamie Williams
is there a good IRC for android

On Mon, Apr 13, 2009 at 9:37 PM, DeRon Brown  wrote:

> "R.string.your_txt" will return that string. Just set you TextView to
> R.string.your_txt.
>
>
> On Mon, Apr 13, 2009 at 11:02 PM, Kaka  wrote:
>
>>
>> Then, how to implement this in code?
>>
>> On Mar 23, 9:10 pm, manoj  wrote:
>> > define a String item in Strings.xml as:
>> >
>> > txt to be displayed
>> >
>> > use this in your layout.
>> >
>> > On Mar 23, 4:55 pm, aby  wrote:
>> >
>> > > Hi,
>> > > Does anyone know how to set underline attribute on a TextView?
>> > > I just see it can set bold and italic on TextView.
>> >
>> > > Thanks
>> >
>> >
>>
>>
>
> >
>


-- 
^_^ Booy
Sent from North Las Vegas, Nevada, United States

--~--~-~--~~~---~--~~
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: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-13 Thread Jamie Williams
On Windows, right click on My Computer, and select Properties. Under the
Advanced tab, hit the Environment Variables button, and in the dialog that
comes up, double-click on Path under System Variables. Add the full path to
the tools/ directory to the path.
Example: ;D:\Users\Administrator\Documents\android-sdk-windows-1.1_r1\tools

On Mon, Apr 13, 2009 at 9:30 PM, for android  wrote:

> When I give the path in Eclipse for the SDK 1.5,it gives the error message
> no android.jar found.
>
> When i gave the path as the
> ~\android-sdk-windows-1.5_pre\platforms\android-1.5 then i get the error
> message "tools\adb.exe" not found.
>
> How to solve this?
>
> Thanks
>
> >
>


-- 
^_^ Booy

--~--~-~--~~~---~--~~
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] Using loadData() rather than loadUrl() and intercepting urls?

2009-08-19 Thread Jamie Bennett

Hi,

In my app I need to populate the header fields of a url request to a
server which gives me back html as a response. This is then loaded
into a webview and displayed.

Currently I'm using HttpPost to send the headers+data and using
loadData() to display the result in a webview. The problem is that the
server can send back dummy urls which are meant to be handled by the
app itself. It seems shouldOverrideUrlLoading() is only available when
you do a loadUrl() and not when a loadData() is called.

Any idea's how to work around this one?

Regards,
Jamie.
--
http://www.linuxuk.org

--~--~-~--~~~---~--~~
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: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-23 Thread Jamie Williams
I'm new to this whole thing about being a developer but, if you think making
your app hack safe and, your app's are not going to lose you your user base.
Then say a hello to the new world order of android. Stop bitching and think
of it as contributing to your community. I don't steel but I don't look a
gift horse in the mouth either so shut up and programme like your told and
stop helping to force the world in to a new world police globe or pay the
hundred and move to iphone.

--~--~-~--~~~---~--~~
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: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-23 Thread Jamie Williams
The only safe app is one that has a service connected to it. So if you are
that much in a Tiff about it have a free or charged dummy or real service
connected to your app and host that service too. ix3.com has hosting for 12
dollars a year stop the excuses and blaming. god I hate whiners people
really do want a closed sourced copyrighted to hell DRM useless universe
don't they

--~--~-~--~~~---~--~~
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: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-23 Thread Jamie Williams
> The only safe app is one that has a service connected to it. So if you are
> that much in a Tiff about it have a free or charged dummy or real service
> connected to your app and host that service too. 
> ix3.com
> 3ix.com has hosting for 12 dollars a year stop the excuses and blaming.
> god I hate whiners people really do want a closed sourced copyrighted to
> hell DRM useless universe don't they
>



-- 
Sorry that was 3ix.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] viewing downloaded ebooks on html

2011-08-29 Thread jamie hough
Hi
I have down loaded several ebooks to my X10mini pro, which are stored
in Bluetooth File Tx/ SD card/downloads. The only way I can read these
is if I select them via my browsers downloads option. This takes me to
bluetooth file Tx where I open it as a temporary file using my html
viewer. If I try to access the same file direct from the file manager,
it only opens in code! I don't know if its because my phone is still
droid 1.7 or i'm doing something wrong? Also have tried getting html
viewer apps (moon+reader-cool reader) and same result. Help wil be
very appreciated.
Cheers.
Jamie Hough.

-- 
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] Menu Icons

2008-12-15 Thread Jamie L
If there are more than 6 menu items, the "more" menu item will appear, and
the rest of the items go to a popup menu.  Can we set icons to those menu
items?  I am not able get the icons to show for those menu items.

Please advice.

Thanks in advance,
J

--~--~-~--~~~---~--~~
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] Invitation to upload software to Phoload

2008-10-17 Thread Jamie McDonald

Hello everyone,

We would like to invite developers to upload their Android software to
a new community mobile software download website called Phoload
(http://www.phoload.com).  Phoload launched last month and is designed
to make discovering and downloading free mobile games and applications
simple, easy and fun.  We are very enthusiastic about the Android
platform, so we will be heavily featuring Android content on the site.

Developers can upload freeware, demo/trial and ad-supported software.
We have a simple and efficient upload process and aim to provide a
great service for developers. Developers uploading their software will
receive pages showcasing their products on the site, regular download
reports, and feedback from the user community.

Please take a look at the Phoload, and if you would like to submit
your software, you can do so by visiting: http://www.phoload.com/developer

Thanks for listening,

Jamie McDonald
--
www.phoload.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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Market - How to Submit?

2008-10-22 Thread Jamie McDonald

I guess now that the G1 has hit the shops it can't be long before we
hear something more about the Android Market. In the meantime, we are
also seeing quite a few developers uploading their Android software to
Phoload...

Jamie
www.phoload.com

On Oct 22, 10:47 am, Al Sutton <[EMAIL PROTECTED]> wrote:
> I've seen nothing about Marketplace, butAndAppStore.com is doing well
> though (45+ apps :)).
>
> Al.
>
>
>
> Beau Gunderson wrote:
> > Any update on this? It seems crazy that there's no developer-facing
> > site setup for this yet...
>
> > Beau
>
> > On Oct 14, 1:20 am, Al Sutton <[EMAIL PROTECTED]> wrote:
>
> >> There is very little publicly available beyond that blog post, and to
> >> date I've not seen anything on how to list apps in the Marketplace.
>
> >> This is why many alternatives (such ashttp://andappstore.com) have
> >> started to spring up.
>
> >> Al.
>
> >> Mike Greiner wrote:
>
> >>> Is there any information available on how we can submit applications
> >>> to the Android Market ahead of the T-Mobile G1 release?
>
> >>> I've searched this forum and the rest of the web and there's not much
> >>> information beyond Google's August 28 blog post.
>
> >>> Thanks,
> >>> Mike
>
> >> --
> >> Al Sutton
>
> >> W:www.alsutton.com
> >> B: alsutton.wordpress.com
> >> T: twitter.com/alsutton
>
> --
> Al Sutton
>
> W:www.alsutton.com
> B: alsutton.wordpress.com
> T: twitter.com/alsutton
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to put a dialog box to another activity's foreground?

2008-11-25 Thread Jamie L
Thanks Dianne!

On Tue, Nov 25, 2008 at 10:20 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote:

> This is working as intended, please don't try to work around it.  Popping
> dialogs up on the user from outside of where they are currently working is
> an ugly thing to do.
>
> If you need to get the user's attention from outside of your application,
> the notification manager is the recommended solution.
>
>
> On Mon, Nov 24, 2008 at 5:29 PM, android dev <[EMAIL PROTECTED]>wrote:
>
>> Hi,
>>
>> I have an activity which listens to certain event from another
>> application.  In onReceive, I fire a dialog box.  How do I get the dialog
>> box to appear on top of the other application?  What's happening is that the
>> dialog box does not appear while the other application still running.  But
>> as soon as I close the other application, it goes back to my activity, and
>> the dialog box stays there.
>>
>> Do I need to convert the activity to a service?
>>
>> Thanks,
>> J
>>
>>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [EMAIL PROTECTED]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Two questions about Toast

2008-11-25 Thread Jamie L
In the code below, I added a button to the toast, but I am facing two
problems.

1.  The button is not clickable!  onClick is not called when I click on the
button.
2.  If I replace Toast.LENGTH_LONG with a number 1, the toast does not
stay for 10 seconds.

Is it by design that you can't add any listener to the UI controls on the
toast?
How do you change the duration of how long the toast stays?


[code]

protected void showToast() {
   LayoutInflater vi = (Layout Inflater) getSystemService(Context...);
   View view = vi.inflate (R.layout, null);

   toast = new Toast(this);
   TextView tv = (TextView)view.findViewById(R.id);
   tv.setText("blah");
   toast.setView(view);
   toast.setDuration(Toast.LENGTH_LONG);

   Button button = (Button) view.findViewById(R.id);
   button.setOnClickListener (new Button.OnClickLIstener() {
  public void onClick(View v) {
 // do a few things here before cancel
 toast.cancel();
  }}
   );
   toast.show();

[/code]


Thanks,
J

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
My application listens to certain event from another app.  As soon as the
event is received, I want to displays a dialog or a toast to notify the user
and give users a few action choices with buttons.  We can't display a dialog
because it doesn't pop up in the foreground over the other app.  Toast is my
only choice.  Looks like toast is not the answer either!

On Tue, Nov 25, 2008 at 4:33 PM, Romain Guy <[EMAIL PROTECTED]> wrote:

>
> > 1.  The button is not clickable!  onClick is not called when I click on
> the
> > button.
>
> Toasts are meant only to display information, they are not meant for
> user interaction. Use a dialog to do this.
>
> > 2.  If I replace Toast.LENGTH_LONG with a number 1, the toast does
> not
> > stay for 10 seconds.
>
> You cannot specify the duration of a toast except using the predefined
> duration.
>
> > Is it by design that you can't add any listener to the UI controls on the
> > toast?
>
> Yes.
>
> > How do you change the duration of how long the toast stays?
>
> You can choose between SHORT and LONG.
>
> --
> Romain Guy
> www.curious-creature.org
>
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
you can put buttons on notification?

On Tue, Nov 25, 2008 at 4:55 PM, Romain Guy <[EMAIL PROTECTED]> wrote:

>
> You can use notifications :) (If it makes sense, that is)
>
> On Tue, Nov 25, 2008 at 4:52 PM, Jamie L <[EMAIL PROTECTED]> wrote:
> > My application listens to certain event from another app.  As soon as the
> > event is received, I want to displays a dialog or a toast to notify the
> user
> > and give users a few action choices with buttons.  We can't display a
> dialog
> > because it doesn't pop up in the foreground over the other app.  Toast is
> my
> > only choice.  Looks like toast is not the answer either!
> >
> > On Tue, Nov 25, 2008 at 4:33 PM, Romain Guy <[EMAIL PROTECTED]>
> wrote:
> >>
> >> > 1.  The button is not clickable!  onClick is not called when I click
> on
> >> > the
> >> > button.
> >>
> >> Toasts are meant only to display information, they are not meant for
> >> user interaction. Use a dialog to do this.
> >>
> >> > 2.  If I replace Toast.LENGTH_LONG with a number 1, the toast does
> >> > not
> >> > stay for 10 seconds.
> >>
> >> You cannot specify the duration of a toast except using the predefined
> >> duration.
> >>
> >> > Is it by design that you can't add any listener to the UI controls on
> >> > the
> >> > toast?
> >>
> >> Yes.
> >>
> >> > How do you change the duration of how long the toast stays?
> >>
> >> You can choose between SHORT and LONG.
> >>
> >> --
> >> Romain Guy
> >> www.curious-creature.org
> >>
> >>
> >
> >
> > >
> >
>
>
>
> --
> Romain Guy
> www.curious-creature.org
>
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Users being unable to perform in-app purchases on Android TV.

2016-11-17 Thread Jamie Furnaghan
Hi all,

As of this morning we're receiving reports of users being unable to perform 
in-app purchases in our App.

We've reproduced this locally in our own app, and we're seeing the same 
behaviour in other Android TV apps that have in-app billing.

When the IabHelper tries to start the purchase activity for result, it is 
not displaying, and the onActivityResult is immediately called with 
data=null.

This is observed with Google Play Store 7.1.16.I-xhdpi[8][PR]1376116877. 
Uninstalling updates for Google Play Store rolls it back to 
6.8.24.F-xhdpi[8]3085398, which appears to work again - both for our app 
and for the others we have tested.

Is anyone else experiencing similar issues, and if so, does anyone know how 
to escalate this issue?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c2e03111-b19d-41f5-a104-d36bab6a3864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Paid In App Purchase to free

2016-09-07 Thread Jamie Sinclair
Tried changing a paid for In App purchase to free for a promotion today, 
but the console says the price needs to be between a price range. Can I not 
do this then?

Thanks


-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3363a0e6-a32c-4f2a-b007-01330dd72971%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] App testing - Nexus One / Droid

2010-04-13 Thread Jamie McDonald
I recently released the first version of my Android application. Could
somebody test it on an Android 2.1 device? It works as expected on my HTC
Hero (Android 1.5). There was initially a bug for Android 2.1 devices but I
believe it is now resolved. It is published on Market as Sudoku Capture.

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[android-developers] Disappearing downloads

2010-07-16 Thread Jamie McDonald
I've read about this problem with the Android Market Developer Console
before but I was under the impression that it had been resolved. I check my
Market stats roughly daily and this morning there were about a thousand less
total downloads across my two apps.

Is anybody else experiencing this?

-- 
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] 2 Devices use audio to communicate by netwrok.

2011-03-31 Thread Jamie Lin
I want to make two devices use audio to communicate by network.
Is any sample code?
I just only make it connect.
But I can NOT make one mic recevice voice to the other's speaker.
I try it a some days.
How can I make it work?
Please help.

Thank you very 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: 2 Devices use audio to communicate by netwrok.

2011-04-05 Thread Jamie Lin
Sorry...
I want it work without sip and sd card..

On Apr 1, 12:59 pm, gjs  wrote:
> http://developer.android.com/resources/samples/SipDemo/index.html
>
> On Mar 31, 9:35 pm, Jamie Lin  wrote:
>
>
>
>
>
>
>
> > I want to make two devices use audio to communicate by network.
> > Is any sample code?
> > I just only make it connect.
> > But I can NOT make one mic recevice voice to the other's speaker.
> > I try it a some days.
> > How can I make it work?
> > Please help.
>
> > Thank you very 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en