[android-developers] Alert dialog streches single button

2013-04-01 Thread JossieKat
when i use builder to build a alertdilaog, setting a single 
button stretches it width to the dialog.
i think it is a design mistake.make a normal sized button in the middle of 
he dialog the windows does?
 or should I use custom dialog.?

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Development on platform?

2013-04-01 Thread Todd Grigsby
The only thing I use the emulator for at this point is screen shots. I do
all my debugging against devices.
On Mar 31, 2013 7:58 PM, Marty Rehder martyg...@gmail.com wrote:

 Just curious as to how many people actually develop Android codes on an
 Android device.
 Is is feasible to try and do any serious development on a tablet or phone
 ?  interested in hearing others thoughts

 --
 --
 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
 ---
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Google API to display list of countries and regions

2013-04-01 Thread janvi
Hi all

Iam developing an android app which has spinner and onclick of spinner I 
should display list of countries and their regions.

Any Google API can provide me that dataPlease reply me its very urgent

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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Optimise drawing speed

2013-04-01 Thread Simon Giddings
Thank you for the comments.
Yes you are right, I am targeting Android 4.0+.
I'll keep with my current rendering choice then.

On Monday, 1 April 2013 00:19:49 UTC+2, Romain Guy (Google) wrote:

 On Mar 31, 2013 12:15 PM, Jason jason@gmail.com javascript: 
 wrote:
 
  My first reaction is that if you really want render speed then you need 
 to be leveraging the GPU which is going to be most reliable with OpenGL (as 
 I understanding it more recent versions of Android will actually hardware 
 accelerate for you, but there are many variables that affect whether this 
 works, not least of which is the Android version running on the user's 
 device).

 There are only two variables: are you running Android 3.0+ and are you 
 using supported operations.

 In this particular case I doubt using OpenGL directly is necessary. 
 Android tablets run on Android 3.0+ so you can simply rely on built-in 
 hardware acceleration. Your first step should be to test your app with 
 hardware acceleration on and see whether you are running into 


-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] New app doesnt show in Google Play

2013-04-01 Thread bergstr
Hello,

I have just released a new tablet-only app to the Play store. I can search 
from a desktop browser, and use the URL to see the market entry and install 
the app from my tablet devices (Nexus 7 and 10). However, when I open the 
play store on one of the tablets and do a search for any of the most used 
keywords, or even for the title of the app, there are ZERO results? What is 
happening here? The app has been there for some 18 hours now..

thanks
chris

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] download

2013-04-01 Thread Lene Larsen
Hi
I have an App on google play Toys by Lene Grube Smith Larsen. It is an app 
with 12 pictures, and twelve underscreens. My problem is, that it takes 
very long time to download the App. And the size is about 8MB. Maybee the 
pictures wealth too much. What is the recommended size on pictures?

KR Lene

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Declare namespace from jar lib

2013-04-01 Thread Emilian Stoilkov
Hi all,

I am facing a difficulty regarding appt and custom xml namespaces, will 
appreciate any help on the matter.

I am creating a SDK as jar. It contains some custom views with custom 
parameters. I want to create a drop-in solution, where developers don't 
need to do anything other than dropping the jar in their libs folder. I 
cannot go with a real library project, it's a business requirement. 

Everything actually works fine, and this is not my first android project, 
that ships as jar. But in this one, I need to have custom attributes for 
custom views. This means that aapt needs to be aware of the attribute set 
supported by the views trough an xml schema.

The easy solution is to have the users put a predefined attr.xml in they 
resources folder and reference it in the layout. However I have seen that 
libraries like admob work without the custom attr.xml. For example by admob 
you declare:

xmlns:ads=http://schemas.android.com/apk/lib/com.google.ads; 

but developers don't need to add an attr.xml in their application. With 
this declaration only, it is sufficient  to use ads:XXX=XXX in the view.

I have already already looked into admobs jar file, and i cannot find 
anything special in the com.google.ads package, that looks like an xml 
namespace definition. Any idea how they managed to do this / where aapt 
gets the definition?

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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] download

2013-04-01 Thread Michael Banzon
8 MB don't sound like very much - it should be fine. Sometimes load
times from the Google Play Store can be very painfully long - this
might be local factors or simply just an issue of large global usage.
I remember updating one of the popular social media apps once which
ran for about 20 minutes - the size was also about 8 MB.

How long time does it take for your app to download?

On Mon, Apr 1, 2013 at 11:40 AM, Lene Larsen lenelarse...@gmail.com wrote:
 Hi
 I have an App on google play Toys by Lene Grube Smith Larsen. It is an app
 with 12 pictures, and twelve underscreens. My problem is, that it takes very
 long time to download the App. And the size is about 8MB. Maybee the
 pictures wealth too much. What is the recommended size on pictures?

 KR Lene

 --
 --
 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
 ---
 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.
 For more options, visit https://groups.google.com/groups/opt_out.





--
Michael Banzon
http://michaelbanzon.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] New app doesnt show in Google Play

2013-04-01 Thread Michael Banzon
If you want someone to help search for the app you could give the name? ;-)

On Mon, Apr 1, 2013 at 11:14 AM, bergstr sell.bergst...@gmail.com wrote:
 Hello,

 I have just released a new tablet-only app to the Play store. I can search
 from a desktop browser, and use the URL to see the market entry and install
 the app from my tablet devices (Nexus 7 and 10). However, when I open the
 play store on one of the tablets and do a search for any of the most used
 keywords, or even for the title of the app, there are ZERO results? What is
 happening here? The app has been there for some 18 hours now..

 thanks
 chris

 --
 --
 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
 ---
 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.
 For more options, visit https://groups.google.com/groups/opt_out.





--
Michael Banzon
http://michaelbanzon.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] download

2013-04-01 Thread Lene Larsen
About 20 minutes. I have tried to resize the pictures, and hope that will
help.


2013/4/1 Michael Banzon mich...@banzon.dk

 8 MB don't sound like very much - it should be fine. Sometimes load
 times from the Google Play Store can be very painfully long - this
 might be local factors or simply just an issue of large global usage.
 I remember updating one of the popular social media apps once which
 ran for about 20 minutes - the size was also about 8 MB.

 How long time does it take for your app to download?

 On Mon, Apr 1, 2013 at 11:40 AM, Lene Larsen lenelarse...@gmail.com
 wrote:
  Hi
  I have an App on google play Toys by Lene Grube Smith Larsen. It is an
 app
  with 12 pictures, and twelve underscreens. My problem is, that it takes
 very
  long time to download the App. And the size is about 8MB. Maybee the
  pictures wealth too much. What is the recommended size on pictures?
 
  KR Lene
 
  --
  --
  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
  ---
  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.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 



 --
 Michael Banzon
 http://michaelbanzon.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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/4zmOjRVHHCg/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Med venlig hilsen/ Kind Regards

Lene Grube Smith Larsen
Gl. Helsingevej 2
3400 Hillerød
Denmark
Cell phone +45 24231653
@-mail: lenelarse...@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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Overriding versionCode/versionName with the new Gradle build system

2013-04-01 Thread Madis Pink
Hi, 

I was looking around (actually poking in the gradle plugin source) and 
there doesn't appear a way to override the versionCode/versionName via 
environment variable or command line project property.

Sadly, we override these variables for every nightly build in our CI 
process. It used to work with ant - is this functionality no longer 
desirable or are contributions welcome?

Cheers,
-madis

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] 9GAG like app [ api for images along with some some data attached to it ]

2013-04-01 Thread giles ian
Hello Guys,

I am planning to develop 9GAG like for learning purpose.

Obviously I dont want to waste time on server building, so is there any
dummy server, free images api.

So that i can directly start working on android client.

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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Development on platform?

2013-04-01 Thread Marty Rehder

I wasn't thinking so much about using the emulator or real device to test 
with, but rather a real device on which you would write code itself and 
subsequently run the app.  While Eclipse won't run on Android, there is at 
least one app, AIDE, that allows one to edit, compile and run Android Java 
code directly on a device.  

Is anyone doing that?  Does anyone see a day in which the PC/Mac/Linux box 
is out of the equation and we're developing and testing directly on Android 
devices?


-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Development on platform?

2013-04-01 Thread Kristopher Micinski
Personally: no.  Just because:
 - Typing on a keyboard is so much better with a real keyboard
 - Device screen sizes are limited, though that may start to become
less of an issue
 - A stock Android device is pretty locked down in terms of the kinds
of root programs you can install.  Android devices aren't *designed*
to run programs suited to desktops, because it doesn't jibe with the
execution model as well.  As a corollary, small UNIX batch programs
are almost nonexistent, while they are commonplace for development.
  + Most things real developers need wouldn't work on Android: I doubt
anyone would do serious development without a build manager, for
instance..
 - Compiling on a device would just suck, especially given the battery
life and processor specs (why do it on a device when you have a
perfectly good computer..)

Kris

On Mon, Apr 1, 2013 at 11:02 AM, Marty Rehder martyg...@gmail.com wrote:

 I wasn't thinking so much about using the emulator or real device to test
 with, but rather a real device on which you would write code itself and
 subsequently run the app.  While Eclipse won't run on Android, there is at
 least one app, AIDE, that allows one to edit, compile and run Android Java
 code directly on a device.

 Is anyone doing that?  Does anyone see a day in which the PC/Mac/Linux box
 is out of the equation and we're developing and testing directly on Android
 devices?


 --
 --
 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
 ---
 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.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google API to display list of countries and regions

2013-04-01 Thread Kristopher Micinski
This isn't the proper list for these questions.  This list
concentrates solely on Android development with the API.  This isn't
in the API.

(Try wikipedia.)

Kris

On Mon, Apr 1, 2013 at 4:16 AM, janvi jagruthi.bha...@gmail.com wrote:
 Hi all

 Iam developing an android app which has spinner and onclick of spinner I
 should display list of countries and their regions.

 Any Google API can provide me that dataPlease reply me its very urgent

 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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Why is App not compatible with Tablets after update

2013-04-01 Thread miketra
Thanks for the suggestion Richard. I moved the uses-sdk element above the 
application node, AND I removed the supports-screens node as well and 
re-posted the app, but I still see the same message when I link directly to 
the app in Google Play. And this is after I've loaded the app directly onto 
the tablet myself and it works fine. Unfortunately I've got users who are 
uninstalling the previous version of the app with hopes that this will 
allow their device to get the latest update, and then when it doesn't show 
up still those users are now unable to have the app at all, so I really 
need to get this resolved. Those users told me after the fact, as I 
definitely would not have recommend that strategy.

On Sunday, March 31, 2013 7:43:57 PM UTC-7, RichardC wrote:

 There has been an odd post or two in the adt-dev group regarding the 
 ordering of elements in the manifest (although I can't find anything in the 
 official docs).

 So with that said ... I think you should try putting
 uses-sdk android:minSdkVersion=4 android:targetSdkVersion=8 /
 before the application node.

 I see that someone has already mentioned the supports-screens element 
 on SO.

 On Monday, April 1, 2013 3:15:05 AM UTC+1, miketra wrote:

 My app has been successfully downloaded by tablet users over the last 
 year without problems. I made an update a week ago, but the only thing 
 changed in the Manifest file was the app version number and version string. 
 After making that update, users are no longer able to access the app in 
 Google Play. I have an Asus Transformer tablet. I am able to load the app 
 onto my tablet with no problem. On the tablet, the app won't even appear in 
 Google Play unless I search for it on the internet, then link directly to 
 the app in Google Play. When I do this, Google Play says your device isn't 
 compatible with this version even though I loaded the app directly onto 
 the tablet myself. Note that in the Android Developer Console, it says that 
 2600+ devices are compatible, and it says 0 devices are excluded. I looked 
 at the individual list of devices, and my tablet is listed there as being 
 compatible. What's the problem, and how do I fix it? To see the Manifest 
 file, go here: 
 http://stackoverflow.com/questions/15733070/why-is-app-not-compatible-with-tablets-after-update

 Thanks,

 -Michael



-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Application Crash

2013-04-01 Thread TWProgrammers
I am trying to create an app that receives SMS messages and if it has a 
specific prefix it uses the information in it then deletes it. I have it 
where it shows no errors and seems like it would run but when ran it force 
closes. Here is my code:

SMSReceiver.java:

package com.TWP.Project.IES;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.widget.Toast;
import com.TWP.Project.IES.DenCryption;

public class SMSReceiver extends BroadcastReceiver
{
DenCryption decrypter = new DenCryption();
@Override
public void onReceive(Context context, Intent intent)
{
Bundle bundle = intent.getExtras();
Object messages[] = (Object[]) bundle.get(pdus);
SmsMessage smsMessage[] = new SmsMessage[messages.length];
for (int n = 0; n  messages.length; n++)
{
smsMessage[n] = SmsMessage.createFromPdu((byte[]) messages[n]);
}
if(smsMessage[0].getMessageBody().startsWith(*DenCryption3*:))
{
String msg = 
smsMessage[0].getMessageBody().replace(*DenCryption3*:, );
msg = decrypter.decrypt(msg);
Toast toast = Toast.makeText(context, msg, Toast.LENGTH_LONG);
toast.show();
abortBroadcast();
}
}
}


AndroidManifest.xml:

manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.TWP.Project.IES
android:versionCode=1
android:versionName=1.0 

uses-sdk
android:minSdkVersion=8
android:targetSdkVersion=8 /
uses-permission android:name=android.permission.RECEIVE_SMS/
uses-permission android:name=android.permission.WRITE_SMS/

application
android:allowBackup=true
android:icon=@drawable/ic_launcher
android:label=@string/app_name
android:theme=@style/AppTheme 
receiver android:name=com.TWP.Project.TDC.SMSReceiver 
android:enabled=true
intent-filter android:priority=2147483647
action 
android:name=android.provider.Telephony.SMS_RECEIVED /
/intent-filter
/receiver
/application

/manifest


I am attaching the log from LogCat. I can't seem to find what my problem is.

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


04-01 17:56:40.417: D/AndroidRuntime(581): Shutting down VM
04-01 17:56:40.417: W/dalvikvm(581): threadid=1: thread exiting with uncaught 
exception (group=0x40015560)
04-01 17:56:40.427: E/AndroidRuntime(581): FATAL EXCEPTION: main
04-01 17:56:40.427: E/AndroidRuntime(581): java.lang.RuntimeException: Unable 
to instantiate receiver com.TWP.Project.TDC.SMSReceiver: 
java.lang.ClassNotFoundException: com.TWP.Project.TDC.SMSReceiver in loader 
dalvik.system.PathClassLoader[/data/app/com.TWP.Project.IES-1.apk]
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.app.ActivityThread.handleReceiver(ActivityThread.java:1773)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.app.ActivityThread.access$2400(ActivityThread.java:117)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:981)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.os.Looper.loop(Looper.java:123)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
android.app.ActivityThread.main(ActivityThread.java:3683)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
java.lang.reflect.Method.invokeNative(Native Method)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
java.lang.reflect.Method.invoke(Method.java:507)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-01 17:56:40.427: E/AndroidRuntime(581):  at 
dalvik.system.NativeStart.main(Native Method)
04-01 17:56:40.427: E/AndroidRuntime(581): Caused by: 
java.lang.ClassNotFoundException: com.TWP.Project.TDC.SMSReceiver in loader 
dalvik.system.PathClassLoader[/data/app/com.TWP.Project.IES-1.apk]
04-01 17:56:40.427: E/AndroidRuntime(581):  at 

Re: [android-developers] download

2013-04-01 Thread bob
 

Are you in Denmark?  Do they have slow Cellular over there or something?


I'm pretty sure most of us in the U.S. could download that in under a 
minute on 4g or Wifi.


Thanks.



On Monday, April 1, 2013 7:55:11 AM UTC-5, Lene Larsen wrote:

 About 20 minutes. I have tried to resize the pictures, and hope that will 
 help.


 2013/4/1 Michael Banzon mic...@banzon.dk javascript:

 8 MB don't sound like very much - it should be fine. Sometimes load
 times from the Google Play Store can be very painfully long - this
 might be local factors or simply just an issue of large global usage.
 I remember updating one of the popular social media apps once which
 ran for about 20 minutes - the size was also about 8 MB.

 How long time does it take for your app to download?

 On Mon, Apr 1, 2013 at 11:40 AM, Lene Larsen 
 lenela...@gmail.comjavascript: 
 wrote:
  Hi
  I have an App on google play Toys by Lene Grube Smith Larsen. It is an 
 app
  with 12 pictures, and twelve underscreens. My problem is, that it takes 
 very
  long time to download the App. And the size is about 8MB. Maybee the
  pictures wealth too much. What is the recommended size on pictures?
 
  KR Lene
 
  --
  --
  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.comjavascript:
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com javascript:
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
  ---
  You received this message because you are subscribed to the Google 
 Groups
  Android Developers group.
  To unsubscribe from this group and stop receiving emails from it, send 
 an
  email to android-developers+unsubscr...@googlegroups.com javascript:.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 



 --
 Michael Banzon
 http://michaelbanzon.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-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the 
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/android-developers/4zmOjRVHHCg/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to 
 android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.





 -- 
 Med venlig hilsen/ Kind Regards

 Lene Grube Smith Larsen
 Gl. Helsingevej 2
 3400 Hillerød
 Denmark
 Cell phone +45 24231653
 @-mail: lenela...@gmail.com javascript:
  

-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Why is App not compatible with Tablets after update

2013-04-01 Thread bob
Why would you have a version code that starts with a 0? (i.e. *0400921*)

The only other thing that looks fishy is com.android.vending.CHECK_LICENSE.

(assuming your package name isn't really *my_package*)

Thanks.





On Monday, April 1, 2013 11:02:07 AM UTC-5, miketra wrote:

 Thanks for the suggestion Richard. I moved the uses-sdk element above the 
 application node, AND I removed the supports-screens node as well and 
 re-posted the app, but I still see the same message when I link directly to 
 the app in Google Play. And this is after I've loaded the app directly onto 
 the tablet myself and it works fine. Unfortunately I've got users who are 
 uninstalling the previous version of the app with hopes that this will 
 allow their device to get the latest update, and then when it doesn't show 
 up still those users are now unable to have the app at all, so I really 
 need to get this resolved. Those users told me after the fact, as I 
 definitely would not have recommend that strategy.

 On Sunday, March 31, 2013 7:43:57 PM UTC-7, RichardC wrote:

 There has been an odd post or two in the adt-dev group regarding the 
 ordering of elements in the manifest (although I can't find anything in the 
 official docs).

 So with that said ... I think you should try putting
 uses-sdk android:minSdkVersion=4 android:targetSdkVersion=8 /
 before the application node.

 I see that someone has already mentioned the supports-screens element 
 on SO.

 On Monday, April 1, 2013 3:15:05 AM UTC+1, miketra wrote:

 My app has been successfully downloaded by tablet users over the last 
 year without problems. I made an update a week ago, but the only thing 
 changed in the Manifest file was the app version number and version string. 
 After making that update, users are no longer able to access the app in 
 Google Play. I have an Asus Transformer tablet. I am able to load the app 
 onto my tablet with no problem. On the tablet, the app won't even appear in 
 Google Play unless I search for it on the internet, then link directly to 
 the app in Google Play. When I do this, Google Play says your device isn't 
 compatible with this version even though I loaded the app directly onto 
 the tablet myself. Note that in the Android Developer Console, it says that 
 2600+ devices are compatible, and it says 0 devices are excluded. I looked 
 at the individual list of devices, and my tablet is listed there as being 
 compatible. What's the problem, and how do I fix it? To see the Manifest 
 file, go here: 
 http://stackoverflow.com/questions/15733070/why-is-app-not-compatible-with-tablets-after-update

 Thanks,

 -Michael



-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Google API to display list of countries and regions

2013-04-01 Thread bob
Sounds like you will want to create a

*android.widget.SpinnerAdapter*

using this data:

*http://en.wikipedia.org/wiki/List_of_sovereign_states*

Thanks.



On Monday, April 1, 2013 3:16:43 AM UTC-5, janvi wrote:

 Hi all

 Iam developing an android app which has spinner and onclick of spinner I 
 should display list of countries and their regions.

 Any Google API can provide me that dataPlease reply me its very urgent

 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Why is App not compatible with Tablets after update

2013-04-01 Thread miketra
I have a 0 in front of the version code because that's what Google 
recommends for what I'm 
doing: http://developer.android.com/google/play/publishing/multiple-apks.html

Why would CHECK_LICENSE look fishy? You need that there if you are 
utilizing the Licensing Framework, which I am. 

And yes, items such as my_package and more activities were abstracted out.

Note that the Manifest file is the exact same as the previous version of 
the app where Tablet users were able to find the app, with the only 
difference being the version code.

On Monday, April 1, 2013 12:41:30 PM UTC-7, bob wrote:

 Why would you have a version code that starts with a 0? (i.e. *0400921*)

 The only other thing that looks fishy is com.android.vending.CHECK_LICENSE.

 (assuming your package name isn't really *my_package*)

 Thanks.





 On Monday, April 1, 2013 11:02:07 AM UTC-5, miketra wrote:

 Thanks for the suggestion Richard. I moved the uses-sdk element above the 
 application node, AND I removed the supports-screens node as well and 
 re-posted the app, but I still see the same message when I link directly to 
 the app in Google Play. And this is after I've loaded the app directly onto 
 the tablet myself and it works fine. Unfortunately I've got users who are 
 uninstalling the previous version of the app with hopes that this will 
 allow their device to get the latest update, and then when it doesn't show 
 up still those users are now unable to have the app at all, so I really 
 need to get this resolved. Those users told me after the fact, as I 
 definitely would not have recommend that strategy.

 On Sunday, March 31, 2013 7:43:57 PM UTC-7, RichardC wrote:

 There has been an odd post or two in the adt-dev group regarding the 
 ordering of elements in the manifest (although I can't find anything in the 
 official docs).

 So with that said ... I think you should try putting
 uses-sdk android:minSdkVersion=4 android:targetSdkVersion=8 /
 before the application node.

 I see that someone has already mentioned the supports-screens element 
 on SO.

 On Monday, April 1, 2013 3:15:05 AM UTC+1, miketra wrote:

 My app has been successfully downloaded by tablet users over the last 
 year without problems. I made an update a week ago, but the only thing 
 changed in the Manifest file was the app version number and version 
 string. 
 After making that update, users are no longer able to access the app in 
 Google Play. I have an Asus Transformer tablet. I am able to load the app 
 onto my tablet with no problem. On the tablet, the app won't even appear 
 in 
 Google Play unless I search for it on the internet, then link directly to 
 the app in Google Play. When I do this, Google Play says your device 
 isn't 
 compatible with this version even though I loaded the app directly onto 
 the tablet myself. Note that in the Android Developer Console, it says 
 that 
 2600+ devices are compatible, and it says 0 devices are excluded. I looked 
 at the individual list of devices, and my tablet is listed there as being 
 compatible. What's the problem, and how do I fix it? To see the Manifest 
 file, go here: 
 http://stackoverflow.com/questions/15733070/why-is-app-not-compatible-with-tablets-after-update

 Thanks,

 -Michael



-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] New app doesnt show in Google Play

2013-04-01 Thread bergstr
the app cannot be found through the name, or by any other means, if you 
search from within the Play app. It can be found only from the play store 
in the web.

I think the reason is that I use the supports-screen qualifier with an *
android:requiresSmallestWidthDp* attribute. Somewhere down in the developer 
docs, it says that this attribute is used to enable filtering for your 
application on services such as Google Play. However, Google Play currently 
does not support this attribute for filtering (on Android 3.2), so you 
should continue using the other size attributes

In essence: it does not work, hasnt been working for over a year, and 
nobody at Google cares to fix it.

Am Montag, 1. April 2013 13:55:17 UTC+2 schrieb mbanzon:

 If you want someone to help search for the app you could give the name? 
 ;-) 




-- 
-- 
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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.