for opening in navigation mode try this--
Intent navigation = new Intent(Intent.ACTION_VIEW, Uri.parse(“http://
maps.google.com/maps?
saddr=42.35892,-71.05781&daddr=40.756054,-73.986951”));
startActivity(navigation);
where saddr = latitude and longitude of starting point.
and daddr = latitude an
confirm one more thing:
The sdcard image has been setup when you create the AVD
2009/12/15 Mark Wyszomierski
> Hi,
>
> I'm trying to create a file on the sd card. Using this:
>
> OutputStream out = new FileOutputStream("/sdcard/tmp.jpg");
>
> but that throws a FileNotFoundException. Isn't Out
We found this site some time ago; it's operated by Nick Narbone and
someone named Tony, both in Florida.
We requested that they remove our software, and as far as we could
tell, they did so.
However, they used to have a complete list of their available apps,
but have now redone their site and ta
Hi,
I have tried to draw a horizontal line at the BOTTOM of my linear layout.
Here is my linear layout file:
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="cente
When I call mWifiManager.isWifiEnabled() , program is crash.
my Code is:
-
import android.app.Activity;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.util.Log;
public class HelloWIFI ex
You don't have to do much else apart from uploading the new .apk onto
Android Market. The only thing you have to take care of is versioning
in the AndroidManifest.xml. Excellent resource on that is
http://developer.android.com/guide/publishing/versioning.html
The older posts that you found were pr
Hi,
I want to attach a file as HTTPResponse on Android 1.5. Also the contents of
the file needs to be assigned to some variable.
Does anybody know how to do this.
BR,
Raghu Kiran A
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To pos
Sorry about the previous post. Your code looks ok.
On closer look your LinearLayout "attr_list" is oriented
horizontally (by default) with width/height set to "fill_parent".
Change to android:orientation="vertical" and you will have the
children shown up properly.
Another tip would be to use "i
Megha,
Is there a transcript of previous office hours (just one I believe) /
future office hours?
By transcript I mean exactly what was said during the session,
available for those who were unable to actually be on IRC at that
time.
Thanks,
Chris
On Dec 14, 7:02 pm, Megha Joshi wrote:
> Hi Ev
I am into a situation where i set an alarm for next month. If I change
the date anually to that date, will the alarm fire ? i am setting
alarm through set functio one time alarm.
regards
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
Is the SQLiteDatabase thread-safe?
--
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...@googleg
Hi,
To understand the working of JNI and native library in Android, I have
a written a small sample native library with a method a method
displayHelloWorld() in which i acquired a mutex and write string
"hello" and "world" respectively to a log file. Each write is followed
by a flush().
I glued t
android:theme="@android:style/Theme.Dialog"
android:launchMode="singleTask" /
this worked ... :)
On Dec 17, 11:15 am, Jags wrote:
> or may be can I show an alertDalog from an intent ?
>
> On Dec 17, 8:41 am, Jags wrote:
>
> > nobody attempted it before ? how can i get t
Thanks Murphy I'll post this question to NDK.
On Dec 15, 11:27 pm, Mark Murphy wrote:
> manouwar wrote:
> > Hi,
> > I want to add,delete,update androidContactDatabaseusingnativec
> >code.
> > please tell me how to do if any one have done it.
>
> I do not believe you can, but a better place to ask
To follow up on this, the code that Mark provided pretty much has
everything you need to do the filtering. When the user clicks an item
in the presentation list, Mark has something like:
ResolveInfo launchable = mAdapter.getItem(position);
ActivityInfo activity = launchable.activityInfo;
Com
or may be can I show an alertDalog from an intent ?
On Dec 17, 8:41 am, Jags wrote:
> nobody attempted it before ? how can i get the source code for alarm
> clock app ? is that in java for android ?
>
> On Dec 16, 10:06 pm, Jags wrote:
>
> > how is alarm clock showing its ui in android then ?
>
ok, i did it by starting an activity after the service.
Intent fireAlarm = new Intent(context,
AlarmActivity.class);
fireAlarm.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(fireAlarm);
but Can I make this wh
Hi,
I have a very big chunk of text to display in TextView. I 'm showing
it page by page using a ViewFlipper. I use textView.scrollTo() display
next page. My problem is displays a line part at the top some times.
what can I do to stop this?
Help
--
You received this message because you are subs
No, you can't do this. It should be an FAQ, if it's not. It seems that
none of the views that are based on AdapterView (ListView, GridView,
ScrollView, etc.) can be nested. I just ran into this also.
On Dec 16, 7:43 pm, Abhi wrote:
> Hi,
>
> I have a custom layout with two buttons placed horizon
Hi Sonic,
Please go through the SDK sample applications on local
service.
Thanks
Ashok
On Wed, Dec 16, 2009 at 11:59 AM, Sonic.. wrote:
> Hello,
>
> I am working on an android application, where the activity binds to a
> local service to perform certain tasks.
>
> Now I am bindi
Try storing the newly spawned thread as a field or collection in the
appropriate class. Then when you need to kill the thread, retrieve it
and call Thread.interrupt().
Matt
On Dec 9, 6:15 pm, Richard Zhao wrote:
> My problem is:
> Activity A called Activity B, and in Activity B, it start a back
This hopefully should work,
LayoutInflater layoutInflater = LayoutInflater.from(getBaseContext());
(or get it as a Service)
View childView = layoutInflater.inflate(R.layout.child_item, null);
group.addView(childView); ( // add it to any ViewGroup)
-Chander
On Dec 16, 11:09 pm, Ben Griffiths
wr
Short answer:
Unfortunately, you have to track it yourself.
On Dec 16, 9:36 pm, Jeremiah Sellars wrote:
> This where using GL_MODELVIEW_MATRIX didn't seem to populate the
> buffer with anything, this did actually work to some extent. However,
> calling this right after gl.glLoadIdentity() put va
Also to note, many of the apps on the phone (outside of the OS) are
proprietary, and the source is not available. One of notable mention is the
Market.
- Dan
On Wed, Dec 16, 2009 at 11:01 PM, Frank Weiss wrote:
> Source.android.com
>
> On Dec 16, 2009 7:38 PM, "Michael J" wrote:
>
> Is there
Source.android.com
On Dec 16, 2009 7:38 PM, "Michael J" wrote:
Is there an easy way of getting the Android source code?
More than anything else, I just want to be able to look at the source
for some of the standard apps, such as the Android Market, Contacts,
etc.
I took a look at dev.android.c
I'm having trouble setting the default notification ringtone to
silent. Here's my code:
RingtoneManager.setActualDefaultRingtoneUri(mContext,
RingtoneManager.TYPE_NOTIFICATION, (Uri) null);
But the ringtone doesn't get set to silent, it continues to play the
previous default ringtone.
Can anyon
Is there an easy way of getting the Android source code?
More than anything else, I just want to be able to look at the source
for some of the standard apps, such as the Android Market, Contacts,
etc.
I took a look at dev.android.com, but I don't see an easy way of
getting the source I'm looking
This where using GL_MODELVIEW_MATRIX didn't seem to populate the
buffer with anything, this did actually work to some extent. However,
calling this right after gl.glLoadIdentity() put values in the buffer
in the 0, 5, 12 and 15th positions as expected, but instead of 1, or
65536 the values there ar
Hi
I am new to Android network application develop, I am trying to set the
timeout with my HTTP request by using DefaultHttpClient.
Sometimes I found that the TimeOut parameter has no effect, and the program
will be blocking at the execute() method. Here is the outline of my code:
--
Htt
Hi,
I have a custom layout with two buttons placed horizontally on top,
textview below them and two buttons placed horizontally at the bottom
of the screen. The space in between the textview and the buttons at
the bottom is used for my custom listview of 6 items.
The complete layout is defined as
nobody attempted it before ? how can i get the source code for alarm
clock app ? is that in java for android ?
On Dec 16, 10:06 pm, Jags wrote:
> how is alarm clock showing its ui in android then ?
>
> little baffling though.
>
> On Dec 16, 10:35 pm, Jags wrote:
>
> > I dont understand even if m
Hi Nithin,
Thanks for your reply. The layout that i am talking about is the one
that i saw in Amazon Mp3 application. If you observe there, one list
item has two parts in it. and both can focussed individually with your
left and right keys. I want to do something similar to that.
On Dec 16, 2:
Great. Thank you very much.
On 12月17日, 上午6时20分, fadden wrote:
> On Dec 16, 9:05 am, "William.lw.w" wrote:
>
> > When I run it, it report below error:
> > 12-16 23:49:54.307: WARN/dalvikvm(653): JNI WARNING: method declared
> > to return 'Ljava/nio/ByteBuffer;' returned 'Ljava/nio/
> > ReadWriteD
Hi All,
Can I download the facebook application in Droid? or it is not open source
in Android project.
Thank you so much
James
--
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@google
> But org.apache.harmony.* are packages rather than APIs.
android.jar only contains classes that are part of the SDK's public API.
The classes in the org.apache.harmony.* package are not part of the SDK's
public API.
Remember that android.jar has nothing to do with Android as it exists on
devices
Very useful thread, thanks a lot!
I'm using a similar solution like yours, the difference is that my
"finish();" is located in onStop. So it is only finished when it can
not be seen from the user, I feel this is a little bit better than
onPause.
they say
"Prior to 2.0 multiple surfaces on top of
But org.apache.harmony.* are packages rather than APIs. If there are
no such packages included in android.jar, how can these packages be
imported by other java code?
Thanks.
On 12月16日, 下午5时46分, Romain Guy wrote:
> Because these are private APIs so they are not available in android.jar.
>
>
>
> O
So you are saying it doesn't work if the buffer is exactly the same
size as the data you are writing? Also double check your data sizes,
you are writing shorts so make sure if the buffersize is to be
expressed in shorts or in bytes. One last thing, java is big endian,
try to check that the buffer d
> So I guess beceause I forgot the 'row.' I go my first created row and
> had it overwritten all the time. Is that correct?
Well, more accurately, by leaving off "row.", you were asking the
*activity* to give you a widget based upon its ID, and it gave you the
first one it encountered. I would not
> Here is an excerpt from one of my books that discusses the process:
>
> http://commonsware.com/Android/excerpt.pdf
I tried the examples coming with the SDK in combination with some more
advanced stuff I found online but didn't work.
I now had a look at Mark's PDF and modified some things and fou
With respect to the unreliable delay between events there are 2
reasons for this:
1) you don't receive an event when the value doesn't change.
2) there is a known bug in SensorManager where the thread pulling the
events out of the h/w queue is running at the same priority than the
UI thread (DISPL
@Mark
Thanks for the link, that's basically exactly what I need to do this.
@Craig
Yeah, it definitely looks like an issue with the Facebook app. I have
to find a workaround for this, my users will just think it's a bug
with my app rather than Facebook. One other benefit is that I can use
this wor
In android, there are 2 styles,
android:theme="@android:style/Theme.Translucent"
android:theme="@android:style/Theme.NoTitleBar"
How can I combine them together for my activity so that it is both
Trnaslucent and has no title bar?
Thank you.
--
You received this message because you are subscrib
Hello,
I have double checked the code that returns the sensor list and it
seems correct.
You definitely don't want to use SensorManager.SENSOR_ACCELEROMETER,
which is a deprecated constant for the 1.0 API.
The correct way to retrieve a sensor is to do the following:
Sensor s = getDefaultSensor(
Does an app developer need to do something peculiar in code to get a
newer version of an uploaded app to show up in the notification bar on
installed users' phone? I am reading comments that vary wildly and I
can neither determine if the message content I am reading is relevant
or current. With t
FYI: This is really a bug with Facebooks Facebook app (it incorrectly
directs to the mobile link sharing). If you use ACTION_SEND and chose
other Facebook apps (I think I tested FBabble), it works.
On Dec 17, 10:41 am, "Mark Murphy" wrote:
> > How could I find the cool little icons that each a
If there is complete documentation describing the valid elements and
attributes allowed for creating a drawable in XML, I have not been
able to find it. I see snippets here and there of how to kinda, sorta
do things with XML drawables, but that is not sufficient. At the very
least, I would love t
> How could I find the cool little icons that each app uses to go with
> my own picker dialog?
getApplicationInfo() or getActivityInfo() on PackageManager should have
what you need.
You can also take a look at my Launchalot sample for some ideas:
http://github.com/commonsguy/cw-advandroid/tree/m
Oh looks like this will work:
List activityList = pm.queryIntentActivities
(sendIntent, 0);
for (int i = 0; i < activityList.size(); i++) {
ResolveInfo app = activityList.get(i);
Drawable d = app.icon;
Log.e("###", "Name: " + app.activityInfo.name);
}
I'll put together a picker
Ok so I can get a list of names which will match my intent with the
following:
// Get apps which can handle text/plain (or at least claim to).
Intent sendIntent = new Intent(Intent.ACTION_SEND, null);
sendIntent.addCategory(Intent.CATEGORY_DEFAULT);
sendIntent.setType("text/plain");
Pack
You can't do it at runtime, it needs to be published in your manifest. You
can enable/disable the component at runtime if you want.
On Wed, Dec 16, 2009 at 3:13 PM, Keean Schupke wrote:
> How can I register a sync-service programmatically?
>
> For example:
>
> android:name="com.example.test.Sy
You should be nice. As of 1.6, processes running in the background have
their threads forced into a background scheduling class so they can't
disrupt the foreground UI.
On Wed, Dec 16, 2009 at 3:05 PM, Christine wrote:
> I have two apps that use a service to upload and download files and
> data.
> Hi,
>
> I have a layout xml file which embeds a ListView:
> android:layout_height="0dip" android:layout_weight="1"
> android:scrollbarStyle="outsideOverlay"
> android:fillViewport="true">
> android:layout_width="fill_parent"
> android:layout_height=
Hi,
I have a layout xml file which embeds a ListView:
I have an adapter to bind/build views for the ListView. It works okay
in portrait mode.
But when I rotate the device (the height of the screen is shorter, the whole
complete does not fit), there is
> Trying to a share a bit of text using ACTION_SEND. Facebook will popup
> as an app capable of handling this, but fails to handle the intent
> correctly. Using this:
>
> Intent intent = new Intent(Intent.ACTION_SEND);
> intent .setType("text/plain");
> intent .putExtra(android.content.
Hi,
Trying to a share a bit of text using ACTION_SEND. Facebook will popup
as an app capable of handling this, but fails to handle the intent
correctly. Using this:
Intent intent = new Intent(Intent.ACTION_SEND);
intent .setType("text/plain");
intent .putExtra(android.content.Intent.E
Hi everyone,
This is a quick reminder that we will be hosting IRC office hours tomorrow
5:00-6:00 pm PST in the #android-dev IRC channel.
Please post/vote your questions for tomorrow's office hours at the link
below and we will try to answer as many as we can in the hour:
http://moderator.appspo
How can I register a sync-service programmatically?
For example:
How would I register this service at run-time?
Cheers,
Keean.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
On Dec 16, 11:40 pm, Dirk Vranckaert wrote:
> I'm trying to use a ListView but can't get it to work. Is there any
> good example?
Actually, the Android samples that are available on the Android
developer web site contain a number of good examples. In using a List
view, there's a trade off betwee
I have two apps that use a service to upload and download files and
data. I've noticed that when the service gets very busy, it can cause
the UI to block, up to the point that Android shows a "force quit/
wait" popup. In order to avoid that, I run tasks in a service at a
lower priority. This way, t
Thanks for your reply,
I set the buffer to be exactly twice the length of the array of
shorts, and ensure that it is still greater than the min buffer size,
but this doesn't seem to change anything.
Logcat doesn't contain any errors ...
On Dec 17, 9:35 am, niko20 wrote:
> Also, be aware that in
> I'm trying to use a ListView but can't get it to work. Is there any
> good example?
> I get some data from the web and then want to parse it into the
> ListView. The way I tried it was with a custom written ArrayAdapter
> but I then get some rendering issues, for example no data is shown and
> wh
take a look in the apidemos sample application included in the sdk?
lots of list examples in there.
>Some extra help:
>
>watchlist.xml => http://pastebin.com/f738bc9d6
>episode_row.xml => http://pastebin.com/f27442ce7
>the activity: http://pastebin.com/f53a0df
>
>kind regards,
>
>Dirk
>
>--
>Yo
Some extra help:
watchlist.xml => http://pastebin.com/f738bc9d6
episode_row.xml => http://pastebin.com/f27442ce7
the activity: http://pastebin.com/f53a0df
kind regards,
Dirk
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
Hi all there,
I'm trying to use a ListView but can't get it to work. Is there any
good example?
I get some data from the web and then want to parse it into the
ListView. The way I tried it was with a custom written ArrayAdapter
but I then get some rendering issues, for example no data is shown and
On Dec 16, 9:05 am, "William.lw.w" wrote:
> When I run it, it report below error:
> 12-16 23:49:54.307: WARN/dalvikvm(653): JNI WARNING: method declared
> to return 'Ljava/nio/ByteBuffer;' returned 'Ljava/nio/
> ReadWriteDirectByteBuffer;'
> 12-16 23:49:54.307: WARN/dalvikvm(653): fai
Some times it takes quite a while for it to start up. Let it stay
there for 10 to 15 minutes.
On Dec 15, 10:46 pm, Ph4nut wrote:
> Hi,every one!
> I am new here!
> I did download the Android SDK 1.3r and Java SE SDK6,after install the
> two successfully,I execute the emulator and it did not start
Hi,
I have a need to create cursor object and want to put data inside
cursor.
MatrixCursor is there to help me this problem, but in MatrixCursor, if
I put blob value in addRow(object[]) method, I can't get it back by
using getBlob() method.
So I thought to dig into source code, and I found out th
Worked out how to do this. I then used it to create a reflection
effect, for reference, and if anyone is interested, here's how to do
it:
http://www.inter-fuser.com/2009/12/android-reflections-with-bitmaps.html
On Dec 11, 12:49 pm, Taf wrote:
> Hi,
>
> I'm trying to apply an Alpha gradient to a
Try just using adb pull /data/anr/traces.txt /PC/YOUR_FOLDER
On Dec 16, 5:37 am, Business Talk
wrote:
> I am trying to debug my device from a windows system with no IDE, just
> the android sdk, jdk and jre. I am using the ddms to do so. I works
> fine. I can see the entries in the logcat in the d
Hi Ward,
> and also (a la J2ME) modify some of the source files before we
> compile them. We also make different modifications depending on
> whether it is a debug or release build.
how do you modify source code from ant scripts?
I'd like to preprocess my souce code, but I don't see a clean wa
Hello,
I am having problems with OpenGL textures being displayed on the Acer
Liquid and Moto Milestone. My app does a lot of OpenGL rendering on
top of a camera view and runs just fine on most other phones including
the Motorola DROID (very similar to the Milestone).
I make heavy use of VBOs alth
I asked about this in a T-Mobile Partner Network Forum. I was told
that more details are to come, but was directed to this FAQ:
https://developer.t-mobile.com/site/global/partner_hubs/android/faq/p_android_billing_faq.jsp
It seems as though sales will continue to show in the Checkout portal.
Still
I know I could use it and I think others have mentioned they would
like to use it in their apps. Currently it is "internal" so we're not
supposed to use it and we have to "roll our own" which is a pain (I've
done it).
Also why does DatePicker only have a 200 year range (1900-2100)?
Even the date
What uses layout-large? layout-long is used by my droid.
On Dec 16, 7:18 am, Dilli wrote:
> Hi all,
>
> I have created layout-large and testing against android 2.0.1 WVGA.
> however, its picking layout-normal.
> Can anybody suggest me what I am doing wrong.
> Even though, I have 3 layouts ( layo
Hi,
try calling flush() just before stop, release. Otherwise I don't know
- it's why the size of buffer you choose is important, big enough to
not gap out, but small enough to be responsive.
-niko
On Dec 15, 11:33 pm, Business Talk
wrote:
> It doesn't seems as if the the stop and release immedi
Also, be aware that in STREAM mode that sounds won't play until the
buffer is full. If your buffer is bigger than your sound then you have
to write out zero's to finish filling it. In Stream mode you can
certainly write before calling play(), but nothing will play until
that buffer is full. I belie
Hi,
Have you seen any error messages in logcat?
Did you make sure to call getMinBufferSize() before you load the
Audiotrack, to make sure you are allocating the correct amount of
buffer?
-niko
On Dec 15, 7:36 pm, MarkNZ wrote:
> Hi, I am trying to play a 0.1s tone using audio track. I have don
I can't figure out how to use the built-in Uri stuff to build Uris
that will work in the Google Maps interface.
Here's my program:
package com.eyebrowsoftware.example;
import java.util.LinkedList;
import android.app.ListActivity;
import android.net.Uri;
import android.os.Bundle;
import an
On Dec 16, 2:25 pm, Haravikk wrote:
> I can't say for sure but I doubt that would work; as .zip files can't
> really be modified in place without generating a whole new zip-file
> every time.
There is following interesting method in AssetFileDescriptor:
public FileOutputStream createOutputStr
The Android SDK is currently version r04 (the modular one). Try the
latest instructions with the latest versions.
http://developer.android.com/sdk/index.html#quickstart
If you get failures, check the logcat output with the IDE view (using
Eclipse?) or with adb.
On Dec 15, 10:46 pm, Ph4nut wrote
You might have to narrow that down and be more specific to get a
focused response.
On Dec 16, 12:44 pm, rohitspage wrote:
> Hi! Folks
> I am looking for a free SAAS provider that I could use to accomplish
> the following.
> a. CRUD data using webservices or someother compatible mechanism.
>
> Any
Hi Romain,
thanks for your answers. I didn't knew the Cursor is loaded lazily.
But now this is no more mystery for me :)
I reduced my table and the Cursor works significantly faster now.
best regards
On Dec 15, 7:26 pm, Romain Guy wrote:
> Hi,
>
> The query doesn't actually do much. TheCursoris
>
> I've three different .apk files for all three SDK.
You should probably be using the latest SDK with your minSDK set to 3 (for
1.5) and using reflection to do things that are different across the API
levels.
How can i upload three different .apk files on Android Market Place for
> single appl
http://groups.google.com/group/android-developers/browse_thread/thread/9c335071c7919d80/827167f6a3dc08ee#827167f6a3dc08ee
Same issue, I resolved it by calling finish() when the onPause()
function gets called (ie when home is pressed). This totally stops the
activity, and then next time it starts,
Is it possible to change the background color, style of the Menu
items?
Thanks,
Abhishek
--
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 gro
Hi Vijay,
check this,
http://www.androidsnippets.org/snippets/125/
in this , they are using textView and ImageView, else use button and
the text as you require. I feel they made it complex.
You can make it simpler as you wish. You can take the core from it.
On Dec 16, 11:58 pm, vijay bhushan wr
I don't have any advice, I'm just very interested in hearing if and
how you make an progress diagnosing, debugging and fixing this sort of
issue. I'm still trying to fix what looks like memory leak in my
app. All I have succeeded in doing is reducing the total memory used,
thereby making the bug
The way i want it is, per row there will be a text and is followed by a
right arrow button, so that the user can click on that button to edit the
content of that row. If the user is using the keypad, by using the left and
right buttons on the keypad , he should be able to select the textview or
the
Hi all,
When using Email app to send mail, it should be able to attach any
type of files. But the Email app embedded in SDK can't do this. I try
to modify onAddAttachment() method in
com.android.email.activity.MessageCompose class as following
i.setType(Email.ACCEPTABLE_ATTACHMENT_SEND_TYPES[
Hello everyone,
I am trying to send a sms throughout an application. I want the user
to be redirected to the default sms interface, but I want to give in
parameter the phone number of the receiver of the sms.
Here is my code:
Intent m_intent = new Intent(Intent.ACTION_VIEW);
m_intent.putExtra(Int
I noticed that he add GLSurfaceView first and then camera preview
surface...
This is exactly the sequence I used, my experiment shows that it only
works for a fresh start. When you resume from another task, the
GLSurfaceView will be under the camera preview and cannot be seen.
Now I have to manuall
Hi all,
I've a question about generating XML reports after unit tests. I want
to move build process to Hudson build server. It has plugins, which
can read JUnit and Emma reports in XML file format, parse them and
view in nice looking way. My first thought was to create ant
buildifle in which I wou
Hi expert,
This is about the Android JNI. My apps return a buffer from native to
java by jni NewDirectByteBuffer interface.
The Java method declared as:
public native ByteBuffer readData(int flags);
The JNI native method is as follows:
JNIEXPORT jobject JNICALL Java_com_lw_DataParser_
Hi!
I think the code help you:
public int addImage(byte[] data, int offset, int numBytes)
{
if(mSQLLiteDataBase != null)
{
if(offset >= 0 && numBytes > 0)
{
byte[] bzMid = null;
if(offset == 0 && numBytes == data.leng
BitmapFactory.decodeStream sometimes returns null
Try new BufferedHttpEntity (entity);
before calling getContent()
On Oct 27, 7:45 pm, Tom wrote:
> Hi,
>
> I was having the same problem. It stoped when i gave the images i was
> loading the header Content-Length.
>
> Hope this helps.
>
> On 21
There's no guarantee that onDestroy() will be called, only onPause()
does. I don't think you can assure the process not being killed. The
only solution might be a hook before the process is killed. I'm
interested in what kind of hook exist too.
Roy
On Dec 15, 11:15 am, Don Park wrote:
> A servi
Hi, I am also experiencing this same issue where G1.6 emulator proxy
works with APN settings but trying to use G2.0 fails to access the
internet (APN fails, -http-proxy fails).
I have tried the above recommended steps - all with the same result
"Web page not available"
My debug proxy output for C
Hi! Folks
I am looking for a free SAAS provider that I could use to accomplish
the following.
a. CRUD data using webservices or someother compatible mechanism.
Any ideas would be great.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To po
Hello,
I am working on an android application, where the activity binds to a
local service to perform certain tasks.
Now I am binding the service in the OnCreate method of the Activity,
after which the activity has to use the service object to invoke the
functionality defined in the servicein the
1 - 100 of 184 matches
Mail list logo