Hello,
I am building an app that has a TabActivity with a TabHost that
includes 2 TabSpecs (Maps, List). When the user moves, I want to
update the items shown on the map / in the list. I built a service
that sends the relevant data (an ArrayList) onLocationChanged().
The TabActivity can use the
I'm trying to figure out how to get data from another app's
ContentProvider.
From the docs for ContentProvider (http://developer.android.com/guide/
topics/providers/content-providers.html)
I got that the url format should be:
content://com.example.authority/table_name
I discovered the authority
Figured it out.
Making the url all lower-case letters made the error go away ( even
though table name had capital letters in it ).
On Aug 16, 2:13 am, bw ben.weisb...@gmail.com wrote:
I'm trying to figure out how to get data from another app's
ContentProvider.
From the docs
On Aug 9, 8:34 am, bw ben.weisb...@gmail.com wrote:
Hi,
The docs for ContentProvider (http://developer.android.com/guide/
topics/providers/content-providers.html) show the url format as:
content://com.example.authority/table_name/13
I'm use the following code to find the authority
I'm trying to upload an app to the market, but am getting the
following error.
The icon for your application is not valid. Please use a 48x48 PNG.
I checked my icon and its definately PNG and 48x48. Does anybody know
how to fix this?
-Ben
Ps. I've tried re-creating my eclipse project and
Hi,
The docs for ContentProvider (http://developer.android.com/guide/
topics/providers/content-providers.html) show the url format as:
content://com.example.authority/table_name/13
I'm use the following code to find the authority for a particular 3rd-
party content provider:
Hi,
The docs for ContentProvider (http://developer.android.com/guide/
topics/providers/content-providers.html) show the url format as:
content://com.example.authority/table_name/13
I'm use the following code to find the authority for a particular 3rd-
party content provider:
Hi,
Does the 1.5 update fix/enable using bluetooth headsets' call button -
(eg. hold the button down to start voice dialer, press to pick up a
call, press to end call)?
This doesn't seem to work in the current version of android.
Thanks
-Ben
Try looking at the source code for RingDroid:
http://code.google.com/p/ringdroid/source/checkout
Particularly the CheapAMR and CheapMP3 classes which can read/write
these formats:
http://code.google.com/p/ringdroid/source/browse/#svn/trunk/src/com/ringdroid/soundfile
On Mar 13, 5:27 am,
Hi, the following code works for me.
I was also getting the Start failed. error at one point. Fixed it by
changing my output file extension from .3gpp to .audio
-Ben
final String path = /sdcard/recording + System.currentTimeMillis() +
_ + (int)(Math.random() * 1000)+ .audio;
final
Actually, the dialer is here:
http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree
On Apr 5, 11:52 am, bw ben.weisb...@gmail.com wrote:
The web interface to view android source code is here:
http://android.git.kernel.org/
From there you can get to the phone app
The web interface to view android source code is here:
http://android.git.kernel.org/
From there you can get to the phone app:
http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=tree
-Ben
On Apr 3, 9:05 pm, TJ104 tiny.timmy.t...@gmail.com wrote:
Hello,
First of all,
Try this:
http://awalkingcity.com/blog/?p=140
-Ben
On Feb 11, 12:46 pm, Markus Junginger mar...@junginger.biz wrote:
Future APIs are one thing, using Intents to access existing
functionality is another, imho. Voice search is already here, so the
question for me is if there are Intents to
Issue resolved here:
http://code.google.com/p/android/issues/detail?id=2037
On Feb 19, 2:12 am, bw ben.weisb...@gmail.com wrote:
I found a pseudo-workaround that uses getResources().getConfiguration
().locale.getCountry() and looks up timezone by country code. For any
country that contains
Hi,
I can't figure out how to get the local time zone...
TimeZone.getDefault() returns Pacific Time, while my phone's settings
show the time zone correctly set to EST.
Thanks
-Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
); // Australia
timeZoneOffsetMap.put(BE,+1); // Belgium
timeZoneOffsetMap.put(BW,+2); // Botswana
timeZoneOffsetMap.put(BZ,-6); // Belize
timeZoneOffsetMap.put(CA,-6); // Canada
timeZoneOffsetMap.put(GB,+0); // United
I also couldn't find the solution..
A lookup table/database workaround is posted here:
http://groups.google.com/group/android-developers/browse_thread/thread/3b90b3377af7197
On Jan 22, 9:59 pm, yukinoba ckmagic...@gmail.com wrote:
to dear all Android developers,
I need to know theUTCbias
Hi,
Is there a way to get the NumberPicker widget used in Date and Time
pickers?
-Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Just figured out how to do this programatically, in case anybody else
needs this
public class MyMapActivity extends MapActivity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
RelativeLayout relativeLayout = new RelativeLayout(this);
I had the same problem and got around it by running eclipse with the -
clean flag and creating a new workspace.
-Ben
Based on:
http://www.eclipsezone.com/eclipse/forums/t61566.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Also had to add
uses-permission android:name=android.permission.INTERNET /
above my application tag.
(Source:
http://groups.google.com/group/android-developers/browse_thread/thread/74b47e1e11067865/9d7f0badbc0bbfc5?lnk=gstq=MapView#9d7f0badbc0bbfc5)
Is there some place where this is all
Got it..
This is not a standard package in the Android library. In order to
use it, you must add the following XML element, as a child of the
application element, in your AndroidManifest.xml file:
uses-library android:name=com.google.android.maps /
From:
Hi,
I'm trying to create a new application with a MapView.
When I first create a new Android project in Eclipse, I run it in the
emulator and get the expected Hello, [project name] message.
Then, I try changing Activity to MapActivity and adding a MapView
(I've tried both the xml and the code
To simply debugging of my custom View, I'm trying to draw a border
around it so I can see its exact size/position.
The left and right sides of the border draw correctly, but the top and
bottom end up outside the screen by about 50 pixels.
My guess is that canvas.getHeight() isn't accounting for
24 matches
Mail list logo