am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
...
i got 2 java files app.java and gallaery.java
App.java
public class App extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button Listvideo = (Button) findViewById(R.id.Listvideo);
Listvideo.setO...
Hi
I'm wondering which is the best way to communicate between a Service and an activity..
Broadcast intent
Callback
others?...
Bye
...
An OnItemClickListener for a ListView has the following method:
@Override
public void onItemClick(AdapterView<?> parent, View v, int position, long id)
I'd like to have the adapter behind the ListView refresh, and I believe this is done through the use of:
BaseAdapter.notifyDataSetChanged()
How do I use the parent parameter in the ...
rofessional Android 2 Application Development (Wrox Programmer to Programmer)
http://www.amazon.com/Professional-Android-Application-Development-Programmer/dp/0470565527/ref=sr_1_1?ie=UTF8&s=books&qid=1274289231&sr=8-1
This has about 13 comments with the majority being 4 and 5 stars
And this one for the Java reference.
Java...
I am trying to create something like a rectangular grid with pictures. When a picture is clicked, it should zoom in pushing the other ones out. I don't know what you name you call this particular model with but does anyone have suggestions on where I should start?
Collage Example
...
How do I make an activity full screen? I mean without the notification bar. Any ideas?
...
Hi,
I am developing a microblogging platform in which I need to populate the page with Post (user defined class with fields) obtained from the Django server using HttpGet.
In the client side(Android) I am using GSON to parse the responses from server to the type Post. So I require that server should send Post's one by one so as to add...
Hi I'm developing a game for android using OpenGL es and have hit a problem:
My game loads fine in the emulator (windows xp and vista from eclipse), it also loads fine on a T-Mobile G2 (HTC Hero) however when I load it on my new HTC Desire none of the textures appear to load correctly (or at all). I'm suspecting the BitmapFactory.decode...
Hello!
Is there a (simple) possibility for turning the mobile network on/off with Java code?
If so, for mobile service too?
'Cause I'd like to make an app which turns the network on and service off (or the opposite).
Thanks for help.
...
On the stock Droid and Nexus One, an intent like this:
new Intent(Intent.ACTION_VIEW).setDataAndType(Uri.parse("http://example.com/somemp3.mp3"), "audio/mp3");
works just fine and pops open the system music player to stream the file. But it doesn't match any activities on the HTC Incredible, causing a force-close when I call startActiv...
I am doing a custom title for my android app and I want to have a refresh button like the Twitter app.
I am using a RelativeLayout an my ImageView is defined by:
<ImageView android:id="@+id/title_refresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_menu_refresh"
andr...
I want to start making a program for a local charity on the Android platform.
Where can go I for resources and tutorials to learn? I'm very new at this, so would like something simple that can be followed by someone with minimal technical knowledge.
...
Hi there,
I'm building a google map application that marks several points on the map. I'm currently trying to get the dialog box to appear when the marker is clicked. Right now, the markers appear at the right places but when i click them, the entire application stops unexpectedly/forced to close. Does anyone have any suggestions on wha...
So, I'm new to developing apps (altogether) and I thought that it would be fun to start out on the Android. I did the test with "HelloAndroid" app, but I have no clue on how to run the app on my phone via Eclipse. I remember reading about it a long time ago (sometime in February) but I have no idea where to find it. Any help, here?
...
I have a big problem.
When I lauch my MapActivity this launch the ilegal argument. I think that i check all
1) add map.jar from api 3 to eclipse
2) I obtain a api key
3) In androidmanifest I have putted the uses-library and te internet permision
4) I launch the google api emulator for api 3.
5) I dont know that i can try.
Please, any ...
Android 2.1 (not sure how much that matters) My test hardware is a Motorola Droid (not sure how much that matters either)
I want to push a bookmark/internet-shortcut to a user's home screen as a result of them clicking on a link - via their browser of choice.
I know they can usually set the bookmark themselves and then choose to put ...
I am trying to inflate an ImageView that scales a Drawable that I can display in a GalleryView. My code to inflate the view seems to work fine, except that the attributes of the ImageView are not applied. Specifically, the inflated ImageView does not have the width/height that I set for it via the android:layout params in XML.
Can som...
so the idea is produce some analog data into phone via audio jack OUTPUT, so please, let me know the API function calls please!
...
Can someone clarify - if in my activity, I leave to call an intent via startActivityForResult (such as take a picture), when users return to my app, what is the entry point for that activity? Is it onCreate, onStart, or onResume?
Thanks!
...