Check out libGDX - it allows you to release for PC and android from
the same codebase
Ryan
On Feb 5, 9:19 pm, bob b...@coolgroups.com wrote:
How hard is it usually to convert an Android app to regular Java that
will run on a PC?
Is there an automatic way to do this so I can release my
Ya i got you. May be i got you wrong plus there are not much android
experienced developers who like to encourage beginners
out there. Anyways treking i have done some google search and i have reached
a safe stage where i am directing my app to OAUTH login page and when the
user logs in he is
Really, BOOT_COMPLETED can be disabled? That poses me a bit of a
problem. So there's no way for me to know whether my alarm service has
been restarted.
On Feb 5, 4:01 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Well, some devices have really weird settings, like the HTC fast boot
Yes, this was discussed recently here:
http://code.google.com/p/android/issues/detail?id=14536
and there appears to be no workaround, except explaining this to the
user (in the application's UI or if he contacts you).
I was just saying that there are devices out there with pretty weird
Hello everyone,
Do we know if there is an ETA on the JavaScript Camera API ?
I was really hoping for a Gingerbread release, has it been pushed away ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
thank you very much...
I did it just like below and it works..but I can't tell that it's
completely true right now because I still continue to control my
code..
but thanks again
// Find the decoder for the video stream
pCodec=avcodec_find_decoder(CODEC_ID_H263);
Background:
I'm developing an app which comes with a rather large database (static,
readonly), about 1.5Mb gziped.
This database is then served from a content provider. The database has to be
upgraded about 4 times a year. At first I thought about syncing/incremental
updates (then it would be
I am developing an alarm clock app. I have a problem that alarm notification
in status bar can not be deleted completely. I have tried both mathods,
mNotificationManager.cancel(noti_id) and
alarm_notification.flags=Notification.FLAG_AUTO_CANCEL. The results are
same: The notification can be
Actually, I'm fairly certain that SDK apps can't send sticky
broadcasts, as I looked into doing that once.
On Sun, Feb 6, 2011 at 2:31 AM, Dianne Hackborn hack...@android.com wrote:
It is nothing complicated. It is just the last Intent that was sent with
sendStickBroadcast() that matches the
On Sat, Feb 5, 2011 at 11:21 PM, javaxmlsoapdev vika...@gmail.com wrote:
1)how can I display a button at the bottom of the screen (not at the
end of the list). I understand since I extend ListActivity can't use
setContentView(R.layout.main) where main.xml could have a button but
can't really
I think he said he had a special soft keyboard that was to be used for
this field. Sounds like he doesn't want to go through the whole
hassle
of creating an entire soft keyboard, nor creating all the caret-
position
and backspace-handling code necessary to reinvent EditView. I don't
know the
I use: http://twitter4j.org/
There are various examples out there:
http://code.google.com/p/agirardello/source/browse/trunk/OAuthExample/src/ch/ethz/oauth/OAuth.java#115
On Feb 6, 3:49 am, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
Ya i got you. May be i got you wrong plus there are not
Hi,
I am trying to run MediaRecorder code snippet from Develope's
documentation, on emulator at this time:
try {
MediaRecorder recorder = new
MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); -
Hey Guys,
I'm having a NPE thrown when I try to edit a layout. I generally happens
about 85% of the time. If it does not throw the NPE, it says Missing Theme
with no assist or layout. The XML editor does still provide assistance if
the NPE is not thrown. Additionally, my auto-complete is
Hi, everyone~
I have been recently studying on why the Browser in the android OS
does not support accessing IPv6 websites through IPv6 URLs.
At first, I built the source code with CONFIG_IPV6 not set and tried
IPv6 URLs in the Browser and the Browser could not access IPv6
websites. I then built
about 85% of the time. If it does not throw the NPE, it says Missing Theme
I'm getting the same thing on Galileo. It looks like a temporary
workaround is to select the platform dropdown(Android 2.2/2.3) in the
upper right which will cause the Theme dropdown to appear next to it.
--
Seni
Perhaps the browser always recognizes IPv6 addresses, and tries to use
them?
If IPv6 is disabled in the kernel, trying to use a v6 socket should
fail, and hence you can't open a v6 site. Once kernel support is
enabled, the rest would work automatically.
You might also want to post your
Slow code assist, or, more precisely, JavaDoc lookup (which is shown
side by side with code assist suggestions) is a known Eclipse Helios
3.6SR1 issue.
I've written a summary of various workarounds here:
http://kmansoft.wordpress.com/category/tools/
The good news is that this is fixed in
Hi all,
I'm having an issue with the ListView in Android.
So I have an activity extending the ListActivity, in the activity I
have an innerclass for my adapater.
Now both on my device and the emulator some entries appear 2 or 3
times in the list (not always the same items) although the size of
You are not handling row recycling properly. You have the if
(row==null) case, but you do nothing in the other case. You need to
bind your row widgets with the proper data in either case -- the only
difference between the two is that if (row==null), you have to create
a row, either directly via
Dirk,
You have a bug in your getView() method.
When a list item layout gets recycled (convertView != null), your code
correctly avoids re-inflating a new layout. However, since the item
layout is being recycled, it's also necessary to update its views with
values for the current item.
I'm not sure if this is a Market problem or a developer problem...it
isn't a coding issue per se...I just don't know where to report it.
I can't update my app. I go my market publisher webpage and see a
list of my apps. I click on one of them to update it. It's a free
app btw. All I want to
I guess they are rolling out support for per-country prices.
If this problem doesn't go away in a bit, you should contact Android
Market developer support:
http://www.google.com/support/androidmarket/bin/request.py?contact_type=bugs
-- Kostya
06.02.2011 20:20, Keith Wiley пишет:
I'm not
OK. Thank you.
But i would like to know, what problems are appropriate to post here?
On Feb 7, 12:04 am, Kostya Vasilyev kmans...@gmail.com wrote:
Perhaps the browser always recognizes IPv6 addresses, and tries to use
them?
If IPv6 is disabled in the kernel, trying to use a v6 socket should
From the group's description on Google Groups:
http://groups.google.com/group/android-developers
Discuss developing Android applications using the Android SDK. Get
help with troubleshooting apps, advice on implementation, and
strategies for improving your app's speed and user experience.
On Feb 6, 9:20 am, Keith Wiley kbwi...@gmail.com wrote:
I scroll down to find the problem and see that
many countries now say Invalid price in red writing with a red box
(those messages weren't there before I clicked Save)...BUT IT'S A FREE
APP!!! and to make matters worse, the United
On 6 February 2011 18:20, Keith Wiley kbwi...@gmail.com wrote:
- Unchecking All Countries (Save still won't work)
This helped in my case.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
1. Download new app.
2. Tell package manager to install it, replacing any existing app.
Second step consists of:
a. Force stop current app (stopping all processes, services, removing
notifications, unregistering alarms, etc).
b. Replace existing .apk with new .apk.
c. Send broadcast about
hey
thanks for sharing the link i have added all the three jars and made one
class file copied the code.
Everything is fine i have removed many errors by importing specific classes
and setting up the context.
But still there are two class files which eclipse is not able to import and
these are :-
Wait, let's back up a second.
If their fast boot facility works how I assumed it does, it would actually
be correct for it to not send boot_completed.
That is, if what this does is save the current device state and RAM to
storage, and reload that when turning on, then it absolutely should not
On Feb 6, 10:01 am, JP joachim.pfeif...@gmail.com wrote:
On Feb 6, 9:20 am, Keith Wiley kbwi...@gmail.com wrote:
I scroll down to find the problem and see that
many countries now say Invalid price in red writing with a red box
(those messages weren't there before I clicked Save)...BUT
On Sun, Feb 6, 2011 at 12:20 AM, mmtbb mm...@hotmail.com wrote:
LVL is so easily bypassed that it doesnt seem to make any sense to use it
as it stands.
It's better than nothing. The point is not to prevent every attack, it's to
make it harder. Whether that has value to you is a cost-benefit
Keep in mind though that depending on the word app, constantly hitting a
remote resource is going to cause delays. It would be best to at least
cache several words local to the device if you are using that approach.
Also, you would need to keep in mind that a user may or may not have an
active
On Sun, Feb 6, 2011 at 2:49 AM, Robin Talwar
r.o.b.i.n.abhis...@gmail.comwrote:
Ya i got you. May be i got you wrong plus there are not much android
experienced developers who like to encourage beginners
out there.
It's not that experience developers don't want to encourage beginners, it's
On Sun, Feb 6, 2011 at 7:21 AM, San Zhang dahua007...@gmail.com wrote:
The results are same: The notification can be deleted from status bar, but
it would be displayed twice (and only twice) when another alarm notification
(with different value of noti_id) be displayed. I don't understand what
On Sat, Feb 5, 2011 at 8:58 PM, ThomasWrobel darkfl...@gmail.com wrote:
Do I have to manualy commit?
Possibly. Try it, see what happens.
or set the persistance to true? (isn't that default).
The preferences will save their values automatically when the user makes a
selection. If you
On Sat, Feb 5, 2011 at 8:48 PM, AndroidDevTime androiddevd...@gmail.comwrote:
Should I have this store this every time it gets updated in a single method
call.
Sure, why not?
On Sat, Feb 5, 2011 at 8:53 PM, AndroidDevTime androiddevd...@gmail.com
wrote:
Also what is the earliest
:) thanks
On Mon, Feb 7, 2011 at 1:57 AM, TreKing treking...@gmail.com wrote:
On Sun, Feb 6, 2011 at 2:49 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com
wrote:
Ya i got you. May be i got you wrong plus there are not much android
experienced developers who like to encourage beginners
out
Sorry I wasn't clear; I did try it and it doesnt work. It always says
no value set however, and no changes are remembered
in the interface.
The changes are being made by the interface too, not programaticly so
I shouldn't need that commit.
I'm just wondering if something strange happens as soon
Those classes are in the Twitter4J core JAR. So that isn't getting
properly included in your Java build path as a library if you can't
import them. So double check that.
One problematic thing I see you doing earlier is keeping your library
JARs in the assets folder. The assets folder is a special
I actually did meet a developer at an Android meetup the other day who
swore he didn't need to reset his alarms on boot up on a certain
phone...now I can ask if this option is involved next time I see him.
On Feb 6, 1:55 pm, Dianne Hackborn hack...@android.com wrote:
Wait, let's back up a
I'm doing this in my current project, although in a slightly different way.
In my case, a subclass of PreferenceActivity is invoked for a particular
object, each of which has uniform properties that need to be stored
independently of properties for other objects of that class. In other
words,
Ok i got it
i organized all my jar files in lib folder and made necessary changes in
import statements.
Now i can login to the twitter account and authorize the app.
But i still can not update the status :(
On Mon, Feb 7, 2011 at 2:42 AM, Lance Nanek lna...@gmail.com wrote:
Those classes are in
Thanks for the tip, that actualy looks like a much more neater way of
doing it then trying to manualy change all the keys. I'll try to adapt
that for my own requirements, shouldn't be too hard.
-Thomas
~~
Reviews of anything, by anyone;
www.rateoholic.co.uk
Please try out my new site and
I think the newer HTC phones (Desire HD/Z) support hibernation of some
sort. I have a vague recollection of it being mentioned at a launch
event in London.
On Feb 4, 11:31 am, Yorgos X yor...@gmail.com wrote:
Mysteriously enough (new phone, haven't explored it much), a setting was
preset to
If it really is hibernation (as opposed to a reboot), then alarms *should*
persist, and there should be no need to reset them. Anyone have one of those
and willing to check?
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
07.02.2011 1:07 пользователь Peter Sinnott psinn...@gmail.com написал:
I can't seem to reproduce (running ADT 10.0, tip of tree, and Eclipse 3.5r2))
- created a new project
- edited main.xml
the rendering target is properly selected (in this case Android 2.2),
and the default theme (Theme) was selected.
I don't think we changed things around this so I'm not sure
Thx for the help.
I was trying something like the code snippet below but it doesn't
help... It seems that the TextView retrieved in the else case is
always null, any ideas?
} else {
Log.d(LOG_TAG, No need for row to be created);
Log.d(LOG_TAG, Finding
For all I know calling avcodec_find_decoder with hardcoded codec id is
not a good idea.
What if particular stream contains data which was encoded with a
different codec?
av_open_input_file is the one I would expect to block under certain
conditions (bad URLProtocol implementation, for example),
Ok never mind my last comment.
I started to re-write the ArrayAdapter implementation and got it
working just fine... :)
Thanks for your help!! :)
Here's my update code:
/**
* The list adapater private inner-class used to display the
manage labels list.
*/
private class
Hi guys, I have the following scenario in my Android code, and I am
wondering if someone can point me in the right direction.
I have an activity called MainActivty. It interfaces to the server
through a service called ServerConnector which creates a new thread to
handle RESTful calls to our
To anyone who wants to test his/her app on the Honeycomb SDK, in the
app's manifest, edit your uses-sdk to specify Honeycomb as the
target, like this:
uses-sdk android:minSdkVersion=4
android:targetSdkVersion=Honeycomb /
You will then get the Honeycomb Holograph them and your app will have
On Jan 28, 2:41 am, Steve Gores-Todd sgorest...@gmail.com wrote:
The solution can be found on the SKD preview page near the bottom.
http://developer.android.com/sdk/preview/index.html
Well that solution, i.e. press Ctrl-F11 only works if you are using
a Windows PC. On the Mac, it just
Aha! The solution is to press Ctrl + Fn + F11 (possibly several times
until you get the orientation you want).
S
On Feb 6, 5:06 pm, midtoad stewart.midwin...@gmail.com wrote:
On Jan 28, 2:41 am, Steve Gores-Todd sgorest...@gmail.com wrote:
The solution can be found on the SKD preview page
I don't understand how to use AlarmManager to post notifications. I think
that all notifications is managered by NotificationManager but not
AlarmManager, although they are started and canceled according with alarms
life cycle.
In fact, The behavior of notifications were right, no the problem,
hello,
I am using AdapterView to have Cutom List. But my Xml layout not only
contains that List. It also have some other elements like TextBox,
labels, ImageButton at the top and bottom. so when i scroll it up
and animation starts it also draw elements on that Top Part(Which
contains
I am not sure which (if any) group would be the right group for that
question, but I am pretty sure this is not it. This groups is for
questions about using the SDK, not building it.
But why do you want to build the SDK in the first place? That is the
job of the Android team at Google. No matter
We build the Windows SDK on linux, but you won't be able to build the
MacOS version on linux. You'll need a Mac for that.
make PRODUCT-sdk-win_sdk is the command (when not running the lunch
command). However there are config and packages that must be installed
on your linux box and I don't have
GitWeb is unusable over the weekend. Hope this gets fixed.
On Jan 28, 6:47 am, niko20 nikolatesl...@yahoo.com wrote:
Why is the GitWeb interface about 500% slower than it used to be?
Maybe from parsing such a huge database of GIT entries...?
-niko
--
You received this message because you
Hey guys,
I have a base abstract class that all my asynctasks extend from. I have
built in error handling for network errors where I display a dialog to the
user telling them they can retry their request (after all it was a network
error...).
I am having a bit of a problem retrying my
Hi
Card emualtion is not completely supported on Application level yet.
Although stack level support is provided by libnfc-nxp
You can tweak the app and native layer to provide decent enough card
emulation.
Please refer to older posts. There has already been discussion on this and
card emulation
Hi!
How to build my android application(version2).
On Sat, Feb 5, 2011 at 10:30 PM, TreKing treking...@gmail.com wrote:
On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku
subhashini.andr...@gmail.com wrote:
Pls send me this link
I have faith that, if you have been able to build an
I ran into this on an update of my free app tonight as well.
I completely quit the whole Chrome browser process (which has
been running for a month), and restarted it. The price problem
went away as if by magic.
I did notice another problem, where non-latin characters were
causing the Recent
Below codes is notifications behavior no problem:
=
public class AlarmService extends Service
{
@Override
public void onCreate()
{
.
.
.
showNotification(sAlarmKeyName);
Intent i = new Intent(this,
I havn't tried ndk-gdb on other OSs. but I had tried on WindowsXP. (using
ndk-gdb r5b)
and just seeing same message 'no symbol table is loaded!' when I type 'b
io_lib.c:227'.
I have tried ' set solib-search-path /cygdrive/c/.../obj/local/armeabi ',
' set solib-search-path
On Sun, Feb 6, 2011 at 5:25 PM, Avtar Khalsa akhals...@gmail.com wrote:
I know it will require a binding, but since it is a local service, I am
unsure if I should use AIDL, or something else.
Have you reviewed the Service documentation? It's pretty detailed, with some
samples on local and
On Sun, Feb 6, 2011 at 8:23 PM, Honest honestsucc...@gmail.com wrote:
I am using AdapterView to have Cutom List. But my Xml layout not
only contains that List. It also have some other elements like
TextBox, labels, ImageButton at the top and bottom. so when i scroll it
up and animation
On Sun, Feb 6, 2011 at 9:35 PM, Dimitris dnkou...@gmail.com wrote:
I have a base abstract class that all my asynctasks extend from. I have
built in error handling for network errors where I display a dialog to the
user telling them they can retry their request (after all it was a network
Thanks. That answers all my questions.
~rajorshi
On Feb 4, 10:47 pm, Trevor Johns trevorjo...@google.com wrote:
Err, typo there: Free apps cannot request
the com.android.vending.CHECK_LICENSE permission.
(Billing works just fine with free apps.)
--
Trevor Johns
Developer Programs
hi,
in this android os developer tools, on the emulator, how do i read the
contents of a text file on the sdcard, from the terminal command line.
i have tried: pico textfile.txt
type textfile.txt
sudo pico textfile.txt
- permission denied
--
You received this message because you are
Yes it is necessary. The base abstract class provides all the plumbing for
posting an HTTP request and handling exceptions while allowing subclasses to
do their actual work. I would hate for each asynctask to write network error
handling.
The problem is, I cant find a proper way to
Oh, jesus, this is classic bloom filter.
-- Kris Micinski
On Sat, Feb 5, 2011 at 3:36 PM, nivedita arora
vivaciousnived...@gmail.comwrote:
hi,
i really need help.
i am making a word game for college which uses words of length 4 to
7.
i have a certain array of string containing words of
I guess u should look at how other profiles have registered for their
SDP records and do the same for HDP.
For example look at OPP.
You can check for files like sdptool.c where u can add u r code for
registering ur sdp records.
Did this help u?
On Feb 2, 12:45 pm, John mrjhopk...@gmail.com
On Sun, Feb 6, 2011 at 11:22 PM, Dimitris dnkou...@gmail.com wrote:
The problem is, I cant find a proper way to reinstantiate a task and
execute it without reflection.
Whatever started the task to being with would be responsible for checking
the result and responding appropriately. Since it
Oh, I have found a cause of the problem. It is a logic problem in my code
but it is not displayed above codes.
在 2011年2月7日 下午12:26,San Zhang dahua007...@gmail.com写道:
Below codes is notifications behavior no problem:
=
public class AlarmService
hi,
Thanks for your reply. actually as i told i wanted rubber or bounce
back effect. So i derived AdapterView class but the problem is there
is no scroll bar. and another problem is In my xml layout file there
is some ImageButton and some other control at up and botom part. and
in between there
Thanks Mark and Ksotya,
So With background thread spawned from Service, provides functionality
as desired.
But it has 2 drawback which i must consider
As Mark wrote: Only waiting for time tick, it is not wise to wait from
app, better use alarmmanger.
As Kostya wrote: I should be considering
On 7 February 2011 00:57, midtoad stewart.midwin...@gmail.com wrote:
You will then get the Honeycomb Holograph them and your app will have
an updated look and feel.
http://developer.android.com/sdk/preview/index.html
Android 3.0 offers an updated set of UI widgets that are redesigned
for use
78 matches
Mail list logo