[android-developers] Integrate BBM in Android Apps
Hi All I am working on Android app in which has an option to connect with BBM contact(PIN). Is there any API is available for achieve this. How we can do this in Android . Any help is thankful -- -- ωιтн яєgαя∂ѕ Ratheesh ... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Detect if an outgoing call has been answered
How to detect if an outgoing call has been answered. i have gone through several docs and i dint find any correct solution. Can any one please suggest me how to solve this issue This is one of the link i refered http://stackoverflow.com/questions/2250455/detect-if-an-outgoing-call-has-been-answered?rq=1 Expect a quick reply -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] herbew text
Dear all, In My app i need to show the herbew text in text view . it workimg in android OS 4 text view but not in the OS 2 textview . is any solution for solving this issue.please help i have use the vweb view intead of text view but it shows gibberish text in LG device please find any solution -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] auto install widget
Dear all, is there any way to auto install the widget when the app get installed? i got an answer from stack overflow please confirm this answer is right or not. http://stackoverflow.com/questions/5101989/create-widget-on-application-installation -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] video steaming in android
Dear All In my Android app i am playing video from a remote server, for that i use video view with the video url. The problem is the video uploaded from my phone to server is not playing in the device. from the server side they are converting and stored into mp4 format. To stream a video from url need any coding in android side? if the server need to add any streaming functions in php(server side) ? please anyone help -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] site hangs when the app runs
Dear all, In my app uses remote database to get the values to the mobile . in my database(site1 ) contain more than 2 lakh users. when i start my app in mobile the cpu usage of the remote site reaches above 100% and finally the site hangs and stop the app. in my app i am using gps location and number of http requests. if any suggest me that what is the reason behind this -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: site hangs when the app runs
but running the same app of iphone does not cause the cpu usage . is it an error of api ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: site hangs when the app runs
we have used select query to get the data from server and we have optimized the query. if it like OIN between two humongous tables will defenitly cause an issue in iphone ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Text inside the spinner view overlaps arrow
no .. we are not using any image background for spinner , this is the default simple spinner image. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Text inside the spinner view overlaps arrow
Please reply its urgent !!! -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Facebook Integration in AppMobi
*Hi* * * I am working on a social networking app , on that i need to integrate facebook , i searched about the appmobil Facebook integration but i didn't get any tutorials regarding that , if anyone have an idea about the Facebook integration please help me , is there any separate api for Appmobi -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to insert image in text view
use android:bakground property of text view. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Image upload is Crashing in htc
i solve that issue , it is because of the image size -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Image upload is Crashing in htc
Hi I am developing an app to upload image to a php server from the android phone , it is working fine on all device except the htc and galaxy s2 , in both of these phone we are trying to upload more than 2 photos the app will forcely close , please give any solution for this . -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re : Encryption
use any encryption algorithm like SHA1 or DES -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ProgressDialog with Thread
you can use asynchronous task for this purpose.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] keyboard dismissing issue
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(uicontrol object.getWindowToken(), 0); uicontrol object edittext, listview which causes to show soft keyboard -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] to know about how to use variable accross differnt activities
create a separate activity and declare all the variables as public -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] keyboard dismissing issue
add android:windowSoftInputMode=stateHidden to the activity tag in manifest file -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Rounded image view
you can use the image helper class to make rounded border package com.Skadate; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Bitmap.Config; import android.graphics.PorterDuff.Mode; public class ImageHelper { public static Bitmap getRoundedCornerBitmap(Bitmap bitmap, int pixels) { Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap .getHeight(), Config.ARGB_); Canvas canvas = new Canvas(output); final int color = 0xff424242; final Paint paint = new Paint(); final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); final RectF rectF = new RectF(rect); final float roundPx = pixels; paint.setAntiAlias(true); canvas.drawARGB(0, 0, 0, 0); paint.setColor(color); canvas.drawRoundRect(rectF, roundPx, roundPx, paint); paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN)); canvas.drawBitmap(bitmap, rect, rect, paint); return output; } } in java file bitmap=ImageHelper.getRoundedCornerBitmap(yourbitmap); -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re : Grid View
for passing a data to the next activity you can use putextra function.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Re : Grid View
Plse go through this , it may help you. http://stackoverflow.com/questions/8373041/android-grid-view-display-caption-below-each-grid -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to create a sms database table to store inbox messages in Android
you need to store the the message in sqlite db ? use the content resolver to get the message details and we can store it on a text file or a separate database -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] animation for splash screen
use fade_in animation in android -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] shadow under tabs android
set the property of tab widget to android:layout_marginBottom=-6dip it may work -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] help on uploading image to server
In multiaprt http pst you need to pass the byte array , here you are passing the file body -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Disabled EditText is not working properly...?
u can use visibility property in java code -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Net Work slow
catch the timed out exception and solve the issue. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re : onclick button
while clicking one image , start a new activity and pass the image to that activity and display the image on that activity..include the activity name in manifest also... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lock baloon in Mapview?
paste the code .. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to change the font size in gridview
http://stackoverflow.com/questions/4014845/how-to-reduce-the-font-size-in-grid-view-in-android -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] back button in actiovity group
try this public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { moveTaskToBack(true); return true; } return super.onKeyDown(keyCode, event); } public void backButtonPressed(View v) { //do this } -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lack of clarity in image
check the image is thumbnail or full sized. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] focus the last element of scroll view
i created a scroll view in xml.. i set the height of the scroll view as wrap content ...and i add one linear layout to this scroll view programmaticaly what is my issue is when we add more content to the linear layout i want to focus the last element in the scroll view ? how it is possible... here is my code sv1= (ScrollView) findViewById(R.id.scrollView1); LinearLayout linearLayout = (LinearLayout)findViewById(R.id.LinearLayout01); LinearLayout linearLayout1=new LinearLayout(this); // linearLayout.setGravity(gravity) LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT); chat_content =new TextView(this);chat_content.setText(msg); chat_content.setTextColor(getResources().getColor(R.color.black)); chat_content.setGravity(Gravity.LEFT); linearLayout1.setGravity(Gravity.LEFT); params.setMargins(1, 5, 1, 5); linearLayout1.setLayoutParams(params); chat_content.setBackgroundDrawable(chatleft); chat_content.setPadding(10,1, 10, 1); chat_content.setGravity(android.view.Gravity.CENTER_VERTICAL); TextView tv1 =new TextView(this); chat_content.setLayoutParams(new LinearLayout.LayoutParams(180, LayoutParams.WRAP_CONTENT)); linearLayout1.addView(chat_content);linearLayout1.addView(tv1); linearLayout.addView(linearLayout1) ; sv1 .fullScroll(View.FOCUS_DOWN); after running this code i cant see the last element in the scroll view...i want to fucus the last elemnt in the scrolviwhelp me -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Custom layout addView issue
i guess width of relative layout lp1 to fill parent.. give full code ...(pic,name ,deletebutton?)...?? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How can i Assign a id to view Programmatically?
TextView valueTV = new TextView(this); valueTV.setText(hallo hallo); valueTV.setId(5); valueTV.setLayoutParams(new LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Json Error “org.json.JSONException: End of input at character 0 of ”
paste the error log.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] grid view is not showing remote images
i am developing an app which shows thumbnail of images using grid view i created image adapter class to get the thumbnail images , but it is not working plse help me(force close) here is my code package com.playswf; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.ImageView; public class playswf extends Activity { String[] imageURLs = new String[100]; Bitmap bitmap; ArrayListStringlist=new ArrayListString(); public JSONObject json; int count; // String[] mylist =new String[100]; //private ImageAdapter imageAdapter; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //getimageurl(); GridView sdcardImages = (GridView) findViewById(R.id.gridview); list.add(http://works.sodprojects.com/mobile/$userfiles/thumb_82_431_39.jpg ); list.add(http://works.sodprojects.com/mobile/$userfiles/thumb_82_431_39.jpg ); list.add(http://works.sodprojects.com/mobile/$userfiles/thumb_82_431_39.jpg ); sdcardImages.setAdapter(new ImageAdapter(this)); // Toast.makeText(getBaseContext(), // selected+ list.toString() , // Toast.LENGTH_SHORT).show(); } private class ImageAdapter extends BaseAdapter { private final Context context; public ImageAdapter(Context localContext) { context = localContext; } public int getCount() { return list.size(); } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { ImageView picturesView; if (convertView == null) { picturesView = new ImageView(context); for(int i=0;ilist.size();i++) { Bitmap mBitmap = BitmapFactory.decodeFile(list.get(i)); picturesView.setImageBitmap(mBitmap); } picturesView.setScaleType(ImageView.ScaleType.FIT_CENTER); picturesView.setPadding(8, 8, 8, 8); picturesView.setLayoutParams(new GridView.LayoutParams(100, 100)); } else { picturesView = (ImageView)convertView; } return picturesView; } } private ArrayListString getimageurl() { json =JsonImplementation.getJSONfromURL( http://works.sodprojects.com/mobile/mobile/ViewPhotos/?id=82;); // Toast.makeText(getBaseContext(), //selected+ json .toString(), // Toast.LENGTH_SHORT).show(); try{ JSONArray data = json.getJSONArray(result); count =data.length(); for(int i=0;idata.length();i++){ JSONObject e = data.getJSONObject(i); //getting the value of message_id and conversation_id //MainActivity.MESSAGE_ID=e.getString(username); list.add(http://works.sodprojects.com/mobile/+e.getString(Photo)); //list[i]=http://works.sodprojects.com/mobile/+e.getString(Photo); } /// Toast.makeText(getBaseContext(), //selected+ mylist[0], //Toast.LENGTH_SHORT).show(); } catch(JSONException e){ Log.e(log_tag, Error parsing data +e.toString()); } return list; // TODO Auto-generated method stub } public static Bitmap downloadFile(String fileUrl){ Bitmap bmImg = null; URL myFileUrl =null; try { myFileUrl= new URL(fileUrl); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } try { HttpURLConnection conn= (HttpURLConnection)myFileUrl.openConnection(); conn.setDoInput(true); conn.connect(); InputStream is = conn.getInputStream(); bmImg = BitmapFactory.decodeStream(is); // imView.setImageBitmap(bmImg); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return bmImg; } } xml file ?xml version=1.0 encoding=utf-8? GridView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/gridview android:layout_width=fill_parent
Re: [android-developers] About Phone GAP
me also -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: NoClassDefFoundError
paste the code... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to decompose .apk file
procedure to decoding .apk files---step wise method-- step 1: = make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage you are able to see drawable but not xml and java file... so cont... step 2: === now extract this zip apk file in the same folder(in this eg or case NEW FOLDER). now dowmload dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to the same folder (in this case NEW FOLDER).now open command prompt and reach to that folder (in this case NEW FOLDER)after reaching write dex2jar classes.dex and press enter.now you get classes.dex.dex2jar file in the same folder..now download java decompiler from http://java.decompiler.free.fr/?q=jdgui and now double click on jd-gui and click on open file then open classes.dex.dex2jar file from that folder...now you get class file...save all these class file (click on file then click save all sources in jd-gui)..by src nameat this stage you get source...but xml files are still unreadable...so cont... step 3: = now open another new folder and put these files put .apk file which you want to decode download apktool using google and put in the same folder download framework-res.apk file using google and put in the same folder Open a command window Navigate to the root directory of APKtool and type the following command: apktoolif framework-res.apk apktool d fname.apk (fname denotes filename which you want to decode) now you get a file folder in that folder and now you can easily read xml files also. step 4: = it's not any step just copy contents of both folder(in this case both new folder)to the single one and now enjoy wid source code... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: NoClassDefFoundError
ok. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Menu
see this link. http://www.codeproject.com/KB/android/AndroidMenusMyWay.aspx http://staticallytyped.wordpress.com/2011/05/05/android-how-can-you-implement-a-custom-menu-class/ -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to implement sync mobile data base and online mysql server
plse go thrugh this http://www.helloandroid.com/tutorials/connecting-mysql-database -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] regarding view
plse explain or give the code... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Need help on connecting android app to remote database.
this will really help http://www.helloandroid.com/tutorials/connecting-mysql-database -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] play swf file in android
i already install that in emulator -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] customized date picker
can u give me all the code to debug. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to send an image file in a JSON string to the server?
Send the image as byte array -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to find phone number in android
make sure you give all the settings -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Finishing all running activities on clicking logout from any Activity
if you alrady finish the existing activity , then give a function for android back button . while pressing the back button you start the home activity -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] re:change backgroudn
need more explanation. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How do I implement bar code reader in android ..
we can call use the zxing bar code reader in our app ...try this package com.resource; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class BarcodeScan extends Activity implements OnClickListener { private Button Scan; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.barcodescan); Scan =(Button) findViewById(R.id.scan); Scan.setOnClickListener(this); } public void onClick(View v) { switch (v.getId()) { case R.id.scan: Intent intent = new Intent(com.google.zxing.client.android.SCAN); intent.putExtra(SCAN_MODE, QR_CODE_MODE); startActivityForResult(intent, 0); break; } }; public void onActivityResult(int requestCode, int resultCode, Intent intent) { if (requestCode == 0) { if (resultCode == RESULT_OK) { String contents = intent.getStringExtra(SCAN_RESULT); String format = intent.getStringExtra(SCAN_RESULT_FORMAT); // Handle successful scan } else if (resultCode == RESULT_CANCELED) { // Handle cancel } } } } -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Force close error while receiving message
u want to dispaly the received message ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to decompose apk files
procedure to decoding .apk files---step wise method-- step 1: = make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage you are able to see drawable but not xml and java file... so cont... step 2: === now extract this zip apk file in the same folder(in this eg or case NEW FOLDER). now dowmload dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to the same folder (in this case NEW FOLDER).now open command prompt and reach to that folder (in this case NEW FOLDER)after reaching write dex2jar classes.dex and press enter.now you get classes.dex.dex2jar file in the same folder..now download java decompiler from http://java.decompiler.free.fr/?q=jdgui and now double click on jd-gui and click on open file then open classes.dex.dex2jar file from that folder...now you get class file...save all these class file (click on file then click save all sources in jd-gui)..by src nameat this stage you get source...but xml files are still unreadable...so cont... step 3: = now open another new folder and put these files put .apk file which you want to decode download apktool using google and put in the same folder download framework-res.apk file using google and put in the same folder Open a command window Navigate to the root directory of APKtool and type the following command: apktoolif framework-res.apk apktool d fname.apk (fname denotes filename which you want to decode) now you get a file folder in that folder and now you can easily read xml files also. step 4: = it's not any step just copy contents of both folder(in this case both new folder)to the single one and now enjoy wid source code... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Listview - DialogBox issue
paste the code ... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: back,edit button ActionBar
need more explanation -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: back,edit button ActionBar
how to implement actionbar with backbutton, *u want the built in action bar or a customized action bar ?* how to include in current activity in top and bottom i have tabhost * see the simple tab host tutorial in android...* -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: want all vidio tutorials to learn android developing plz send download links..
:) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] tabwidget
i have used listactivity with simpledapater but i didnt get simple normal list its displaying is there any way like that its iphonescreen its should be like android also u want to create list view (white color) like iphone ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Access ImageView from another activity
hi pass the value(image information) to the next activity(activity2) using puextra method. thnks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Access ImageView from another activity
hi give ur project file thnks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help in Activities
plse go through this site u get a lot of tutorials http://www.androidpeople.com/toast -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] MapActivity doubt
Add map activity in to the manifest file -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Difference between finish() and finishActivity() in android
hi http://stackoverflow.com/questions/4182761/finish-old-activity-and-start-a-new-one-or-vice-versa http://stackoverflow.com/questions/4687303/how-do-i-finish-a-task-on-android http://stackoverflow.com/questions/7117690/whats-the-difference-between-finish-and-finishactivityint-requestcode-in-and -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] stack overflow error in listview android
give the code -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] stack overflow error in listview android
give the full project folder, (easy to find the errors) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android UI designing .
use relative layout -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android UI designing .
the row of the listview is a relative layout ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android= http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:orientation=vertical android:layout_height=wrap_content android:paddingBottom=5px android:paddingTop=5px android:paddingLeft=5px ImageView android:id=@+id/icon android:layout_marginRight=3px android:paddingTop=2px android:src=@drawable/women android:layout_width=50dip android:layout_height=50dip/ TextView android:id=@+id/MemberName android:text=22 oct: iam going to pune android:layout_width=wrap_content android:layout_alignParentTop=true android:layout_marginTop=2dip android:layout_height=wrap_content android:textSize=16dip android:layout_toRightOf=@+id/icon/TextView TextView android:id=@+id/ChatContent android:text=12:32 good morning mumbai android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginTop=2dip android:layout_toRightOf=@+id/icon android:layout_below=@+id/MemberName/TextView /RelativeLayout :) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: not supporting xhdpi resolution
So i need to create a new project in android 3.0 ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] not supporting xhdpi resolution
I am developing an app in android 2.2 , i want to support my app in all resolutions (ldpi,mdpi,hdpi,xhdpi) so i created 4 folders in res folder (layout-ldpi ,layout-mdpi ,layout-hdpi ,layout-xhdpi) then i given supported screens android manifest as supports-screens android:largeScreens=true android:normalScreens=true android:smallScreens=true android:anyDensity=true android:resizeable=true android:xlargeScreens=true /supports-screens it returns an error that No resource identifier found for attribute 'xlargeScreens' in package 'android plse help me -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Intent call cannot start an Activity
hi give the full code -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Progress Dialog box
please paste your code . -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] intend
Hi not intend , Intent is corect... startActivity(new Intent(this, NextActivity.class)); or we can use Intent i = new Intent(this,nextActivity.class); startActivity(i); Also read some tutorial. http://marakana.com/forums/android/examples/65.html -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] retrive values from database?
use cursor adapter /array adapter to store he values retrieved from database -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Get Auto Increment values from table 1 and insert in Table2
Go through the tutorial of sqlite database http://www.vogella.de/articles/AndroidSQLite/article.html http://freshmeat.net/articles/sqlite-tutorial http://zetcode.com/databases/sqlitetutorial/ -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Get Auto Increment values from table 1 and insert in Table2
I didn't get your question correctly u want to get the primary key value from the database ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to implement edittext inside listview
Hi. please clear the question. i am implement listview and each view *(or row).* having editlist box. problem when i trying to get data from all editboxes its takes only first screen view.(*means getting the value from the first row only ie index=0*) here show only 5 views. when scrolling* g=i* get the problem. please help me? ::: when clicking the ok button we get the value of edittext in all rows ... public void onClick(View view) { for(int i=0;ieditTextList.size();i++) { String q=editTextList.get(i).getText().toString(); Toast.makeText(CustomListViewDemo.this, Value - + q, Toast.LENGTH_SHORT).show(); Log.v( indela,indela); } } }); -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to implement edittext inside listview
Hi As per your code there is 5 tedittext in you app .. we can get the values of each edittext(5 nos) in that pgm... see the code ... === public View getView(final int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.adaptor_content, null); holder = new ViewHolder(); holder.textLine = (TextView) convertView.findViewById(R.id.textLine); holder.textLine2 =(TextView) convertView.findViewById(R.id.textLine2); holder.Edittext = (EditText) convertView.findViewById(R.id.edittext_qty); editTextList.add(holder.Edittext); convertView.setOnClickListener(new OnClickListener() { private int pos = position; @Override public void onClick(View v) { String q=editTextList.get(position).getText().toString(); Toast.makeText(context, data-+ q, Toast.LENGTH_SHORT).show(); } }); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.textLine.setText(TitleString[position] + String.valueOf(position)); holder.textLine2.setText(DetailString[position] + String.valueOf(position)); return convertView; } = -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to implement edittext inside listview
Are you dynamically increasing the rows or specifying it static in the code -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to implement chat application in android
Hi All Plse share any ideas about implementing chat in android application... -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to implement chat application in android
NO ANSWER.?.. :) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can i download directly a thumbnail of a picture in android
Hi All This may help http://www.anddev.org/image_web_remote_url_urlconnection_bitmapfactory-t3034.html http://stackoverflow.com/questions/3032729/android-view-web-pictures-in-gallery http://vikaskanani.wordpress.com/2011/01/22/android-web-image-gallery/ thanks Ratheesh -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: use listview get web data
the value of String result = new String(buf); is a single string value or a set of values ? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Help needed on BUtton CLick
hi SAM public void onClick(View v) { switch(v.getId()) { case R.id.button1: startActivity(new Intent(Screen1.this,Screen2. class)); break; case R.id.button3: startActivity(new Intent(Screen1.this,Screen3. class)); break; } } try this -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WiFi Error
*Where is the reply, .. [?]:)* -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en349.gif
[android-developers] WiFi Error
Hi Al In my emulator i cant setup the WiFi, while selecting the *Settings-wirelessnetworks-wifi,* clicking the wifi check box causes wifi error Any one help me please -- ωιтн яєgαя∂ѕ[image: device.png] Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=endevice.png
[android-developers] image btton problem
Hi All In the below fig, the corner image button have some white image , i want to change it how can i do it.. plse help me ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:screenOrientation=portrait android:orientation=vertical TextView android:layout_height=44dip android:id=@+id/toolbar android:layout_alignParentTop=true android:background=@drawable/toolbar android:text=SIGN IN android:gravity=center android:textSize=18px android:textColor=#000 android:layout_width=fill_parent /TextView ImageButton android:layout_alignParentRight=true android:layout_alignParentTop=true android:id=@+id/skridttaellerHome android:src=@drawable/signup android:focusable=true android:background=#fff android:scaleType=fitXY android:layout_width=62dip android:layout_height=32dip android:layout_marginTop=6dip android:layout_marginBottom=6dip android:layout_marginRight=6dip /ImageButton /RelativeLayout [image: device1.png] the button image i use is [image: sign up.png] -- -- ωιтн яєgαя∂ѕ Ratheesh * *... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=endevice1.pngsign up.png
Re: [android-developers] image btton problem
The image is a png image... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] The textview not displaying the text
Hi here is my XML file ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:screenOrientation=portrait android:orientation=vertical TextView android:layout_height=44dip android:id=@+id/toolbar android:layout_alignParentTop=true android:background=@drawable/toolbar android:text=SIGN IN android:gravity=center android:textSize=18px android:textColor=#000 android:layout_width=fill_parent /TextView ImageButton android:layout_alignParentRight=true android:layout_alignParentTop=true android:id=@+id/skridttaellerHome android:src=@drawable/signup android:focusable=true android:background=# android:scaleType=fitXY android:layout_width=62dip android:layout_height=32dip android:layout_marginTop=6dip android:layout_marginBottom=6dip android:layout_marginRight=6dip /ImageButton /RelativeLayout while exicuting the xml file , it does not shows the text (SIGN IN) in the textview , plse help me [image: device.png] Thanks Ratheeesh CN -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=endevice.png
[android-developers] Re: The textview not displaying the text
where is the REPLY,,:) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] The textview not displaying the text
Hi All if we give the text color BLACK or WHITE it will display in the design phase but not in the running phase thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: The textview not displaying the text
Hi All At last I solved it the problem is the background color of the image button i used android:background=#fff The complete file is ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:screenOrientation=portrait android:orientation=vertical TextView android:layout_height=44dip android:id=@+id/toolbar android:layout_alignParentTop=true android:background=@drawable/toolbar android:text=SIGN IN android:gravity=center android:textSize=18px android:textColor=#000 android:layout_width=fill_parent /TextView ImageButton android:layout_alignParentRight=true android:layout_alignParentTop=true android:id=@+id/skridttaellerHome android:src=@drawable/signup android:focusable=true android:background=#fff android:scaleType=fitXY android:layout_width=62dip android:layout_height=32dip android:layout_marginTop=6dip android:layout_marginBottom=6dip android:layout_marginRight=6dip /ImageButton /RelativeLayout [image: device1.png] *Thanks To ALL * -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=endevice1.png
Re: [android-developers] Re: Is it possible to do android application with Java SWING
Hi All I think these two langse uses diff virtual machines and the compiled class is diff, then it is not possible Thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Connecting to internet in Android emulator from behind a password protected proxy
Hi Soumya add the following code to the oncreate method in your webiew code WebView.*enablePlatformNotifications*(); thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] use listview get web data
Hi U can use cursor adapter to show the list view or store the values in array adapter and show in the list view Thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] vertical scroll
Hi Vineesh U can use a scroll view , with set the property of scroll view height to fill parent ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/widget31 android:layout_width=fill_parent android:layout_height=fill_parent android:background=#2F4F4F xmlns:android=http://schemas.android.com/apk/res/android; TableLayout android:id=@+id/widget107 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical android:stretchColumns=1 xmlns:android=http://schemas.android.com/apk/res/android; / remining table layout values /TableLayout /ScrollView thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] vertical scroll
Also use the table layout property to android:scrollbars=vertical -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Question about Button
Hi add one more image with border color(as u want ) and redraw it at a specific event thanks -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: how to draw using canvas in single screen with buttons at bottom of the screen
Hi Divya For Your requirement it is better to use the tab host in android .. u just research abt tab host in android But i correct the program as per ur requirement but some problems are there ,. the view is overwriting the existing view and one thing is that , you need to make the code for remove and redraw the canvas.. DrawTest.java = package com.DrawTest; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.FrameLayout; import android.widget.TextView; public class DrawTest extends Activity implements OnClickListener { //private DrawActivity draw; DrawView drawview; CircleView circleView; Button square,circle; FrameLayout Frame; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Frame=(FrameLayout)findViewById(R.id.MyFreame); drawview=new DrawView(this); circleView=new CircleView(this); square=(Button)findViewById(R.id.buttonTest); square.setOnClickListener(this); circle=(Button)findViewById(R.id.circleButton); circle.setOnClickListener(this); } public void onClick(View v) { switch (v.getId()) { case R.id.circleButton: Frame.addView(circleView); // circleView.setBackgroundColor(Color.rgb(40,100,20)); // circleView.findViewById(R.id.CircleViewId); // setContentView(circleView); break; case R.id.buttonTest: //drawview.setBackgroundColor(Color.WHITE); // drawview.findViewById(R.id.DrawViewId); /// setContentView(drawview); Frame.addView(drawview); break; } } } *DrawView and CircleView has no change.*. main.xml === ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/android; android:visibility=visible android:id=@+id/MyFreame android:layout_width=fill_parent android:layout_height=fill_parent com.DrawTest.DrawView android:id=@+id/DrawViewId android:layout_width=200dp android:layout_height=200dp /com.DrawTest.DrawView com.DrawTest.CircleView android:id=@+id/CircleViewId android:layout_width=200dp android:layout_height=200dp /com.DrawTest.CircleView LinearLayout android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal android:gravity=bottom Button android:layout_height=wrap_content android:text=Circle android:id=@+id/circleButton android:layout_width=160dp /Button Button android:layout_height=wrap_content android:text=Square android:id=@+id/buttonTest android:layout_width=160dp /Button /LinearLayout /FrameLayout == go through the code and modify as u need or try TABHOST Thanks RATHEESH -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en