Hi everybody;
I am trying to change ringer volume but I am a bit confused. I can
reach the volume_ring level by using the code
String vr = System.getString(this.getContentResolver
(),System.VOLUME_RING);
However it says in the explanation Ringer volume. This is used
internally, changing this
Hi,
Is anyone encountering this issue too?
2009/4/8 moontain chen.worksp...@gmail.com
Hi,
In the Android.mk, there are AAPT flags set as below.
LOCAL_AAPT_FLAGS := -0 .dat
I'm wondering how to apply this AAPT flag in the eclipse project, so that
the .dat raw data files will not be
Ok. I found it. AudioManager adjustvolume does it. Thanks :)
On Apr 17, 11:07 pm, John Doe halila...@gmail.com wrote:
Hi everybody;
I am trying to change ringer volume but I am a bit confused. I can
reach the volume_ring level by using the code
String vr =
Try running that in DDMS and watching how often the GC is called.
--
Android Academy: http://www.androidacademy.com
On Apr 17, 10:01 pm, petunio juanjosegilmen...@hotmail.com wrote:
Hi
I know this is more a java question, but I have been in many java
forums, and the theory seems to
I programmed the layout instead of layout.xml (for our own reason).
Following is the code:
LinearLayout mainPanel = new LinearLayout(ctx);
mainPanel.setLayoutParams(new LinearLayout.LayoutParams
(LinearLayout.LayoutParams.FILL_PARENT,
Hi,
I am trying to convert the hprof generated by android to standard
format using the code at http://bigflake.com/HprofConv.c.txt. For this
i goto unix and
1) type gcc HprofConv.c (this is the file containg the code from above
link)
2) next i type, ./a.out heap-profile.hprof
Hi Experts,
I want to integrate an additional automatic location finder
functionality in android already existing map application. The idea is
to retrieve the current location from GPS and automatically focus
first to your city and then the area. BUT, how do i retrieve location
from GPS (this
Hi,
Can anyone please help me to know what do the following mean in the
Heap view of DDMS:
1) Data Object
2) Class Object
3) 1,2,4,8-byte array : which arrays are we talking about here??
4) non- Java object
Thanks in advance.
Best Regards,
Zhubham
Hi everybody;
I am trying to change ringer volume but I am a bit confused. I can
reach the volume_ring level by using the code
String vr = System.getString(this.getContentResolver
(),System.VOLUME_RING);
However it says in the explanation Ringer volume. This is used
internally,
Hello,
Access to the maps API at
http://www.google.com/glm/mmap
was disabled some time ago.
Would someone be able to tell if it was replaced, and what the current
access path is?
Alternatively, I would appreciate it if someone could give me some
information regarding getting access
Going forward will Android maintain the sites for multiple SDKs that
might be in use.
For example at this very moment there may development teams that are
working on 1.0, 1.1 and possibly 1.5.
If the main site carries documentation only for 1.1 (current release)
will Android make an effort to
Thanks,
It works but partially only. I didn't get the full expected page.
I tried also paramtrized url insted parametized POST request.
https://www.paypal.com/cgi-bin/webscr?cmd=_xclickbusiness=mym...@mail.comitem_name=mydescrno_shipping=1no_note=1currency_code=USDtax=0lc=ILbn=PP-DonationsBF;
Thanks for the help guys, I shouldn't have been using the ==, a
compareto() and including a boolean to check against managed to solve.
On Apr 16, 9:14 pm, Jason Proctor ja...@redfish.net wrote:
in the vast majority of cases, compare Java strings with equals() or
equalsIgnoreCase()
== tests
Hi, I'm currently downloading information from an online source which
is saved in a textfile on the device. i'm just wondering what function
is used in order to clean out the textfiles once the program has
ended. Thanks.
--~--~-~--~~~---~--~~
You received this
Sorry guys, originally i posted to discussion which is the wrong
place.
I'm migrating over an application from 1.1 to 1.5 and it uses the
Google maps. I got through most of the class path issues resolved I
think but when launching the application I get the following message.
04-18
Hi Mike,
I am having the same issue here. I try a lot of things and nothing
worked.
Does anyone have the answer to this?
Thanks
Daniel
On Apr 16, 11:34 pm, Mike Baroukh m...@baroukh.com wrote:
Hi.
Hi have an absolute layout with pictures.
Only 2 pictures are show simultaneously. Others
Hi Mike
Actually I just got the solution :)
I was having this problem for a couple of days but just solved it.
Here is the solution:
When you want to animate from left to write do this:
absoluteLayout.post(new SwapViewsDifferent());
then you have a inner class:
private final class
I have a Service that starts an Activity on certain event passing to
it some parameters.
The problem is if the Activity is still open, when the service tries
to startActivity() again, the activity isn't started because it's
already started.
Is there a way to force the destruction of the old
I have a Service that starts an Activity on certain event passing to
it some parameters.
I do not recommend this. What if the user is in the middle of doing
something else?
The problem is if the Activity is still open, when the service tries
to startActivity() again, the activity isn't
Hi all,
Whe you try to manage the event on an element using OnTouchListener
you have 3 states:
DOWN, MOVE and UP.
The implement of this method must return a boolean value.
If in my MOVE case, I return true...the method continues to be parse
until the last return value. Why?
What is the normal
Moves are completely independent from down/up in the trackball, since you
can move it without having it pressed down.
On Sat, Apr 18, 2009 at 3:09 AM, TjerkW tje...@gmail.com wrote:
Hello all,
Maybe a stupid question (i dunnot have an android phone),
but it is possible to move the trackball
Hi Im having an issue with intents. Im attempting to have the google
browser open my application when it opens a blahblah.droid.txt however
am having no luck. Here's what ive got so far:
activity android:name=.engines.droidTxtHandler
intent-filter
Aha tanks for the info,i dunnot have a device so i was not sure.
Thanks!
2009/4/18 Dianne Hackborn hack...@android.com
Moves are completely independent from down/up in the trackball, since you
can move it without having it pressed down.
On Sat, Apr 18, 2009 at 3:09 AM, TjerkW
You may get this resolved by calling the garbage collector right
there; system.gc() after you dereference the byte array with
buff=null;
On Apr 17, 2:01 pm, petunio juanjosegilmen...@hotmail.com wrote:
Hi
I know this is more a java question, but I have been in many java
forums, and the
As long as you set the build target to be Google APis and set the
uses-library you should be good.
Is the class net.company.android.OrgMapActivity in a different project
referenced by your app project?
Xav
On Sat, Apr 18, 2009 at 7:15 AM, wayne mcfadden- Red Droid
waynemcfad...@gmail.com
There is no way to do this in ADT at this time, sorry.
Xav
On Tue, Apr 7, 2009 at 8:42 PM, moontain chen.worksp...@gmail.com wrote:
Hi,
In the Android.mk, there are AAPT flags set as below.
LOCAL_AAPT_FLAGS := -0 .dat
I'm wondering how to apply this AAPT flag in the eclipse project, so
Is there a way to check if a view contains another certain view? I
have an AbsoluteLayout view that I add multiple views to (buttons). I
have a certain button, let's call it reportButton, and I want to check
to see if its already within my AbsoluteLayout view. Is there like an
How about you use:
TelephonyManager c=(TelephonyManager) Context.getSystemService
(Context.TELEPHONY_SERVICE);
switch (c.getNetworkType())
{
case TelephonyManager.NETWORK_TYPE_UNKNOWN:
Log.i(CONNECTION, UNKNOWN);
View.findViewById() ?
On Sat, Apr 18, 2009 at 2:52 PM, xspotlivin dmbrown2...@gmail.com wrote:
Is there a way to check if a view contains another certain view? I
have an AbsoluteLayout view that I add multiple views to (buttons). I
have a certain button, let's call it reportButton, and I
Emulator can not sync with Google Server. You should test the sync
with a real device that had activated with google ID.
On Feb 26, 1:52 pm, Steven Farley srfar...@gmail.com wrote:
I have the same problem, running the emulator on Mac OS X. Any
suggesstions would be appreciated.
On Feb 21,
I'm not using XML, so that won't work for me, I don't think. However, I
found another solution. I'm just going to use a button ArrayList (of size
1). Each time I'll check to see if the ArrayList's size is greater than
zero, if it is, I remove the button in the list from the view.
On Sat, Apr 18,
Er... if you have an ArrayList that you are putting one item in, why not
just have a pointer? Much less overhead.
Also you can assign your own id and still use findViewById().
And keep in mind that AbsoluteLayout is being deprecated in Cupcake, and we
strongly discourage its use since it is
You really should not be forcing the garbage collector to run like this, and
there should be no need to do so.
On Sat, Apr 18, 2009 at 11:31 AM, JP joachim.pfeif...@gmail.com wrote:
You may get this resolved by calling the garbage collector right
there; system.gc() after you dereference the
I believe what you are saying is true, but as of now this is the best
and fastest way to achieve a guess as of how fast the users data
connection is...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
hi everyone,
Can anyone give me a clue about how can I do to make a list scroll
down or up programatically ?
I'm trying to understand how to trigger the same motion event that
happen when a list scrolls down or up as a consecuence o a touch.
Thanks for the help.
Pablo
Since Numeric has been deprecated what do you enter in the Layout
properties for Input type? For integer I can use
EditInfo.TYPE_CLASS_NUMBER when using
setInputType(EditorInfo.TYPE_CLASS_NUMBER) but that doesn't work in the
layout editor. Are there some examples I haven't stumbled upon
Not sure why you are initializing one time settings of WebView in a
while loop. (and also the StringBuffer.toString inside a loop fed to
WebView)
It doesn't look right to me. Use i
org.apache.http.impl.client.BasicResponseHandler /i for getting the
string from the http response to feed it.
Thanks!
the following is the log from native code.
I/DEBUG ( 543): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG ( 543): Build fingerprint: 'generic/generic/generic/:1.5/
CUPCAKE/eng.xx.20090418.095237:eng/test-keys'
I/DEBUG ( 543): pid: 644, tid: 644
38 matches
Mail list logo