Can u please guide me for a resource which talks about generic intents
and how to use them.
Thanks.
On Mar 13, 11:33 am, TreKing treking...@gmail.com wrote:
On Fri, Mar 12, 2010 at 2:44 AM, Sudheendra sudhindra.ma...@gmail.comwrote:
basically i want to start Notepad application in android
On Sun, Mar 14, 2010 at 2:11 AM, Sudheendra sudhindra.ma...@gmail.comwrote:
Can u please guide me for a resource which talks about generic intents
and how to use them.
How about the official documentation? Just a thought.
One issue that I've run into is that users use controls in unexpected
ways. I wrote my first game expecting quick taps next to the player's
character. When various people tried out the game, however, they
didn't all do that. Some tapped the bottom corners, some held their
finger down and moved it
Hi group
I am trying to get a RandomAccessFile from either
Resources.openRawResource() or getAsset(). I cannot find a direct way
to get one. Does anybody know that?
Thanks
AJ
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
ya, thank you for that
On Sun, Mar 14, 2010 at 12:18 PM, TreKing treking...@gmail.com wrote:
On Sat, Mar 13, 2010 at 11:07 PM, murali raju manutd...@gmail.com wrote:
use spinner.setOnItemClickListener(new OnItemClickListener()
No, this won't work, read the documentation: A spinner does not
Can't get it to work with ColorDrawable.
The other way works just fine though. The reason why the order of the
views in the layout didn't matter was because I had used
bringToFront() in my code which brings the view on top of its
siblings. Duh.
--
You received this message because you are
neither you nor your users have
any control over the GC behavior of someone else's application.
Users do have indirect control, however. I often put my phone in
airplane mode when testing because it reduces the number of GC events
I see in the logs. I assume it is because other processes can't do
mot12 wrote:
Can't get it to work with ColorDrawable.
FrameLayout frame = findViewById(...)
// little red tint
d = new ColorDrawable(0x40ff)
frame.setForeground(d)
doesn't it work?
The other way works just fine though. The reason why the order of the
views in the layout didn't matter
On Mar 14, 9:16 am, skink psk...@gmail.com wrote:
FrameLayout frame = findViewById(...)
// little red tint
d = new ColorDrawable(0x40ff)
frame.setForeground(d)
doesn't it work?
be carefull with ColorDrawable - it supports setAlpha but ignores
setColorFilter - if you need to change
My two cents,
In my game I noticed two things :
1) Media player is killing my frame rate in two player mode : from 50
to 20. So I had to remove music for that part of the game. Sounds
triggered by the soundpool works fine.
2) Touching the screen kills my frame rate as well, short press are
ok,
That's what I did. No luck.
Anyhow, the xml layout way gives me more freedom. I now have to
filters, one put on top of the background and one on top of the
foreground. This way, when dimming the display, I can let the
background fade quicker than the foreground which increases
readability. I am
One thing to watch out for with MediaPlayer is that the format matters
a lot. I've seen the G1 go from 60 FPS to 50 FPS just because I added
MP4 music, then act fine once I converted it to highly compressed,
mono OGG or substituted it with MIDI. I suppose other apps playing
music in the background
That's what I did. No luck.
Anyhow, the xml layout way gives me more freedom. I now have to
filters, one put on top of the background and one on top of the
foreground. This way, when dimming the display, I can let the
background fade quicker than the foreground which increases
readability. I am
Hello, fellow developers,
Just a quick update on the petition.
As of now it has been signed by almost 1000 people.
I don't know how many Android developers there are globally, but I
think this is a pretty good number
It was also mentioned on a few websites, but nothing major.
So far, we still
I agree.
I just updated my apps after 7 days and they are not in Just In category :(
Do they not count in the day light saving time change??
Just In is not enough, it should have a daily/week/monthly Just In
sub-categories.
Market is a joke!
On Sun, Mar 14, 2010 at 8:45 AM, Rob Irondad
Thanks for the input guys.
Lance, good point about users using the controls in unexpected ways.
This actually happened to me for my first release, but I have since
resolved those issues and users are quite happy with the current
control scheme. In addition, I have already implemented the Sleep()
WARNING: this is a rant, because blaming Google for technical problems
based on limited analysis is a bit of sore spot with me. This is not a
rant against you as a person, nor against your game (I don't even know
what game it is). It is, however, a rant against your methodology, at
least to the
You updated too soon. You'll have to wait at least 12 days to get into
the just in category.
Updating just to get into that list is going to annoy the heck out of
your users. Doing so on a regular basis will probably result in a lot
more uninstalls than happy users. Just keep that in mind.
-John
Wow,
When I signed I was the second name on the list, and now 1 000 :D
I thought it was just me.
Maybe with that kind of number Techcrunch could be interested.
I can see the headline : The Android developer Revolt of 2010
:D
Yahel
--
You received this message because you are subscribed to
12 days now? I'm updating apps to push out new features, not to just to get
on top of the list.
My apps are actually suffering because of this stupid update cycle. Some
bug fixes and features I added in have to wait till the end of the cycle to
release in hope it gets to the top of the list.
Your users don't have to wait 12 days.
They are notified directly on their phones when there is an update of
your app.
That's why Maps tells you you are going to annoy your current user if
you push non-vital updates too often just to try to get to the top of
the just-in list.
Yahel
--
You
I am posting my conclusions, in case anyone ever stumbles upon this
page with similar questions:
4. I am left with the sound being played until the phone is rebooted,
since there is NO way I know of to get a hold on the AudioTrack
instance after the service process is killed.
There is indeed
Hi Markus,
2010/3/14 markusn82 markus...@gmail.com
Thanks for the input guys.
Lance, good point about users using the controls in unexpected ways.
This actually happened to me for my first release, but I have since
resolved those issues and users are quite happy with the current
control
Hi,
just wanted to drop by to tell you about a nice little bug i just
encountered on my droid. Here's some sample code:
@Override
public void render(Application app)
{
GL11 gl = app.getGraphics().getGL11();
gl.glViewport( 0, 0,
I reply to myself :)
I found out that I could actually use the ColorPickerDialog as it is
in my PreferenceActivity...
Don't know why I couldn't use it before.
Sorry about that.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi
Are there any sources available for the VU meter wallpapers shipped
with the OS?
I'd like to make my wallpaper react to sound (internal or external),
but I don't know where to start...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Hi Dear,
i need to download 3GB file through my download manager. i need to
force my download through wifi.
can anybody help please
setNetworkPreference(ConnectivityManager.TYPE_WIFI);// shall i use
this ?
--
You received this message because you are subscribed to the Google
Groups Android
Hello,
I am wanting to simulate the look of the recent applications display
that you get when you long press the home key. At first I thought it
was a custom dialog but apparently (according to what I see in the
Hierarchy viewer) it is a PhoneWindow$DecorView. I presume the
DecorView is the main
Anthoni wrote:
I am wanting to simulate the look of the recent applications display
that you get when you long press the home key. At first I thought it
was a custom dialog but apparently (according to what I see in the
Hierarchy viewer) it is a PhoneWindow$DecorView. I presume the
DecorView
Mark Murphy,
Proof? Anytime a stutter occurs in my game I see the GC being logged.
What further proof do you want? The rest of the time the game is
smooth. I was being conservative in my original post because I didn't
want to be presumptuous and I wanted open objective responses.
Now, I don't
Doesn't the spec say it has to be 4?
From http://www.khronos.org/opengles/sdk/1.1/docs/man/glColorPointer.xml
:
size
Specifies the number of components per color. Must
be 4. The initial value is 4.
From
Hello knowledgeable developers,
Hope you can help me with the following:
I need to add an action in the Context Menu that pops up after a a
Long Press of a Link in the Browser (the one that has 'Open', 'Open in
new window', 'Bookmark link', 'Save link', etc.)
As a result of choosing my action
markusn82 wrote:
Proof? Anytime a stutter occurs in my game I see the GC being logged.
What further proof do you want?
You said, and I quote:
I tested the game on both a Motorola Milestone and an HTC Magic and
I don't experience any noticeable input lag (except perhaps when the
GC is executed
fcarriedo wrote:
Hello knowledgeable developers,
Hope you can help me with the following:
I need to add an action in the Context Menu that pops up after a a
Long Press of a Link in the Browser (the one that has 'Open', 'Open in
new window', 'Bookmark link', 'Save link', etc.)
As a
AFAIK, there is no way to add actions to the Browser application's
Although I don't know how it's done, i've seen an application that
added a Share via This app to the Android browser.
The app is called Share By QRCode and is available on the market. It
also adds a Share options in the youtube
Hi!
I am starting in programming with Android. The first that I am doing
(later of reading the main tutorials in the official page and later of
executing the hello word example and so on) is to realise an image
editor application. I am having many problems with different parts.
The first that I
Maybe this is more of a Java question..
I have a java.utils.List populated with instances of my own class. I
want to save them and have them restored when running the app again.
I'm thinking of saving it as a string in SharedPreferences. I need to
serialize everything so I guess my CustomClass
Yahel wrote:
AFAIK, there is no way to add actions to the Browser application's
Although I don't know how it's done, i've seen an application that
added a Share via This app to the Android browser.
The app is called Share By QRCode and is available on the market. It
also adds a Share
Lots have been said here and I just want to say that as a fellow real
time game developer I have the exact same problem. I will even go as
far as to tell you the name of an app that this happens in, my most
popular game BreakTheBlocks Lite, which hit a million downloads last
month :), has this
Here's a good video if you want to pick up the basics Mark:
http://code.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html
Includes coverage of the GC issue by a Googler.
On Mar 14, 11:10 am, Mark Murphy mmur...@commonsware.com wrote:
WARNING: this is a rant, because blaming
That's not what that app does. It does not add a context menu entry.
Instead, it implements an ACTION_SEND Intent filter, and so becomes an
option when the user chooses Share link from the context menu. That is
not only legal, but a really cool Android extension point.
I have to agree, this
With ADP1 it is possible :
http://android-tricks.blogspot.com/2009/01/using-adp1-without-sim-card.html
(I did it on mine and never put a simcard in it.)
On others I don't know.
ik
On 12 mar, 22:49, Badasshat badass...@gmail.com wrote:
Hi,
I'm considering buying a lower end phone for testing
Thanks Lance for the suggested reading. I actually read those slides
almost a year ago when they were first produced (around the time when
I first started to develop a game for Android). I already took into
account the points made in that presentation and they were quite
helpful.
Mark Murphy, it
Yes, indeed. I mixed that up with the desktop GL specs at
http://www.opengl.org/sdk/docs/man/xhtml/glColorPointer.xml. Now
that's embarassing :)
On 14 Mrz., 19:07, Lance Nanek lna...@gmail.com wrote:
Doesn't the spec say it has to be 4?
But how do other users discover my apps if the apps NEVER show up in the
Just In category?
BTW, I don't think a 7-day release cycle is too often.
On Sun, Mar 14, 2010 at 12:04 PM, Yahel kaye...@gmail.com wrote:
Your users don't have to wait 12 days.
They are notified directly on their phones
markusn82 wrote:
Mark Murphy, it doesn't sound like you were trying to be productive in
your original post.
Actually, I was. Still am, as a matter of fact.
Rather, I was trying to
make real suggestions for a real problem that exists.
Likewise, mostly in the latter half of the post.
Are there statistics as to what percentage of users are using a screen
resolution. I am looking for something like the platform versions
breakdown Google provided a few months ago. What I am wondering is if
its worth the extra effort to ensure proper display of my apps in QVGA
or other odd
On 10 Mar, 23:27, Robert Green rbgrn@gmail.com wrote:
I only have a meager 340 in this group. :)
I have nowhere near that many (probably less than 100) and I got an
email from Google. I reckon you also have to have an app published in
the market.
--
You received this message because you
kylestew wrote:
Are there statistics as to what percentage of users are using a screen
resolution. I am looking for something like the platform versions
breakdown Google provided a few months ago. What I am wondering is if
its worth the extra effort to ensure proper display of my apps in QVGA
I have 275 in Android Developers and 107 in Android Discuss, and an
app in the Market, but no e-mail from Google. :-(
On Mar 14, 10:09 pm, Tim tdh...@gmail.com wrote:
On 10 Mar, 23:27, Robert Green rbgrn@gmail.com wrote:
I only have a meager 340 in this group. :)
I have nowhere near
I think that based on what I have found on the web and from your
expert responses, that is as close as I can get to do what I want.
I'll go that route.
Thank you both.
p.s. If I find another way.. I'll update the conversation.
On Mar 14, 12:04 pm, Mark Murphy mmur...@commonsware.com wrote:
I didn't get any corrupt DB errors - it's as if my app was uninstalled
them reinstalled. It worked perfectly after losing all the data but
of course without any of the actual data available.
On Mar 13, 5:21 pm, Yuvi yuvidr...@gmail.com wrote:
Hi,
the database issue happened on my phone (HTC
Hello,
Since my day 1 I´ve been facing problems with Android AudioRecord API.
After a lot of research and a lot more trial and error I´ve found my
way into the code and was able to write an asynctask for audio streams
recording which encapsules most of the audiorecord and asynctask
features as a
Ops, sorry for the title. Should be audio chopping from AudioRecord to
AudioTrack.
On 14 mar, 19:00, Gabriel Simões gsim...@gmail.com wrote:
Hello,
Since my day 1 I´ve been facing problems with Android AudioRecord API.
After a lot of research and a lot more trial and error I´ve found my
way
hi!
I have a content provider (content://fr.MyApp.MyContentProvider/
MyData)
And I can Navigate with a corsor.
But I need to have a record to another position...
So I try:
String[] ColumnName = cursor.getColumnNames ();
int i = 0;
int n=ColumnName.length;
while (i n){
ContentValues
But how do other users discover my apps if the apps NEVER show up in the
Just In category?
They do appear in the just in category when you first release them and
then every time you submit a new version as long as there was 12 days
minimum between two releases.
If you feel like releasing to
Not sure if this relevant but did you implement your own Time Frame ?
Not sure how to call it. But i'll try to explain.
When I first wrote my game, GC, bad implementation, too much
allocation would make my game lag. It would just hold still and then a
second later start again from where it was.
Did you get an invitation for a free device because of your app? If
so, then that's why you're not getting one for posting. The idea is to
get one device to each developer. Does that make sense?
-John Coryat
On Mar 14, 4:09 pm, Tim tdh...@gmail.com wrote:
On 10 Mar, 23:27, Robert Green
Yes, I tried to use ExpandableListView.setIndicatorBounds but this
affects the stretching only on the x-axis. I couldn't find any
function to do stretching on the y-axis. Anyway, there is always the
dirty trick of designing your icon accordingly, but if you care about
clear design, choosing this
Hi,
This seems to be what I am looking for. However, just to confirm, I
will give a short description of what I am trying to do:
I am trying to use Wifi for an internal WLAN connection (which would
not be accessing the internet) , and a 3G network to give me access to
the internet at any time.
Good point. Some quick trials here do seem to indicate that the GC
firing in a different process doesn't stop the world for a game like
the GC firing in the game's does. So GC from other processes isn't as
bad. Tested on a Droid running Android 2.0.1.
A stretch of logged draw requests with
Actually ExpandableListView.setGroupIndicator doesn't do the job
either, because it changes the icon for all groups. If you want to
override the icons for minimized and maximized states, the maximized
group icon will be different than the rest of the groups. It's not
possible to implement this
You can use Astro File Manager or Estrongs File Explorer to backup the
Photoshop app on your sdcard.
Then, transfer the apk on your computer and install it on a running
emulator using adb.
adb install Photoshop.apk
Now, I implemented a workaround for the problem I detected before:
Photoshop
This just happened yet again earlier today. Unfortunately I didn't
get my Droid hooked up to adb quick enough to look through the logs.
Guess I'll have to wait until next time :(
This is killing me!
On Mar 14, 5:47 pm, Matt (preinvent) m...@preinvent.com wrote:
I didn't get any corrupt DB
For SharedPreferences this isn't unheard of but I'd question an issue
with SQLite. Perhaps users got irritated that things went haywire as a
result of the missing SharedPreferences, and reinstalled the app.
On Mar 13, 2:16 pm, Matt (preinvent) m...@preinvent.com wrote:
I've had several reports
Matt (preinvent) wrote:
This just happened yet again earlier today. Unfortunately I didn't
get my Droid hooked up to adb quick enough to look through the logs.
Guess I'll have to wait until next time :(
This is killing me!
Hopefully not. Dead developers make no sales.
:-)
More seriously,
Lance Nanek wrote:
Good point. Some quick trials here do seem to indicate that the GC
firing in a different process doesn't stop the world for a game like
the GC firing in the game's does. So GC from other processes isn't as
bad. Tested on a Droid running Android 2.0.1.
Agreed.
I just got
Hi,
See the route table, because the default route will be the WLAN, I think.
Because is the normally the preferred network (changes to 3G). Otherwise, it
will work.
Regards,
Ricardo Silva
On Sun, Mar 14, 2010 at 11:06 PM, Tanmay tanm...@gmail.com wrote:
Hi,
This seems to be what I am
hi,
Does anybody figure out what the problem is?
I've got the same problem.
My users using MyTouch told me that they can't see my app on the
market...
I have no idea what the problem is...
On Feb 26, 10:43 pm, BlackLight blacklight1...@gmail.com wrote:
Hello.
I've got several messages from my
The ~100-300ms isn't that meaningful of a figure, though. Frame rate
won't drop because of elapsed time of the foreign process' GC operation.
Frame rate will drop if, during that time, too much CPU is utilized by
GC, or access to some cross-process resource is blocked by GC, or
something
I wonder if this could be a Verizon thing. What strikes me as odd is
that the UrlConnection works fine, and that must also be using tcp, so
is fundamentally the same as my subsequent Socket connection, which
fails.
The differences are:
* different server.. .MAYBE my server doesn't like the 3gs
On Mar 14, 8:31 pm, Mark Murphy mmur...@commonsware.com wrote:
This is killing me!
Hopefully not. Dead developers make no sales.
Neither do developers with unhappy customers!
More seriously, consider hooking into Android Log Collector or
something, so that when you detect this
-- On a factory-reset G1 with Android 1.6: CPU and GC from the
background process steals 5-10% of throughput from the foreground
compared to no service work at all, which would fit if the background
logic is in the low-priority class that Ms. Hackborn described.
Where did you get this 5-10%
ForSharedPreferencesthis isn't unheard of but I'd question an issue
with SQLite. Perhaps users got irritated that things went haywire as a
result of the missingSharedPreferences, and reinstalled the app.
This happened to me earlier today on my Droid. I didn't uninstall/
reinstall so I know
Yeah, I actually haven't tried fiddling with the icons, I was just going off
of what I saw in the docs. I know someone else on here was having a similar
issue and it appears that the ExpandableListView was not designed to allow
major controls over the icons.
Sorry, don't know what else to tell
seems i am experiencing similar issue as you r.
http://groups.google.com/group/android-developers/browse_thread/thread/ad81d19418c8db1d/561f66e6b0cf2c79?show_docid=561f66e6b0cf2c79
without any single line of code modification to my app, the count of
frames recorded by app running on sdk 1.6
Thank you for the advice! The share this app is an awesome idea ;)
My apps are little so features and bug fixes normally only take a few days,
instead of 14 days :)
But will give that a try if that's how Market defines Just in.
On Sun, Mar 14, 2010 at 6:15 PM, Yahel kaye...@gmail.com wrote:
Audio chopping also?
Could you please test the code above?
I´ve checked and AudioRecord.read() returns a value equal to my buffer
size. Based on that I understand that AudioRecord.read() blocks the
execution, waits for the buffer to get a number of samples at least
equal to the buffer size and
I just signed. A must for anybody who has an app out with even just
modestly complex functionality.
Over the last weeks I've seen a shift to comments that are
predominantly negative in nature now.
There seems just no way any more to convey to users to visit the
accompanying web site and RTFM.
So
markusn82 wrote:
-- On a factory-reset G1 with Android 1.6: CPU and GC from the
background process steals 5-10% of throughput from the foreground
compared to no service work at all, which would fit if the background
logic is in the low-priority class that Ms. Hackborn described.
Where did
1) use intents for moving from one activity to another. So that you can send
the image to second activity.
2)to display many images on a single screen use grid view or gallary. that
would be the best way.( since u said u are new to android, i would suggest
to see API demos application of sdk
resource folder of the project i guess...
On Sat, Mar 13, 2010 at 6:09 PM, Farproc farp...@gmail.com wrote:
What is the res folder? /sdcard/res?
On Mar 13, 3:07 pm, aswani kumar tholeti ensisinf...@gmail.com
wrote:
Hi all,
how to write/read log data into txt file in res folder
You figure for every millisecond another process spends on GC, it
probably spends 10 ms doing something else, which also interferes with
your game. (That's an illustration, not an estimate -- the number will
vary WILDLY depending on the application in question).
Airplane is indeed likely to help,
no chopping, likely because my computer (Core2 E8400) is lightening
fast.
my AudioRecord.read() returns a value equal to my buffer size, too.
however, it returns recorded samples in a speed faster than 8khz,
which makes later playback sound like my voice is slowed.
again, the same code works
Hi,
Any idea which JS Engine is used in Nexus one? JSC or V8?
--
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
hi,
We have set the alarm on Droid (after 4 minutes). Switched off the
phone.
But the phone didn't wake up or didn't show the alarm for the preset
time.
Is this a normal behavior?
And why?
Sachin
On Mar 14, 1:14 am, mot12 martin.hu...@gmail.com wrote:
I misspoke: I meant to turn off user
I don't think that's nasty. You're the foreground app, serving the
user's immediate interests.
But I don't think it would work unless the background app in question
is misbehaving. Ordinary background apps should only be running in
response to events or timers -- and they'd have to do MORE work
Tired of searching software for your mobile Phone. Well the search is over
now. Wether you have Andriod, Symbian or Iphone. WHether you have NOKIA,
HTC, IPHONE, SONY ERICSON, SAMSUNG.
It doesn't matter for this product. Search any software, themes, ringtones,
wallpapers, screensave. You will
Not randomly, and not just the GC. The only thing special about the GC
is there's a minimum amount of work it does, but the basic problem is
the amount of background work, not just the GC.
Even though you may see a correlation with the GC messages and your
observed slowdowns -- there will be more
Yes this is a Java question. You cannot serialize a list. If you want
that, then you can create your own Custom list, extending from
ArrayList/List which implements Serializable.
And then you can do what you need to do.
Thanks and Regards,
Kumar Bibek
On Mar 15, 12:00 am, Ferm ras...@gmail.com
But I couldn't think of s situation where you will need it. Shared
preferences are not a way to store your data. Either use the database
or a file(xml).
Thanks and Regards,
Kumar Bibek
On Mar 15, 10:22 am, Kumar Bibek coomar@gmail.com wrote:
Yes this is a Java question. You cannot serialize
Thanks for response Murali raju,,,
Please tell how to create our own volume control?
Any ideas to start with?
Thanks
kavitha
On Sun, Mar 14, 2010 at 10:20 AM, murali raju manutd...@gmail.com wrote:
Hi,
We have to create our view for volume control. i dont think we can
display the
92 matches
Mail list logo