On 2011-10-23 07:53, John Coryat wrote:
GPS doesn't require an internet connection but it does require receiving
a very weak signal from a number of GPS satellites. That usually means a
view of the sky.
Although I agree that it doesn't REQUIRE an internet connection, I must
say that all my
Sign up for Mopapp (http://www.mopapp.com). It's like analytics for your app
sales.
String
--
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
One little addition from my side. Internet connection is not needed
for getting your location from the GPS receiver. However, most of the
times (depending on what you do with the location information of
course) you'll need Internet connection to map the location to an
address. For inverse
What does cal.getTimeInMillis() in the following statement return?
Maybe the problem is there.
alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(),
pendingIntent);
I use the following statement while setting alarms:
this.am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP,
Hi All,
What i want to do is:
I click on a button and the camera starts, now how can i lay a Translucent
activity/any view/controls etc over this camera view.
Any suggestions how can this be done
Thanks
--
You received this message because you are subscribed to the Google
Groups Android
Thank you for your reply but cal.getTimeInMillis() returns the right thing.
It has been
suggested before that this might be returning the wrong value but whenever I
attach
my device via USB cable I always see all alarms being set as you can see one
of them
below (others omitted). I regret that I
Not sure why you use a static PendingIntent - if it's for optimization
reasons, that's really not necessary. I wonder if that, by itself, could
cause the behavior you're describing.
You can use dumpsys alarm in adb shell to see the actual alarms set in
the system, and verify that your code
hello.
I'm trying to make a rotated(vertically wide) alert dialog.
I've done it by making a transparent activity(force landscape) and
shows alert dialog.
but the problem is behind activity is rotating landscape too although
it was set to portrait only.
I badly need help to do it.
any solution
Step #1: Create a FrameLayout
Step #2: Add the SurfaceView for your camera preview as the first
child of the FrameLayout
Step #3: Add a LinearLayout or RelativeLayout or something, containing
your Translucent... any view/controls, as the second child of the
FrameLayout
(note that if you are
Hi
Does any one know how to add a glow in realtime to a line rendered in
OpenGL (in Java not using the NDK).
There are threads like this one
http://processing.org/discourse/yabb2/YaBB.pl?num=1207160412
that are asking the same question but are not specific to opengl on
android.
Any android
Looking for some guidance on whether to use the ActionBar or not. The
problem is that the ActionBar takes away a major amount of real estate
on the screen. That's not a problem on tablets. It is on phones though
for my app.
With Ice Cream Sandwich bringing ActionBars to phones, I'm in trouble:
I
I will use Build.MANUFACTURER, since it seems to work on all devices.
I mailed you a free download of my 3d app as thanks for the help on
the forum.
On Oct 22, 10:37 am, Kostya Vasilyev kmans...@gmail.com wrote:
Build.MANUFACTURER is available starting with API level 4 (Android 1.6),
so check
I will release the 3d app with one APK for all devices, since it seems
like I can detect the manufacturer on all devices with
Build.MANUFACTURER.
But thanks for the link, it will useful for other apps.
I will release one space live wallpaper app which uses my Point
attenuation approach, which
you could intercept the volume up/down keys to bring the menu back up
temporarily
--
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
you want the alert dialog to show in a different orientation than the active
application? 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
I appeared to have fixed although I'm not sure exactly why.
I closed all the projects in the workspace. Then I uninstalled any
ADT components. After the Eclipse restart, I removed the ADT software
source from the list of sources, exited out of all the dialogs, and
added it back again (mostly
On Sun, Oct 23, 2011 at 9:39 AM, tobias ecker...@gmx.de wrote:
With Ice Cream Sandwich bringing ActionBars to phones, I'm in trouble:
I need a way to use the ActionBar on tablet size devices, while using
the regular way to display menus on phones.
The action bar *is* the regular way to display
I would bite the bullet and find a way to make your app work with the
action bar in place. Just resize your game to fit inside the rectangle
it leaves behind.
On 10/23/2011 9:39 PM, tobias wrote:
Looking for some guidance on whether to use the ActionBar or not. The
problem is that the
This is a general observation, but it affects the app that I've
written too.
On Droid X2, after the 2.3.4 update, the app only fills 3/4 of the
screen. It filled the entire screen before and still fills the screen
on my original Droid that I use for testing.
How can I tell the app to completely
Make sure you have the appropriate supports-screens element in your manifest.
On Sun, Oct 23, 2011 at 11:36 AM, Larry/MavrickProductions
ohiooutofdo...@gmail.com wrote:
This is a general observation, but it affects the app that I've
written too.
On Droid X2, after the 2.3.4 update, the app
Hi,
I was just looking through some of the API demos for the latest
release of Android. In particular I was looking at the
grid_layout_1.xml file Which is a GridLayout, and contains a Space
widget.
I'm looking at this in the ADT Graphical Layout view in eclipse. For
me it doesn't seems to
Is there a user-friendly way to disable asset compression for my
Android project? I want some JNI to read an Android asset.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
was because I had Webview instead of WebView
On Oct 22, 5:20 pm, bob b...@coolgroups.com wrote:
Any ideas why this might be happening?
10-22 19:17:34.490: ERROR/AndroidRuntime(2736): FATAL EXCEPTION: main
10-22 19:17:34.490: ERROR/AndroidRuntime(2736):
java.lang.RuntimeException: Unable to
That's interesting. While trying to resolve this, I did a clean install
(unzip) of Eclipse 3.7.1 and a new install of ADT.
Filed a bug here:
http://code.google.com/p/android/issues/detail?id=21124
-- Kostya
23.10.2011 9:58, Walt Armour пишет:
I'm seeing this behaviour as well. I just had
The Space views are actually hidden by default; ADT 14 has the
beginnings of a rich editor for GridLayouts, which provides guidelines
etc -- and it hides Space views by default. There's a Grid mode
where you get to edit the view more as a grid than as a free-form
layout, so it makes sense to not
You keep referring to Eclipse 3.7.1 Classic, have you tried Eclipse IDE for
Java Developers to see if you get the same results?
The Classic package is definitely larger and may come with something that is
fighting for default privileges for the XML files.
I've done multiple clean installs of
The install doc says that Classic is the recommended edition for Android:
http://developer.android.com/sdk/installing.html#Preparing
I used to use the Java edition, the issue originally started occurring
there.
-- Kostya
24.10.2011 0:00, Studio LFP пишет:
You keep referring to Eclipse 3.7.1
Kostya,
Thank you for your reply.
However left me give an update on the testing I have carried out. I have
reinstalled the app
from scratch and set alarms to expire every five minutes (each time an alarm
goes off it sets
up the next one for the next five minutes). Here is what I have observed:
I have found answers to this through other channels.
The real answer is that you need to have an activity, not a native
activity. If you have written a native activity already and don't
want to change too much code you can derive from the java native
activity class (which itself just derives
Not sure this is it, but I noticed on this line of your code:
pendingIntent = PendingIntent.getBroadcast(ctx, 0, intent,
PendingIntent.FLAG_UPDATE_CURRENT);
You are sending a 0 as the second argument, try sending something other than
0 there. I've noticed in my own experience that this doesn't
I would still recommend you repeat your test with a Notification
(possibly with a sound), as the system should take care of holding the
wake lock(s) as needed for the duration of the sound.
As for implementing the wake locks in your code, to display an alert:
First, take a look at the docs,
Hi,
I'm seeing the precise same problem - though in my case the issue
started with my being no longer able to export my apk.
(Issue described here:
http://stackoverflow.com/questions/7866723/dx-bad-class-file-magic-cafebabe-or-version-0033--with-adk14).
Eventually, I tried to reinstall
What's recommended and what works are not always the same thing.
Have you and Michael A. both been opening an existing Workspace even after a
fresh install of Eclipse? A lot of settings for Eclipse are stored in the
metadata directory of the Workspace and it might be hanging on to some of
the
Yes.
After reinstalling Eclipse, I did a fresh clone of the sources from my
Mercurial repository and did a fresh import into a new Eclipse workspace.
My .metadata directory is not checked in, so Eclipse created a new one.
Oh, and the issue occasionally occurs for me under Ubuntu 11 (.04, I
Hi Folks,
I've found that for some Launchers my
AppWidgethttps://market.android.com/details?id=sirocco.widgets doesn't
format quite correctly as they squash the AppWidgets by 10 or so pixels (to
add a page indicator) - e.g. Samsung Galaxy 2 and Sony Experia Arc.
They must not provide the
My clean install was as clean as it can reasonably be - new Eclipse,
new ADK, new ADT, new Workspace. Like Kostya, everything was cloned
out fresh from Mercurial.
The last try was with the Classic - I didn't actually notice whether I
had the same problem with the Java IDE (which I also tried), as
Ok found something really strange.
I reproduced your error and I noticed that my XML files were doing the same
things yours was in a fresh install except one named main.xml. Well, I
noticed that all the others I had had underscores in them, i.e.
main_view.xml.
I removed the underscore from
So this actually gave me the idea to try the exact opposite - I took
my dirty .metadata from my old workspace and copied it over the new
clean workspace. Hooray - suddenly opening an Android XML layout
file actually opens in the layout editor as it used to.
Of course, pretty much nothing else
Thanks Kostya,
I changed my wakelock from partial wakelock to full wakelock and that seems
to have fixed things, albeit
somewhat strangely. I now see the screen light up on each timer expiration.
I am going to do some more
testing and if things go wrong I will try releasing the wakelock from
Ok, scratch that... got it working with underscores in it also.
Not sure exactly how I got it to work, but I did get the layout files to
work correctly in 3.7.1 Classic that wasn't working by default.
I used the Android Tools Fix Project Properties first, then I forced the
default XML handler
Hmm... I don't use underscores in any of my layouts, although I do use
them in image file names, strings, etc.
Editing the image file names didn't seem to do anything for me,
unfortunately.
Regards,
Michael A.
On Oct 24, 12:14 am, Studio LFP studio@gmail.com wrote:
Ok found something
Ok, tested another imported project and it didn't work correctly.
I ran the Android Tools Fix Project Properties, closed and reopened the
project. All the layouts seem to load correctly once I did this. This seems
to be the minimum steps to correct the issue unless there is something else
I
See my other post:
https://groups.google.com/d/msg/android-developers/DdE5Ql_OZsY/Qb4zkr6z-mkJ
I think it has something to do with projects being imported. It must not
carry some information about it being an Android project and this needs to
be corrected via the Android Tools Fix Project
Michael, can you diff your .metadata directories (old/new) to see what's
different?
--
Kostya Vasilyev
24.10.2011 2:25 пользователь Michael A. michael.aki...@gmail.com
написал:
So this actually gave me the idea to try the exact opposite - I took
my dirty .metadata from my old workspace and
Last I checked, there is no way to get the actual height and width that your
widget will be rendered at.
I'm hoping this changes one day as it is a major pain to get your widget to
look right on different devices.
Steven
Studio LFP
http://www.studio-lfp.com
On Sunday, October 23, 2011
Thanks, I didn't have any reason to try that option because my projects are
building just fine.
Will do this tomorrow and report my findings here (it's 2:40 am in Moscow
right now).
--
Kostya Vasilyev
24.10.2011 2:31 пользователь Studio LFP studio@gmail.com написал:
Ok, tested another
As far as I know, there isn't. The closest you can get is to use fill_parent
(for width and/or height) subtracting some margins (except for ICS, which
adds margins automatically).
Does your widget fit the minimum height specified in the docs?
--
Kostya Vasilyev
24.10.2011 2:04 пользователь Ash
With a new clean workspace, Fix Project Properties + Closing/Reopening the
projects worked to get the layout editor activated again as usual. Thanks.
Now I just need to figure out why none of my XML layouts and drawables work
+ why the apk won't export. :-/
Regards,
Michael A.
--
You
Hi all,
i really tried hard but couldn't achieve to create or any other file
operations in Android. First thing i did was tp check the availabilty
of the SD card media, with the sample code here:
http://developer.android.com/guide/topics/data/data-storage.html#filesExternal.
I have the media and
Hi,
I have done some more testing. It is working much better now in that each
time there is an
alarm a window pops up. In one last case though only after sliding the phone
guard up I did
find that the alarm window started to play late, so it is as though indeed
the phone went back
to sleep right
Go for a walk for an hour and try to think about something else. Then
when you get back start again from first principles.
On 10/24/2011 7:08 AM, melis wrote:
Hi all,
i really tried hard but couldn't achieve to create or any other file
operations in Android. First thing i did was tp check the
Well, here is what I am doing now: I acquire a wakelock inside the broadcast
receiver
and release it from my activity. The only problem I have is that the play()
method is
asynchronous. I would like to be notified when the sound stops playing via a
callback
but I see no method for doing so here:
Thanks Mark. [?]
/shuren
On Sat, Oct 22, 2011 at 2:34 AM, Mark Murphy mmur...@commonsware.comwrote:
There is an android-ndk Google Group that may be better able to answer
your NDK question.
On Fri, Oct 21, 2011 at 12:08 AM, Shuren bishu...@gmail.com wrote:
My app has a .so library. To
We developed an app which uses the Android API 7 (version 2.1) and the
Google map library - developed in early 2010 on Ganymede.
The environment cannot be reproduced today since the ADT Plug-in can
no longer be installed on Ganymede.
I installed on either Helios or Indigo.
The Android
Hi guys, how you're doing?
First, thanks for your attention. My problem is
I've uploaded an app to the Market, everything fine
Now i was about to push a new version, but i kinda lost
(yeah, i forgot) the keystore password. Then i created a new
keystore to sing the app. At this point i knew i
Change the package name for the new Application. Once a package name is
used, it is forever reserved and can't be used again other than for upgrades
(for packages with the same signature of course).
2011/10/24 Lucas Falcão lucas.falcao...@gmail.com
Hi guys, how you're doing?
First, thanks for
Is it the emulator that crashes or your Application on the emulator?
On Mon, Oct 24, 2011 at 00:28, Sylvain sylvain.louc...@gmail.com wrote:
We developed an app which uses the Android API 7 (version 2.1) and the
Google map library - developed in early 2010 on Ganymede.
The environment cannot
Yeah, i think thats the only solution...
I was trying to avoid create new project, copy sources, blablabla...
I guess im just too lazy .
By the way, thaks for the quick response :D
On Sun, Oct 23, 2011 at 10:44 PM, Carlos Silva r3...@r3pek.org wrote:
Change the package name for the new
Hello pskink,
I have put the TestXMLRPCServer you just checked in with the client
codes together. I made some changes:
1. I put following codes in the end of onCreate() of Test Activity
class:
Intent intent = new Intent(Test.this, XMLRPCService.class);
startService(intent);
2. I changed IP
It seems that the XMLPullParser is not returned
Only Log 1 and 2 is printed out; Log 3 and 4 is not.
XmlPullParser xmlPullParserFromSocket(InputStream socketInputStream)
throws IOException, XmlPullParserException {
Log.i(LOG_TAG, xmlPullParserFromSocket); // 1
You don't need to do all that, just rename the base package using refactor
in eclipse (Press F2 with the base package selected)
2011/10/24 Lucas Falcão lucas.falcao...@gmail.com
Yeah, i think thats the only solution...
I was trying to avoid create new project, copy sources, blablabla...
I
Resolved! Thanks.
I found a reversed version from anddev.org forum. Cheers!
On Oct 23, 9:00 pm, Weikang Wan weikang@gmail.com wrote:
Hello pskink,
I have put the TestXMLRPCServer you just checked in with the client
codes together. I made some changes:
1. I put following codes in the
You're on the right track, but it's best not to hardcode the path to a file
on the SD Card. Check out this API:
http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory%28%29
This will help you get the directory to the SD card. It usually isn't
/sdcard,
Quite simply, one could combine the ANDROID_ID and IMEI as a single
string, comma-delimited and use that as a unique identifier.
You might get 0123456789ABCDEF,null for a prototype tablet though.
This assumes that all WiFi-only devices have unique ANDROID_IDs and
all phones have unique IMEIs.
I have a landscape looking view which is portrait(activity) for some
reason(it should not be an activity).
On Oct 23, 11:55 pm, lbendlin l...@bendlin.us wrote:
you want the alert dialog to show in a different orientation than the active
application? Why?
--
You received this message because
On Sun, Oct 23, 2011 at 7:28 PM, Sylvain sylvain.louc...@gmail.com wrote:
The Android application compiles and loads on the emulator but
crashes immediately.
What have you done to debug your app in this scenario?
I don't even know if this is an Android question or a Java question.
I am developing a simple game using Lunarlander as a starting point.
Input is through OnTouch events. This changes the game's state - eg a
touch event may cause some gameplay object to be instantiated.
Obviously I don't want
Hi,
Your emulator's local IP will be 10.0.2.15
Now you need to do a port forwarding.
For that do the following
1) Open cmd
2) telnet localhost 5554(emulator's no)
3) redir add tcp:portno u whish:port no of application
4) Then try browsing from web browser of pc using localhost:port
Enjoy.!!
I figure you are running a thread that does all the processing as not to
block the UI thread. If so, one of the ways I've been doing it is to add
something like...
public static LinkedListMotionEvent uiEvents;
... to a helper object and then check the length of it every time through
the
On Sun, Oct 23, 2011 at 6:04 PM, Ash McConnell ash.mcconn...@gmail.com wrote:
They must not provide the same amount of space (even if you consider device
independent pixels) as all units use dp.
There is no such concept as the same amount of space. You have no
guarantee over the dp size of an
70 matches
Mail list logo