Hello,
I am learning about Content Providers, and tried the example from the
official Android tutorial on the topic. Please see the code below:
package com.example.devguide;
import android.app.Activity;
import android.content.ContentUris;
import android.database.Cursor;
i
The usage of intents is a little bit more complex and there are
different options available how to communicate between your two
activities.
Try to understand the basics of intents (action, data, ...)
Basics:
- http://developer.android.com/reference/android/content/Intent.html
When you start an
Hello everyone,
I am trying to build my project using ant. I first generate build.xml
file using "android update project" command. Now i want to run it
using ant. When i type "ant debug" commnad it generates error saying
that package R does not exist while it has already been generated in
gen fol
i have trying sms example.in first few times it was running verry well
in eclips.then i tried some modification so its showing error
unexpectedally closed.then i removed that application n imprted pre
one which was running but now that is also not running n showing the
same error.what should i sup
The code is in the following.
Uri uri=Uri.parse(url);
Intent intent =new Intent();
intent.setDataAndType(uri, "video/*");
intent.setClassName("com.android.camera",
"com.android.camera.MovieView");
i
Welcome!
On Wed, Aug 26, 2009 at 12:04 AM, zero4kevin wrote:
>
> Hi,
> I am the beginner, hope to learn more with you!
> :)
> zero4kevin
>
> >
>
--
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info
--~--~-~--~~~---~--~~
You received
That is good, AppsInstall is only from SD card. Therefore, I need to connect
phone by USB.
On Wed, Aug 26, 2009 at 11:23 AM, Carmen Delessio
wrote:
> Apkatcher also works. Send your APK to gmail & open with apkatcher
> Carmen
>
> On Aug 25, 2009, at 9:02 PM, Michael Leung
> wrote:
>
> Yes, th
Apkatcher also works. Send your APK to gmail & open with apkatcher
Carmen
On Aug 25, 2009, at 9:02 PM, Michael Leung
wrote:
> Yes, that is an app calls AppsInstaller in the Android Market. It
> can do the job you want.
> I have written some instructions about this issue in my blog.
> http:/
Yes, that is an app calls AppsInstaller in the Android Market. It can do
the job you want.
I have written some instructions about this issue in my blog.
http://www.itblogs.info/index.php/2009/07/23/install-android-apps-from-sd-card?blog=6
On Wed, Aug 26, 2009 at 10:08 AM, Yasser wrote:
>
> Hi,
Hi,
I have HTC Magic and I want to install an android app (APK) on it.
I did the following:
1. connected phone to PC and then used HTC sync to synchronize with
windows
2. run adb install command
For this I had to install and setup android SDK and HTC sync. Is there
any simple way of installing a
Don't put it in src/
It's common to put it in libs/ so that if someone wants to compile
your project with the Ant script they can (Ant will import and include
in your final APK any jar files located in libs/), then right click on
it in the Package Explorer view of Eclipse and choose Build Path >
I see that you have changed the location of the user folders (in S:
instead of C:)
When the user location is not the default one, we have seen some cases
where windows reports the location of the user folder differently
depending on which API you use (the command line tool and Eclipse use
a Java
Hello Sire :)
I'm new to Android too, but it sounds like the first option is certainly
do-able. Just modify the current contacts app (assuming it's open source)
and replace one of the current spinners (drop down menus) with the Favorite
food item spinner you wish to add. Modify the contacts dat
I also have the same error.
I've tried creating the AVD on the command line and via the gui in the
Eclipse plugin. Both created the AVD with no problems, but the
emulator still cannot find it.
I've tried running with the configuration set to Automatic, and to
Manual and manually selecting Launc
no need
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginner
Hi Ron,
I found that acquiring a Tmobile G1 on eBay a cheap alternative to
buying an ADP1. You should be able to get a used G1 for about $200,
and a new one for about $300. Make sure you get an unlocked one if
you plan on using it on a network other than Tmobile.
Judging by your email address
He means that you can create and install your own software packages
(.apk files) on your phone, but you won't be able to rewrite parts of
the actual operating system.
On 25 aug, 12:06, Rafa Perfeito wrote:
> Yusuf,
> Does that means that i can, for example, install new Android versions for
> mys
hi!
I just started with android and now i have a problem!
I want to add a button in a tab. In time I just can show text and i don
´t know how i add this button!
my code is:
in the .xml file:
http://schemas.android.com/apk/res/android";
android:id="@android:id/tabhost"
android:layout_wi
Hi all,
I'm new to Android, however I am experienced with C# and Java. I have
never had problems opening or communicating with a database until now.
Every time I try to open/create a database using SQLiteOpenHelper's
built-in getReadableDatabase or getWritableDatabase functions my
program crashes
I have olsa this error.Did you find solution??
On 1 Temmuz, 18:36, Andrew Burgess wrote:
> I don't think you want URLConnection. I believe you'd actually want to set
> up a Socket (http://developer.android.com/reference/java/net/Socket.html)
> instead.
>
> I implemented a simple one in C# a whil
I have also this problem
On 22 Temmuz, 03:18, Bo wrote:
> Dear Sir:
>
> I developed a FTP uploading program which upload the string to a text
> file through FTP. This program only works well as an Java application
> on PC, but when I put the same code to Android application on
> Emulator, Androi
Hi Guys,
afaik its not a huge prob to make a costum listview...
but is there any way to exchange a ScrollView by a listview?
cause atm I have a working layout with a tablelayout in a listview,
using it generic...
but now I want to use a Listview instead without changing everything?
Does anyon
This is a bit hard to explain only using words, but what I'd like to
do is create a xml layout to act as a template for the contents of a
TableLayout. I figured this would be as simple as creating my
template and adding instances of it as children to the TableLayout.
This didn't quite work out, a
Hi!
I am creating an app that uses a lot of different XML files. Because
there are so many I don't like the way SAXParser does it, it would
result in many classes to read all different XML files.
That's why I want to use a more simple XML parser such as dom4j. Does
anyone has experience in impor
Hi,
I am just learn Android development on my Ubuntu, which is guest VM on
my windowsXP host. I tried basic Map application, but could not get
internet from my emulator.
I installed ntlmaps on my Ubuntu and everything can go through ntlmaps
default port 5865 to Internet.So when I start emulato
Hi,
I am the beginner, hope to learn more with you!
:)
zero4kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To u
Hi all. New to Android, so I'm just trying to get a grasp of what's
possible for an application and what's not.
Let's say for example I wanted to add a 'Favorite Food Type' drop-down
box to the contact view UI. This way when you add new contacts, or
modify old ones, you can select a favorite food
Hi,
I try to get the value of a parameter from another activity, but can't
succeed in doing that. I found things about putExtra/getExtra, but
couldn't get it to work unfortunately.
Problem:
I've got a TabActivity called "methodes", which has a TabHost. The
contents of the Tabs are activities, an
hi list, beginner here.
I am getting 3 eclipse errors:
Project 'foo' is missing required Java project: 'bar'
The project cannot be built until build path errors are resolved
Conversion to Dalvik format failed with error 1
anyone seen this?
Thanks
Dejan
--~--~-~--~~~--
Hi calle, I also tried to install application but get package parsing
error. Can't we use file:///data/data/package/files/application.apk.
I downloaded file /files but I cannot install it. Installation code
is below.What may be problem?
String packageName=this.getPackageName() ;
Dear all,
I've just installed repo successfully. But I got an error when using repo
init -u git://android.git.kernel.org/platform/mainfest.git . Here is the error
output:
Traceback (most recent call last):
File "/home/android/mydroid/.repo/repo/main.py", line 235, in
_Main(sys.argv[1:]
test
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-u
why
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-un
Thank you for reply,,
I want to save the history for my application in a file on sdcard.
First i tried to save it as xml and parse it to load...but these actions
take a lot of time..(almost 8 seconds for 20 strings on a HTC Hero device);
this is the code:
package com.app.lookitup2;
import java
Search on ebay or wait a few months, as current owners of the HTC
Magic with 6 month contract (like me), will want to move on to newer
devices.
/Casper
On 24 Aug., 21:01, Ron wrote:
> I need an actual Google phone with GPS to get some idea of what
> applications are out there. I already have a
You don't need a development phone to try out apps. Dev phones are for
people who want to change the OS. Any Android phone with WiFi but no
plan could be used to try out apps.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
auth
Can you post the code that takes a long time? How long does it take,
for how many strings?
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-M
Thanks for the reply but if this is not the recommended way what is
the solution for it. For example i have a list with mails and when i
select given mail there are actions i can perform(delete, reply). What
is the best way to implement this, should i use listview at all.
Thanks in advance.
On Tu
You have not setup the MediaPlayer properly that is why you have an
error. Could you please post your code ?
Also, I guess you mean VideoView not MovieView (although I do some
references to a MovieView in the documentation for MediaStore)
Balwinder Kaur
Open Source Development Center
·T· · ·Mobil
> I have a listview and i want when i select a row to stay selected
The core Android team does not recommend this.
> The problem is that if i change some attribute ( for example
> v.setBackgroundColor(Color.BLACK) ) the selected view no longer stays
> selected.
That is because "selected" is one
ok been messing around with this for a while and still no luck...
so here is the code in full (probably not great code being honest)
public class StartInActivityMonitor extends Activity implements
SensorEventListener{
/** Called when the activity is first created. */
public Sensor
i dont know if you meaning to the last lines of the tutorial
itemizedoverlay.addOverlay(overlayitem);
mapOverlays.add(itemizedoverlay);
that code does not go in HelloItemizedOverlay.java but in the Activity
class
HelloViewMap.java
2009/8/22 John Pszeniczny
>
> Hi, I'm running into a snag on
I have a listview and i want when i select a row to stay selected
after googling i came to this solution:
@Override
protected void onListItemClick(ListView l, View v, int position, long
id) {
// ... rest of the code
v.setSelected(true);
}
I just manually set the selected view to stay selec
I use the movieview.java to playback the movie comes from the
internet.In a activity ,I wrote a Intent that jump to the movieview
and pass the movieview a url.But after several seconds,It is closed
because something is wrong.
__
Yusuf,
Does that means that i can, for example, install new Android versions for
myself in the device? What do you mean by 'modify the OS on the phone'?
On Mon, Aug 24, 2009 at 6:20 PM, Yusuf Saib (T-Mobile USA) <
yusuf.s...@t-mobile.com> wrote:
>
> If you just want to write applications and run
import com.google.googlenav.DrivingDirection;
import com.google.googlenav.map.MapPoint;
I am doing route direction example in mapview
but above these package are not found in lastes sdk
hello sir can u tell me
--~--~-~--~~~---~--~~
You received this message becau
Hi!
I want to save an array with strings.
I try to write in a file and to save it on sdcard but the loading process
get so much time...
Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners"
Hello, when I am trying to run the application for the first time, it
is giving error in console as:
[2009-08-25 12:47:24 - temp] --
[2009-08-25 12:47:24 - temp] Android Launch!
[2009-08-25 12:47:24 - temp] adb is running normally.
[2009-08-25 12:47:24 - temp] Launchin
I'm setting these permissions, but I am not storing file in SD Card by
in data/files/ folder:
On Aug 24, 7:27 pm, Donn Felker wrote:
> Are you setting the SDCard permission properly in the manifest?
>
>
>
>
>
> On Mon, Aug 24, 2009 at 7:22 AM, nitin
49 matches
Mail list logo