[android-developers] Re: app distribution best practices

2012-12-09 Thread Piren
once you let out the APK, no kind of check would help you avoid someone 
from distributing it... you should just put up a link to google play 
(direct link to your app).  

P.S - If someone wants to redistribute it, they can also just download it 
from Google Play and then take the APK from the device (rooted phones allow 
you that)

 

On Friday, December 7, 2012 10:02:22 PM UTC-5, Andrew wrote:

 I am nearing the point of releasing my first Android app. I anticipate 
 needing to distribute from a website as well as from Google Play. I know 
 that enabling the install is as simple as providing an HTML link to the 
 .apk file, but I'd like to at least follow best practices with regard to 
 discouraging redistribution. 

 Given that goal, it would seem important to restrict the type of client 
 that is allowed to initiate the download. Google Play does this, I think.  
 One step in this direction would be to check the HTTP user-agent header, 
 but this check is circumventable. Does anyone know if Google Play does 
 something more sophisticated, or if a more sophisticated method even exists?

 Any other best practices suggestions, or lessons learned with regard 
 to app distribution would also be most welcome. I understand there is no 
 perfect protection, but I'm hoping to avoid doing anything foolish.



-- 
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 Set New for for Option Menu

2012-12-09 Thread askl
Dear friends,

How can i change option menu font type. (Font Face).

*menu xmlns:android=http://schemas.android.com/apk/res/android; *
*
*
*item*
*android:id=@+id/item1*
*android:title=Month*
*menu*
*item*
*android:id=@+id/item4*
*android:title=January/*
*item*
*android:id=@+id/item5*
*android:title=February/*


Please just help me.

-- 
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: Android ListView Animation

2012-12-09 Thread Piren
Try a different trick... instead of assigning the animation to the whole 
list view (which works fine as a Layout Animation) try doing the animation 
per view on each call of getView.

Since the dataset changes, getView will be called for each of the visible 
views.. have each view animate itself out of view, replace the data with 
the new data and then animate in. You'll probably have to use 
onAnimationEndListener for doing the actual data replacement (on the 
animation out)

On Saturday, December 8, 2012 8:07:29 AM UTC-5, Makrand wrote:

 I am trying to add Animation for ListView I am using getView()to draw some 
 views in list. all works fine.

 public View getView(int position, View convertView, ViewGroup parent) 
 { }

 I am trying to add animation when user click on list cell then all list 
 cells should slide left and new data should come from right at same time, 
 means cell data is moving towards left and same time new data coming from 
 right side. 

 I Have implemented following code in OnItemClickListener

 @Override
 public void onItemClick(AdapterView? arg0, View arg1, int arg2, long 
 arg3) {
 Animation slideOutAnimation=AnimationUtils.loadAnimation(this, 
 R.anim.slide_out);
 slideOutAnimation.setDuration(900);
 
 Animation slideInAnimation=AnimationUtils.loadAnimation(this, 
 R.anim.slide_in);
 slideInAnimation.setDuration(500);
 
 listView.startAnimation(slideOutAnimation);

 new Handler().postDelayed(new Runnable() {
 @Override
 public void run() {
 data = newData();
 listView.startAnimation(slideInAnimation);
 myAdapterClass.notifyDataSetChanged();
 }
 }, slideOutAnimation.getDuration());
 }
 };

 above code is working but not getting desire output I am getting one empty 
 view while changing Animation.

 Left Sliding Animation Starts--- Empty ViewRight Sliding Animation 
 Starts  

 Not getting why Empty view (shows empty screen for while) is coming, I 
 have played with Animation time and handler but no luck. 

 How to remove that empty view ? how to achieve this output ?

 Left Sliding Animation Starts(Data moving)( Same time data coming from 
 Right) Right Sliding Animation Starts  



-- 
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] Problem read data from file out to usb

2012-12-09 Thread Antonis Kanaris

 I try this but work only for text no out the dataAny help?

   public void blinkLED(View v){
 
//Find the directory for the SD Card using the API
//*Don't* hardcode /sdcard

String line = null;
File sdcard = Environment.getExternalStorageDirectory();

//Get the text file
File file = new File(sdcard,LEDstate.txt);

//Read text from file
StringBuilder text = new StringBuilder();

try {
BufferedReader br = new BufferedReader(new FileReader(file));
//String line;

while ((line = br.readLine()) != null) {

//mOutputStream.write(line.getBytes());

text.append(line);

text.append('\n');
}
}
catch (IOException e) {
//You'll need to add proper error handling here
}

//Find the view by its id
TextView tv = (TextView)findViewById(R.id.textView2);

//Set the text
tv.setText(text);

if (mOutputStream != null) {
try {
mOutputStream.write(text.getBytes());
} catch (IOException e) {
// TODO Auto-generated catch block
Log.e(TAG, write failed, e);
}
}

I think the wrong is when convert text to byte...my file is 1 byte 0 or 
1

-- 
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] chek the image

2012-12-09 Thread Mohd Arshi Khan
in image -
1.  list with header.
   In header 
 a button for speech and
 a relative layout with edit boxbutton for plus. 
2. list items are -
a imageview, check box, textview and a button for call.
3. quick action on item long click in list.

-- 
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 Set New for for Option Menu

2012-12-09 Thread TreKing
On Sun, Dec 9, 2012 at 2:54 AM, askl amal...@gmail.com wrote:

 How can i change option menu font type. (Font Face).


http://lmgtfy.com/?q=android+change+option+menu+font

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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 Set New for for Option Menu

2012-12-09 Thread Piren
lol

On Sunday, December 9, 2012 10:20:57 AM UTC-5, TreKing wrote:

 On Sun, Dec 9, 2012 at 2:54 AM, askl ama...@gmail.com javascript:wrote:

 How can i change option menu font type. (Font Face).


 http://lmgtfy.com/?q=android+change+option+menu+font


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices

  

-- 
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] chek the image

2012-12-09 Thread sree android
Thank you bro i wil try.
On Dec 9, 2012 7:34 PM, Mohd Arshi Khan arshikha...@gmail.com wrote:

 in image -
 1.  list with header.
In header 
  a button for speech and
  a relative layout with edit boxbutton for plus. 
 2. list items are -
 a imageview, check box, textview and a button for call.
 3. quick action on item long click in list.

 --
 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 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] Required: Sr. NET Developer at Santa Clara, CA

2012-12-09 Thread Anton Kaiser
Seriously?

Am Freitag, 7. Dezember 2012 13:12:31 UTC+1 schrieb jayavelu viswanathan:


 https://play.google.com/store/apps/details?id=com.jay.memoryfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5qYXkubWVtb3J5Il0
 .

 On Thu, Dec 6, 2012 at 9:26 PM, Munawar Ali ali.b...@gmail.comjavascript:
  wrote:

 Hi Friend, 

 Hope you are doing good. Please let me know if you have someone for the 
 below mention requirement…
 Please send resumes on mu...@tekenergyusa.com javascript: 

 *Position: Sr. ASP.NET Developer*
 *Location: Santa Clara, CA*
 *Duration: 6 Months Contract*
 *Start Date: Monday December 10th*
 *Interview Process: Phone  In-Person Interview*

 *Description:*
 The Developer will be responsible for the design, development, 
 implementation, testing and supporting of the new web applications as well 
 as adding new features and enhancements to existing ones. The Developer 
 must have Front End (GUI) development of various web controls and knowledge 
 of specific web development platforms and languages (*HTML, JavaScript, 
 DHTML, XML, and XSL*). SQL back end development of database application 
 and its inherent connection devices.  

 The ideal candidate must have 4+ years experience with *ASP.NET, C#, 
 .NET Framework 3.0* or higher, *MS SQL Server 2005/2008, HTML, CSS and 
 JavaScript*. Positions require previous experience analyzing and 
 resolving web site problems. Candidates must be able to think on their 
 feet, work on multiple projects simultaneously and be able to develop a 
 wide variety of browsers.


 Thanks  Regards,

 Munawar Ali
 Technical Recruiter
 TEKenergy LLC
 mu...@tekenergyusa.com javascript:
 www.tekenergyusa.com

 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 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] google maps not showing

2012-12-09 Thread Raymond Rodgers

On 12/06/2012 04:43 PM, John Merlino wrote:

I updated an android app but the original developers are not available
so I had to create a new app on the android market. But it was
generally the same app. It contains a google map. However, the google
map does not render. I am getting messages like this on the log:

Couldn't get connection factory client
server returned 3 at android_maps_conflict_avoidance.com

So I think the issue is this line right here:

com.google.android.maps.MapView
  xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/mapview
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:apiKey=some_long_string
  android:state_enabled=true
  android:clickable=true
  /

Do I already have an apikey in the developer console somewhere or is
this something I am going to have to create?

You will need to create a new api key because the version 1 api keys are 
not compatible with the version 2 api.


--
Raymond Rodgers
http://www.badlucksoft.com/
http://anevilgeni.us/

--
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] google maps not showing

2012-12-09 Thread Raymond Rodgers

On 12/06/2012 04:43 PM, John Merlino wrote:

I updated an android app but the original developers are not available
so I had to create a new app on the android market. But it was
generally the same app. It contains a google map. However, the google
map does not render. I am getting messages like this on the log:

Couldn't get connection factory client
server returned 3 at android_maps_conflict_avoidance.com

So I think the issue is this line right here:

com.google.android.maps.MapView
  xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/mapview
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:apiKey=some_long_string
  android:state_enabled=true
  android:clickable=true
  /

Do I already have an apikey in the developer console somewhere or is
this something I am going to have to create?

Oh and if you had to create a new package for the app and/or a new 
signing key, you'd have to create a new api key anyway.


--
Raymond Rodgers
http://www.badlucksoft.com/
http://anevilgeni.us/

--
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: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread GJTorikian
All right, so after days I finally figured it out.

After creating my bitmap, I need to set every pixel in Java:

for (int x = 0; x  254; x++) {
for (int y =0; y  254; y++) {
bmp.setPixel(x, y, Color.argb(255, 0, 0, 0));
}
}


The question is: WHY only for ICS?

On Wednesday, December 5, 2012 4:07:38 PM UTC-8, GJTorikian wrote:

 Hi there—

 I'm making updates to a live wallpaper I've developed. The wallpaper is 
 currently running correctly on a 2.2 device, but NOT on my 4.2 device.

 On the ICS device, it seems that only the last column is being correctly 
 drawn. For example, in a coordinate system, if my phone is 420 x 720 (not 
 sure of the exact dimensions), then only pixels (420, 0) through (420, 720) 
 are being drawn. The rest is black / transparent.

 Here's the code I'm using: 
 https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/master/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L243

 First, I draw a 256 x 256 bitmap. Then, I use a matrix to scale it.

 Again, this works fine on a non-ICS device. Another tricky aspect is that 
 I'm using the JNI to do some of the bitmap math, but I still think the 
 problem is in this canvas code somewhere.

 Thanks for any help!


-- 
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: Java knowledge

2012-12-09 Thread Lew
Lew wrote:

 Check out the Java tutorials. The initial ones won't take you long to work 
 through and it will give you a flavor of how hopeless you are.


I don't know if this was a Freudian slip, but I totally did not mean to 
write that. 

I can only guess there was a copy-paste action I didn't notice at post 
time. I did 
not mean to say that you are hopeless, really I didn't. I apologize that I 
didn't catch 
that before clicking Post.

What I *did* mean to say was that it would give you a flavor of how much 
there is to 
know and where you might stand in terms of core Java knowledge. Again, I 
apologize
that I wrote a snarky remark instead of what I intended.

-- 
Lew
 
 

-- 
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] EasyTracker error in TrackedActivity: method trackActivityStart(TrackedActivity) is undefined for the type Tracker

2012-12-09 Thread Anuj Goyal
I'm trying to compile the example 
in 
http://code.google.com/p/analytics-api-samples/source/browse/trunk/src/tracking/mobile/android/EasyTracker/Library/src/com/google/android/apps/analytics/easytracking/TrackedActivity.java

I am getting this error: The method trackActivityStart(TrackedActivity) is 
undefined for the type Tracker

https://lh4.googleusercontent.com/-KDJvLEv6BUU/UMUNZT2h3WI/DoE/qifQkj0gAUQ/s1600/TrackedActivity.png

-- 
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] EasyTracker error in TrackedActivity: method trackActivityStart(TrackedActivity) is undefined for the type Tracker

2012-12-09 Thread TreKing
On Sun, Dec 9, 2012 at 4:19 PM, Anuj Goyal anuj.go...@gmail.com wrote:

 I am getting this error: The method trackActivityStart(TrackedActivity) is
 undefined for the type Tracker


Here's a hint: look at the method defined directly above the one you're
getting the error in.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread Romain Guy
Instead of writing a loop like this you can just call Bitmap.eraseColor().
It's much more efficient.


On Sun, Dec 9, 2012 at 11:55 AM, GJTorikian gjtorik...@gmail.com wrote:

 All right, so after days I finally figured it out.

 After creating my bitmap, I need to set every pixel in Java:

 for (int x = 0; x  254; x++) {
 for (int y =0; y  254; y++) {
 bmp.setPixel(x, y, Color.argb(255, 0, 0, 0));
 }
 }


 The question is: WHY only for ICS?

 On Wednesday, December 5, 2012 4:07:38 PM UTC-8, GJTorikian wrote:

 Hi there—

 I'm making updates to a live wallpaper I've developed. The wallpaper is
 currently running correctly on a 2.2 device, but NOT on my 4.2 device.

 On the ICS device, it seems that only the last column is being correctly
 drawn. For example, in a coordinate system, if my phone is 420 x 720 (not
 sure of the exact dimensions), then only pixels (420, 0) through (420, 720)
 are being drawn. The rest is black / transparent.

 Here's the code I'm using: https://github.com/**
 gjtorikian/Earthbound-Battle-**Backgrounds/blob/master/src/**
 com/miadzin/livewallpaper/**earthbound/**EarthboundLiveWallpaper.java#**
 L243https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/master/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L243

 First, I draw a 256 x 256 bitmap. Then, I use a matrix to scale it.

 Again, this works fine on a non-ICS device. Another tricky aspect is that
 I'm using the JNI to do some of the bitmap math, but I still think the
 problem is in this canvas code somewhere.

 Thanks for any help!

  --
 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




-- 
Romain Guy
Android framework engineer
romain...@android.com

-- 
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: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread GJTorikian
Sure, but why do I need to do this in the first place? In native JNI code I 
am modifying each pixel directly. Pre-ICS I did not need to blank out the 
bitmap.

On Sunday, December 9, 2012 3:15:05 PM UTC-8, Romain Guy (Google) wrote:

 Instead of writing a loop like this you can just call Bitmap.eraseColor(). 
 It's much more efficient.


 On Sun, Dec 9, 2012 at 11:55 AM, GJTorikian gjtor...@gmail.comjavascript:
  wrote:

 All right, so after days I finally figured it out.

 After creating my bitmap, I need to set every pixel in Java:

 for (int x = 0; x  254; x++) {
 for (int y =0; y  254; y++) {
 bmp.setPixel(x, y, Color.argb(255, 0, 0, 0));
 }
 }


 The question is: WHY only for ICS?

 On Wednesday, December 5, 2012 4:07:38 PM UTC-8, GJTorikian wrote:

 Hi there—

 I'm making updates to a live wallpaper I've developed. The wallpaper is 
 currently running correctly on a 2.2 device, but NOT on my 4.2 device.

 On the ICS device, it seems that only the last column is being correctly 
 drawn. For example, in a coordinate system, if my phone is 420 x 720 (not 
 sure of the exact dimensions), then only pixels (420, 0) through (420, 720) 
 are being drawn. The rest is black / transparent.

 Here's the code I'm using: https://github.com/**
 gjtorikian/Earthbound-Battle-**Backgrounds/blob/master/src/**
 com/miadzin/livewallpaper/**earthbound/**EarthboundLiveWallpaper.java#**
 L243https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/master/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L243

 First, I draw a 256 x 256 bitmap. Then, I use a matrix to scale it.

 Again, this works fine on a non-ICS device. Another tricky aspect is 
 that I'm using the JNI to do some of the bitmap math, but I still think the 
 problem is in this canvas code somewhere.

 Thanks for any help!

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 -- 
 Romain Guy
 Android framework engineer
 roma...@android.com javascript:

 

-- 
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: Required: Sr. NET Developer at Santa Clara, CA

2012-12-09 Thread Fred Grott
Hmm, maybe we should just start suggesting fictional characters to see how 
many get the joke?

I say we start with suggesting James Tiberous Kirk for the Sr .NEt role

On Thursday, December 6, 2012 9:56:09 AM UTC-6, Munawar Ali wrote:

 Hi Friend, 

 Hope you are doing good. Please let me know if you have someone for the 
 below mention requirement…
 Please send resumes on mu...@tekenergyusa.com javascript: 

 *Position: Sr. ASP.NET Developer*
 *Location: Santa Clara, CA*
 *Duration: 6 Months Contract*
 *Start Date: Monday December 10th*
 *Interview Process: Phone  In-Person Interview*

 *Description:*
 The Developer will be responsible for the design, development, 
 implementation, testing and supporting of the new web applications as well 
 as adding new features and enhancements to existing ones. The Developer 
 must have Front End (GUI) development of various web controls and knowledge 
 of specific web development platforms and languages (*HTML, JavaScript, 
 DHTML, XML, and XSL*). SQL back end development of database application 
 and its inherent connection devices.  

 The ideal candidate must have 4+ years experience with *ASP.NET, C#, .NET 
 Framework 3.0* or higher, *MS SQL Server 2005/2008, HTML, CSS and 
 JavaScript*. Positions require previous experience analyzing and 
 resolving web site problems. Candidates must be able to think on their 
 feet, work on multiple projects simultaneously and be able to develop a 
 wide variety of browsers.


 Thanks  Regards,

 Munawar Ali
 Technical Recruiter
 TEKenergy LLC
 mu...@tekenergyusa.com javascript:
 www.tekenergyusa.com


-- 
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] NullPointerException in SharedPreferences Android

2012-12-09 Thread laxman k
thank you kris

On Sat, Dec 8, 2012 at 8:35 PM, Kristopher Micinski
krismicin...@gmail.comwrote:

 why should Context be non null?  You don't get a context for free.  You
 have to inherit from some object which has a context

 Kris


 On Sat, Dec 8, 2012 at 9:39 AM, laxman k laxman.k1...@gmail.com wrote:


 https://lh6.googleusercontent.com/-WAHssBbqNq4/UMNRDm7U4kI/APg/3uShQ1iY0kY/s1600/Capture.JPG

  --
 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 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 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 bluetooth multi-connect one after another

2012-12-09 Thread gjs
Hi,

Then concentrate on getting 1 or 2 devices working with -

mChatService.connect(device);

Regards

On Sunday, December 9, 2012 1:19:08 AM UTC+11, akash roy wrote:

 please have a look on it..thankyou.
  


 On Sat, Dec 8, 2012 at 9:26 AM, akash roy akashr...@gmail.comjavascript:
  wrote:

  **

 here i am trying to connect multiple devices one after another at one go. 
 now if it connects to a device it will send the message else it will try to 
 connect the next paired device. here the main problem is that its not 
 connecting any device rather getting skipped one after other , before they 
 get connected to each other.


 -

 for( BluetoothDevice device : PairedDevice)
 {
 mChatService.connect(device);
 try
 {
 SendMessage(message); //message is a string object
 }
 catch(Exception e)
 {
 e.printStackTrace();
 }
 }

 --

  


 -- 
 *AKASH ROY*
 *3RD YEAR
 *
 *COMPUTER SCIENCE AND ENGG.*
 *N.I.T. DURGAPUR*
 *
 *

  

-- 
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: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread Romain Guy
How do you allocate the bitmap exactly?
On Dec 9, 2012 7:38 PM, GJTorikian gjtorik...@gmail.com wrote:

 Sure, but why do I need to do this in the first place? In native JNI code
 I am modifying each pixel directly. Pre-ICS I did not need to blank out
 the bitmap.

 On Sunday, December 9, 2012 3:15:05 PM UTC-8, Romain Guy (Google) wrote:

 Instead of writing a loop like this you can just call
 Bitmap.eraseColor(). It's much more efficient.


 On Sun, Dec 9, 2012 at 11:55 AM, GJTorikian gjtor...@gmail.com wrote:

 All right, so after days I finally figured it out.

 After creating my bitmap, I need to set every pixel in Java:

 for (int x = 0; x  254; x++) {
 for (int y =0; y  254; y++) {
 bmp.setPixel(x, y, Color.argb(255, 0, 0, 0));
 }
 }


 The question is: WHY only for ICS?

 On Wednesday, December 5, 2012 4:07:38 PM UTC-8, GJTorikian wrote:

 Hi there—

 I'm making updates to a live wallpaper I've developed. The wallpaper is
 currently running correctly on a 2.2 device, but NOT on my 4.2 device.

 On the ICS device, it seems that only the last column is being
 correctly drawn. For example, in a coordinate system, if my phone is 420 x
 720 (not sure of the exact dimensions), then only pixels (420, 0) through
 (420, 720) are being drawn. The rest is black / transparent.

 Here's the code I'm using: https://github.com/**gjto**
 rikian/Earthbound-Battle-**Backg**rounds/blob/master/src/**com/**
 miadzin/livewallpaper/**earthbou**nd/**EarthboundLiveWallpaper.**java#*
 *L243https://github.com/gjtorikian/Earthbound-Battle-Backgrounds/blob/master/src/com/miadzin/livewallpaper/earthbound/EarthboundLiveWallpaper.java#L243

 First, I draw a 256 x 256 bitmap. Then, I use a matrix to scale it.

 Again, this works fine on a non-ICS device. Another tricky aspect is
 that I'm using the JNI to do some of the bitmap math, but I still think the
 problem is in this canvas code somewhere.

 Thanks for any help!

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en




 --
 Romain Guy
 Android framework engineer
 roma...@android.com

   --
 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 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] Set scroll to jquery mobile popup in android 2.2

2012-12-09 Thread mohana priya
 I am using jquery mobile popup in my phonegap android app.I need to set 
the height to the popup and to scroll when the content exceeds in the 
popup.I have tried some code its working fine in android 4.0 but not 
working in android 2.2.

div align=center
a href=#popupBasic data-rel=popupclick here/a
/div
div data-role=popup id=popupBasic data-theme=c 
data-overlay-theme=c 
div align=center
a href=# class=popupclose onclick =hidePopUp()Close Window/abr/
/div
prdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgf/p

css:

.ui-popup
{ position: relative; overflow: scroll; }

Script for setting height:

$( #popupBasic ).css( height,100px);


Please kindly guide me.Thanks in Advance.

-- 
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